DeskTop.js 476 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085
  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. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. ];
  52. //极简模式
  53. U.MD.D.I.easyDeskIcon = [
  54. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  58. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  59. ];
  60. //教师桌面图标的全局变量
  61. U.MD.D.I.teacherDeskIcon2 = [
  62. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  63. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  64. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  65. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  66. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  67. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  68. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  69. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  70. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  71. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  72. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  73. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  74. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  75. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  76. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  77. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  78. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  79. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  80. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  81. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  82. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  83. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  84. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  85. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  86. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  87. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  88. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  89. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  90. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  91. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  92. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  93. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  94. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  95. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  96. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  97. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  98. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  99. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  100. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  101. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  103. ];
  104. U.MD.D.I.studentDeskIcon = [
  105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  107. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  109. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  110. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  111. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  112. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  113. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  114. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  115. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  116. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  117. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  118. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  119. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  120. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  121. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  122. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  123. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  124. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  125. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  126. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  127. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  128. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  129. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  130. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  131. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  132. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  133. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  134. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  136. ];
  137. U.MD.D.I.studentDeskIcon2 = [
  138. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  139. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  140. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  141. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  142. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  143. ]
  144. U.MD.D.I.studentDeskIcon3 = [
  145. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  146. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  147. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  149. ]
  150. U.MD.D.I.schoolDeskIcon = [
  151. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  152. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  153. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  154. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  155. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  156. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  157. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  158. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  159. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  160. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  161. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  162. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  163. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  164. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  165. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  166. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  167. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  168. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  169. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgDeskIcon = [
  176. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  179. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  180. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  181. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  182. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  184. ];
  185. U.MD.D.I.orgStemDeskIcon = [
  186. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  187. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  188. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  189. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  190. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  191. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  192. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  201. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  203. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  204. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  205. ];
  206. U.MD.D.I.szulsDeskIcon = [
  207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  209. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  212. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  213. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  214. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  218. ];
  219. U.MD.D.I.hanDeskIcon = [
  220. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  221. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  222. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  223. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  224. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  225. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  226. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  227. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  228. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  229. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  232. ];
  233. U.MD.D.I.GMteacherDeskIcon = [
  234. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  237. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  239. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  240. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  243. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  245. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  246. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  247. ];
  248. U.MD.D.I.GMstudentDeskIcon = [
  249. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  250. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. ];
  256. //北师大
  257. U.MD.D.I.BSDNSteacherDeskIcon = [
  258. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  259. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  260. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  261. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  262. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  263. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  264. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  265. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  266. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  267. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  268. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  269. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  270. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  271. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  272. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  273. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  274. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  275. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  276. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  277. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  278. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  279. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  280. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  281. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  282. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  283. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  284. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  285. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  286. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  287. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  288. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  289. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  290. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  291. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  292. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  293. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  294. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  295. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  296. ];
  297. //松山湖
  298. U.MD.D.I.SONGteacherDeskIcon = [
  299. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  300. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  301. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  302. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  303. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  304. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  305. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  306. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  307. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  308. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  309. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  310. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  311. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  312. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  313. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  314. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  315. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  316. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  317. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  318. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  319. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  320. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  321. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  322. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  323. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  324. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  325. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  326. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  327. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  328. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  329. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  331. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  332. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  333. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  335. ];
  336. U.MD.D.I.tcStudentDeskIcon = [
  337. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  339. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  340. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  341. ];
  342. U.MD.D.I.tcTeacherDeskIcon = [
  343. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  344. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  345. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  346. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  347. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  348. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  349. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcOrganizerDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  361. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  362. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. ];
  367. U.MD.D.I.szscStudentDeskIcon = [
  368. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  373. ];
  374. U.MD.D.I.szscTeacherDeskIcon = [
  375. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  378. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  379. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  380. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  381. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  382. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscOrganizerDeskIcon = [
  388. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  393. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  394. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  395. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  407. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  408. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  409. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  412. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  413. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  414. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  417. ];
  418. U.MD.D.I.wankeAdminDeskIcon = [
  419. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  420. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  421. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  422. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  423. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  424. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  425. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  426. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  427. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  428. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  429. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  430. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  431. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  434. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  435. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  436. ];
  437. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. ];
  453. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. ];
  469. //明德教师桌面图标的全局变量
  470. U.MD.D.I.MingdeTeacherDeskIcon = [
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  481. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  482. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  483. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  484. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  485. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  486. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  487. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  488. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  489. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  490. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  491. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  492. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  493. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  494. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  495. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  496. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  497. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  498. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  499. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  500. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  501. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  502. ];
  503. //97c4ee8b-d010-4042-986d-e9d3c217264f
  504. //教师桌面图标的全局变量
  505. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  506. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  507. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  508. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  509. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  510. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  511. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  512. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  513. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  514. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  515. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  516. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  517. ];
  518. //福田
  519. U.MD.D.I.futianTeacherDeskIcon = [
  520. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  521. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  522. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  523. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  524. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  525. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  526. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  531. ];
  532. //福田
  533. U.MD.D.I.futianAdminDeskIcon = [
  534. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  535. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  539. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  540. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  541. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  542. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  543. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  544. ];
  545. //lotech
  546. U.MD.D.I.lotechTeacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  556. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  557. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  558. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  559. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  560. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  561. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  562. ];
  563. //龙华中心小学教师桌面图标的全局变量
  564. U.MD.D.I.longhuateacherDeskIcon = [
  565. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  566. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  567. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  568. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  569. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  570. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  571. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  572. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  573. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  574. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  575. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  578. ];
  579. //教科院实小教师桌面图标的全局变量
  580. U.MD.D.I.siesteacherDeskIcon = [
  581. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  582. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  588. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  589. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  590. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  596. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  600. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  608. ];
  609. //福田
  610. U.MD.D.I.gdjgTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  616. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  619. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. ];
  623. //gdjg
  624. U.MD.D.I.gdjgAdminDeskIcon = [
  625. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  626. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  630. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  631. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  632. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  633. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  634. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  635. ];
  636. //hk
  637. U.MD.D.I.hkteacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. ];
  656. //hk
  657. U.MD.D.I.hkStudentDeskIcon = [
  658. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  664. ];
  665. //香海正覺蓮社佛教正覺中學
  666. U.MD.D.I.hkZJLSteacherDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  682. ];
  683. //香海正覺蓮社佛教正覺中學
  684. U.MD.D.I.hkZJLSStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. ];
  690. //云海
  691. U.MD.D.I.yunhaiTeacherDeskIcon = [
  692. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  693. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  694. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  695. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  699. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  700. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  701. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  702. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  703. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  704. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  705. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  706. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  707. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. ];
  710. //福田
  711. U.MD.D.I.heyuanTeacherDeskIcon = [
  712. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  713. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  720. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. ];
  724. //福田
  725. U.MD.D.I.heyuanAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  738. U.MD.D.I.szherTeacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  748. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  749. ];
  750. //dsei
  751. U.MD.D.I.dseiTeacherDeskIcon = [
  752. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  753. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  755. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  759. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  767. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  768. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  769. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  770. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  771. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  775. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  776. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  777. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  778. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  779. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  780. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  781. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  782. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  783. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  784. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  785. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  786. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  793. ];
  794. //dsei
  795. U.MD.D.I.dseiAdminDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  805. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  806. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  807. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  808. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  809. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  810. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  811. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  812. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  813. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  814. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  815. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  816. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  817. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  818. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  819. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  820. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  821. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  822. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  823. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  824. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  825. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  826. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  827. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  828. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  829. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  830. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  831. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  832. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  833. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  836. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  837. ];
  838. //dsei
  839. U.MD.D.I.dseiStudentDeskIcon = [
  840. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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. ];
  847. //未来教育基地
  848. U.MD.D.I.szjkyTeacherDeskIcon = [
  849. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  850. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  854. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  855. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  856. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  857. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. ];
  865. //未来教育基地
  866. U.MD.D.I.szjkyAdminDeskIcon = [
  867. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  868. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  877. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  878. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  880. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  881. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyStudentDeskIcon = [
  885. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  886. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  887. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  888. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //成华教育局
  891. U.MD.D.I.chjyjTeacherDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  897. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  898. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  899. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  900. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  901. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. ];
  906. //成华教育局chjyj
  907. U.MD.D.I.chjyjAdminDeskIcon = [
  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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  913. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  914. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  915. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  916. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  917. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  918. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //成华教育局chjyj
  924. U.MD.D.I.chjyjStudentDeskIcon = [
  925. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. ];
  930. //tpc
  931. U.MD.D.I.tpcStudentDeskIcon = [
  932. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  936. ];
  937. //tpc
  938. U.MD.D.I.tpcTeacherDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. ];
  946. //tpc
  947. U.MD.D.I.tpcAdminDeskIcon = [
  948. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  949. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  950. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. ];
  955. //THU-IOE
  956. U.MD.D.I.thuioeTeacherDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  962. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  963. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  964. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  965. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  966. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  967. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  968. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  969. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  970. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  971. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  972. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  973. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  974. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  975. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  976. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  977. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  978. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  979. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  980. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  981. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  982. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  983. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  984. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  985. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  986. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  987. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  988. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  989. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  995. ];
  996. //THU-IOE
  997. U.MD.D.I.thuioeStudentDeskIcon = [
  998. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1002. ];
  1003. //jccssyl
  1004. U.MD.D.I.jccssylTeacherDeskIcon = [
  1005. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1006. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1014. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1022. ];
  1023. //jccssyl
  1024. U.MD.D.I.jccssylStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //#region 桌面初始化a
  1031. /**
  1032. * 初始化桌面的起始函数
  1033. *
  1034. */
  1035. U.MD.D.I.init = function () {
  1036. if ($("#U_MD_D_K")[0]) {
  1037. //初始化桌面图标
  1038. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1039. // var clickUrl = ':12588/requestIp.php';
  1040. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1041. // U.MD.D.I.Ip = data;
  1042. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1043. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1044. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1045. // })
  1046. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1047. // })
  1048. }
  1049. }
  1050. /**
  1051. * 模式切换
  1052. *
  1053. */
  1054. U.MD.D.I.ModeCheck = function (type) {
  1055. if (US.Config.type == type) {
  1056. return
  1057. }
  1058. US.Config.type = type
  1059. $('.U_PBL_Check .active')[0].className = ''
  1060. if (type == 1) {
  1061. $('.U_PBL_Check div')[0].className = 'active'
  1062. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1063. } else {
  1064. $('.U_PBL_Check div')[1].className = 'active'
  1065. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1066. }
  1067. //初始化桌面图标
  1068. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1069. if (type == 2) {
  1070. U.MD.D.I.openApplication("project")
  1071. }
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbar = function (el) {
  1079. //任务栏位置变小
  1080. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1081. //桌面的位置变大
  1082. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1083. }
  1084. /**
  1085. * 隐藏任务栏
  1086. *
  1087. * @param {element} 桌面元素
  1088. */
  1089. U.MD.D.I.hiddenTaskbarout = function (el) {
  1090. //任务栏位置变小
  1091. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1092. //任务栏位置变化
  1093. U.selectEl(el).css({ "bottom": "-60px" });
  1094. //桌面的位置变大
  1095. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1096. }
  1097. }
  1098. /**
  1099. * 初始化打印桌面图标
  1100. *
  1101. * @param {element} 桌面元素
  1102. */
  1103. U.MD.D.I.initDesktopIcons = function (el, type) {
  1104. var i, //用于循环
  1105. _content, //桌面图标元素
  1106. _iconcontent, //桌面图标元素
  1107. _frag = $$("frag"), //定义一个碎片元素
  1108. _type = US.userInfo.type,
  1109. _org = US.userInfo.org,
  1110. _oid = US.userInfo.organizeid,
  1111. _role = US.userInfo.role,
  1112. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1113. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1114. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1115. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1116. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1117. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1118. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1119. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1120. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1121. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1122. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1123. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1124. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1125. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1126. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1127. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1128. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1129. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1130. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1131. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1132. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1133. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1134. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1135. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1136. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1137. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1138. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1139. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1140. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1141. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1142. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1143. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1144. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1145. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1146. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1147. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1148. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1149. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1150. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1151. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1152. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1153. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1154. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1155. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1156. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1157. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1158. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1159. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1160. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1161. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1162. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1163. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1164. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1165. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1166. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1167. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1168. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1169. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1170. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1171. 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'];
  1172. 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'];
  1173. //清楚桌面图标
  1174. el.innerHTML = "";
  1175. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1176. _teacherDesktopIconInfo.push(
  1177. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1178. { "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)" } },
  1179. )
  1180. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1181. }
  1182. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1183. _teacherDesktopIconInfo.push(
  1184. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1185. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1186. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1187. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1188. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1189. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1190. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1191. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1192. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1193. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1194. )
  1195. }
  1196. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1197. _teacherDesktopIconInfo.push(
  1198. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1199. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1200. )
  1201. }
  1202. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1203. _teacherDesktopIconInfo.push(
  1204. )
  1205. }
  1206. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1207. _teacherDesktopIconInfo.push(
  1208. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1209. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1210. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1211. )
  1212. _studentDesktopIconInfo.push(
  1213. )
  1214. }
  1215. //麒麟二中 和 民新小学
  1216. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1217. _teacherDesktopIconInfo.push(
  1218. )
  1219. }
  1220. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1221. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1222. _teacherDesktopIconInfo.push(
  1223. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1224. )
  1225. }
  1226. //麒麟二中
  1227. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1228. _studentDesktopIconInfo.push(
  1229. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1230. )
  1231. }
  1232. //万科双语
  1233. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1234. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1235. if (el.Name == '项目管理') {
  1236. el.Name = 'PBL项目'
  1237. }
  1238. return el
  1239. })
  1240. _studentDesktopIconInfo3.push(
  1241. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1242. )
  1243. }
  1244. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1245. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1246. return el.Name != '魔盒识字' && el.Name != '24点'
  1247. })
  1248. }
  1249. 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) {
  1250. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1251. }
  1252. //循环创建桌面图标
  1253. if (type == 1) {
  1254. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1255. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1256. _content = $$("div", {
  1257. className: "U_MD_D_KO",
  1258. "onmousedown": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_studentDesktopIconInfo[i]]),
  1262. "onclick": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_studentDesktopIconInfo[i]])
  1266. }, _frag); //
  1267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1270. }
  1271. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1272. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1273. _content = $$("div", {
  1274. className: "U_MD_D_KO",
  1275. "onmousedown": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1279. "onclick": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_hkZJLSStudentDeskIconInfo[i]])
  1283. }, _frag); //
  1284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1287. } //
  1288. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1289. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1290. _content = $$("div", {
  1291. className: "U_MD_D_KO",
  1292. "onmousedown": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_jccssylStudentDeskIconInfo[i]]),
  1296. "onclick": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_jccssylStudentDeskIconInfo[i]])
  1300. }, _frag); //
  1301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1304. }
  1305. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1306. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1307. _content = $$("div", {
  1308. className: "U_MD_D_KO",
  1309. "onmousedown": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_thuioeStudentDeskIconInfo[i]]),
  1313. "onclick": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_thuioeStudentDeskIconInfo[i]])
  1317. }, _frag); //
  1318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1321. }
  1322. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1323. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1324. _content = $$("div", {
  1325. className: "U_MD_D_KO",
  1326. "onmousedown": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_tpcStudentDeskIconInfo[i]]),
  1330. "onclick": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_tpcStudentDeskIconInfo[i]])
  1334. }, _frag); //
  1335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1338. } //
  1339. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1340. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1341. _content = $$("div", {
  1342. className: "U_MD_D_KO",
  1343. "onmousedown": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_chjyjStudentDeskIconInfo[i]]),
  1347. "onclick": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_chjyjStudentDeskIconInfo[i]])
  1351. }, _frag); //
  1352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1355. }
  1356. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1357. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_szjkyStudentDeskIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_szjkyStudentDeskIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1374. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_dseiStudentDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_dseiStudentDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1389. }
  1390. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1391. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_siesStudentDeskIconInfo[i]]),
  1398. "onclick": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_siesStudentDeskIconInfo[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1406. }
  1407. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1408. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_hkStudentDeskIconInfo[i]]),
  1415. "onclick": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_hkStudentDeskIconInfo[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1423. }
  1424. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1425. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_studentDesktopIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_studentDesktopIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1440. }
  1441. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1442. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_tcStudentDeskIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_tcStudentDeskIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1459. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_szscStudentDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_szscStudentDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1474. }
  1475. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1476. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_studentDesktopIconInfo3[i]]),
  1483. "onclick": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_studentDesktopIconInfo3[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1491. }
  1492. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1493. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_studentDesktopIconInfo2[i]]),
  1500. "onclick": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_studentDesktopIconInfo2[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1508. }
  1509. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1510. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_wanketeacherDesktopIconInfo[i]]),
  1517. "onclick": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_wanketeacherDesktopIconInfo[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1525. }
  1526. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1527. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_wankeAdminDesktopIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_wankeAdminDesktopIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1542. }
  1543. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1544. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_jccssylTeacherDeskIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_jccssylTeacherDeskIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1561. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_tpcOrganizerDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_tpcOrganizerDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1578. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_tpcTeacherDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_tpcTeacherDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1593. }
  1594. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1595. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_teacherDesktopIconInfo2[i]]),
  1602. "onclick": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_teacherDesktopIconInfo2[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1610. }
  1611. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1612. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_thuioeTeacherDeskIconInfo[i]]),
  1619. "onclick": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_thuioeTeacherDeskIconInfo[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1627. }
  1628. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1629. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_lotechTeacherDeskIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_lotechTeacherDeskIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1644. }//
  1645. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1646. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_siesTeacherDeskIconInfo[i]]),
  1653. "onclick": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_siesTeacherDeskIconInfo[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1661. }
  1662. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1663. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_longhuaTeacherDeskIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_longhuaTeacherDeskIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1678. }
  1679. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1680. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_yunhaiTeacherDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1695. } //_hkStudentDeskIconInfo
  1696. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1697. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1712. }
  1713. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1714. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_hkTeacherDeskIconInfo[i]]),
  1721. "onclick": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_hkTeacherDeskIconInfo[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1729. }
  1730. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1731. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_gdjgAdminDeskIconInfo[i]]),
  1738. "onclick": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_gdjgAdminDeskIconInfo[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1746. }
  1747. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1748. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_gdjgTeacherDeskIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_gdjgTeacherDeskIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1763. }
  1764. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1765. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_szherTeacherDeskIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_szherTeacherDeskIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1782. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_heyuannAdminDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_heyuannAdminDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1797. }
  1798. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1799. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_heyuanTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_heyuanTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. } //
  1815. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1816. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_dseiAdminDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_dseiAdminDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1833. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_dseiTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_dseiTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. } //
  1849. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1850. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_chjyjAdminDeskIconInfo[i]]),
  1857. "onclick": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_chjyjAdminDeskIconInfo[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1865. }//
  1866. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1867. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_chjyjTeacherDeskIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_chjyjTeacherDeskIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1882. }
  1883. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1884. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_szjkyAdminDeskIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_szjkyAdminDeskIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1899. }//
  1900. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1901. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_szjkyTeacherDeskIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_szjkyTeacherDeskIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1918. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_futianAdminDeskIconInfo[i]]),
  1925. "onclick": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_futianAdminDeskIconInfo[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1933. }
  1934. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1935. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_futianTeacherDeskIconInfo[i]]),
  1942. "onclick": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_futianTeacherDeskIconInfo[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1950. }
  1951. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1952. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_MingdeTeacherDeskIcon[i]]),
  1959. "onclick": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_MingdeTeacherDeskIcon[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1967. }
  1968. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1969. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_lhsAdminDesktopIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_lhsAdminDesktopIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1984. }
  1985. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1986. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_lhsteacherDesktopIconInfo[i]]),
  1993. "onclick": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_lhsteacherDesktopIconInfo[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2001. }
  2002. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2003. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_zhoujiateacherDesktopIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2020. for (i = 0; i < _hanDeskIcon.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_hanDeskIcon[i]]),
  2027. "onclick": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_hanDeskIcon[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2035. }
  2036. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2037. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_orgStemDeskIcon[i]]),
  2044. "onclick": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_orgStemDeskIcon[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2054. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_szulsDeskIcon[i]]),
  2061. "onclick": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_szulsDeskIcon[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2071. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_orgDesktopIconInfo[i]]),
  2078. "onclick": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_orgDesktopIconInfo[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2088. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_schoolDesktopIconInfo[i]]),
  2095. "onclick": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_schoolDesktopIconInfo[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2105. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_GMteacherDesktopIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_GMteacherDesktopIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2122. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_SONGteacherDesktopIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_SONGteacherDesktopIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2137. }
  2138. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2139. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_GMstudentDesktopIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_GMstudentDesktopIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2154. }
  2155. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2156. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_tcTeacherDeskIconInfo[i]]),
  2163. "onclick": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_tcTeacherDeskIconInfo[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2171. }
  2172. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2173. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function (obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_tcOrganizerDeskIconInfo[i]]),
  2180. "onclick": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_tcOrganizerDeskIconInfo[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2188. }
  2189. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2190. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function (obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_szscTeacherDeskIconInfo[i]]),
  2197. "onclick": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_szscTeacherDeskIconInfo[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2207. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2208. _content = $$("div", {
  2209. className: "U_MD_D_KO",
  2210. "onmousedown": U.UF.C.closure(function (obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_szscOrganizerDeskIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_szscOrganizerDeskIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2222. }
  2223. } else {
  2224. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. "onmousedown": U.UF.C.closure(function (obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_teacherDesktopIconInfo[i]]),
  2231. "onclick": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_teacherDesktopIconInfo[i]])
  2235. }, _frag); //
  2236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2239. }
  2240. }
  2241. } else {
  2242. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2243. _content = $$("div", {
  2244. className: "U_MD_D_KO",
  2245. style: { 'width': '124px', 'height': '145px' },
  2246. "onmousedown": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_easyDesktopIconInfo[i]]),
  2250. "onclick": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_easyDesktopIconInfo[i]])
  2254. }, _frag); //
  2255. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2258. }
  2259. }
  2260. if (type == 1) {
  2261. //加载好后给图标定位
  2262. U.MD.D.iconPostion($(_frag).Child());
  2263. } else {
  2264. //加载好后给图标定位
  2265. U.MD.D.iconPostion2($(_frag).Child());
  2266. }
  2267. //把图标加载到页面
  2268. el.appendChild(_frag);
  2269. }
  2270. /**
  2271. * 显示任务栏
  2272. *
  2273. * @param {element} 桌面元素
  2274. */
  2275. U.MD.D.I.displayTaskbar = function (el) {
  2276. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2277. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2278. //任务栏位置变化
  2279. U.selectEl(el).css({ "bottom": "0px" });
  2280. //桌面位置变话
  2281. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2282. }
  2283. }
  2284. //#region 桌面图标拖动逻辑
  2285. /**
  2286. * 桌面排列图标
  2287. *
  2288. * @param {element} 桌面元素
  2289. * @param {object} 上下相距的距离
  2290. * @param {object} 左右相距的距离
  2291. * @return {object} 命名空间
  2292. */
  2293. U.MD.D.iconPostion = function (childs, top, left) {
  2294. var i; //用于循环处理
  2295. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2296. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2297. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2298. for (i = 0; i < childs.length; i++) {
  2299. //如果竖排top超过了范围处理
  2300. if (top + 95 > US.height - 10) {
  2301. //left超过了页面范围处理,则向上重叠打印处理
  2302. if ((left + 180) > US.width) {
  2303. top -= 110;
  2304. left -= 90;
  2305. }
  2306. //没有超过范围,那么left+90添加到下一个竖排打印
  2307. else {
  2308. left += 90;
  2309. top = 15;
  2310. };
  2311. }
  2312. //给图标的位置赋值
  2313. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2314. if (i < childs.length - 1) {
  2315. //页面图标每次向下加95
  2316. top += 95;
  2317. }
  2318. }
  2319. //返回最后调用的图标的位置
  2320. return [top, left];
  2321. }
  2322. /**
  2323. * 桌面排列图标
  2324. *
  2325. * @param {element} 桌面元素
  2326. * @param {object} 上下相距的距离
  2327. * @param {object} 左右相距的距离
  2328. * @return {object} 命名空间
  2329. */
  2330. U.MD.D.iconPostion2 = function (childs, top, left) {
  2331. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2332. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2333. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2334. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2335. for (i = 0; i < childs.length; i++) {
  2336. //如果竖排top超过了范围处理
  2337. if (left + 150 > US.width - 10) {
  2338. //left超过了页面范围处理,则向上重叠打印处理
  2339. if ((top + 180) > US.Height) {
  2340. top -= 150;
  2341. left -= 150;
  2342. }
  2343. //没有超过范围,那么left+90添加到下一个竖排打印
  2344. else {
  2345. top += 150;
  2346. left = ol;
  2347. };
  2348. }
  2349. //给图标的位置赋值
  2350. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2351. if (i < childs.length - 1) {
  2352. //页面图标每次向下加95
  2353. left += 150;
  2354. }
  2355. }
  2356. //返回最后调用的图标的位置
  2357. return [top, left];
  2358. }
  2359. /**
  2360. * 桌面点击事件逻辑
  2361. *
  2362. * @param {element} 桌面元素
  2363. * @param {object} 上下相距的距离
  2364. * @param {object} 左右相距的距离
  2365. * @return {object} 命名空间
  2366. */
  2367. U.MD.D.click = function (el, obj) {
  2368. var _buttonnumber = event.button; //点击的按钮的事件值
  2369. var _userinfo = US.userInfo;
  2370. U.UF.EV.stopBubble(); //阻止向上冒泡
  2371. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2372. if (_buttonnumber < 2) {
  2373. //如果是click事件的处理
  2374. if (event.type == "click") {
  2375. //如果元素在mousemove事件中没有移动则出发click事件
  2376. if (!U.MD.D.I.IsDrag) {
  2377. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2378. U.alert("请先登录您的账号!");
  2379. setTimeout(() => {
  2380. U.MD.U.L.login();
  2381. }, 2000);
  2382. } else {
  2383. //打开应用处理
  2384. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2385. }
  2386. }
  2387. }
  2388. //如果是mouse事件的处理
  2389. else {
  2390. if (US.Config.type == '1') {
  2391. //拖动处理,添加拖动和拖动结束事件
  2392. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2393. }
  2394. }
  2395. U.MD.D.I.IsDrag = false;
  2396. }
  2397. }
  2398. /**
  2399. * 拖动的处理
  2400. *
  2401. */
  2402. U.MD.D.iconMove = function () {
  2403. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2404. U.MD.D.I.IsDrag = true;
  2405. }
  2406. /**
  2407. * 拖动结束后,这里是定位处理,以网状的形式定位
  2408. *
  2409. * @param {element} 拖动的元素
  2410. * @return {object} 命名空间
  2411. */
  2412. U.MD.D.iconUp = function (el) {
  2413. var _top = 15,
  2414. _left = 20,
  2415. _margin,
  2416. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2417. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2418. if (_positioninfo["OT"] > 15) {
  2419. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2420. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2421. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2422. }
  2423. if (_positioninfo["OL"] > 20) {
  2424. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2425. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2426. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2427. }
  2428. //while循环判断么一个重叠的元素
  2429. do {
  2430. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2431. _top = _positioninfo[0] + 95; //得到定位后的top
  2432. _left = _positioninfo[1]; //得到定位后的left
  2433. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2434. }
  2435. /**
  2436. * 判断拖动后图标是否重叠
  2437. *
  2438. * @param {element} 拖动的元素
  2439. * @param {element} 桌面所有的元素
  2440. * @param {array} 拖动元素的位置
  2441. ----------[0] 上 top
  2442. ----------[1] 左 left
  2443. * @return {object} 命名空间
  2444. */
  2445. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2446. //循环所有的图标
  2447. for (var i = 0; i < childs.length; i++) {
  2448. //判断有没有和该图标诶子重叠的元素
  2449. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2450. return childs[i]; //如果有返回
  2451. }
  2452. }
  2453. }
  2454. //#endregion
  2455. //#endregion
  2456. //#region 桌面应用
  2457. /**
  2458. * 打开应用
  2459. *
  2460. * @param {string} 类型
  2461. -----------------Disk 网盘系统
  2462. -----------------PDisk 学习系统网盘
  2463. -----------------Poto 图片
  2464. -----------------Video 视频
  2465. -----------------Music 音乐
  2466. -----------------Word word
  2467. -----------------Excel excel
  2468. -----------------Txt 记事本
  2469. -----------------PB 学习系统
  2470. -----------------Blog 朋友圈系统
  2471. -----------------FTP ftp系统
  2472. -----------------Group 好友群
  2473. -----------------SY 首页系统
  2474. -----------------Set 个人设置
  2475. -----------------XSet 系统设置
  2476. -----------------App 我们所有的app
  2477. -----------------BC c.1473.cn 平台
  2478. -----------------CWeb d.1473.cn 变成平台
  2479. -----------------其他的外联系统 我们统一用iframe打开
  2480. * @param {array} 类型
  2481. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2482. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2483. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2484. 如果第一个参数为其他,则无第二个参数
  2485. * @returns {array}
  2486. */
  2487. window.addEventListener('message', function (e) { // 监听 message 事件
  2488. // alert(e.data.type);
  2489. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2490. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2491. //3是展示全部阶段 2学生 1老师 4专家
  2492. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2493. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2494. //3是展示全部阶段 2学生 1老师 4专家
  2495. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2496. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2497. //3是展示全部阶段 2学生 1老师 4专家
  2498. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2499. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2500. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2501. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2502. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2503. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2504. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2505. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2506. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2507. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2508. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2509. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2510. //3是展示全部阶段 2学生 1老师 4专家
  2511. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2512. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2513. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2514. U.MD.D.I.selectUser();
  2515. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2516. var _formel = document.getElementById("study");
  2517. U.UF.F.windowZooming(_formel);
  2518. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2519. var _formel = document.getElementById("studyDetail");
  2520. U.UF.F.windowZooming(_formel);
  2521. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2522. var _formel = document.getElementById("studyDetail");
  2523. U.UF.F.windowZooming(_formel);
  2524. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2525. var _formel = document.getElementById("studentStudy");
  2526. U.UF.F.windowZooming(_formel);
  2527. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2528. // var _formel = document.getElementById("study");
  2529. //如果最大化了,那么就把他缩小
  2530. // if (_formel.ismaximize) {
  2531. // return;
  2532. // }
  2533. // U.UF.F.windowZooming(_formel);
  2534. // U.UF.F.topWindow(_formel);
  2535. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2536. // var _formel = document.getElementById("studyDetail");
  2537. //如果最大化了,那么就把他缩小
  2538. // if (_formel.ismaximize) {
  2539. // return;
  2540. // }
  2541. // U.UF.F.windowZooming(_formel);
  2542. // U.UF.F.topWindow(_formel);
  2543. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2544. // var _formel = document.getElementById("studentStudy");
  2545. // if (_formel.ismaximize) {
  2546. // return;
  2547. // }
  2548. // U.UF.F.windowZooming(_formel);
  2549. // U.UF.F.topWindow(_formel);
  2550. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2551. var _formel = document.getElementById("study");
  2552. // if (_formel.ismaximize) {
  2553. // return;
  2554. // }
  2555. // U.UF.F.windowZooming(_formel);
  2556. U.UF.F.topWindow(_formel);
  2557. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2558. var _formel = document.getElementById("studentIndex");
  2559. U.UF.F.windowZooming(_formel);
  2560. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2561. var _formel = document.getElementById("studyDetailS");
  2562. U.UF.F.windowZooming(_formel);
  2563. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2564. var _formel = document.getElementById("studioIndex");
  2565. U.UF.F.windowZooming(_formel);
  2566. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2567. var _formel = document.getElementById("studyDetailStudio");
  2568. U.UF.F.windowZooming(_formel);
  2569. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2570. var _formel = document.getElementById("studyDetailStudio");
  2571. U.UF.F.windowZooming(_formel);
  2572. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2573. var _formel = document.getElementById("studyDetailNT");
  2574. U.UF.F.windowZooming(_formel);
  2575. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2576. var _formel = document.getElementById("studyDetailS");
  2577. U.UF.F.windowZooming(_formel);
  2578. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2579. var _formel = document.getElementById("studyDetailS");
  2580. U.UF.F.topWindow(_formel);
  2581. } else if (e.data.tools && e.data.tools == "1") {
  2582. // U.MD.D.I.openApplication("whiteboard")
  2583. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2584. } else if (e.data.tools && e.data.tools == "2") {
  2585. U.MD.D.I.openApplication("note")
  2586. } else if (e.data.tools && e.data.tools == "3") {
  2587. // U.MD.D.I.openApplication("mind")
  2588. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2589. } else if (e.data.tools && e.data.tools == "4") {
  2590. U.MD.D.I.openApplication("investigation")
  2591. } else if (e.data.tools && e.data.tools == "6") {
  2592. // U.MD.D.I.openApplication("doc")
  2593. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2594. } else if (e.data.tools && e.data.tools == "7") {
  2595. // U.MD.D.I.openApplication("mindNetwork")
  2596. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2597. } else if (e.data.tools && e.data.tools == "8") {
  2598. U.MD.D.I.openApplication("library")
  2599. } else if (e.data.tools && e.data.tools == "17") {
  2600. U.MD.D.I.openApplication("stuLibrary")
  2601. } else if (e.data.tools && e.data.tools == "18") {
  2602. U.MD.D.I.openApplication("train")
  2603. } else if (e.data.tools && e.data.tools == "21") {
  2604. U.MD.D.I.openApplication("program")
  2605. } else if (e.data.tools && e.data.tools == "22") {
  2606. U.MD.D.I.openApplication("AIprogram2")
  2607. } else if (e.data.tools && e.data.tools == "23") {
  2608. U.MD.D.I.openApplication("Pythonprogram")
  2609. } else if (e.data.tools && e.data.tools == "24") {
  2610. U.MD.D.I.openApplication("AIprogram")
  2611. } else if (e.data.tools && e.data.tools == "25") {
  2612. U.MD.D.I.openApplication("sys")
  2613. } else if (e.data.tools && e.data.tools == "26") {
  2614. // U.MD.D.I.openApplication("courseDesign")
  2615. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2616. } else if (e.data.tools && e.data.tools == "31") {
  2617. U.MD.D.I.openApplication("netWorkPanel")
  2618. } else if (e.data.tools && e.data.tools == "32") {
  2619. U.MD.D.I.openApplication("codeEdit")
  2620. } else if (e.data.tools && e.data.tools == "57") {
  2621. U.MD.D.I.openApplication("CocoPi")
  2622. } else if (e.data.tools && e.data.tools == "63") {
  2623. U.MD.D.I.openApplication("Wood")
  2624. } else if (e.data.tools && e.data.tools == "58") {
  2625. U.MD.D.I.openApplication("car")
  2626. } else if (e.data.tools && e.data.tools == "59") {
  2627. U.MD.D.I.openApplication("lineSearch")
  2628. } else if (e.data.tools && e.data.tools == "60") {
  2629. U.MD.D.I.openApplication("deepLearning")
  2630. } else if (e.data.tools && e.data.tools == "61") {
  2631. U.MD.D.I.openApplication("allHistory")
  2632. } else if (e.data.tools && e.data.tools == "28") {
  2633. U.MD.D.I.openApplication("translation")
  2634. } else if (e.data.tools && e.data.tools == "37") {
  2635. U.MD.D.I.openApplication("mohe")
  2636. } else if (e.data.tools && e.data.tools == "38") {
  2637. U.MD.D.I.openApplication("24game")
  2638. } else if (e.data.tools && e.data.tools == "39") {
  2639. U.MD.D.I.openApplication("GeoGebra")
  2640. } else if (e.data.tools && e.data.tools == "43") {
  2641. U.MD.D.I.openApplication("studentEvaluate")
  2642. } else if (e.data.tools && e.data.tools == "44") {
  2643. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2644. } else if (e.data.tools && e.data.tools == "46") {
  2645. U.MD.D.I.openApplication("project")
  2646. } else if (e.data.tools && e.data.tools == "1s") {
  2647. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2648. } else if (e.data.tools && e.data.tools == "3s") {
  2649. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2650. } else if (e.data.tools && e.data.tools == "6s") {
  2651. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2652. } else if (e.data.tools && e.data.tools == "1studio") {
  2653. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2654. } else if (e.data.tools && e.data.tools == "3studio") {
  2655. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2656. } else if (e.data.tools && e.data.tools == "6studio") {
  2657. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2658. } else if (e.data.tools && e.data.tools == "3y") {
  2659. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2660. } else if (e.data.tools && e.data.tools == "1y") {
  2661. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2662. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2663. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2664. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2665. U.MD.D.I.openApplication("AIAnalyse")
  2666. } else if (e.data.tools && e.data.tools == "1teacher") {
  2667. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2668. } else if (e.data.tools && e.data.tools == "3teacher") {
  2669. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2670. } else if (e.data.tools && e.data.tools == "7teacher") {
  2671. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2672. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2673. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2674. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2675. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2676. } else if (e.data.tools && e.data.tools == "1E") {
  2677. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2678. } else if (e.data.tools && e.data.tools == "3E") {
  2679. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2680. } else if (e.data.tools && e.data.tools == "57y") {
  2681. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2682. } else if (e.data.tools && e.data.tools == "57u") {
  2683. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2684. } else if (e.data.tools && e.data.tools == "57teacher") {
  2685. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2686. } else if (e.data.tools && e.data.tools == "64") {
  2687. U.MD.D.I.openApplication("AIChat")
  2688. } else if (e.data.tools && e.data.tools == "66") {
  2689. U.MD.D.I.openApplication("formulaEdi")
  2690. } else if (e.data.tools && e.data.tools == "67") {
  2691. U.MD.D.I.openApplication("molStr")
  2692. } else if (e.data.tools && e.data.tools == "68") {
  2693. U.MD.D.I.openApplication("timeAxis")
  2694. } else if (e.data.tools && e.data.tools == "openCourse") {
  2695. let _data = {
  2696. typea: e.data.typea || '',
  2697. typeb: e.data.typeb || '',
  2698. typed: e.data.typed || '',
  2699. }
  2700. U.MD.D.I.openInApplication("index", _data)
  2701. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2702. let _data = {
  2703. classid: e.data.classid || '',
  2704. }
  2705. U.MD.D.I.openInApplication("dataClass", _data)
  2706. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2707. let _data = {
  2708. cid: e.data.cid || '',
  2709. gid: e.data.gid || '',
  2710. }
  2711. U.MD.D.I.openInApplication("opencCscl", _data)
  2712. }
  2713. });
  2714. U.MD.D.I.selectUser = function () {
  2715. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2716. if (res.value[0].length > 0) {
  2717. US.userInfo = res.value[0][0];
  2718. $(".userName")[0].innerHTML = US.userInfo.username;
  2719. }
  2720. }, [], { "type": "GET", "withCredentials": true });
  2721. }
  2722. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2723. var _userinfo = US.userInfo, //登录用户信息
  2724. _userid = US.userInfo.userid, //登录用户id
  2725. _oid = _userinfo.organizeid,
  2726. _type = US.userInfo.type,
  2727. _org = US.userInfo.org,
  2728. _role = US.userInfo.role,
  2729. _classId = US.userInfo.classid;
  2730. if (_type == 4) {
  2731. tType = 4
  2732. }
  2733. switch (str) {
  2734. case "studyDetailNT": //无终端模式
  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/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2743. "id": "studyDetailNT",
  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 "studyDetail":
  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/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2761. "id": "studyDetail",
  2762. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2768. break;
  2769. }
  2770. case "studyDetailS":
  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/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2779. "id": "studyDetailS",
  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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2786. break;
  2787. }
  2788. case "studyDetailStudio":
  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/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2797. "id": "studyDetailStudio",
  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/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2804. break;
  2805. }
  2806. case "studyDetailS5":
  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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2815. "id": "studyDetailS",
  2816. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2822. break;
  2823. }
  2824. case "studyDetailGM":
  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": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2833. "id": "studyDetail",
  2834. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2840. break;
  2841. }
  2842. case "hanUrl":
  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": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2851. "id": "hanUrl",
  2852. "style": { "width": "90%", "height": "90%", "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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2858. break;
  2859. }
  2860. case "index":
  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-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 }), {
  2869. "id": "study",
  2870. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2876. break;
  2877. }
  2878. case "dataClass":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2887. "id": "dataClass",
  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/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2894. break;
  2895. }
  2896. case "opencCscl":
  2897. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2898. setTimeout(() => {
  2899. U.MD.U.L.login();
  2900. }, 2000);
  2901. } else {
  2902. _formdiv = new U.UF.UI.form(
  2903. "协同建构",
  2904. $$("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 }), {
  2905. "id": "futureClass",
  2906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2907. "onresize": function () { }
  2908. }, {
  2909. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2910. }, { "style": { "height": "36px" } }).form; //创建窗体
  2911. _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); } }
  2912. break;
  2913. }
  2914. }
  2915. }
  2916. U.MD.D.I.openApplication = function (str, obj, info) {
  2917. obj = obj || {};
  2918. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2919. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2920. _userinfo = US.userInfo, //登录用户信息
  2921. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2922. _oid = obj.organizeid || _userinfo.organizeid,
  2923. _type = US.userInfo.type,
  2924. _org = US.userInfo.org,
  2925. _role = US.userInfo.role,
  2926. _classId = US.userInfo.classid,
  2927. _TscreenType = 1
  2928. _screenType = 2,
  2929. _SscreenType = 3;
  2930. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2931. return;
  2932. }
  2933. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2934. switch (str) {
  2935. case "studnetProject": //好友打开
  2936. _formdiv = new U.UF.UI.form(
  2937. "我的项目",
  2938. $$("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 }), {
  2939. "id": "studnetProject",
  2940. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. case "studentEvaluate": //好友打开
  2948. _formdiv = new U.UF.UI.form(
  2949. "我的评价",
  2950. $$("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 }), {
  2951. "id": "studentEvaluate",
  2952. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2953. "onresize": function () { }
  2954. }, {
  2955. closecallback: function () { }
  2956. }, { "style": { "height": "36px" } }).form; //创建窗体
  2957. _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); } }
  2958. break;
  2959. case "my":
  2960. _formdiv = new U.UF.UI.form(
  2961. "我的资料",
  2962. $$("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 }), {
  2963. "id": "my",
  2964. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2965. "onresize": function () { }
  2966. }, {
  2967. closecallback: function () { }
  2968. }, { "style": { "height": "36px" } }).form; //创建窗体
  2969. _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); } }
  2970. break;
  2971. case "program":
  2972. _formdiv = new U.UF.UI.form(
  2973. "编程平台",
  2974. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2975. "id": "program",
  2976. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2977. "onresize": function () { }
  2978. }, {
  2979. closecallback: function () { }
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. case "library":
  2984. _formdiv = new U.UF.UI.form(
  2985. "素材库",
  2986. $$("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 }), {
  2987. "id": "library",
  2988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function () { }
  2990. }, {
  2991. closecallback: function () { }
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _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); } }
  2994. break;
  2995. case "whiteboard":
  2996. _formdiv = new U.UF.UI.form(
  2997. "电子白板",
  2998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2999. "id": "whiteboard",
  3000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3001. "onresize": function () { }
  3002. }, {
  3003. closecallback: function () { }
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _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); } }
  3006. break;
  3007. case "investigation":
  3008. _formdiv = new U.UF.UI.form(
  3009. "问卷调查",
  3010. $$("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 }), {
  3011. "id": "investigation",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function () { }
  3014. }, {
  3015. closecallback: function () { }
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. break;
  3019. case "note":
  3020. _formdiv = new U.UF.UI.form(
  3021. "便签分类",
  3022. $$("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 }), {
  3023. "id": "note",
  3024. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function () { }
  3026. }, {
  3027. closecallback: function () { }
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. _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); } }
  3030. break;
  3031. // case "score":
  3032. // _formdiv = new U.UF.UI.form(
  3033. // "量规评分",
  3034. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3035. // "id": "score",
  3036. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3037. // "onresize": function() {}
  3038. // }, {
  3039. // closecallback: function() {}
  3040. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3041. // _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); } }
  3042. // break;
  3043. case "mind":
  3044. _formdiv = new U.UF.UI.form(
  3045. "思维导图",
  3046. $$("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"
  3047. "id": "mind",
  3048. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3049. "onresize": function () { }
  3050. }, {
  3051. closecallback: function () { }
  3052. }, { "style": { "height": "36px" } }).form; //创建窗体
  3053. _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); } }
  3054. break;
  3055. case "doc":
  3056. // U.MD.D.I.isRoom();
  3057. _formdiv = new U.UF.UI.form(
  3058. "协同文档",
  3059. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3060. "id": "doc",
  3061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3062. "onresize": function () { }
  3063. }, {
  3064. closecallback: function () { }
  3065. }, { "style": { "height": "36px" } }).form; //创建窗体
  3066. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3067. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3068. // })
  3069. _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); } }
  3070. break;
  3071. case "studentStudy":
  3072. _formdiv = new U.UF.UI.form(
  3073. "课程中心",
  3074. $$("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
  3075. "id": "studentStudy",
  3076. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3077. "onresize": function () { }
  3078. }, {
  3079. closecallback: function () { }
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _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); } }
  3082. break;
  3083. case "train": //好友打开
  3084. _formdiv = new U.UF.UI.form(
  3085. "训练平台",
  3086. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3087. "id": "train",
  3088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function () { }
  3090. }, {
  3091. closecallback: function () { }
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _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); } }
  3094. break;
  3095. case "mindNetwork": //好友打开
  3096. _formdiv = new U.UF.UI.form(
  3097. "思维网格",
  3098. $$("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 }), {
  3099. "id": "mindNetwork",
  3100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function () { }
  3102. }, {
  3103. closecallback: function () { }
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _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); } }
  3106. break;
  3107. case "studentClassRoom": //好友打开
  3108. _formdiv = new U.UF.UI.form(
  3109. "实时课堂",
  3110. $$("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 }), {
  3111. "id": "studentClassRoom",
  3112. "style": { "width": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3118. setTimeout(() => {
  3119. U.UF.F.windowZooming(_formdiv)
  3120. }, 0);
  3121. break;
  3122. }
  3123. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3124. switch (str) {
  3125. case "studnetProject": //好友打开
  3126. _formdiv = new U.UF.UI.form(
  3127. "我的项目",
  3128. $$("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 }), {
  3129. "id": "studnetProject",
  3130. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "studentEvaluate": //好友打开
  3138. _formdiv = new U.UF.UI.form(
  3139. "我的评价",
  3140. $$("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 }), {
  3141. "id": "studentEvaluate",
  3142. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "my":
  3150. _formdiv = new U.UF.UI.form(
  3151. "我的资料",
  3152. $$("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 }), {
  3153. "id": "my",
  3154. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. case "program":
  3162. _formdiv = new U.UF.UI.form(
  3163. "编程平台",
  3164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3165. "id": "program",
  3166. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _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); } }
  3172. break;
  3173. case "library":
  3174. _formdiv = new U.UF.UI.form(
  3175. "素材库",
  3176. $$("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 }), {
  3177. "id": "library",
  3178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. case "whiteboard":
  3186. _formdiv = new U.UF.UI.form(
  3187. "电子白板",
  3188. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3189. "id": "whiteboard",
  3190. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. "onresize": function () { }
  3192. }, {
  3193. closecallback: function () { }
  3194. }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. _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); } }
  3196. break;
  3197. case "investigation":
  3198. _formdiv = new U.UF.UI.form(
  3199. "问卷调查",
  3200. $$("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 }), {
  3201. "id": "investigation",
  3202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _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); } }
  3208. break;
  3209. case "note":
  3210. _formdiv = new U.UF.UI.form(
  3211. "便签分类",
  3212. $$("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 }), {
  3213. "id": "note",
  3214. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. _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); } }
  3220. break;
  3221. // case "score":
  3222. // _formdiv = new U.UF.UI.form(
  3223. // "量规评分",
  3224. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3225. // "id": "score",
  3226. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3227. // "onresize": function() {}
  3228. // }, {
  3229. // closecallback: function() {}
  3230. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3231. // _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); } }
  3232. // break;
  3233. case "mind":
  3234. _formdiv = new U.UF.UI.form(
  3235. "思维导图",
  3236. $$("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"
  3237. "id": "mind",
  3238. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3239. "onresize": function () { }
  3240. }, {
  3241. closecallback: function () { }
  3242. }, { "style": { "height": "36px" } }).form; //创建窗体
  3243. _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); } }
  3244. break;
  3245. case "doc":
  3246. // U.MD.D.I.isRoom();
  3247. _formdiv = new U.UF.UI.form(
  3248. "协同文档",
  3249. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3250. "id": "doc",
  3251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function () { }
  3253. }, {
  3254. closecallback: function () { }
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3257. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3258. })
  3259. _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); } }
  3260. break;
  3261. case "train": //好友打开
  3262. _formdiv = new U.UF.UI.form(
  3263. "训练平台",
  3264. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3265. "id": "train",
  3266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. case "studentStudy":
  3274. _formdiv = new U.UF.UI.form(
  3275. "课程中心",
  3276. $$("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
  3277. "id": "studentStudy",
  3278. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3279. "onresize": function () { }
  3280. }, {
  3281. closecallback: function () { }
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. case "mindNetwork": //好友打开
  3286. _formdiv = new U.UF.UI.form(
  3287. "思维网格",
  3288. $$("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 }), {
  3289. "id": "mindNetwork",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "studentClassRoom": //好友打开
  3298. _formdiv = new U.UF.UI.form(
  3299. "实时课堂",
  3300. $$("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 }), {
  3301. "id": "studentClassRoom",
  3302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function () { }
  3304. }, {
  3305. closecallback: function () { }
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. setTimeout(() => {
  3309. U.UF.F.windowZooming(_formdiv)
  3310. }, 0);
  3311. break;
  3312. }
  3313. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3314. //选择应用处理
  3315. switch (str) {
  3316. case "project": //好友打开
  3317. _formdiv = new U.UF.UI.form(
  3318. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3319. $$("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 }), {
  3320. "id": "project",
  3321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function () { }
  3323. }, {
  3324. closecallback: function () { }
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3327. break;
  3328. case "student":
  3329. _formdiv = new U.UF.UI.form(
  3330. "学生管理",
  3331. $$("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 }), {
  3332. "id": "student",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function () { }
  3335. }, {
  3336. closecallback: function () { }
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. break;
  3340. case "evaluate":
  3341. _formdiv = new U.UF.UI.form(
  3342. "学生评价",
  3343. $$("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 }), {
  3344. "id": "evaluate",
  3345. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function () { }
  3347. }, {
  3348. closecallback: function () { }
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _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); } }
  3351. break;
  3352. case "sys":
  3353. _formdiv = new U.UF.UI.form(
  3354. "目标管理",
  3355. $$("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 }), {
  3356. "id": "sys",
  3357. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3358. "onresize": function () { }
  3359. }, {
  3360. closecallback: function () { }
  3361. }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. _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); } }
  3363. break;
  3364. case "courseDesign":
  3365. _formdiv = new U.UF.UI.form(
  3366. "项目设计",
  3367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3368. "id": "courseDesign",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. case "program":
  3377. _formdiv = new U.UF.UI.form(
  3378. "编程平台",
  3379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3380. "id": "program",
  3381. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. case "class":
  3389. _formdiv = new U.UF.UI.form(
  3390. "班级管理",
  3391. $$("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 }), {
  3392. "id": "class",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. break;
  3400. case "Grade":
  3401. _formdiv = new U.UF.UI.form(
  3402. "年级管理",
  3403. $$("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 }), {
  3404. "id": "Grade",
  3405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function () { }
  3407. }, {
  3408. closecallback: function () { }
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _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); } }
  3411. break;
  3412. case "teacherOffice":
  3413. _formdiv = new U.UF.UI.form(
  3414. "教研室",
  3415. $$("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 }), {
  3416. "id": "teacherOffice",
  3417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function () { }
  3419. }, {
  3420. closecallback: function () { }
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _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); } }
  3423. break;
  3424. case "my":
  3425. _formdiv = new U.UF.UI.form(
  3426. "我的资料",
  3427. $$("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 }), {
  3428. "id": "my",
  3429. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function () { }
  3431. }, {
  3432. closecallback: function () { }
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _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); } }
  3435. break;
  3436. case "notice":
  3437. _formdiv = new U.UF.UI.form(
  3438. "通知公告",
  3439. $$("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 }), {
  3440. "id": "notice",
  3441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3442. "onresize": function () { }
  3443. }, {
  3444. closecallback: function () { }
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "library":
  3449. _formdiv = new U.UF.UI.form(
  3450. "素材库",
  3451. $$("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 }), {
  3452. "id": "library",
  3453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. break;
  3460. case "whiteboard":
  3461. _formdiv = new U.UF.UI.form(
  3462. "电子白板",
  3463. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3464. "id": "whiteboard",
  3465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3466. "onresize": function () { }
  3467. }, {
  3468. closecallback: function () { }
  3469. }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. _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); } }
  3471. break;
  3472. case "investigation":
  3473. _formdiv = new U.UF.UI.form(
  3474. "问卷调查",
  3475. $$("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 }), {
  3476. "id": "investigation",
  3477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "note":
  3485. _formdiv = new U.UF.UI.form(
  3486. "便签分类",
  3487. $$("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 }), {
  3488. "id": "note",
  3489. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. // case "score":
  3497. // _formdiv = new U.UF.UI.form(
  3498. // "量规评分",
  3499. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3500. // "id": "score",
  3501. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3502. // "onresize": function() {}
  3503. // }, {
  3504. // closecallback: function() {}
  3505. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. // _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); } }
  3507. // break;
  3508. case "mind":
  3509. _formdiv = new U.UF.UI.form(
  3510. "思维导图",
  3511. $$("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"
  3512. "id": "mind",
  3513. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3514. "onresize": function () { }
  3515. }, {
  3516. closecallback: function () { }
  3517. }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. _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); } }
  3519. break;
  3520. case "doc":
  3521. // U.MD.D.I.isRoom();
  3522. _formdiv = new U.UF.UI.form(
  3523. "协同文档",
  3524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3525. "id": "doc",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function () { }
  3528. }, {
  3529. closecallback: function () { }
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3532. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3533. })
  3534. _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); } }
  3535. break;
  3536. case "study":
  3537. _formdiv = new U.UF.UI.form(
  3538. "课程中心",
  3539. $$("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
  3540. "id": "study",
  3541. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. break;
  3548. case "mindNetwork": //好友打开
  3549. _formdiv = new U.UF.UI.form(
  3550. "思维网格",
  3551. $$("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 }), {
  3552. "id": "mindNetwork",
  3553. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3554. "onresize": function () { }
  3555. }, {
  3556. closecallback: function () { }
  3557. }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. _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); } }
  3559. break;
  3560. case "train": //好友打开
  3561. _formdiv = new U.UF.UI.form(
  3562. "训练平台",
  3563. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3564. "id": "mindNetwork",
  3565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _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); } }
  3571. break;
  3572. case "teacherClassRoom": //好友打开
  3573. _formdiv = new U.UF.UI.form(
  3574. "实时课堂",
  3575. $$("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 }), {
  3576. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3583. setTimeout(() => {
  3584. U.UF.F.windowZooming(_formdiv)
  3585. }, 0);
  3586. break;
  3587. }
  3588. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3589. switch (str) {
  3590. case "project": //好友打开
  3591. _formdiv = new U.UF.UI.form(
  3592. "课程管理",
  3593. $$("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 }), {
  3594. "id": "project",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _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); } }
  3601. break;
  3602. case "evaluate":
  3603. _formdiv = new U.UF.UI.form(
  3604. "学生评价",
  3605. $$("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 }), {
  3606. "id": "evaluate",
  3607. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _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); } }
  3613. break;
  3614. case "notice":
  3615. _formdiv = new U.UF.UI.form(
  3616. "通知公告",
  3617. $$("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 }), {
  3618. "id": "notice",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function () { }
  3621. }, {
  3622. closecallback: function () { }
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _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); } }
  3625. break;
  3626. case "stuLibrary":
  3627. _formdiv = new U.UF.UI.form(
  3628. "学习资料",
  3629. $$("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 }), {
  3630. "id": "stuLibrary",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function () { }
  3633. }, {
  3634. closecallback: function () { }
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _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); } }
  3637. break;
  3638. case "program":
  3639. _formdiv = new U.UF.UI.form(
  3640. "编程平台",
  3641. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3642. "id": "program",
  3643. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3644. "onresize": function () { }
  3645. }, {
  3646. closecallback: function () { }
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "whiteboard":
  3651. _formdiv = new U.UF.UI.form(
  3652. "电子白板",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3654. "id": "whiteboard",
  3655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function () { }
  3657. }, {
  3658. closecallback: function () { }
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. _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); } }
  3661. break;
  3662. case "investigation":
  3663. _formdiv = new U.UF.UI.form(
  3664. "问卷调查",
  3665. $$("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 }), {
  3666. "id": "investigation",
  3667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3668. "onresize": function () { }
  3669. }, {
  3670. closecallback: function () { }
  3671. }, { "style": { "height": "36px" } }).form; //创建窗体
  3672. _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); } }
  3673. break;
  3674. case "mind":
  3675. _formdiv = new U.UF.UI.form(
  3676. "思维导图",
  3677. $$("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"
  3678. "id": "mind",
  3679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3680. "onresize": function () { }
  3681. }, {
  3682. closecallback: function () { }
  3683. }, { "style": { "height": "36px" } }).form; //创建窗体
  3684. _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); } }
  3685. break;
  3686. case "doc":
  3687. // U.MD.D.I.isRoom();
  3688. _formdiv = new U.UF.UI.form(
  3689. "协同文档",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3691. "id": "doc",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3698. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3699. })
  3700. _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); } }
  3701. break;
  3702. case "study":
  3703. _formdiv = new U.UF.UI.form(
  3704. "课程中心",
  3705. $$("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
  3706. "id": "study",
  3707. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "mindNetwork": //好友打开
  3715. _formdiv = new U.UF.UI.form(
  3716. "思维网格",
  3717. $$("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 }), {
  3718. "id": "mindNetwork",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "train": //好友打开
  3727. _formdiv = new U.UF.UI.form(
  3728. "训练平台",
  3729. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3730. "id": "train",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "sys":
  3739. _formdiv = new U.UF.UI.form(
  3740. "目标管理",
  3741. $$("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 }), {
  3742. "id": "sys",
  3743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "courseDesign":
  3751. _formdiv = new U.UF.UI.form(
  3752. "项目设计",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3754. "id": "courseDesign",
  3755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. }
  3763. } else if (!_type) {
  3764. switch (str) {
  3765. case "my":
  3766. _formdiv = new U.UF.UI.form(
  3767. "我的资料",
  3768. $$("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 }), {
  3769. "id": "my",
  3770. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3776. break;
  3777. }
  3778. }
  3779. switch (str) {
  3780. // AIprogram2 AI体验 aihub.cocorobo.cn
  3781. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3782. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3783. case "formulaEdi": //公式编辑
  3784. _formdiv = new U.UF.UI.form(
  3785. "公式编辑",
  3786. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3787. "id": "formulaEdi",
  3788. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function () { }
  3790. }, {
  3791. closecallback: function () { }
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. case "molStr": //分子结构
  3796. _formdiv = new U.UF.UI.form(
  3797. "分子结构",
  3798. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3799. "id": "molStr",
  3800. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3801. "onresize": function () { }
  3802. }, {
  3803. closecallback: function () { }
  3804. }, { "style": { "height": "36px" } }).form; //创建窗体
  3805. _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); } }
  3806. break;
  3807. case "timeAxis": //时间轴
  3808. _formdiv = new U.UF.UI.form(
  3809. "时间轴",
  3810. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3811. "id": "timeAxis",
  3812. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3813. "onresize": function () { }
  3814. }, {
  3815. closecallback: function () { }
  3816. }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. _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); } }
  3818. break;
  3819. case "AIprogram2": //AI体验
  3820. _formdiv = new U.UF.UI.form(
  3821. "AI体验",
  3822. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3823. "id": "AIprogram2",
  3824. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3825. "onresize": function () { }
  3826. }, {
  3827. closecallback: function () { }
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "Pythonprogram": //python编程
  3832. _formdiv = new U.UF.UI.form(
  3833. "Python编程",
  3834. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3835. "id": "Pythonprogram",
  3836. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function () { }
  3838. }, {
  3839. closecallback: function () { }
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. case "AIprogram": //ai编程
  3844. _formdiv = new U.UF.UI.form(
  3845. "AI编程平台",
  3846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3847. "id": "AIprogram",
  3848. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. _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); } }
  3854. break;
  3855. case "CocoPi": //CocoPi
  3856. _formdiv = new U.UF.UI.form(
  3857. "CocoPi",
  3858. $$("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" }), {
  3859. "id": "CocoPi",
  3860. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3861. "onresize": function () { }
  3862. }, {
  3863. closecallback: function () { }
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _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); } }
  3866. break;
  3867. case "Wood": //Wood
  3868. _formdiv = new U.UF.UI.form(
  3869. "海龟编程",
  3870. $$("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/" }), {
  3871. "id": "Wood",
  3872. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. case "car": //模拟驾驶
  3880. _formdiv = new U.UF.UI.form(
  3881. "模拟驾驶",
  3882. $$("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/" }), {
  3883. "id": "car",
  3884. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _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); } }
  3890. break;
  3891. case "lineSearch": //路径搜索
  3892. _formdiv = new U.UF.UI.form(
  3893. "路径搜索",
  3894. $$("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/" }), {
  3895. "id": "lineSearch",
  3896. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _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); } }
  3902. break;
  3903. case "deepLearning": //深度学习
  3904. _formdiv = new U.UF.UI.form(
  3905. "深度学习",
  3906. $$("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/#" }), {
  3907. "id": "deepLearning",
  3908. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. case "allHistory": //深度学习
  3916. _formdiv = new U.UF.UI.form(
  3917. "全历史",
  3918. $$("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/" }), {
  3919. "id": "allHistory",
  3920. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. _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); } }
  3926. break;
  3927. case "chatPDF": //ai编程
  3928. _formdiv = new U.UF.UI.form(
  3929. "chatPDF",
  3930. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3931. "id": "chatPDF",
  3932. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3933. "onresize": function () { }
  3934. }, {
  3935. closecallback: function () { }
  3936. }, { "style": { "height": "36px" } }).form; //创建窗体
  3937. _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); } }
  3938. break;
  3939. case "resources": //国家教育
  3940. _formdiv = new U.UF.UI.form(
  3941. "国家教育",
  3942. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3943. "id": "resources",
  3944. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3945. "onresize": function () { }
  3946. }, {
  3947. closecallback: function () { }
  3948. }, { "style": { "height": "36px" } }).form; //创建窗体
  3949. _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); } }
  3950. break;
  3951. case "codeEdit": //源码编辑
  3952. _formdiv = new U.UF.UI.form(
  3953. "源码编辑",
  3954. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3955. "id": "codeEdit",
  3956. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function () { }
  3958. }, {
  3959. closecallback: function () { }
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _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); } }
  3962. break; //
  3963. case "MindMap": //MindMap
  3964. _formdiv = new U.UF.UI.form(
  3965. "MindMap",
  3966. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3967. "id": "MindMap",
  3968. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3969. "onresize": function () { }
  3970. }, {
  3971. closecallback: function () { }
  3972. }, { "style": { "height": "36px" } }).form; //创建窗体
  3973. _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); } }
  3974. break;
  3975. case "netWorkPanel": //netWorkPanel
  3976. _formdiv = new U.UF.UI.form(
  3977. "netWorkPanel",
  3978. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3979. "id": "netWorkPanel",
  3980. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _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); } }
  3986. break;
  3987. case "GeoGebra": //GeoGebra
  3988. _formdiv = new U.UF.UI.form(
  3989. "GeoGebra",
  3990. $$("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" }), {
  3991. "id": "GeoGebra",
  3992. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3993. "onresize": function () { }
  3994. }, {
  3995. closecallback: function () { }
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _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); } }
  3998. break;
  3999. case "translation": //翻译
  4000. _formdiv = new U.UF.UI.form(
  4001. "翻译",
  4002. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4003. "id": "translation",
  4004. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _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); } }
  4010. break;
  4011. case "mohe": //魔盒
  4012. _formdiv = new U.UF.UI.form(
  4013. "魔盒识字",
  4014. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4015. "id": "mohe",
  4016. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. case "24game": //24点
  4024. _formdiv = new U.UF.UI.form(
  4025. "24点",
  4026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4027. "id": "24game",
  4028. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "case":
  4036. _formdiv = new U.UF.UI.form(
  4037. "课程进展",
  4038. $$("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 }), {
  4039. "id": "case",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "snf":
  4048. _formdiv = new U.UF.UI.form(
  4049. "赛诺梵",
  4050. $$("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" }), {
  4051. "id": "snf",
  4052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. case "hanFamily":
  4060. _formdiv = new U.UF.UI.form(
  4061. "汉字家族",
  4062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4063. "id": "hanFamily",
  4064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _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); } }
  4070. break;
  4071. case "hanClassics":
  4072. _formdiv = new U.UF.UI.form(
  4073. "国学经典",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4075. "id": "hanClassics",
  4076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _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); } }
  4082. break;
  4083. case "hanTraining":
  4084. _formdiv = new U.UF.UI.form(
  4085. "笔画训练",
  4086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4087. "id": "hanTraining",
  4088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _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); } }
  4094. break;
  4095. case "hanClass":
  4096. _formdiv = new U.UF.UI.form(
  4097. "书法课堂",
  4098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4099. "id": "hanClass",
  4100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _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); } }
  4106. break;
  4107. case "han":
  4108. _formdiv = new U.UF.UI.form(
  4109. "汉字宫",
  4110. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4111. "id": "han",
  4112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. _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); } }
  4118. break;
  4119. case "projectGM": //课程管理
  4120. _formdiv = new U.UF.UI.form(
  4121. "课程管理",
  4122. $$("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 }), {
  4123. "id": "projectGM",
  4124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. case "studyGM": //课程中心
  4132. _formdiv = new U.UF.UI.form(
  4133. "课程中心",
  4134. $$("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
  4135. "id": "study",
  4136. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4142. break;
  4143. // studentGM
  4144. case "studentGM": //学生管理
  4145. _formdiv = new U.UF.UI.form(
  4146. "学生管理",
  4147. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4148. "id": "studentGM",
  4149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4150. "onresize": function () { }
  4151. }, {
  4152. closecallback: function () { }
  4153. }, { "style": { "height": "36px" } }).form; //创建窗体
  4154. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4155. break;
  4156. case "evaluateGM": //学生评价
  4157. _formdiv = new U.UF.UI.form(
  4158. "学生评价",
  4159. $$("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 }), {
  4160. "id": "evaluateGM",
  4161. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4162. "onresize": function () { }
  4163. }, {
  4164. closecallback: function () { }
  4165. }, { "style": { "height": "36px" } }).form; //创建窗体
  4166. _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); } }
  4167. break;
  4168. // classGM
  4169. case "classGM": //班级管理
  4170. _formdiv = new U.UF.UI.form(
  4171. "班级管理",
  4172. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4173. "id": "classGM",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4180. break;
  4181. // dataGM
  4182. case "dataGM":
  4183. _formdiv = new U.UF.UI.form(
  4184. "我的资料",
  4185. $$("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 }), {
  4186. "id": "dataGM",
  4187. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. // caseGM
  4195. case "caseGM": //课程进展
  4196. _formdiv = new U.UF.UI.form(
  4197. "课程进展",
  4198. $$("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 }), {
  4199. "id": "caseGM",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function () { }
  4202. }, {
  4203. closecallback: function () { }
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4206. break;
  4207. // meterialGM
  4208. case "meterialGM": //素材库
  4209. _formdiv = new U.UF.UI.form(
  4210. "素材库",
  4211. $$("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 }), {
  4212. "id": "meterialGM",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _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); } }
  4219. break;
  4220. // evaluateSGM
  4221. case "evaluateSGM": //我的评价
  4222. _formdiv = new U.UF.UI.form(
  4223. "我的评价",
  4224. $$("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 }), {
  4225. "id": "evaluateSGM",
  4226. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //创建窗体
  4231. _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); } }
  4232. break;
  4233. case "jupyter": //jupyter
  4234. _formdiv = new U.UF.UI.form(
  4235. "jupyter",
  4236. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4237. "id": "jupyter",
  4238. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4239. "onresize": function () { }
  4240. }, {
  4241. closecallback: function () { }
  4242. }, { "style": { "height": "36px" } }).form; //创建窗体
  4243. _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); } }
  4244. break;
  4245. case "number": //数字实验室
  4246. _formdiv = new U.UF.UI.form(
  4247. "数字实验室",
  4248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4249. "id": "number",
  4250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //创建窗体
  4255. _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); } }
  4256. break;
  4257. case "studentCourse": //项目管理 学生
  4258. _formdiv = new U.UF.UI.form(
  4259. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4260. $$("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 }), {
  4261. "id": "studentCourse",
  4262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4263. "onresize": function () { }
  4264. }, {
  4265. closecallback: function () { }
  4266. }, { "style": { "height": "36px" } }).form; //创建窗体
  4267. _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); } }
  4268. break;
  4269. case "studentCourseS": //项目管理 老师
  4270. _formdiv = new U.UF.UI.form(
  4271. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4272. $$("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 }), {
  4273. "id": "studentCourseS",
  4274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //创建窗体
  4279. _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); } }
  4280. break;
  4281. case "studentIndex": //项目中心
  4282. _formdiv = new U.UF.UI.form(
  4283. "项目中心",
  4284. $$("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 }), {
  4285. "id": "studentIndex",
  4286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //创建窗体
  4291. _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); } }
  4292. break;
  4293. case "CaseDesignS":
  4294. _formdiv = new U.UF.UI.form(
  4295. "项目进展",
  4296. $$("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 }), {
  4297. "id": "case",
  4298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _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); } }
  4304. break;
  4305. case "tcStudent": //腾讯学生管理
  4306. _formdiv = new U.UF.UI.form(
  4307. "学生管理",
  4308. $$("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 }), {
  4309. "id": "tcStudent",
  4310. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _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); } }
  4316. break;
  4317. case "tcSchool": //腾讯学校管理
  4318. _formdiv = new U.UF.UI.form(
  4319. "学校管理",
  4320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4321. "id": "tcSchool",
  4322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4328. break;
  4329. case "tcTeacher": //腾讯学校管理
  4330. _formdiv = new U.UF.UI.form(
  4331. "教师管理",
  4332. $$("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 }), {
  4333. "id": "tcTeacher",
  4334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. case "tcData": //腾讯我的资料
  4342. _formdiv = new U.UF.UI.form(
  4343. "我的资料",
  4344. $$("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 }), {
  4345. "id": "tcData",
  4346. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //创建窗体
  4351. _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); } }
  4352. break;
  4353. case "tcNotice": //腾讯消息通知
  4354. _formdiv = new U.UF.UI.form(
  4355. "消息通知",
  4356. $$("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 }), {
  4357. "id": "tcNotice",
  4358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //创建窗体
  4363. _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); } }
  4364. break;
  4365. case "myReport": //好友打开
  4366. _formdiv = new U.UF.UI.form(
  4367. "我的评价",
  4368. $$("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 }), {
  4369. "id": "myReport",
  4370. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4371. "onresize": function () { }
  4372. }, {
  4373. closecallback: function () { }
  4374. }, { "style": { "height": "36px" } }).form; //创建窗体
  4375. _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); } }
  4376. break;
  4377. case "learnAna": //好友打开
  4378. _formdiv = new U.UF.UI.form(
  4379. "学习分析",
  4380. $$("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 }), {
  4381. "id": "learnAna",
  4382. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "AIChat": //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/aichat/" }), {
  4393. "id": "AIChat",
  4394. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. istop: true,
  4398. closecallback: function () { $("#aichat_icon").remove(); },
  4399. narrowcallback: function () {
  4400. if (!$("#aichat_icon")[0]) {
  4401. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4402. }
  4403. },
  4404. }, { "style": { "height": "36px" } }).form; //创建窗体
  4405. _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); } }
  4406. break;
  4407. case "ainew": //AI共创
  4408. _formdiv = new U.UF.UI.form(
  4409. "AI协同",
  4410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4411. "id": "ainew",
  4412. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4418. break;
  4419. case "futureClass": //AI共创
  4420. _formdiv = new U.UF.UI.form(
  4421. "协同建构",
  4422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4423. "id": "synergyCourse",
  4424. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () {
  4428. $("iframe", _formdiv)[0].contentWindow.loginout();
  4429. }
  4430. }, { "style": { "height": "36px" } }).form; //创建窗体
  4431. _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); } }
  4432. break;
  4433. case "aiagent": //ai agent
  4434. _formdiv = new U.UF.UI.form(
  4435. "AI Agent",
  4436. $$("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" }), {
  4437. "id": "AIAgent",
  4438. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //创建窗体
  4443. _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); } }
  4444. break;
  4445. case "dataBoard": //数据看板
  4446. _formdiv = new U.UF.UI.form(
  4447. "数据看板",
  4448. $$("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 }), {
  4449. "id": "dataBoard",
  4450. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. case "dataBoardSies": //数据看板
  4458. _formdiv = new U.UF.UI.form(
  4459. "数据看板",
  4460. $$("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 }), {
  4461. "id": "dataBoardSies",
  4462. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _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); } }
  4468. break;
  4469. case "dataBoardNew": //数据看板
  4470. _formdiv = new U.UF.UI.form(
  4471. "综合看板",
  4472. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4473. "id": "dataBoardNew",
  4474. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //创建窗体
  4479. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4480. break;
  4481. case "AIAnalyse": //AI共创
  4482. _formdiv = new U.UF.UI.form(
  4483. "AI分析",
  4484. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4485. "id": "AIAnalyse",
  4486. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4487. "onresize": function () { }
  4488. }, {
  4489. closecallback: function () { }
  4490. }, { "style": { "height": "36px" } }).form; //创建窗体
  4491. _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); } }
  4492. break;
  4493. case "studioCourse": //AI共创
  4494. _formdiv = new U.UF.UI.form(
  4495. "工作管理",
  4496. $$("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 }), {
  4497. "id": "studioCourse",
  4498. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //创建窗体
  4503. _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); } }
  4504. break;
  4505. case "studioIndex": //AI共创
  4506. _formdiv = new U.UF.UI.form(
  4507. "工作中心",
  4508. $$("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 }), {
  4509. "id": "studioIndex",
  4510. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4511. "onresize": function () { }
  4512. }, {
  4513. closecallback: function () { }
  4514. }, { "style": { "height": "36px" } }).form; //创建窗体
  4515. _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); } }
  4516. break;
  4517. case "source":
  4518. _formdiv = new U.UF.UI.form(
  4519. "教学资源",
  4520. $$("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 }), {
  4521. "id": "source",
  4522. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, { "style": { "height": "36px" } }).form; //创建窗体
  4527. _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); } }
  4528. break;
  4529. case "testTeacher":
  4530. _formdiv = new U.UF.UI.form(
  4531. "评测管理",
  4532. $$("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 }), {
  4533. "id": "testTeacher",
  4534. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4535. "onresize": function () { }
  4536. }, {
  4537. closecallback: function () { }
  4538. }, { "style": { "height": "36px" } }).form; //创建窗体
  4539. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4540. break;
  4541. case "testStudent":
  4542. _formdiv = new U.UF.UI.form(
  4543. "评测中心",
  4544. $$("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 }), {
  4545. "id": "testStudent",
  4546. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () { }
  4550. }, { "style": { "height": "36px" } }).form; //创建窗体
  4551. _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); } }
  4552. break;
  4553. }
  4554. //U.MD.D.I.openClick(str);
  4555. //如果有任务栏信息
  4556. if (_taskbar) {
  4557. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4558. }
  4559. }
  4560. // U.MD.D.I.openClick = function(str){
  4561. // var click = '';
  4562. // switch(str){
  4563. // case 'friend':
  4564. // click = '我的好友';
  4565. // break;
  4566. // case 'domain':
  4567. // click = '域名管理';
  4568. // break;
  4569. // case 'disk':
  4570. // click = '我的云盘';
  4571. // break;
  4572. // case 'word':
  4573. // click = 'Word';
  4574. // break;
  4575. // case 'excel':
  4576. // click = 'Execl';
  4577. // break;
  4578. // case 'txt':
  4579. // click = '文本文件';
  4580. // break;
  4581. // case 'lookupFriend':
  4582. // click = '查找好友';
  4583. // break;
  4584. // case 'ftp':
  4585. // click = 'FTP';
  4586. // break;
  4587. // case 'group':
  4588. // click = '群组';
  4589. // break;
  4590. // case 'set':
  4591. // click = '我的设置';
  4592. // break;
  4593. // case 'systemSet':
  4594. // click = '系统设置';
  4595. // break;
  4596. // case 'boomYun':
  4597. // click = '互联办公';
  4598. // break;
  4599. // case 'xz':
  4600. // click = '云端下载';
  4601. // break;
  4602. // case 'client':
  4603. // click = '有思浏览器';
  4604. // break;
  4605. // case 'backEndProgramming':
  4606. // click = '在线后台编程';
  4607. // break;
  4608. // case 'frontEndProgramming':
  4609. // click = '在线前端编程';
  4610. // break;
  4611. // default: break;
  4612. // }
  4613. // if(U.MD.D.I.Ip && click){
  4614. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4615. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4616. // })
  4617. // }
  4618. // }
  4619. /**
  4620. *函数作用:ajax简易函数,使用post格式
  4621. *@param url {data} 后台地址
  4622. *@param data {data} 参数json
  4623. *@param fn {data} 回调函数
  4624. *
  4625. */
  4626. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4627. // var xhr = new XMLHttpRequest();
  4628. // xhr.open("GET",url,true);
  4629. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4630. // xhr.onreadystatechange = function(){
  4631. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4632. // fn.call(this,xhr.responseText);
  4633. // }
  4634. // };
  4635. // xhr.send();
  4636. // }
  4637. /*判断是否是内网IP*/
  4638. // U.MD.D.I.isInnerIPFn = function(str){
  4639. // var curPageUrl = str;
  4640. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4641. // curPageUrl =curPageUrl.replace(reg1,'');
  4642. // // console.log('curPageUrl-1 '+curPageUrl);
  4643. // var reg2 = /\:+/g;//替换冒号为一点
  4644. // curPageUrl =curPageUrl.replace(reg2,'.');
  4645. // // console.log('curPageUrl-2 '+curPageUrl);
  4646. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4647. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4648. // if(curPageUrl[2] != '16'){
  4649. // return ipAddress;
  4650. // }else{
  4651. // return false;
  4652. // }
  4653. // }
  4654. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4655. // //compatibility for firefox and chrome
  4656. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4657. // var pc = new myPeerConnection({
  4658. // iceServers: []
  4659. // }),
  4660. // noop = function() {},
  4661. // localIPs = {},
  4662. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4663. // key;
  4664. // function iterateIP(ip) {
  4665. // if (!localIPs[ip]) onNewIP(ip);
  4666. // localIPs[ip] = true;
  4667. // }
  4668. // //create a bogus data channel
  4669. // pc.createDataChannel("");
  4670. // // create offer and set local description
  4671. // pc.createOffer().then(function(sdp) {
  4672. // sdp.sdp.split('\n').forEach(function(line) {
  4673. // if (line.indexOf('candidate') < 0) return;
  4674. // line.match(ipRegex).forEach(iterateIP);
  4675. // });
  4676. // pc.setLocalDescription(sdp, noop, noop);
  4677. // }).catch(function(reason) {
  4678. // // An error occurred, so handle the failure to connect
  4679. // });
  4680. // //sten for candidate events
  4681. // pc.onicecandidate = function(ice) {
  4682. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4683. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4684. // };
  4685. // }
  4686. // U.MD.D.I.getUserIpBool = function(callback){
  4687. // U.MD.D.I.getUserIP(function(ip){
  4688. // alert("Got IP! :" + ip);
  4689. // });
  4690. //}
  4691. //#endregion
  4692. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4693. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4694. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4695. _userinfo = US.userInfo, //登录用户信息
  4696. _userid = US.userInfo.userid //登录用户id
  4697. let _iframe;
  4698. let _cid = cid,
  4699. _stage = stage,
  4700. _task = task,
  4701. _tool = tool;
  4702. var _jie = $$("div", {
  4703. "style": {
  4704. "position": "absolute",
  4705. "bottom": "50px",
  4706. "right": "50px",
  4707. "zIndex": "9999",
  4708. "backgroundColor": "#2268bc",
  4709. "color": "#fff",
  4710. "padding": "12px 20px",
  4711. "cursor": "pointer",
  4712. "borderRadius": "4px",
  4713. },
  4714. "innerHTML": "提交作业"
  4715. })
  4716. let aTool = ''
  4717. let _loading = document.createElement('div')
  4718. _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;"
  4719. // _loading.id = "";
  4720. let _lchild = document.createElement('div')
  4721. let _limg = document.createElement('img')
  4722. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4723. _limg.style = "width: 26px;margin-right: 10px;"
  4724. _lchild.appendChild(_limg)
  4725. let _lspan = document.createElement('span')
  4726. _lspan.innerHTML = "上传中..."
  4727. _lchild.appendChild(_lspan)
  4728. _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%);"
  4729. _loading.appendChild(_lchild)
  4730. var _box = $$('div', {
  4731. "style": {
  4732. "position": "relative",
  4733. "width": "100%",
  4734. "height": "100%",
  4735. },
  4736. })
  4737. _box.appendChild(_loading)
  4738. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4739. switch (str) {
  4740. case "whiteboard":
  4741. aTool = 1;
  4742. _iframe = $$("iframe", {
  4743. "frameborder": "no",
  4744. "border": "0",
  4745. "scrolling ": "no",
  4746. "style": {
  4747. "cssText": "border:0;width:100%;height:100%"
  4748. },
  4749. "src": "https://iwb.cocorobo.cn/"
  4750. })
  4751. _box.appendChild(_iframe);
  4752. _box.appendChild(_jie);
  4753. _formdiv = new U.UF.UI.form(
  4754. "电子白板",
  4755. _box, {
  4756. "id": "whiteboard" + cid + stage + task + tool,
  4757. "style": {
  4758. "width": "90%",
  4759. "height": "90%",
  4760. "overflow": 'hidden'
  4761. },
  4762. "onresize": function () { }
  4763. }, {
  4764. closecallback: function () { }
  4765. }, {
  4766. "style": {
  4767. "height": "36px"
  4768. }
  4769. }).form; //创建窗体
  4770. _taskbar = {
  4771. "id": str + _formdiv.id,
  4772. "style": {
  4773. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4774. },
  4775. "name": "电子白板",
  4776. "forms": _formdiv,
  4777. "click": function () {
  4778. U.MD.D.I.openApplication(str, obj, info);
  4779. }
  4780. }
  4781. break;
  4782. case "mind":
  4783. aTool = 3;
  4784. _iframe = $$("iframe", {
  4785. "frameborder": "no",
  4786. "border": "0",
  4787. "scrolling ": "no",
  4788. "style": {
  4789. "cssText": "border:0;width:100%;height:100%"
  4790. },
  4791. "src": "/kityminder-editor/dist/index.html"
  4792. })
  4793. _box.appendChild(_iframe);
  4794. _box.appendChild(_jie);
  4795. _formdiv = new U.UF.UI.form(
  4796. "思维导图",
  4797. _box, { //"/jsmind/example/demo.html"
  4798. "id": "mind" + cid + stage + task + tool,
  4799. "style": {
  4800. "width": "90%",
  4801. "height": "90%",
  4802. "overflow": 'hidden'
  4803. },
  4804. "onresize": function () { }
  4805. }, {
  4806. closecallback: function () { }
  4807. }, {
  4808. "style": {
  4809. "height": "36px"
  4810. }
  4811. }).form; //创建窗体
  4812. _taskbar = {
  4813. "id": str + _formdiv.id,
  4814. "style": {
  4815. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4816. },
  4817. "name": "思维导图",
  4818. "forms": _formdiv,
  4819. "click": function () {
  4820. U.MD.D.I.openApplication(str, obj, info);
  4821. }
  4822. }
  4823. break;
  4824. case "MindMap":
  4825. aTool = 3;
  4826. _iframe = $$("iframe", {
  4827. "frameborder": "no",
  4828. "border": "0",
  4829. "scrolling ": "no",
  4830. "style": {
  4831. "cssText": "border:0;width:100%;height:100%"
  4832. },
  4833. "src": "//cloud.cocorobo.cn/mind/"
  4834. })
  4835. _box.appendChild(_iframe);
  4836. _box.appendChild(_jie);
  4837. _formdiv = new U.UF.UI.form(
  4838. "思维导图",
  4839. _box, { //"/jsmind/example/demo.html"
  4840. "id": "mind" + cid + stage + task + tool,
  4841. "style": {
  4842. "width": "90%",
  4843. "height": "90%",
  4844. "overflow": 'hidden'
  4845. },
  4846. "onresize": function () { }
  4847. }, {
  4848. closecallback: function () { }
  4849. }, {
  4850. "style": {
  4851. "height": "36px"
  4852. }
  4853. }).form; //创建窗体
  4854. _taskbar = {
  4855. "id": str + _formdiv.id,
  4856. "style": {
  4857. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4858. },
  4859. "name": "思维导图",
  4860. "forms": _formdiv,
  4861. "click": function () {
  4862. U.MD.D.I.openApplication(str, obj, info);
  4863. }
  4864. }
  4865. break;
  4866. case "doc":
  4867. aTool = 6;
  4868. _iframe = $$("iframe", {
  4869. "frameborder": "no",
  4870. "border": "0",
  4871. "scrolling ": "no",
  4872. "style": {
  4873. "cssText": "border:0;width:100%;height:100%"
  4874. },
  4875. "src": "/Office/Word/WordEditArea.htm"
  4876. })
  4877. _box.appendChild(_iframe);
  4878. _box.appendChild(_jie);
  4879. _formdiv = new U.UF.UI.form(
  4880. "协同文档",
  4881. _box, {
  4882. "id": "doc" + cid + stage + task + tool,
  4883. "style": {
  4884. "width": "90%",
  4885. "height": "90%",
  4886. "overflow": 'hidden'
  4887. },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () { }
  4891. }, {
  4892. "style": {
  4893. "height": "36px"
  4894. }
  4895. }).form; //创建窗体
  4896. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4897. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4898. })
  4899. _taskbar = {
  4900. "id": str + _formdiv.id,
  4901. "style": {
  4902. "backgroundImage": "url(/img/icon/doc.png)"
  4903. },
  4904. "name": "协同文档",
  4905. "forms": _formdiv,
  4906. "click": function () {
  4907. U.MD.D.I.openApplication(str, obj, info);
  4908. }
  4909. }
  4910. break;
  4911. case "mindNetwork": //好友打开
  4912. aTool = 7;
  4913. _iframe = $$("iframe", {
  4914. "webkitallowfullscreen": "",
  4915. "mozallowfullscreen": "",
  4916. "allowfullscreen": "",
  4917. "frameborder": "no",
  4918. "border": "0",
  4919. "scrolling ": "no",
  4920. "style": {
  4921. "cssText": "border:0; width:100%; height:100%;"
  4922. },
  4923. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4924. })
  4925. _box.appendChild(_iframe);
  4926. _box.appendChild(_jie);
  4927. _formdiv = new U.UF.UI.form(
  4928. "思维网格",
  4929. _box, {
  4930. "id": "mindNetwork" + cid + stage + task + tool,
  4931. "style": {
  4932. "width": "90%",
  4933. "height": "90%",
  4934. "overflow": 'hidden'
  4935. },
  4936. "onresize": function () { }
  4937. }, {
  4938. closecallback: function () { }
  4939. }, {
  4940. "style": {
  4941. "height": "36px"
  4942. }
  4943. }).form; //创建窗体
  4944. _taskbar = {
  4945. "id": str + _formdiv.id,
  4946. "style": {
  4947. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4948. },
  4949. "name": "思维网格",
  4950. "forms": _formdiv,
  4951. "click": function () {
  4952. U.MD.D.I.openApplication(str, obj, info);
  4953. }
  4954. }
  4955. break;
  4956. case "courseDesign":
  4957. _iframe = $$("iframe", {
  4958. "webkitallowfullscreen": "",
  4959. "mozallowfullscreen": "",
  4960. "allowfullscreen": "",
  4961. "frameborder": "no",
  4962. "border": "0",
  4963. "scrolling ": "no",
  4964. "style": {
  4965. "cssText": "border:0; width:100%; height:100%;"
  4966. },
  4967. "src": "/course-design-vue"
  4968. })
  4969. _box.appendChild(_iframe);
  4970. _box.appendChild(_jie);
  4971. _formdiv = new U.UF.UI.form(
  4972. "项目设计",
  4973. _box, {
  4974. "id": "courseDesign" + cid + stage + task + tool,
  4975. "style": {
  4976. "width": "90%",
  4977. "height": "90%",
  4978. "overflow": 'hidden'
  4979. },
  4980. "onresize": function () { }
  4981. }, {
  4982. closecallback: function () { }
  4983. }, {
  4984. "style": {
  4985. "height": "36px"
  4986. }
  4987. }).form; //创建窗体
  4988. _taskbar = {
  4989. "id": str + _formdiv.id,
  4990. "style": {
  4991. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4992. },
  4993. "name": "项目设计",
  4994. "forms": _formdiv,
  4995. "click": function () {
  4996. U.MD.D.I.openApplication(str, obj, info);
  4997. }
  4998. }
  4999. break;
  5000. }
  5001. const script1 = document.createElement("script");
  5002. script1.type = "text/javascript";
  5003. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5004. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5005. const script2 = document.createElement("script");
  5006. script2.type = "text/javascript";
  5007. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5008. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5009. const script3 = document.createElement("script");
  5010. script3.type = "text/javascript";
  5011. script3.charset = "UTF-8";
  5012. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5013. const script4 = document.createElement("script");
  5014. script4.type = "text/javascript";
  5015. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5016. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5017. if (_iframe) {
  5018. if (str == 'doc') {
  5019. _iframe = _formdiv.querySelector('iframe')
  5020. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5021. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5022. _iframe.contentWindow.document.body.appendChild(script1);
  5023. _iframe.contentWindow.document.body.appendChild(script2);
  5024. // _iframe.contentWindow.document.body.appendChild(script3);
  5025. _iframe.contentWindow.document.body.appendChild(script4);
  5026. })
  5027. if (onloadListener) {
  5028. _iframe.contentDocument.location.reload()
  5029. } else {
  5030. _iframe.contentDocument.location.reload()
  5031. }
  5032. } else if (str == 'courseDesign') {
  5033. U.UF.DL.iframeLoad(_iframe, function () {
  5034. // _iframe.contentWindow.U.MD.O.W.load();
  5035. // _iframe.contentWindow.document.body.appendChild(script1);
  5036. _iframe.contentWindow.document.body.appendChild(script2);
  5037. _iframe.contentWindow.document.body.appendChild(script4);
  5038. })
  5039. } else if (str == 'mind') {
  5040. _iframe = _formdiv.querySelector('iframe')
  5041. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5042. //
  5043. _iframe.contentWindow.document.body.appendChild(script1);
  5044. _iframe.contentWindow.document.body.appendChild(script2);
  5045. _iframe.contentWindow.document.body.appendChild(script4);
  5046. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5047. })
  5048. if (onloadListener) {
  5049. _iframe.contentDocument.location.reload()
  5050. } else {
  5051. _iframe.contentDocument.location.reload()
  5052. }
  5053. } else if (str == 'whiteboard') {
  5054. _iframe = _formdiv.querySelector('iframe')
  5055. let onloadListener = _iframe.onload = () => {
  5056. _iframe.contentWindow.document.body.appendChild(script1);
  5057. _iframe.contentWindow.document.body.appendChild(script2);
  5058. _iframe.contentWindow.document.body.appendChild(script4);
  5059. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5060. };
  5061. if (onloadListener) {
  5062. _iframe.contentDocument.location.reload()
  5063. } else {
  5064. _iframe.contentDocument.location.reload()
  5065. }
  5066. } else {
  5067. _iframe.onload = () => {
  5068. _iframe.contentWindow.document.body.appendChild(script1);
  5069. _iframe.contentWindow.document.body.appendChild(script2);
  5070. // _iframe.contentWindow.document.body.appendChild(script3);
  5071. _iframe.contentWindow.document.body.appendChild(script4);
  5072. };
  5073. }
  5074. _jie.onclick = async () => {
  5075. let text = ''
  5076. if (aTool == 1) {
  5077. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5078. } else if (aTool == 6) {
  5079. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5080. } else if (aTool == 3) {
  5081. text = await U.MD.D.I.getEditorContent(_iframe);
  5082. }
  5083. _loading.style.display = 'flex'
  5084. console.log(_loading);
  5085. var _ajs = _iframe.contentWindow.document.createElement("script");
  5086. _ajs.type = "text/javascript";
  5087. _ajs.innerHTML =
  5088. // 'console.log(' + _loading + ');\n' +
  5089. 'var _js = document.createElement("script");\n' +
  5090. '_js.type="text/javascript";\n' +
  5091. '_js.charset="UTF-8";\n' +
  5092. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5093. "_js.onload = function(){\n" +
  5094. ' var a = document.getElementsByTagName("img")\n' +
  5095. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5096. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5097. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5098. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5099. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5100. "beforeUpload_shishi(file," +
  5101. "'" +
  5102. _userid +
  5103. "'" +
  5104. ", " +
  5105. "'" +
  5106. _cid +
  5107. "'" +
  5108. ", " +
  5109. "'" +
  5110. _stage +
  5111. "'" +
  5112. ", " +
  5113. "'" +
  5114. _task +
  5115. "'" +
  5116. ", " +
  5117. "'" +
  5118. _tool +
  5119. "'" +
  5120. ", " +
  5121. "'" +
  5122. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5123. "'" +
  5124. ", " +
  5125. "'" +
  5126. aTool +
  5127. "'" +
  5128. ", " +
  5129. "`" +
  5130. text +
  5131. "`" +
  5132. ")\n" +
  5133. " });\n" +
  5134. "}\n" +
  5135. "document.head.appendChild(_js);\n";
  5136. _iframe.contentWindow.document.head.appendChild(_ajs);
  5137. }
  5138. }
  5139. //U.MD.D.I.openClick(str);
  5140. //如果有任务栏信息
  5141. // if (_taskbar) {
  5142. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5143. // }
  5144. }
  5145. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5146. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5147. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5148. _userinfo = US.userInfo, //登录用户信息
  5149. _userid = US.userInfo.userid //登录用户id
  5150. let _iframe;
  5151. let _cid = cid,
  5152. _stage = stage,
  5153. _task = task,
  5154. _tool = tool;
  5155. var _jie = $$("div", {
  5156. "style": {
  5157. "position": "absolute",
  5158. "bottom": "50px",
  5159. "right": "50px",
  5160. "zIndex": "9999",
  5161. "backgroundColor": "#2268bc",
  5162. "color": "#fff",
  5163. "padding": "12px 20px",
  5164. "cursor": "pointer",
  5165. "borderRadius": "4px",
  5166. },
  5167. "innerHTML": "提交作业"
  5168. })
  5169. let aTool = ''
  5170. let _loading = document.createElement('div')
  5171. _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;"
  5172. // _loading.id = "";
  5173. let _lchild = document.createElement('div')
  5174. let _limg = document.createElement('img')
  5175. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5176. _limg.style = "width: 26px;margin-right: 10px;"
  5177. _lchild.appendChild(_limg)
  5178. let _lspan = document.createElement('span')
  5179. _lspan.innerHTML = "上传中..."
  5180. _lchild.appendChild(_lspan)
  5181. _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%);"
  5182. _loading.appendChild(_lchild)
  5183. var _box = $$('div', {
  5184. "style": {
  5185. "position": "relative",
  5186. "width": "100%",
  5187. "height": "100%",
  5188. },
  5189. })
  5190. _box.appendChild(_loading)
  5191. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5192. switch (str) {
  5193. case "whiteboard":
  5194. aTool = 1;
  5195. _iframe = $$("iframe", {
  5196. "frameborder": "no",
  5197. "border": "0",
  5198. "scrolling ": "no",
  5199. "style": {
  5200. "cssText": "border:0;width:100%;height:100%"
  5201. },
  5202. "src": "https://iwb.cocorobo.cn/"
  5203. })
  5204. _box.appendChild(_iframe);
  5205. _box.appendChild(_jie);
  5206. _formdiv = new U.UF.UI.form(
  5207. "电子白板",
  5208. _box, {
  5209. "id": "whiteboard" + cid + stage + task + tool,
  5210. "style": {
  5211. "width": "90%",
  5212. "height": "90%",
  5213. "overflow": 'hidden'
  5214. },
  5215. "onresize": function () { }
  5216. }, {
  5217. closecallback: function () { }
  5218. }, {
  5219. "style": {
  5220. "height": "36px"
  5221. }
  5222. }).form; //创建窗体
  5223. _taskbar = {
  5224. "id": str + _formdiv.id,
  5225. "style": {
  5226. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5227. },
  5228. "name": "电子白板",
  5229. "forms": _formdiv,
  5230. "click": function () {
  5231. U.MD.D.I.openApplication(str, obj, info);
  5232. }
  5233. }
  5234. break;
  5235. case "mind":
  5236. aTool = 3;
  5237. _iframe = $$("iframe", {
  5238. "frameborder": "no",
  5239. "border": "0",
  5240. "scrolling ": "no",
  5241. "style": {
  5242. "cssText": "border:0;width:100%;height:100%"
  5243. },
  5244. "src": "/kityminder-editor/dist/index.html"
  5245. })
  5246. _box.appendChild(_iframe);
  5247. _box.appendChild(_jie);
  5248. _formdiv = new U.UF.UI.form(
  5249. "思维导图",
  5250. _box, { //"/jsmind/example/demo.html"
  5251. "id": "mind" + cid + stage + task + tool,
  5252. "style": {
  5253. "width": "90%",
  5254. "height": "90%",
  5255. "overflow": 'hidden'
  5256. },
  5257. "onresize": function () { }
  5258. }, {
  5259. closecallback: function () { }
  5260. }, {
  5261. "style": {
  5262. "height": "36px"
  5263. }
  5264. }).form; //创建窗体
  5265. _taskbar = {
  5266. "id": str + _formdiv.id,
  5267. "style": {
  5268. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5269. },
  5270. "name": "思维导图",
  5271. "forms": _formdiv,
  5272. "click": function () {
  5273. U.MD.D.I.openApplication(str, obj, info);
  5274. }
  5275. }
  5276. break;
  5277. case "MindMap":
  5278. aTool = 3;
  5279. _iframe = $$("iframe", {
  5280. "frameborder": "no",
  5281. "border": "0",
  5282. "scrolling ": "no",
  5283. "style": {
  5284. "cssText": "border:0;width:100%;height:100%"
  5285. },
  5286. "src": "//cloud.cocorobo.cn/mind/"
  5287. })
  5288. _box.appendChild(_iframe);
  5289. _box.appendChild(_jie);
  5290. _formdiv = new U.UF.UI.form(
  5291. "思维导图",
  5292. _box, { //"/jsmind/example/demo.html"
  5293. "id": "mind" + cid + stage + task + tool,
  5294. "style": {
  5295. "width": "90%",
  5296. "height": "90%",
  5297. "overflow": 'hidden'
  5298. },
  5299. "onresize": function () { }
  5300. }, {
  5301. closecallback: function () { }
  5302. }, {
  5303. "style": {
  5304. "height": "36px"
  5305. }
  5306. }).form; //创建窗体
  5307. _taskbar = {
  5308. "id": str + _formdiv.id,
  5309. "style": {
  5310. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5311. },
  5312. "name": "思维导图",
  5313. "forms": _formdiv,
  5314. "click": function () {
  5315. U.MD.D.I.openApplication(str, obj, info);
  5316. }
  5317. }
  5318. break;
  5319. case "doc":
  5320. aTool = 6;
  5321. _iframe = $$("iframe", {
  5322. "frameborder": "no",
  5323. "border": "0",
  5324. "scrolling ": "no",
  5325. "style": {
  5326. "cssText": "border:0;width:100%;height:100%"
  5327. },
  5328. "src": "/Office/Word/WordEditArea.htm"
  5329. })
  5330. _box.appendChild(_iframe);
  5331. _box.appendChild(_jie);
  5332. _formdiv = new U.UF.UI.form(
  5333. "协同文档",
  5334. _box, {
  5335. "id": "doc" + cid + stage + task + tool,
  5336. "style": {
  5337. "width": "90%",
  5338. "height": "90%",
  5339. "overflow": 'hidden'
  5340. },
  5341. "onresize": function () { }
  5342. }, {
  5343. closecallback: function () { }
  5344. }, {
  5345. "style": {
  5346. "height": "36px"
  5347. }
  5348. }).form; //创建窗体
  5349. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5350. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5351. })
  5352. _taskbar = {
  5353. "id": str + _formdiv.id,
  5354. "style": {
  5355. "backgroundImage": "url(/img/icon/doc.png)"
  5356. },
  5357. "name": "协同文档",
  5358. "forms": _formdiv,
  5359. "click": function () {
  5360. U.MD.D.I.openApplication(str, obj, info);
  5361. }
  5362. }
  5363. break;
  5364. case "mindNetwork": //好友打开
  5365. aTool = 7;
  5366. _iframe = $$("iframe", {
  5367. "webkitallowfullscreen": "",
  5368. "mozallowfullscreen": "",
  5369. "allowfullscreen": "",
  5370. "frameborder": "no",
  5371. "border": "0",
  5372. "scrolling ": "no",
  5373. "style": {
  5374. "cssText": "border:0; width:100%; height:100%;"
  5375. },
  5376. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5377. })
  5378. _box.appendChild(_iframe);
  5379. _box.appendChild(_jie);
  5380. _formdiv = new U.UF.UI.form(
  5381. "思维网格",
  5382. _box, {
  5383. "id": "mindNetwork" + cid + stage + task + tool,
  5384. "style": {
  5385. "width": "90%",
  5386. "height": "90%",
  5387. "overflow": 'hidden'
  5388. },
  5389. "onresize": function () { }
  5390. }, {
  5391. closecallback: function () { }
  5392. }, {
  5393. "style": {
  5394. "height": "36px"
  5395. }
  5396. }).form; //创建窗体
  5397. _taskbar = {
  5398. "id": str + _formdiv.id,
  5399. "style": {
  5400. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5401. },
  5402. "name": "思维网格",
  5403. "forms": _formdiv,
  5404. "click": function () {
  5405. U.MD.D.I.openApplication(str, obj, info);
  5406. }
  5407. }
  5408. break;
  5409. case "courseDesign":
  5410. _iframe = $$("iframe", {
  5411. "webkitallowfullscreen": "",
  5412. "mozallowfullscreen": "",
  5413. "allowfullscreen": "",
  5414. "frameborder": "no",
  5415. "border": "0",
  5416. "scrolling ": "no",
  5417. "style": {
  5418. "cssText": "border:0; width:100%; height:100%;"
  5419. },
  5420. "src": "/course-design-vue"
  5421. })
  5422. _box.appendChild(_iframe);
  5423. _box.appendChild(_jie);
  5424. _formdiv = new U.UF.UI.form(
  5425. "项目设计",
  5426. _box, {
  5427. "id": "courseDesign" + cid + stage + task + tool,
  5428. "style": {
  5429. "width": "90%",
  5430. "height": "90%",
  5431. "overflow": 'hidden'
  5432. },
  5433. "onresize": function () { }
  5434. }, {
  5435. closecallback: function () { }
  5436. }, {
  5437. "style": {
  5438. "height": "36px"
  5439. }
  5440. }).form; //创建窗体
  5441. _taskbar = {
  5442. "id": str + _formdiv.id,
  5443. "style": {
  5444. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5445. },
  5446. "name": "项目设计",
  5447. "forms": _formdiv,
  5448. "click": function () {
  5449. U.MD.D.I.openApplication(str, obj, info);
  5450. }
  5451. }
  5452. break;
  5453. }
  5454. const script1 = document.createElement("script");
  5455. script1.type = "text/javascript";
  5456. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5457. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5458. const script2 = document.createElement("script");
  5459. script2.type = "text/javascript";
  5460. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5461. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5462. const script3 = document.createElement("script");
  5463. script3.type = "text/javascript";
  5464. script3.charset = "UTF-8";
  5465. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5466. const script4 = document.createElement("script");
  5467. script4.type = "text/javascript";
  5468. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5469. script4.src = window.origin + "/js/Common/jietu2E.js";
  5470. if (_iframe) {
  5471. if (str == 'doc') {
  5472. _iframe = _formdiv.querySelector('iframe')
  5473. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5474. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5475. _iframe.contentWindow.document.body.appendChild(script1);
  5476. _iframe.contentWindow.document.body.appendChild(script2);
  5477. // _iframe.contentWindow.document.body.appendChild(script3);
  5478. _iframe.contentWindow.document.body.appendChild(script4);
  5479. })
  5480. if (onloadListener) {
  5481. _iframe.contentDocument.location.reload()
  5482. } else {
  5483. _iframe.contentDocument.location.reload()
  5484. }
  5485. } else if (str == 'courseDesign') {
  5486. U.UF.DL.iframeLoad(_iframe, function () {
  5487. // _iframe.contentWindow.U.MD.O.W.load();
  5488. // _iframe.contentWindow.document.body.appendChild(script1);
  5489. _iframe.contentWindow.document.body.appendChild(script2);
  5490. _iframe.contentWindow.document.body.appendChild(script4);
  5491. })
  5492. } else if (str == 'mind') {
  5493. _iframe = _formdiv.querySelector('iframe')
  5494. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5495. //
  5496. _iframe.contentWindow.document.body.appendChild(script1);
  5497. _iframe.contentWindow.document.body.appendChild(script2);
  5498. _iframe.contentWindow.document.body.appendChild(script4);
  5499. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5500. })
  5501. if (onloadListener) {
  5502. _iframe.contentDocument.location.reload()
  5503. } else {
  5504. _iframe.contentDocument.location.reload()
  5505. }
  5506. } else if (str == 'whiteboard') {
  5507. _iframe = _formdiv.querySelector('iframe')
  5508. let onloadListener = _iframe.onload = () => {
  5509. _iframe.contentWindow.document.body.appendChild(script1);
  5510. _iframe.contentWindow.document.body.appendChild(script2);
  5511. _iframe.contentWindow.document.body.appendChild(script4);
  5512. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5513. };
  5514. if (onloadListener) {
  5515. _iframe.contentDocument.location.reload()
  5516. } else {
  5517. _iframe.contentDocument.location.reload()
  5518. }
  5519. } else {
  5520. _iframe.onload = () => {
  5521. _iframe.contentWindow.document.body.appendChild(script1);
  5522. _iframe.contentWindow.document.body.appendChild(script2);
  5523. // _iframe.contentWindow.document.body.appendChild(script3);
  5524. _iframe.contentWindow.document.body.appendChild(script4);
  5525. };
  5526. }
  5527. _jie.onclick = async () => {
  5528. let text = ''
  5529. if (aTool == 1) {
  5530. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5531. } else if (aTool == 6) {
  5532. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5533. } else if (aTool == 3) {
  5534. text = await U.MD.D.I.getEditorContent(_iframe);
  5535. }
  5536. _loading.style.display = 'flex'
  5537. console.log(_loading);
  5538. var _ajs = _iframe.contentWindow.document.createElement("script");
  5539. _ajs.type = "text/javascript";
  5540. _ajs.innerHTML =
  5541. // 'console.log(' + _loading + ');\n' +
  5542. 'var _js = document.createElement("script");\n' +
  5543. '_js.type="text/javascript";\n' +
  5544. '_js.charset="UTF-8";\n' +
  5545. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5546. "_js.onload = function(){\n" +
  5547. ' var a = document.getElementsByTagName("img")\n' +
  5548. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5549. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5550. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5551. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5552. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5553. "beforeUpload_shishi(file," +
  5554. "'" +
  5555. _userid +
  5556. "'" +
  5557. ", " +
  5558. "'" +
  5559. _cid +
  5560. "'" +
  5561. ", " +
  5562. "'" +
  5563. _stage +
  5564. "'" +
  5565. ", " +
  5566. "'" +
  5567. _task +
  5568. "'" +
  5569. ", " +
  5570. "'" +
  5571. _tool +
  5572. "'" +
  5573. ", " +
  5574. "'" +
  5575. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5576. "'" +
  5577. ", " +
  5578. "'" +
  5579. aTool +
  5580. "'" +
  5581. ", " +
  5582. "`" +
  5583. text +
  5584. "`" +
  5585. ")\n" +
  5586. " });\n" +
  5587. "}\n" +
  5588. "document.head.appendChild(_js);\n";
  5589. _iframe.contentWindow.document.head.appendChild(_ajs);
  5590. }
  5591. }
  5592. //U.MD.D.I.openClick(str);
  5593. //如果有任务栏信息
  5594. // if (_taskbar) {
  5595. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5596. // }
  5597. }
  5598. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5599. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5600. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5601. _userid = student.userid, //登录用户id
  5602. _username = student.student //用户名字
  5603. let _iframe;
  5604. let _cid = cid,
  5605. _stage = stage,
  5606. _task = task,
  5607. _tool = tool;
  5608. var _jie = $$("div", {
  5609. "style": {
  5610. "position": "absolute",
  5611. "bottom": "50px",
  5612. "right": "50px",
  5613. "zIndex": "9999",
  5614. "backgroundColor": "#2268bc",
  5615. "color": "#fff",
  5616. "padding": "12px 20px",
  5617. "cursor": "pointer",
  5618. "borderRadius": "4px",
  5619. },
  5620. "innerHTML": "提交作业"
  5621. })
  5622. let aTool = ''
  5623. let _loading = document.createElement('div')
  5624. _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;"
  5625. // _loading.id = "";
  5626. let _lchild = document.createElement('div')
  5627. let _limg = document.createElement('img')
  5628. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5629. _limg.style = "width: 26px;margin-right: 10px;"
  5630. _lchild.appendChild(_limg)
  5631. let _lspan = document.createElement('span')
  5632. _lspan.innerHTML = "上传中..."
  5633. _lchild.appendChild(_lspan)
  5634. _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%);"
  5635. _loading.appendChild(_lchild)
  5636. var _box = $$('div', {
  5637. "style": {
  5638. "position": "relative",
  5639. "width": "100%",
  5640. "height": "100%",
  5641. },
  5642. })
  5643. _box.appendChild(_loading)
  5644. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5645. switch (str) {
  5646. case "whiteboard":
  5647. aTool = 1;
  5648. _iframe = $$("iframe", {
  5649. "frameborder": "no",
  5650. "border": "0",
  5651. "scrolling ": "no",
  5652. "style": {
  5653. "cssText": "border:0;width:100%;height:100%"
  5654. },
  5655. "src": "https://iwb.cocorobo.cn/"
  5656. })
  5657. _box.appendChild(_iframe);
  5658. _box.appendChild(_jie);
  5659. _formdiv = new U.UF.UI.form(
  5660. "电子白板-" + _username,
  5661. _box, {
  5662. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5663. "style": {
  5664. "width": "90%",
  5665. "height": "90%",
  5666. "overflow": 'hidden'
  5667. },
  5668. "onresize": function () { }
  5669. }, {
  5670. closecallback: function () { }
  5671. }, {
  5672. "style": {
  5673. "height": "36px"
  5674. }
  5675. }).form; //创建窗体
  5676. _taskbar = {
  5677. "id": str + _formdiv.id,
  5678. "style": {
  5679. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5680. },
  5681. "name": "电子白板",
  5682. "forms": _formdiv,
  5683. "click": function () {
  5684. U.MD.D.I.openApplication(str, obj, info);
  5685. }
  5686. }
  5687. break;
  5688. case "mind":
  5689. aTool = 3;
  5690. _iframe = $$("iframe", {
  5691. "frameborder": "no",
  5692. "border": "0",
  5693. "scrolling ": "no",
  5694. "style": {
  5695. "cssText": "border:0;width:100%;height:100%"
  5696. },
  5697. "src": "/kityminder-editor/dist/index.html"
  5698. })
  5699. _box.appendChild(_iframe);
  5700. _box.appendChild(_jie);
  5701. _formdiv = new U.UF.UI.form(
  5702. "思维导图-" + _username,
  5703. _box, { //"/jsmind/example/demo.html"
  5704. "id": "mind" + cid + stage + task + tool + _userid,
  5705. "style": {
  5706. "width": "90%",
  5707. "height": "90%",
  5708. "overflow": 'hidden'
  5709. },
  5710. "onresize": function () { }
  5711. }, {
  5712. closecallback: function () { }
  5713. }, {
  5714. "style": {
  5715. "height": "36px"
  5716. }
  5717. }).form; //创建窗体
  5718. _taskbar = {
  5719. "id": str + _formdiv.id,
  5720. "style": {
  5721. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5722. },
  5723. "name": "思维导图",
  5724. "forms": _formdiv,
  5725. "click": function () {
  5726. U.MD.D.I.openApplication(str, obj, info);
  5727. }
  5728. }
  5729. break;
  5730. case "MindMap":
  5731. aTool = 3;
  5732. _iframe = $$("iframe", {
  5733. "frameborder": "no",
  5734. "border": "0",
  5735. "scrolling ": "no",
  5736. "style": {
  5737. "cssText": "border:0;width:100%;height:100%"
  5738. },
  5739. "src": "//cloud.cocorobo.cn/mind/"
  5740. })
  5741. _box.appendChild(_iframe);
  5742. _box.appendChild(_jie);
  5743. _formdiv = new U.UF.UI.form(
  5744. "思维导图-" + _username,
  5745. _box, { //"/jsmind/example/demo.html"
  5746. "id": "mind" + cid + stage + task + tool + _userid,
  5747. "style": {
  5748. "width": "90%",
  5749. "height": "90%",
  5750. "overflow": 'hidden'
  5751. },
  5752. "onresize": function () { }
  5753. }, {
  5754. closecallback: function () { }
  5755. }, {
  5756. "style": {
  5757. "height": "36px"
  5758. }
  5759. }).form; //创建窗体
  5760. _taskbar = {
  5761. "id": str + _formdiv.id,
  5762. "style": {
  5763. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5764. },
  5765. "name": "思维导图",
  5766. "forms": _formdiv,
  5767. "click": function () {
  5768. U.MD.D.I.openApplication(str, obj, info);
  5769. }
  5770. }
  5771. break;
  5772. case "doc":
  5773. aTool = 6;
  5774. _iframe = $$("iframe", {
  5775. "frameborder": "no",
  5776. "border": "0",
  5777. "scrolling ": "no",
  5778. "style": {
  5779. "cssText": "border:0;width:100%;height:100%"
  5780. },
  5781. "src": "/Office/Word/WordEditArea.htm"
  5782. })
  5783. _box.appendChild(_iframe);
  5784. _box.appendChild(_jie);
  5785. _formdiv = new U.UF.UI.form(
  5786. "协同文档-" + _username,
  5787. _box, {
  5788. "id": "doc" + cid + stage + task + tool + _userid,
  5789. "style": {
  5790. "width": "90%",
  5791. "height": "90%",
  5792. "overflow": 'hidden'
  5793. },
  5794. "onresize": function () { }
  5795. }, {
  5796. closecallback: function () { }
  5797. }, {
  5798. "style": {
  5799. "height": "36px"
  5800. }
  5801. }).form; //创建窗体
  5802. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5803. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5804. })
  5805. _taskbar = {
  5806. "id": str + _formdiv.id,
  5807. "style": {
  5808. "backgroundImage": "url(/img/icon/doc.png)"
  5809. },
  5810. "name": "协同文档",
  5811. "forms": _formdiv,
  5812. "click": function () {
  5813. U.MD.D.I.openApplication(str, obj, info);
  5814. }
  5815. }
  5816. break;
  5817. case "mindNetwork": //好友打开
  5818. aTool = 7;
  5819. _iframe = $$("iframe", {
  5820. "webkitallowfullscreen": "",
  5821. "mozallowfullscreen": "",
  5822. "allowfullscreen": "",
  5823. "frameborder": "no",
  5824. "border": "0",
  5825. "scrolling ": "no",
  5826. "style": {
  5827. "cssText": "border:0; width:100%; height:100%;"
  5828. },
  5829. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5830. })
  5831. _box.appendChild(_iframe);
  5832. _box.appendChild(_jie);
  5833. _formdiv = new U.UF.UI.form(
  5834. "思维网格-" + _username,
  5835. _box, {
  5836. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5837. "style": {
  5838. "width": "90%",
  5839. "height": "90%",
  5840. "overflow": 'hidden'
  5841. },
  5842. "onresize": function () { }
  5843. }, {
  5844. closecallback: function () { }
  5845. }, {
  5846. "style": {
  5847. "height": "36px"
  5848. }
  5849. }).form; //创建窗体
  5850. _taskbar = {
  5851. "id": str + _formdiv.id,
  5852. "style": {
  5853. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5854. },
  5855. "name": "思维网格",
  5856. "forms": _formdiv,
  5857. "click": function () {
  5858. U.MD.D.I.openApplication(str, obj, info);
  5859. }
  5860. }
  5861. break;
  5862. case "courseDesign":
  5863. _iframe = $$("iframe", {
  5864. "webkitallowfullscreen": "",
  5865. "mozallowfullscreen": "",
  5866. "allowfullscreen": "",
  5867. "frameborder": "no",
  5868. "border": "0",
  5869. "scrolling ": "no",
  5870. "style": {
  5871. "cssText": "border:0; width:100%; height:100%;"
  5872. },
  5873. "src": "/course-design-vue"
  5874. })
  5875. _box.appendChild(_iframe);
  5876. _box.appendChild(_jie);
  5877. _formdiv = new U.UF.UI.form(
  5878. "项目设计-" + _username,
  5879. _box, {
  5880. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5881. "style": {
  5882. "width": "90%",
  5883. "height": "90%",
  5884. "overflow": 'hidden'
  5885. },
  5886. "onresize": function () { }
  5887. }, {
  5888. closecallback: function () { }
  5889. }, {
  5890. "style": {
  5891. "height": "36px"
  5892. }
  5893. }).form; //创建窗体
  5894. _taskbar = {
  5895. "id": str + _formdiv.id,
  5896. "style": {
  5897. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5898. },
  5899. "name": "项目设计",
  5900. "forms": _formdiv,
  5901. "click": function () {
  5902. U.MD.D.I.openApplication(str, obj, info);
  5903. }
  5904. }
  5905. break;
  5906. }
  5907. const script1 = document.createElement("script");
  5908. script1.type = "text/javascript";
  5909. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5910. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5911. const script2 = document.createElement("script");
  5912. script2.type = "text/javascript";
  5913. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5914. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5915. const script3 = document.createElement("script");
  5916. script3.type = "text/javascript";
  5917. script3.charset = "UTF-8";
  5918. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5919. const script4 = document.createElement("script");
  5920. script4.type = "text/javascript";
  5921. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5922. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5923. if (_iframe) {
  5924. if (str == 'doc') {
  5925. _iframe = _formdiv.querySelector('iframe')
  5926. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5927. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5928. _iframe.contentWindow.document.body.appendChild(script1);
  5929. _iframe.contentWindow.document.body.appendChild(script2);
  5930. // _iframe.contentWindow.document.body.appendChild(script3);
  5931. _iframe.contentWindow.document.body.appendChild(script4);
  5932. })
  5933. if (onloadListener) {
  5934. _iframe.contentDocument.location.reload()
  5935. } else {
  5936. _iframe.contentDocument.location.reload()
  5937. }
  5938. } else if (str == 'courseDesign') {
  5939. U.UF.DL.iframeLoad(_iframe, function () {
  5940. // _iframe.contentWindow.U.MD.O.W.load();
  5941. // _iframe.contentWindow.document.body.appendChild(script1);
  5942. _iframe.contentWindow.document.body.appendChild(script2);
  5943. _iframe.contentWindow.document.body.appendChild(script4);
  5944. })
  5945. } else if (str == 'mind') {
  5946. _iframe = _formdiv.querySelector('iframe')
  5947. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5948. //
  5949. _iframe.contentWindow.document.body.appendChild(script1);
  5950. _iframe.contentWindow.document.body.appendChild(script2);
  5951. _iframe.contentWindow.document.body.appendChild(script4);
  5952. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5953. })
  5954. if (onloadListener) {
  5955. _iframe.contentDocument.location.reload()
  5956. } else {
  5957. _iframe.contentDocument.location.reload()
  5958. }
  5959. } else if (str == 'whiteboard') {
  5960. _iframe = _formdiv.querySelector('iframe')
  5961. let onloadListener = _iframe.onload = () => {
  5962. _iframe.contentWindow.document.body.appendChild(script1);
  5963. _iframe.contentWindow.document.body.appendChild(script2);
  5964. _iframe.contentWindow.document.body.appendChild(script4);
  5965. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5966. };
  5967. if (onloadListener) {
  5968. _iframe.contentDocument.location.reload()
  5969. } else {
  5970. _iframe.contentDocument.location.reload()
  5971. }
  5972. } else {
  5973. _iframe.onload = () => {
  5974. _iframe.contentWindow.document.body.appendChild(script1);
  5975. _iframe.contentWindow.document.body.appendChild(script2);
  5976. // _iframe.contentWindow.document.body.appendChild(script3);
  5977. _iframe.contentWindow.document.body.appendChild(script4);
  5978. };
  5979. }
  5980. _jie.onclick = async () => {
  5981. let text = ''
  5982. if (aTool == 1) {
  5983. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5984. } else if (aTool == 6) {
  5985. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5986. } else if (aTool == 3) {
  5987. text = await U.MD.D.I.getEditorContent(_iframe);
  5988. }
  5989. _loading.style.display = 'flex'
  5990. console.log(_loading);
  5991. var _ajs = _iframe.contentWindow.document.createElement("script");
  5992. _ajs.type = "text/javascript";
  5993. _ajs.innerHTML =
  5994. // 'console.log(' + _loading + ');\n' +
  5995. 'var _js = document.createElement("script");\n' +
  5996. '_js.type="text/javascript";\n' +
  5997. '_js.charset="UTF-8";\n' +
  5998. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5999. "_js.onload = function(){\n" +
  6000. ' var a = document.getElementsByTagName("img")\n' +
  6001. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6002. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6003. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6004. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6005. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6006. "beforeUpload_shishi(file," +
  6007. "'" +
  6008. _userid +
  6009. "'" +
  6010. ", " +
  6011. "'" +
  6012. _cid +
  6013. "'" +
  6014. ", " +
  6015. "'" +
  6016. _stage +
  6017. "'" +
  6018. ", " +
  6019. "'" +
  6020. _task +
  6021. "'" +
  6022. ", " +
  6023. "'" +
  6024. _tool +
  6025. "'" +
  6026. ", " +
  6027. "'" +
  6028. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6029. "'" +
  6030. ", " +
  6031. "'" +
  6032. aTool +
  6033. "'" +
  6034. ", " +
  6035. "`" +
  6036. text +
  6037. "`" +
  6038. ")\n" +
  6039. " });\n" +
  6040. "}\n" +
  6041. "document.head.appendChild(_js);\n";
  6042. _iframe.contentWindow.document.head.appendChild(_ajs);
  6043. }
  6044. }
  6045. }
  6046. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6049. _userid = student.userid, //登录用户id
  6050. _username = student.student //用户名字
  6051. let _iframe;
  6052. let _cid = cid,
  6053. _stage = stage,
  6054. _task = task,
  6055. _tool = tool;
  6056. var _jie = $$("div", {
  6057. "style": {
  6058. "position": "absolute",
  6059. "bottom": "50px",
  6060. "right": "50px",
  6061. "zIndex": "9999",
  6062. "backgroundColor": "#2268bc",
  6063. "color": "#fff",
  6064. "padding": "12px 20px",
  6065. "cursor": "pointer",
  6066. "borderRadius": "4px",
  6067. },
  6068. "innerHTML": "提交作业"
  6069. })
  6070. let aTool = ''
  6071. let _loading = document.createElement('div')
  6072. _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;"
  6073. // _loading.id = "";
  6074. let _lchild = document.createElement('div')
  6075. let _limg = document.createElement('img')
  6076. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6077. _limg.style = "width: 26px;margin-right: 10px;"
  6078. _lchild.appendChild(_limg)
  6079. let _lspan = document.createElement('span')
  6080. _lspan.innerHTML = "上传中..."
  6081. _lchild.appendChild(_lspan)
  6082. _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%);"
  6083. _loading.appendChild(_lchild)
  6084. var _box = $$('div', {
  6085. "style": {
  6086. "position": "relative",
  6087. "width": "100%",
  6088. "height": "100%",
  6089. },
  6090. })
  6091. _box.appendChild(_loading)
  6092. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6093. switch (str) {
  6094. case "whiteboard":
  6095. aTool = 1;
  6096. _iframe = $$("iframe", {
  6097. "frameborder": "no",
  6098. "border": "0",
  6099. "scrolling ": "no",
  6100. "style": {
  6101. "cssText": "border:0;width:100%;height:100%"
  6102. },
  6103. "src": "https://iwb.cocorobo.cn/"
  6104. })
  6105. _box.appendChild(_iframe);
  6106. _box.appendChild(_jie);
  6107. _formdiv = new U.UF.UI.form(
  6108. "电子白板-" + _username,
  6109. _box, {
  6110. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6111. "style": {
  6112. "width": "90%",
  6113. "height": "90%",
  6114. "overflow": 'hidden'
  6115. },
  6116. "onresize": function () { }
  6117. }, {
  6118. closecallback: function () { }
  6119. }, {
  6120. "style": {
  6121. "height": "36px"
  6122. }
  6123. }).form; //创建窗体
  6124. _taskbar = {
  6125. "id": str + _formdiv.id,
  6126. "style": {
  6127. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6128. },
  6129. "name": "电子白板",
  6130. "forms": _formdiv,
  6131. "click": function () {
  6132. U.MD.D.I.openApplication(str, obj, info);
  6133. }
  6134. }
  6135. break;
  6136. case "mind":
  6137. aTool = 3;
  6138. _iframe = $$("iframe", {
  6139. "frameborder": "no",
  6140. "border": "0",
  6141. "scrolling ": "no",
  6142. "style": {
  6143. "cssText": "border:0;width:100%;height:100%"
  6144. },
  6145. "src": "/kityminder-editor/dist/index.html"
  6146. })
  6147. _box.appendChild(_iframe);
  6148. _box.appendChild(_jie);
  6149. _formdiv = new U.UF.UI.form(
  6150. "思维导图-" + _username,
  6151. _box, { //"/jsmind/example/demo.html"
  6152. "id": "mind" + cid + stage + task + tool + _userid,
  6153. "style": {
  6154. "width": "90%",
  6155. "height": "90%",
  6156. "overflow": 'hidden'
  6157. },
  6158. "onresize": function () { }
  6159. }, {
  6160. closecallback: function () { }
  6161. }, {
  6162. "style": {
  6163. "height": "36px"
  6164. }
  6165. }).form; //创建窗体
  6166. _taskbar = {
  6167. "id": str + _formdiv.id,
  6168. "style": {
  6169. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6170. },
  6171. "name": "思维导图",
  6172. "forms": _formdiv,
  6173. "click": function () {
  6174. U.MD.D.I.openApplication(str, obj, info);
  6175. }
  6176. }
  6177. break;
  6178. case "MindMap":
  6179. aTool = 3;
  6180. _iframe = $$("iframe", {
  6181. "frameborder": "no",
  6182. "border": "0",
  6183. "scrolling ": "no",
  6184. "style": {
  6185. "cssText": "border:0;width:100%;height:100%"
  6186. },
  6187. "src": "//cloud.cocorobo.cn/mind/"
  6188. })
  6189. _box.appendChild(_iframe);
  6190. _box.appendChild(_jie);
  6191. _formdiv = new U.UF.UI.form(
  6192. "思维导图-" + _username,
  6193. _box, { //"/jsmind/example/demo.html"
  6194. "id": "mind" + cid + stage + task + tool + _userid,
  6195. "style": {
  6196. "width": "90%",
  6197. "height": "90%",
  6198. "overflow": 'hidden'
  6199. },
  6200. "onresize": function () { }
  6201. }, {
  6202. closecallback: function () { }
  6203. }, {
  6204. "style": {
  6205. "height": "36px"
  6206. }
  6207. }).form; //创建窗体
  6208. _taskbar = {
  6209. "id": str + _formdiv.id,
  6210. "style": {
  6211. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6212. },
  6213. "name": "思维导图",
  6214. "forms": _formdiv,
  6215. "click": function () {
  6216. U.MD.D.I.openApplication(str, obj, info);
  6217. }
  6218. }
  6219. break;
  6220. case "doc":
  6221. aTool = 6;
  6222. _iframe = $$("iframe", {
  6223. "frameborder": "no",
  6224. "border": "0",
  6225. "scrolling ": "no",
  6226. "style": {
  6227. "cssText": "border:0;width:100%;height:100%"
  6228. },
  6229. "src": "/Office/Word/WordEditArea.htm"
  6230. })
  6231. _box.appendChild(_iframe);
  6232. _box.appendChild(_jie);
  6233. _formdiv = new U.UF.UI.form(
  6234. "协同文档-" + _username,
  6235. _box, {
  6236. "id": "doc" + cid + stage + task + tool + _userid,
  6237. "style": {
  6238. "width": "90%",
  6239. "height": "90%",
  6240. "overflow": 'hidden'
  6241. },
  6242. "onresize": function () { }
  6243. }, {
  6244. closecallback: function () { }
  6245. }, {
  6246. "style": {
  6247. "height": "36px"
  6248. }
  6249. }).form; //创建窗体
  6250. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6251. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6252. })
  6253. _taskbar = {
  6254. "id": str + _formdiv.id,
  6255. "style": {
  6256. "backgroundImage": "url(/img/icon/doc.png)"
  6257. },
  6258. "name": "协同文档",
  6259. "forms": _formdiv,
  6260. "click": function () {
  6261. U.MD.D.I.openApplication(str, obj, info);
  6262. }
  6263. }
  6264. break;
  6265. case "mindNetwork": //好友打开
  6266. aTool = 7;
  6267. _iframe = $$("iframe", {
  6268. "webkitallowfullscreen": "",
  6269. "mozallowfullscreen": "",
  6270. "allowfullscreen": "",
  6271. "frameborder": "no",
  6272. "border": "0",
  6273. "scrolling ": "no",
  6274. "style": {
  6275. "cssText": "border:0; width:100%; height:100%;"
  6276. },
  6277. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6278. })
  6279. _box.appendChild(_iframe);
  6280. _box.appendChild(_jie);
  6281. _formdiv = new U.UF.UI.form(
  6282. "思维网格-" + _username,
  6283. _box, {
  6284. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6285. "style": {
  6286. "width": "90%",
  6287. "height": "90%",
  6288. "overflow": 'hidden'
  6289. },
  6290. "onresize": function () { }
  6291. }, {
  6292. closecallback: function () { }
  6293. }, {
  6294. "style": {
  6295. "height": "36px"
  6296. }
  6297. }).form; //创建窗体
  6298. _taskbar = {
  6299. "id": str + _formdiv.id,
  6300. "style": {
  6301. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6302. },
  6303. "name": "思维网格",
  6304. "forms": _formdiv,
  6305. "click": function () {
  6306. U.MD.D.I.openApplication(str, obj, info);
  6307. }
  6308. }
  6309. break;
  6310. case "courseDesign":
  6311. _iframe = $$("iframe", {
  6312. "webkitallowfullscreen": "",
  6313. "mozallowfullscreen": "",
  6314. "allowfullscreen": "",
  6315. "frameborder": "no",
  6316. "border": "0",
  6317. "scrolling ": "no",
  6318. "style": {
  6319. "cssText": "border:0; width:100%; height:100%;"
  6320. },
  6321. "src": "/course-design-vue"
  6322. })
  6323. _box.appendChild(_iframe);
  6324. _box.appendChild(_jie);
  6325. _formdiv = new U.UF.UI.form(
  6326. "项目设计-" + _username,
  6327. _box, {
  6328. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6329. "style": {
  6330. "width": "90%",
  6331. "height": "90%",
  6332. "overflow": 'hidden'
  6333. },
  6334. "onresize": function () { }
  6335. }, {
  6336. closecallback: function () { }
  6337. }, {
  6338. "style": {
  6339. "height": "36px"
  6340. }
  6341. }).form; //创建窗体
  6342. _taskbar = {
  6343. "id": str + _formdiv.id,
  6344. "style": {
  6345. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6346. },
  6347. "name": "项目设计",
  6348. "forms": _formdiv,
  6349. "click": function () {
  6350. U.MD.D.I.openApplication(str, obj, info);
  6351. }
  6352. }
  6353. break;
  6354. }
  6355. const script1 = document.createElement("script");
  6356. script1.type = "text/javascript";
  6357. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6358. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6359. const script2 = document.createElement("script");
  6360. script2.type = "text/javascript";
  6361. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6362. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6363. const script3 = document.createElement("script");
  6364. script3.type = "text/javascript";
  6365. script3.charset = "UTF-8";
  6366. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6367. const script4 = document.createElement("script");
  6368. script4.type = "text/javascript";
  6369. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6370. script4.src = window.origin + "/js/Common/jietu2E.js";
  6371. if (_iframe) {
  6372. if (str == 'doc') {
  6373. _iframe = _formdiv.querySelector('iframe')
  6374. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6375. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6376. _iframe.contentWindow.document.body.appendChild(script1);
  6377. _iframe.contentWindow.document.body.appendChild(script2);
  6378. // _iframe.contentWindow.document.body.appendChild(script3);
  6379. _iframe.contentWindow.document.body.appendChild(script4);
  6380. })
  6381. if (onloadListener) {
  6382. _iframe.contentDocument.location.reload()
  6383. } else {
  6384. _iframe.contentDocument.location.reload()
  6385. }
  6386. } else if (str == 'courseDesign') {
  6387. U.UF.DL.iframeLoad(_iframe, function () {
  6388. // _iframe.contentWindow.U.MD.O.W.load();
  6389. // _iframe.contentWindow.document.body.appendChild(script1);
  6390. _iframe.contentWindow.document.body.appendChild(script2);
  6391. _iframe.contentWindow.document.body.appendChild(script4);
  6392. })
  6393. } else if (str == 'mind') {
  6394. _iframe = _formdiv.querySelector('iframe')
  6395. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6396. //
  6397. _iframe.contentWindow.document.body.appendChild(script1);
  6398. _iframe.contentWindow.document.body.appendChild(script2);
  6399. _iframe.contentWindow.document.body.appendChild(script4);
  6400. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6401. })
  6402. if (onloadListener) {
  6403. _iframe.contentDocument.location.reload()
  6404. } else {
  6405. _iframe.contentDocument.location.reload()
  6406. }
  6407. } else if (str == 'whiteboard') {
  6408. _iframe = _formdiv.querySelector('iframe')
  6409. let onloadListener = _iframe.onload = () => {
  6410. _iframe.contentWindow.document.body.appendChild(script1);
  6411. _iframe.contentWindow.document.body.appendChild(script2);
  6412. _iframe.contentWindow.document.body.appendChild(script4);
  6413. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6414. };
  6415. if (onloadListener) {
  6416. _iframe.contentDocument.location.reload()
  6417. } else {
  6418. _iframe.contentDocument.location.reload()
  6419. }
  6420. } else {
  6421. _iframe.onload = () => {
  6422. _iframe.contentWindow.document.body.appendChild(script1);
  6423. _iframe.contentWindow.document.body.appendChild(script2);
  6424. // _iframe.contentWindow.document.body.appendChild(script3);
  6425. _iframe.contentWindow.document.body.appendChild(script4);
  6426. };
  6427. }
  6428. _jie.onclick = async () => {
  6429. let text = ''
  6430. if (aTool == 1) {
  6431. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6432. } else if (aTool == 6) {
  6433. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6434. } else if (aTool == 3) {
  6435. text = await U.MD.D.I.getEditorContent(_iframe);
  6436. }
  6437. _loading.style.display = 'flex'
  6438. console.log(_loading);
  6439. var _ajs = _iframe.contentWindow.document.createElement("script");
  6440. _ajs.type = "text/javascript";
  6441. _ajs.innerHTML =
  6442. // 'console.log(' + _loading + ');\n' +
  6443. 'var _js = document.createElement("script");\n' +
  6444. '_js.type="text/javascript";\n' +
  6445. '_js.charset="UTF-8";\n' +
  6446. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6447. "_js.onload = function(){\n" +
  6448. ' var a = document.getElementsByTagName("img")\n' +
  6449. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6450. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6451. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6452. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6453. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6454. "beforeUpload_shishi(file," +
  6455. "'" +
  6456. _userid +
  6457. "'" +
  6458. ", " +
  6459. "'" +
  6460. _cid +
  6461. "'" +
  6462. ", " +
  6463. "'" +
  6464. _stage +
  6465. "'" +
  6466. ", " +
  6467. "'" +
  6468. _task +
  6469. "'" +
  6470. ", " +
  6471. "'" +
  6472. _tool +
  6473. "'" +
  6474. ", " +
  6475. "'" +
  6476. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6477. "'" +
  6478. ", " +
  6479. "'" +
  6480. aTool +
  6481. "'" +
  6482. ", " +
  6483. "`" +
  6484. text +
  6485. "`" +
  6486. ")\n" +
  6487. " });\n" +
  6488. "}\n" +
  6489. "document.head.appendChild(_js);\n";
  6490. _iframe.contentWindow.document.head.appendChild(_ajs);
  6491. }
  6492. }
  6493. }
  6494. U.MD.D.I.getEditorContent = function (iframe) {
  6495. return new Promise((resolve, reject) => {
  6496. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6497. console.log(content);
  6498. resolve(content)
  6499. });
  6500. });
  6501. }
  6502. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6503. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6504. // if (res.value[0].length > 0) {
  6505. // // resolve(res.value[0][0].text);
  6506. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6507. // $(fileInput).val('');
  6508. // });
  6509. // }
  6510. // }, [], { "type": "GET", "withCredentials": true });
  6511. var xmlhttp;
  6512. var Mac, Sn, DeviceId
  6513. if (window.XMLHttpRequest) {
  6514. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6515. xmlhttp = new XMLHttpRequest();
  6516. } else {
  6517. // IE6, IE5 浏览器执行代码
  6518. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6519. }
  6520. xmlhttp.onreadystatechange = function () {
  6521. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6522. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6523. // resolve(res.value[0][0].text);
  6524. if (type == '2') {
  6525. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6526. } else if (type == '3') {
  6527. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6528. }
  6529. } else {
  6530. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6531. }
  6532. }
  6533. }
  6534. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6535. xmlhttp.send();
  6536. }
  6537. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6538. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6539. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6540. _userinfo = US.userInfo, //登录用户信息
  6541. _userid = US.userInfo.userid //登录用户id
  6542. let _iframe;
  6543. let _cid = cid,
  6544. _stage = stage,
  6545. _task = task,
  6546. _tool = tool;
  6547. var _jie = $$("div", {
  6548. "style": {
  6549. "position": "absolute",
  6550. "bottom": "50px",
  6551. "right": "50px",
  6552. "zIndex": "9999",
  6553. "backgroundColor": "#2268bc",
  6554. "color": "#fff",
  6555. "padding": "12px 20px",
  6556. "cursor": "pointer",
  6557. "borderRadius": "4px",
  6558. },
  6559. "innerHTML": "确认并提交"
  6560. })
  6561. let aTool = ''
  6562. let _loading = document.createElement('div')
  6563. _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;"
  6564. // _loading.id = "";
  6565. let _lchild = document.createElement('div')
  6566. let _limg = document.createElement('img')
  6567. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6568. _limg.style = "width: 26px;margin-right: 10px;"
  6569. _lchild.appendChild(_limg)
  6570. let _lspan = document.createElement('span')
  6571. _lspan.innerHTML = "上传中..."
  6572. _lchild.appendChild(_lspan)
  6573. _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%);"
  6574. _loading.appendChild(_lchild)
  6575. var _box = $$('div', {
  6576. "style": {
  6577. "position": "relative",
  6578. "width": "100%",
  6579. "height": "100%",
  6580. },
  6581. })
  6582. _box.appendChild(_loading)
  6583. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6584. switch (str) {
  6585. case "whiteboard":
  6586. aTool = 1;
  6587. _iframe = $$("iframe", {
  6588. "frameborder": "no",
  6589. "border": "0",
  6590. "scrolling ": "no",
  6591. "style": {
  6592. "cssText": "border:0;width:100%;height:100%"
  6593. },
  6594. "src": "https://iwb.cocorobo.cn/"
  6595. })
  6596. _box.appendChild(_iframe);
  6597. _box.appendChild(_jie);
  6598. _formdiv = new U.UF.UI.form(
  6599. "电子白板",
  6600. _box, {
  6601. "id": "whiteboards" + cid + stage + task + tool,
  6602. "style": {
  6603. "width": "90%",
  6604. "height": "90%",
  6605. "overflow": 'hidden'
  6606. },
  6607. "onresize": function () { }
  6608. }, {
  6609. closecallback: function () { }
  6610. }, {
  6611. "style": {
  6612. "height": "36px"
  6613. }
  6614. }).form; //创建窗体
  6615. _taskbar = {
  6616. "id": str + _formdiv.id,
  6617. "style": {
  6618. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6619. },
  6620. "name": "电子白板",
  6621. "forms": _formdiv,
  6622. "click": function () {
  6623. U.MD.D.I.openApplication(str, obj, info);
  6624. }
  6625. }
  6626. break;
  6627. case "mind":
  6628. aTool = 3;
  6629. _iframe = $$("iframe", {
  6630. "frameborder": "no",
  6631. "border": "0",
  6632. "scrolling ": "no",
  6633. "style": {
  6634. "cssText": "border:0;width:100%;height:100%"
  6635. },
  6636. "src": "/kityminder-editor/dist/index.html"
  6637. });
  6638. _box.appendChild(_iframe);
  6639. _box.appendChild(_jie);
  6640. _formdiv = new U.UF.UI.form(
  6641. "思维导图",
  6642. _box, { //"/jsmind/example/demo.html"
  6643. "id": "minds" + cid + stage + task + tool,
  6644. "style": {
  6645. "width": "90%",
  6646. "height": "90%",
  6647. "overflow": 'hidden'
  6648. },
  6649. "onresize": function () { }
  6650. }, {
  6651. closecallback: function () { }
  6652. }, {
  6653. "style": {
  6654. "height": "36px"
  6655. }
  6656. }).form; //创建窗体
  6657. _taskbar = {
  6658. "id": str + _formdiv.id,
  6659. "style": {
  6660. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6661. },
  6662. "name": "思维导图",
  6663. "forms": _formdiv,
  6664. "click": function () {
  6665. U.MD.D.I.openApplication(str, obj, info);
  6666. }
  6667. }
  6668. break;
  6669. case "doc":
  6670. aTool = 6;
  6671. _iframe = $$("iframe", {
  6672. "frameborder": "no",
  6673. "border": "0",
  6674. "scrolling ": "no",
  6675. "style": {
  6676. "cssText": "border:0;width:100%;height:100%"
  6677. },
  6678. "src": "/Office/Word/WordEditArea.htm"
  6679. })
  6680. _box.appendChild(_iframe);
  6681. _box.appendChild(_jie);
  6682. _formdiv = new U.UF.UI.form(
  6683. "协同文档",
  6684. _box, {
  6685. "id": "docs" + cid + stage + task + tool,
  6686. "style": {
  6687. "width": "90%",
  6688. "height": "90%",
  6689. "overflow": 'hidden'
  6690. },
  6691. "onresize": function () { }
  6692. }, {
  6693. closecallback: function () { }
  6694. }, {
  6695. "style": {
  6696. "height": "36px"
  6697. }
  6698. }).form; //创建窗体
  6699. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6700. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6701. })
  6702. _taskbar = {
  6703. "id": str + _formdiv.id,
  6704. "style": {
  6705. "backgroundImage": "url(/img/icon/doc.png)"
  6706. },
  6707. "name": "协同文档",
  6708. "forms": _formdiv,
  6709. "click": function () {
  6710. U.MD.D.I.openApplication(str, obj, info);
  6711. }
  6712. }
  6713. break;
  6714. }
  6715. const script1 = document.createElement("script");
  6716. script1.type = "text/javascript";
  6717. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6718. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6719. const script2 = document.createElement("script");
  6720. script2.type = "text/javascript";
  6721. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6722. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6723. const script3 = document.createElement("script");
  6724. script3.type = "text/javascript";
  6725. script3.charset = "UTF-8";
  6726. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6727. const script4 = document.createElement("script");
  6728. script4.type = "text/javascript";
  6729. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6730. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6731. if (_iframe) {
  6732. if (str == 'doc') {
  6733. _iframe = _formdiv.querySelector('iframe')
  6734. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6735. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6736. _iframe.contentWindow.document.body.appendChild(script1);
  6737. _iframe.contentWindow.document.body.appendChild(script2);
  6738. // _iframe.contentWindow.document.body.appendChild(script3);
  6739. _iframe.contentWindow.document.body.appendChild(script4);
  6740. })
  6741. if (onloadListener) {
  6742. _iframe.contentDocument.location.reload()
  6743. } else {
  6744. _iframe.contentDocument.location.reload()
  6745. }
  6746. } else if (str == 'mind') {
  6747. _iframe = _formdiv.querySelector('iframe')
  6748. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6749. _iframe.contentWindow.document.body.appendChild(script1);
  6750. _iframe.contentWindow.document.body.appendChild(script2);
  6751. _iframe.contentWindow.document.body.appendChild(script4);
  6752. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6753. })
  6754. if (onloadListener) {
  6755. _iframe.contentDocument.location.reload()
  6756. } else {
  6757. _iframe.contentDocument.location.reload()
  6758. }
  6759. } else {
  6760. _iframe.onload = () => {
  6761. _iframe.contentWindow.document.body.appendChild(script1);
  6762. _iframe.contentWindow.document.body.appendChild(script2);
  6763. // _iframe.contentWindow.document.body.appendChild(script3);
  6764. _iframe.contentWindow.document.body.appendChild(script4);
  6765. };
  6766. }
  6767. _jie.onclick = async () => {
  6768. let text = ''
  6769. if (aTool == 6) {
  6770. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6771. } else if (aTool == 3) {
  6772. text = await U.MD.D.I.getEditorContent(_iframe);
  6773. }
  6774. _loading.style.display = 'flex'
  6775. console.log(_loading);
  6776. var _ajs = _iframe.contentWindow.document.createElement("script");
  6777. _ajs.type = "text/javascript";
  6778. _ajs.innerHTML =
  6779. // 'console.log(' + _loading + ');\n' +
  6780. 'var _js = document.createElement("script");\n' +
  6781. '_js.type="text/javascript";\n' +
  6782. '_js.charset="UTF-8";\n' +
  6783. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6784. "_js.onload = function(){\n" +
  6785. ' var a = document.getElementsByTagName("img")\n' +
  6786. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6787. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6788. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6789. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6790. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6791. "beforeUpload_shishi(file," +
  6792. "'" +
  6793. _userid +
  6794. "'" +
  6795. ", " +
  6796. "'" +
  6797. _cid +
  6798. "'" +
  6799. ", " +
  6800. "'" +
  6801. _stage +
  6802. "'" +
  6803. ", " +
  6804. "'" +
  6805. _task +
  6806. "'" +
  6807. ", " +
  6808. "'" +
  6809. _tool +
  6810. "'" +
  6811. ", " +
  6812. "'" +
  6813. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6814. "'" +
  6815. ", " +
  6816. "'" +
  6817. aTool +
  6818. "'" +
  6819. ", " +
  6820. "`" +
  6821. text +
  6822. "`" +
  6823. ")\n" +
  6824. " });\n" +
  6825. "}\n" +
  6826. "document.head.appendChild(_js);\n";
  6827. _iframe.contentWindow.document.head.appendChild(_ajs);
  6828. }
  6829. }
  6830. //U.MD.D.I.openClick(str);
  6831. //如果有任务栏信息
  6832. // if (_taskbar) {
  6833. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6834. // }
  6835. }
  6836. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6837. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6838. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6839. _userinfo = US.userInfo, //登录用户信息
  6840. _userid = US.userInfo.userid //登录用户id
  6841. let _iframe;
  6842. let _cid = cid,
  6843. _stage = stage,
  6844. _task = task,
  6845. _tool = tool;
  6846. var _jie = $$("div", {
  6847. "style": {
  6848. "position": "absolute",
  6849. "bottom": "50px",
  6850. "right": "50px",
  6851. "zIndex": "9999",
  6852. "backgroundColor": "#2268bc",
  6853. "color": "#fff",
  6854. "padding": "12px 20px",
  6855. "cursor": "pointer",
  6856. "borderRadius": "4px",
  6857. },
  6858. "innerHTML": "确认并提交"
  6859. })
  6860. let aTool = ''
  6861. let _loading = document.createElement('div')
  6862. _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;"
  6863. // _loading.id = "";
  6864. let _lchild = document.createElement('div')
  6865. let _limg = document.createElement('img')
  6866. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6867. _limg.style = "width: 26px;margin-right: 10px;"
  6868. _lchild.appendChild(_limg)
  6869. let _lspan = document.createElement('span')
  6870. _lspan.innerHTML = "上传中..."
  6871. _lchild.appendChild(_lspan)
  6872. _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%);"
  6873. _loading.appendChild(_lchild)
  6874. var _box = $$('div', {
  6875. "style": {
  6876. "position": "relative",
  6877. "width": "100%",
  6878. "height": "100%",
  6879. },
  6880. })
  6881. _box.appendChild(_loading)
  6882. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6883. switch (str) {
  6884. case "whiteboard":
  6885. aTool = 1;
  6886. _iframe = $$("iframe", {
  6887. "frameborder": "no",
  6888. "border": "0",
  6889. "scrolling ": "no",
  6890. "style": {
  6891. "cssText": "border:0;width:100%;height:100%"
  6892. },
  6893. "src": "https://iwb.cocorobo.cn/"
  6894. })
  6895. _box.appendChild(_iframe);
  6896. _box.appendChild(_jie);
  6897. _formdiv = new U.UF.UI.form(
  6898. "电子白板",
  6899. _box, {
  6900. "id": "whiteboards" + cid + stage + task + tool,
  6901. "style": {
  6902. "width": "90%",
  6903. "height": "90%",
  6904. "overflow": 'hidden'
  6905. },
  6906. "onresize": function () { }
  6907. }, {
  6908. closecallback: function () { }
  6909. }, {
  6910. "style": {
  6911. "height": "36px"
  6912. }
  6913. }).form; //创建窗体
  6914. _taskbar = {
  6915. "id": str + _formdiv.id,
  6916. "style": {
  6917. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6918. },
  6919. "name": "电子白板",
  6920. "forms": _formdiv,
  6921. "click": function () {
  6922. U.MD.D.I.openApplication(str, obj, info);
  6923. }
  6924. }
  6925. break;
  6926. case "mind":
  6927. aTool = 3;
  6928. _iframe = $$("iframe", {
  6929. "frameborder": "no",
  6930. "border": "0",
  6931. "scrolling ": "no",
  6932. "style": {
  6933. "cssText": "border:0;width:100%;height:100%"
  6934. },
  6935. "src": "/kityminder-editor/dist/index.html"
  6936. });
  6937. _box.appendChild(_iframe);
  6938. _box.appendChild(_jie);
  6939. _formdiv = new U.UF.UI.form(
  6940. "思维导图",
  6941. _box, { //"/jsmind/example/demo.html"
  6942. "id": "minds" + cid + stage + task + tool,
  6943. "style": {
  6944. "width": "90%",
  6945. "height": "90%",
  6946. "overflow": 'hidden'
  6947. },
  6948. "onresize": function () { }
  6949. }, {
  6950. closecallback: function () { }
  6951. }, {
  6952. "style": {
  6953. "height": "36px"
  6954. }
  6955. }).form; //创建窗体
  6956. _taskbar = {
  6957. "id": str + _formdiv.id,
  6958. "style": {
  6959. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6960. },
  6961. "name": "思维导图",
  6962. "forms": _formdiv,
  6963. "click": function () {
  6964. U.MD.D.I.openApplication(str, obj, info);
  6965. }
  6966. }
  6967. break;
  6968. case "doc":
  6969. aTool = 6;
  6970. _iframe = $$("iframe", {
  6971. "frameborder": "no",
  6972. "border": "0",
  6973. "scrolling ": "no",
  6974. "style": {
  6975. "cssText": "border:0;width:100%;height:100%"
  6976. },
  6977. "src": "/Office/Word/WordEditArea.htm"
  6978. })
  6979. _box.appendChild(_iframe);
  6980. _box.appendChild(_jie);
  6981. _formdiv = new U.UF.UI.form(
  6982. "协同文档",
  6983. _box, {
  6984. "id": "docs" + cid + stage + task + tool,
  6985. "style": {
  6986. "width": "90%",
  6987. "height": "90%",
  6988. "overflow": 'hidden'
  6989. },
  6990. "onresize": function () { }
  6991. }, {
  6992. closecallback: function () { }
  6993. }, {
  6994. "style": {
  6995. "height": "36px"
  6996. }
  6997. }).form; //创建窗体
  6998. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6999. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7000. })
  7001. _taskbar = {
  7002. "id": str + _formdiv.id,
  7003. "style": {
  7004. "backgroundImage": "url(/img/icon/doc.png)"
  7005. },
  7006. "name": "协同文档",
  7007. "forms": _formdiv,
  7008. "click": function () {
  7009. U.MD.D.I.openApplication(str, obj, info);
  7010. }
  7011. }
  7012. break;
  7013. }
  7014. const script1 = document.createElement("script");
  7015. script1.type = "text/javascript";
  7016. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7017. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7018. const script2 = document.createElement("script");
  7019. script2.type = "text/javascript";
  7020. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7021. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7022. const script3 = document.createElement("script");
  7023. script3.type = "text/javascript";
  7024. script3.charset = "UTF-8";
  7025. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7026. const script4 = document.createElement("script");
  7027. script4.type = "text/javascript";
  7028. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7029. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7030. if (_iframe) {
  7031. if (str == 'doc') {
  7032. _iframe = _formdiv.querySelector('iframe')
  7033. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7034. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7035. _iframe.contentWindow.document.body.appendChild(script1);
  7036. _iframe.contentWindow.document.body.appendChild(script2);
  7037. // _iframe.contentWindow.document.body.appendChild(script3);
  7038. _iframe.contentWindow.document.body.appendChild(script4);
  7039. })
  7040. if (onloadListener) {
  7041. _iframe.contentDocument.location.reload()
  7042. } else {
  7043. _iframe.contentDocument.location.reload()
  7044. }
  7045. } else if (str == 'mind') {
  7046. _iframe = _formdiv.querySelector('iframe')
  7047. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7048. _iframe.contentWindow.document.body.appendChild(script1);
  7049. _iframe.contentWindow.document.body.appendChild(script2);
  7050. _iframe.contentWindow.document.body.appendChild(script4);
  7051. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7052. })
  7053. if (onloadListener) {
  7054. _iframe.contentDocument.location.reload()
  7055. } else {
  7056. _iframe.contentDocument.location.reload()
  7057. }
  7058. } else {
  7059. _iframe.onload = () => {
  7060. _iframe.contentWindow.document.body.appendChild(script1);
  7061. _iframe.contentWindow.document.body.appendChild(script2);
  7062. // _iframe.contentWindow.document.body.appendChild(script3);
  7063. _iframe.contentWindow.document.body.appendChild(script4);
  7064. };
  7065. }
  7066. _jie.onclick = async () => {
  7067. let text = ''
  7068. if (aTool == 6) {
  7069. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7070. } else if (aTool == 3) {
  7071. text = await U.MD.D.I.getEditorContent(_iframe);
  7072. }
  7073. _loading.style.display = 'flex'
  7074. console.log(_loading);
  7075. var _ajs = _iframe.contentWindow.document.createElement("script");
  7076. _ajs.type = "text/javascript";
  7077. _ajs.innerHTML =
  7078. // 'console.log(' + _loading + ');\n' +
  7079. 'var _js = document.createElement("script");\n' +
  7080. '_js.type="text/javascript";\n' +
  7081. '_js.charset="UTF-8";\n' +
  7082. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7083. "_js.onload = function(){\n" +
  7084. ' var a = document.getElementsByTagName("img")\n' +
  7085. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7086. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7087. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7088. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7089. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7090. "beforeUpload_shishi(file," +
  7091. "'" +
  7092. _userid +
  7093. "'" +
  7094. ", " +
  7095. "'" +
  7096. _cid +
  7097. "'" +
  7098. ", " +
  7099. "'" +
  7100. _stage +
  7101. "'" +
  7102. ", " +
  7103. "'" +
  7104. _task +
  7105. "'" +
  7106. ", " +
  7107. "'" +
  7108. _tool +
  7109. "'" +
  7110. ", " +
  7111. "'" +
  7112. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7113. "'" +
  7114. ", " +
  7115. "'" +
  7116. aTool +
  7117. "'" +
  7118. ", " +
  7119. "`" +
  7120. text +
  7121. "`" +
  7122. ")\n" +
  7123. " });\n" +
  7124. "}\n" +
  7125. "document.head.appendChild(_js);\n";
  7126. _iframe.contentWindow.document.head.appendChild(_ajs);
  7127. }
  7128. }
  7129. //U.MD.D.I.openClick(str);
  7130. //如果有任务栏信息
  7131. // if (_taskbar) {
  7132. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7133. // }
  7134. }
  7135. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7136. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7137. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7138. _userinfo = US.userInfo, //登录用户信息
  7139. _userid = US.userInfo.userid //登录用户id
  7140. let _iframe;
  7141. let _cid = cid,
  7142. _stage = stage,
  7143. _task = task,
  7144. _tool = tool;
  7145. var _jie = $$("div", {
  7146. "style": {
  7147. "position": "absolute",
  7148. "bottom": "50px",
  7149. "right": "50px",
  7150. "zIndex": "9999",
  7151. "backgroundColor": "#2268bc",
  7152. "color": "#fff",
  7153. "padding": "12px 20px",
  7154. "cursor": "pointer",
  7155. "borderRadius": "4px",
  7156. },
  7157. "innerHTML": "上传模板"
  7158. })
  7159. let aTool = ''
  7160. let _loading = document.createElement('div')
  7161. _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;"
  7162. // _loading.id = "";
  7163. let _lchild = document.createElement('div')
  7164. let _limg = document.createElement('img')
  7165. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7166. _limg.style = "width: 26px;margin-right: 10px;"
  7167. _lchild.appendChild(_limg)
  7168. let _lspan = document.createElement('span')
  7169. _lspan.innerHTML = "上传中..."
  7170. _lchild.appendChild(_lspan)
  7171. _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%);"
  7172. _loading.appendChild(_lchild)
  7173. var _box = $$('div', {
  7174. "style": {
  7175. "position": "relative",
  7176. "width": "100%",
  7177. "height": "100%",
  7178. },
  7179. })
  7180. _box.appendChild(_loading)
  7181. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7182. switch (str) {
  7183. case "whiteboard":
  7184. aTool = 1;
  7185. _iframe = $$("iframe", {
  7186. "frameborder": "no",
  7187. "border": "0",
  7188. "scrolling ": "no",
  7189. "style": {
  7190. "cssText": "border:0;width:100%;height:100%"
  7191. },
  7192. "src": "https://iwb.cocorobo.cn/"
  7193. })
  7194. _box.appendChild(_iframe);
  7195. _box.appendChild(_jie);
  7196. _formdiv = new U.UF.UI.form(
  7197. "电子白板",
  7198. _box, {
  7199. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7200. "style": {
  7201. "width": "90%",
  7202. "height": "90%",
  7203. "overflow": 'hidden'
  7204. },
  7205. "onresize": function () { }
  7206. }, {
  7207. closecallback: function () { }
  7208. }, {
  7209. "style": {
  7210. "height": "36px"
  7211. }
  7212. }).form; //创建窗体
  7213. _taskbar = {
  7214. "id": str + _formdiv.id,
  7215. "style": {
  7216. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7217. },
  7218. "name": "电子白板",
  7219. "forms": _formdiv,
  7220. "click": function () {
  7221. U.MD.D.I.openApplication(str, obj, info);
  7222. }
  7223. }
  7224. break;
  7225. case "mind":
  7226. aTool = 3;
  7227. _iframe = $$("iframe", {
  7228. "frameborder": "no",
  7229. "border": "0",
  7230. "scrolling ": "no",
  7231. "style": {
  7232. "cssText": "border:0;width:100%;height:100%"
  7233. },
  7234. "src": "/kityminder-editor/dist/index.html"
  7235. });
  7236. _box.appendChild(_iframe);
  7237. _box.appendChild(_jie);
  7238. _formdiv = new U.UF.UI.form(
  7239. "思维导图",
  7240. _box, { //"/jsmind/example/demo.html"
  7241. "id": "minds_Yu" + cid + stage + task + tool,
  7242. "style": {
  7243. "width": "90%",
  7244. "height": "90%",
  7245. "overflow": 'hidden'
  7246. },
  7247. "onresize": function () { }
  7248. }, {
  7249. closecallback: function () { }
  7250. }, {
  7251. "style": {
  7252. "height": "36px"
  7253. }
  7254. }).form; //创建窗体
  7255. _taskbar = {
  7256. "id": str + _formdiv.id,
  7257. "style": {
  7258. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7259. },
  7260. "name": "思维导图",
  7261. "forms": _formdiv,
  7262. "click": function () {
  7263. U.MD.D.I.openApplication(str, obj, info);
  7264. }
  7265. }
  7266. break;
  7267. case "doc":
  7268. aTool = 6;
  7269. _iframe = $$("iframe", {
  7270. "frameborder": "no",
  7271. "border": "0",
  7272. "scrolling ": "no",
  7273. "style": {
  7274. "cssText": "border:0;width:100%;height:100%"
  7275. },
  7276. "src": "/Office/Word/WordEditArea.htm"
  7277. })
  7278. _box.appendChild(_iframe);
  7279. _box.appendChild(_jie);
  7280. _formdiv = new U.UF.UI.form(
  7281. "协同文档",
  7282. _box, {
  7283. "id": "docs_Yu" + cid + stage + task + tool,
  7284. "style": {
  7285. "width": "90%",
  7286. "height": "90%",
  7287. "overflow": 'hidden'
  7288. },
  7289. "onresize": function () { }
  7290. }, {
  7291. closecallback: function () { }
  7292. }, {
  7293. "style": {
  7294. "height": "36px"
  7295. }
  7296. }).form; //创建窗体
  7297. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7298. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7299. })
  7300. _taskbar = {
  7301. "id": str + _formdiv.id,
  7302. "style": {
  7303. "backgroundImage": "url(/img/icon/doc.png)"
  7304. },
  7305. "name": "协同文档",
  7306. "forms": _formdiv,
  7307. "click": function () {
  7308. U.MD.D.I.openApplication(str, obj, info);
  7309. }
  7310. }
  7311. break;
  7312. case "CocoPi":
  7313. aTool = 57;
  7314. _iframe = $$("iframe", {
  7315. "allowpaymentrequest": "allowpaymentrequest",
  7316. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7317. "webkitallowfullscreen": "",
  7318. "mozallowfullscreen": "",
  7319. "frameborder": "no",
  7320. "border": "0",
  7321. "scrolling ": "no",
  7322. "style": {
  7323. "cssText": "border:0;width:100%;height:100%"
  7324. },
  7325. "src": "https://pi.cocorobo.cn/"
  7326. })
  7327. _box.appendChild(_iframe);
  7328. _box.appendChild(_jie);
  7329. _formdiv = new U.UF.UI.form(
  7330. "CocoPi",
  7331. _box, {
  7332. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7333. "style": {
  7334. "width": "90%",
  7335. "height": "90%",
  7336. "overflow": 'hidden'
  7337. },
  7338. "onresize": function () { }
  7339. }, {
  7340. closecallback: function () { }
  7341. }, {
  7342. "style": {
  7343. "height": "36px"
  7344. }
  7345. }).form; //创建窗体
  7346. _taskbar = {
  7347. "id": str + _formdiv.id,
  7348. "style": {
  7349. "backgroundImage": "url(/img/icon/cocopi.png)"
  7350. },
  7351. "name": "CocoPi",
  7352. "forms": _formdiv,
  7353. "click": function () {
  7354. U.MD.D.I.openApplication(str, obj, info);
  7355. }
  7356. }
  7357. break;
  7358. }
  7359. if (_iframe) {
  7360. if (str == 'doc') {
  7361. _iframe = _formdiv.querySelector('iframe')
  7362. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7363. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7364. })
  7365. if (onloadListener) {
  7366. _iframe.contentDocument.location.reload()
  7367. } else {
  7368. _iframe.contentDocument.location.reload()
  7369. }
  7370. } else if (str == 'mind') {
  7371. _iframe = _formdiv.querySelector('iframe')
  7372. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7373. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7374. })
  7375. if (onloadListener) {
  7376. _iframe.contentDocument.location.reload()
  7377. } else {
  7378. _iframe.contentDocument.location.reload()
  7379. }
  7380. } else if (str == 'whiteboard') {
  7381. _iframe = _formdiv.querySelector('iframe')
  7382. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7383. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7384. })
  7385. if (onloadListener) {
  7386. _iframe.contentDocument.location.reload()
  7387. } else {
  7388. _iframe.contentDocument.location.reload()
  7389. }
  7390. } else if (str == 'CocoPi') {
  7391. _iframe = _formdiv.querySelector('iframe')
  7392. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7393. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7394. })
  7395. if (onloadListener) {
  7396. _iframe.contentDocument.location.reload()
  7397. } else {
  7398. _iframe.contentDocument.location.reload()
  7399. }
  7400. } else {
  7401. _iframe.onload = () => { };
  7402. }
  7403. _jie.onclick = async () => {
  7404. let text = ''
  7405. let type = '2'
  7406. if (aTool == 1) {
  7407. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7408. type = '3'
  7409. } else if (aTool == 6) {
  7410. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7411. type = '1'
  7412. } else if (aTool == 3) {
  7413. text = await U.MD.D.I.getEditorContent(_iframe);
  7414. type = '2'
  7415. } else if (aTool == 57) {
  7416. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7417. type = '4'
  7418. }
  7419. _loading.style.display = 'flex'
  7420. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7421. }
  7422. }
  7423. //U.MD.D.I.openClick(str);
  7424. //如果有任务栏信息
  7425. // if (_taskbar) {
  7426. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7427. // }
  7428. }
  7429. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7430. var xmlhttp;
  7431. var Mac, Sn, DeviceId
  7432. if (window.XMLHttpRequest) {
  7433. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7434. xmlhttp = new XMLHttpRequest();
  7435. } else {
  7436. // IE6, IE5 浏览器执行代码
  7437. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7438. }
  7439. xmlhttp.onreadystatechange = function () {
  7440. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7441. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7442. // resolve(res.value[0][0].text);
  7443. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7444. }
  7445. }
  7446. }
  7447. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7448. xmlhttp.send();
  7449. }
  7450. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7451. var xmlhttp;
  7452. var Mac, Sn, DeviceId
  7453. if (window.XMLHttpRequest) {
  7454. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7455. xmlhttp = new XMLHttpRequest();
  7456. } else {
  7457. // IE6, IE5 浏览器执行代码
  7458. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7459. }
  7460. xmlhttp.onreadystatechange = function () {
  7461. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7462. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7463. // resolve(res.value[0][0].text);
  7464. if (type == '2') {
  7465. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7466. } else if (type == '3') {
  7467. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7468. } else if (type == '4') {
  7469. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7470. }
  7471. } else {
  7472. if (type == '2') {
  7473. iframe.contentWindow.editor.minder.importData('json', '')
  7474. } else if (type == '3') {
  7475. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7476. } else if (type == '4') {
  7477. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7478. }
  7479. }
  7480. }
  7481. }
  7482. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7483. xmlhttp.send();
  7484. }
  7485. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7486. var xmlhttp;
  7487. var Mac, Sn, DeviceId
  7488. if (window.XMLHttpRequest) {
  7489. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7490. xmlhttp = new XMLHttpRequest();
  7491. } else {
  7492. // IE6, IE5 浏览器执行代码
  7493. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7494. }
  7495. xmlhttp.onreadystatechange = function () {
  7496. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7497. if (xmlhttp.response) {
  7498. // resolve(res.value[0][0].text);
  7499. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7500. // $(fileInput).val('');
  7501. // });
  7502. span.innerHTML = '上传成功'
  7503. setTimeout(() => {
  7504. loading.style.display = 'none'
  7505. }, 1000);
  7506. }
  7507. }
  7508. }
  7509. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7510. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7511. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7512. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7513. // 设置请求头,表示请求体的编码格式
  7514. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7515. // 设置请求体,使用url-encoded格式的数据
  7516. }
  7517. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7518. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7519. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7520. _userinfo = US.userInfo, //登录用户信息
  7521. _userid = US.userInfo.userid //登录用户id
  7522. let _iframe;
  7523. let _cid = cid,
  7524. _stage = stage,
  7525. _task = task,
  7526. _tool = tool;
  7527. var _jie = $$("div", {
  7528. "style": {
  7529. "position": "absolute",
  7530. "bottom": "50px",
  7531. "right": "50px",
  7532. "zIndex": "9999",
  7533. "backgroundColor": "#2268bc",
  7534. "color": "#fff",
  7535. "padding": "12px 20px",
  7536. "cursor": "pointer",
  7537. "borderRadius": "4px",
  7538. },
  7539. "innerHTML": "提交作业"
  7540. })
  7541. let aTool = ''
  7542. let _loading = document.createElement('div')
  7543. _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;"
  7544. // _loading.id = "";
  7545. let _lchild = document.createElement('div')
  7546. let _limg = document.createElement('img')
  7547. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7548. _limg.style = "width: 26px;margin-right: 10px;"
  7549. _lchild.appendChild(_limg)
  7550. let _lspan = document.createElement('span')
  7551. _lspan.innerHTML = "上传中..."
  7552. _lchild.appendChild(_lspan)
  7553. _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%);"
  7554. _loading.appendChild(_lchild)
  7555. var _box = $$('div', {
  7556. "style": {
  7557. "position": "relative",
  7558. "width": "100%",
  7559. "height": "100%",
  7560. },
  7561. })
  7562. _box.appendChild(_loading)
  7563. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7564. switch (str) {
  7565. case "CocoPi":
  7566. aTool = 57;
  7567. _iframe = $$("iframe", {
  7568. "allowpaymentrequest": "allowpaymentrequest",
  7569. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7570. "webkitallowfullscreen": "",
  7571. "mozallowfullscreen": "",
  7572. "frameborder": "no",
  7573. "border": "0",
  7574. "scrolling ": "no",
  7575. "style": {
  7576. "cssText": "border:0;width:100%;height:100%"
  7577. },
  7578. "src": "https://pi.cocorobo.cn/"
  7579. })
  7580. _box.appendChild(_iframe);
  7581. _box.appendChild(_jie);
  7582. _formdiv = new U.UF.UI.form(
  7583. "CocoPi",
  7584. _box, {
  7585. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7586. "style": {
  7587. "width": "90%",
  7588. "height": "90%",
  7589. "overflow": 'hidden'
  7590. },
  7591. "onresize": function () { }
  7592. }, {
  7593. closecallback: function () { }
  7594. }, {
  7595. "style": {
  7596. "height": "36px"
  7597. }
  7598. }).form; //创建窗体
  7599. _taskbar = {
  7600. "id": str + _formdiv.id,
  7601. "style": {
  7602. "backgroundImage": "url(/img/icon/cocopi.png)"
  7603. },
  7604. "name": "CocoPi",
  7605. "forms": _formdiv,
  7606. "click": function () {
  7607. U.MD.D.I.openApplication(str, obj, info);
  7608. }
  7609. }
  7610. break;
  7611. }
  7612. if (_iframe) {
  7613. if (str == 'CocoPi') {
  7614. _iframe = _formdiv.querySelector('iframe')
  7615. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7616. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7617. })
  7618. if (onloadListener) {
  7619. _iframe.contentDocument.location.reload()
  7620. } else {
  7621. _iframe.contentDocument.location.reload()
  7622. }
  7623. }
  7624. _jie.onclick = async () => {
  7625. let text = ''
  7626. if (aTool == 57) {
  7627. text = _iframe.contentWindow.getLoadXmlStr()
  7628. }
  7629. _loading.style.display = 'flex'
  7630. console.log(_loading);
  7631. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7632. _loading.style.display = 'none'
  7633. let _div = document.createElement('div')
  7634. _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;"
  7635. let _inner = document.createElement('div')
  7636. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7637. _inner.innerHTML = "上传成功"
  7638. _div.appendChild(_inner)
  7639. _iframe.contentWindow.window.document.body.appendChild(_div)
  7640. _div.onclick = () => {
  7641. _iframe.contentWindow.window.document.body.removeChild(_div)
  7642. }
  7643. setTimeout(() => {
  7644. _iframe.contentWindow.window.document.body.removeChild(_div)
  7645. }, 1000);
  7646. }, [], { "type": "POST", "withCredentials": true });
  7647. }
  7648. }
  7649. }
  7650. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7651. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7652. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7653. _userid = student.userid, //登录用户id
  7654. _username = student.student //用户名字
  7655. let _iframe;
  7656. let _cid = cid,
  7657. _stage = stage,
  7658. _task = task,
  7659. _tool = tool;
  7660. var _jie = $$("div", {
  7661. "style": {
  7662. "position": "absolute",
  7663. "bottom": "50px",
  7664. "right": "50px",
  7665. "zIndex": "9999",
  7666. "backgroundColor": "#2268bc",
  7667. "color": "#fff",
  7668. "padding": "12px 20px",
  7669. "cursor": "pointer",
  7670. "borderRadius": "4px",
  7671. },
  7672. "innerHTML": "提交作业"
  7673. })
  7674. let aTool = ''
  7675. let _loading = document.createElement('div')
  7676. _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;"
  7677. // _loading.id = "";
  7678. let _lchild = document.createElement('div')
  7679. let _limg = document.createElement('img')
  7680. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7681. _limg.style = "width: 26px;margin-right: 10px;"
  7682. _lchild.appendChild(_limg)
  7683. let _lspan = document.createElement('span')
  7684. _lspan.innerHTML = "上传中..."
  7685. _lchild.appendChild(_lspan)
  7686. _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%);"
  7687. _loading.appendChild(_lchild)
  7688. var _box = $$('div', {
  7689. "style": {
  7690. "position": "relative",
  7691. "width": "100%",
  7692. "height": "100%",
  7693. },
  7694. })
  7695. _box.appendChild(_loading)
  7696. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7697. switch (str) {
  7698. case "CocoPi":
  7699. aTool = 57;
  7700. _iframe = $$("iframe", {
  7701. "allowpaymentrequest": "allowpaymentrequest",
  7702. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7703. "webkitallowfullscreen": "",
  7704. "mozallowfullscreen": "",
  7705. "frameborder": "no",
  7706. "border": "0",
  7707. "scrolling ": "no",
  7708. "style": {
  7709. "cssText": "border:0;width:100%;height:100%"
  7710. },
  7711. "src": "https://pi.cocorobo.cn/"
  7712. })
  7713. _box.appendChild(_iframe);
  7714. _box.appendChild(_jie);
  7715. _formdiv = new U.UF.UI.form(
  7716. "CocoPi-" + _username,
  7717. _box, {
  7718. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7719. "style": {
  7720. "width": "90%",
  7721. "height": "90%",
  7722. "overflow": 'hidden'
  7723. },
  7724. "onresize": function () { }
  7725. }, {
  7726. closecallback: function () { }
  7727. }, {
  7728. "style": {
  7729. "height": "36px"
  7730. }
  7731. }).form; //创建窗体
  7732. _taskbar = {
  7733. "id": str + _formdiv.id,
  7734. "style": {
  7735. "backgroundImage": "url(/img/icon/cocopi.png)"
  7736. },
  7737. "name": "CocoPi",
  7738. "forms": _formdiv,
  7739. "click": function () {
  7740. U.MD.D.I.openApplication(str, obj, info);
  7741. }
  7742. }
  7743. break;
  7744. }
  7745. if (_iframe) {
  7746. if (str == 'CocoPi') {
  7747. _iframe = _formdiv.querySelector('iframe')
  7748. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7749. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7750. })
  7751. if (onloadListener) {
  7752. _iframe.contentDocument.location.reload()
  7753. } else {
  7754. _iframe.contentDocument.location.reload()
  7755. }
  7756. }
  7757. _jie.onclick = async () => {
  7758. let text = ''
  7759. if (aTool == 57) {
  7760. text = _iframe.contentWindow.getLoadXmlStr()
  7761. }
  7762. _loading.style.display = 'flex'
  7763. console.log(_loading);
  7764. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7765. _loading.style.display = 'none'
  7766. let _div = document.createElement('div')
  7767. _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;"
  7768. let _inner = document.createElement('div')
  7769. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7770. _inner.innerHTML = "上传成功"
  7771. _div.appendChild(_inner)
  7772. _iframe.contentWindow.window.document.body.appendChild(_div)
  7773. _div.onclick = () => {
  7774. _iframe.contentWindow.window.document.body.removeChild(_div)
  7775. }
  7776. setTimeout(() => {
  7777. _iframe.contentWindow.window.document.body.removeChild(_div)
  7778. }, 1000);
  7779. }, [], { "type": "POST", "withCredentials": true });
  7780. }
  7781. }
  7782. }
  7783. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7784. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7785. if (res.value[0].length > 0) {
  7786. if (atool == 57) {
  7787. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7788. }
  7789. } else {
  7790. if (atool == 57) {
  7791. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7792. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7793. }
  7794. }
  7795. }, [], { "type": "POST", "withCredentials": true });
  7796. }