DeskTop.js 522 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631
  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. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.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.tcTeacherDeskIcon = [
  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": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  457. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  474. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教师桌面图标的全局变量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教师桌面图标的全局变量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龙华中心小学教师桌面图标的全局变量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院实小教师桌面图标的全局变量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院实小教师桌面图标的全局变量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //云海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanTeacherDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未来教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未来教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.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": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未来教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成华教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成华教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  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. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //盐田区幼儿园
  1205. U.MD.D.I.ytyTeacherDeskIcon = [
  1206. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1207. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1208. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1209. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1210. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1211. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1212. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1213. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1214. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1215. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1216. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1217. { "Name": "观察记录", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1218. ];
  1219. //盐田区幼儿园
  1220. U.MD.D.I.ytyStudentDeskIcon = [
  1221. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1222. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1223. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1224. ];
  1225. //#region 桌面初始化a
  1226. /**
  1227. * 初始化桌面的起始函数
  1228. *
  1229. */
  1230. U.MD.D.I.init = function () {
  1231. if ($("#U_MD_D_K")[0]) {
  1232. //初始化桌面图标
  1233. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1234. // var clickUrl = ':12588/requestIp.php';
  1235. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1236. // U.MD.D.I.Ip = data;
  1237. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1238. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1239. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1240. // })
  1241. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1242. // })
  1243. }
  1244. }
  1245. /**
  1246. * 模式切换
  1247. *
  1248. */
  1249. U.MD.D.I.ModeCheck = function (type) {
  1250. if (US.Config.type == type) {
  1251. return
  1252. }
  1253. US.Config.type = type
  1254. $('.U_PBL_Check .active')[0].className = ''
  1255. if (type == 1) {
  1256. $('.U_PBL_Check div')[0].className = 'active'
  1257. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1258. } else {
  1259. $('.U_PBL_Check div')[1].className = 'active'
  1260. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1261. }
  1262. //初始化桌面图标
  1263. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1264. if (type == 2) {
  1265. U.MD.D.I.openApplication("project")
  1266. }
  1267. }
  1268. /**
  1269. * 隐藏任务栏
  1270. *
  1271. * @param {element} 桌面元素
  1272. */
  1273. U.MD.D.I.hiddenTaskbar = function (el) {
  1274. //任务栏位置变小
  1275. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1276. //桌面的位置变大
  1277. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1278. }
  1279. /**
  1280. * 隐藏任务栏
  1281. *
  1282. * @param {element} 桌面元素
  1283. */
  1284. U.MD.D.I.hiddenTaskbarout = function (el) {
  1285. //任务栏位置变小
  1286. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1287. //任务栏位置变化
  1288. U.selectEl(el).css({ "bottom": "-60px" });
  1289. //桌面的位置变大
  1290. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1291. }
  1292. }
  1293. /**
  1294. * 初始化打印桌面图标
  1295. *
  1296. * @param {element} 桌面元素
  1297. */
  1298. U.MD.D.I.initDesktopIcons = function (el, type) {
  1299. var i, //用于循环
  1300. _content, //桌面图标元素
  1301. _iconcontent, //桌面图标元素
  1302. _frag = $$("frag"), //定义一个碎片元素
  1303. _type = US.userInfo.type,
  1304. _org = US.userInfo.org,
  1305. _oid = US.userInfo.organizeid,
  1306. _role = US.userInfo.role,
  1307. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1308. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1309. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1310. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1311. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1312. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1313. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1314. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1315. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1316. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1317. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1318. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1319. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1320. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1321. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1322. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1323. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1324. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1325. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1326. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1327. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1328. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1329. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1330. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1331. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1332. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1333. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1334. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1335. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1336. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1337. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1338. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1339. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1340. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1341. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1342. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1343. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1344. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1345. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1346. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1347. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1348. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1349. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1350. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1351. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1352. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1353. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1354. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1355. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1356. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1357. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1358. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1359. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1360. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1361. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1362. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1363. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1364. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1365. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1366. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1367. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1368. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1369. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1370. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1371. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1372. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1373. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1374. 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', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1375. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1376. //清楚桌面图标
  1377. el.innerHTML = "";
  1378. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1379. _teacherDesktopIconInfo.push(
  1380. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1381. { "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)" } },
  1382. )
  1383. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1384. }
  1385. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1386. _teacherDesktopIconInfo.push(
  1387. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1388. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1389. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1390. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1392. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1393. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1394. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1395. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1396. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1397. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1398. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1399. )
  1400. }
  1401. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1402. // _teacherDesktopIconInfo.push(
  1403. // )
  1404. // }
  1405. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1406. _teacherDesktopIconInfo.push(
  1407. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1408. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1409. )
  1410. }
  1411. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1412. _teacherDesktopIconInfo.push(
  1413. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1414. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1415. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1416. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1417. )
  1418. _studentDesktopIconInfo.push(
  1419. )
  1420. }
  1421. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1422. _teacherDesktopIconInfo.push(
  1423. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1424. )
  1425. _studentDesktopIconInfo.push(
  1426. )
  1427. }
  1428. //麒麟二中 和 民新小学
  1429. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1430. _teacherDesktopIconInfo.push(
  1431. )
  1432. }
  1433. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1434. _teacherDesktopIconInfo.push(
  1435. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1436. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1437. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1438. )
  1439. }
  1440. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1441. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1442. _teacherDesktopIconInfo.push(
  1443. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1444. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1445. )
  1446. }
  1447. //麒麟二中
  1448. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1449. _studentDesktopIconInfo.push(
  1450. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1452. )
  1453. }
  1454. //万科双语
  1455. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1456. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1457. if (el.Name == '项目管理') {
  1458. el.Name = 'PBL项目'
  1459. }
  1460. return el
  1461. })
  1462. _studentDesktopIconInfo3.push(
  1463. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1464. )
  1465. }
  1466. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1467. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1468. return el.Name != '魔盒识字' && el.Name != '24点'
  1469. })
  1470. }
  1471. 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) {
  1472. _studentDesktopIconInfo.push(
  1473. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1474. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1475. )
  1476. }
  1477. //循环创建桌面图标
  1478. if (type == 1) {
  1479. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1480. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1481. _content = $$("div", {
  1482. className: "U_MD_D_KO",
  1483. "onmousedown": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_studentDesktopIconInfo[i]]),
  1487. "onclick": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_studentDesktopIconInfo[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1495. }
  1496. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1497. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1498. _content = $$("div", {
  1499. className: "U_MD_D_KO",
  1500. "onmousedown": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1504. "onclick": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkZJLSStudentDeskIconInfo[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1512. } //
  1513. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1514. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1515. _content = $$("div", {
  1516. className: "U_MD_D_KO",
  1517. "onmousedown": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_ytyStudentDeskIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_ytyStudentDeskIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1529. } //
  1530. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1531. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1532. _content = $$("div", {
  1533. className: "U_MD_D_KO",
  1534. "onmousedown": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_jccssylStudentDeskIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_jccssylStudentDeskIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1546. }
  1547. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1548. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1549. _content = $$("div", {
  1550. className: "U_MD_D_KO",
  1551. "onmousedown": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_caleStudentDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_caleStudentDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1565. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_thuioeStudentDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_thuioeStudentDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1582. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_tpcStudentDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_tpcStudentDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1597. } //
  1598. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1599. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_chjyjStudentDeskIconInfo[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_chjyjStudentDeskIconInfo[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1614. }
  1615. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1616. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_szjkyStudentDeskIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_szjkyStudentDeskIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1633. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_dseiStudentDeskIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_dseiStudentDeskIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1648. }
  1649. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1650. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1665. }
  1666. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1667. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_siesStudentDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_siesStudentDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1682. }
  1683. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1684. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_hkStudentDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_hkStudentDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1699. }
  1700. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1701. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_hkaceStudentDeskIconInfo[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_hkaceStudentDeskIconInfo[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1716. }
  1717. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1718. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_studentDesktopIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_studentDesktopIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1735. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_tcStudentDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_tcStudentDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1752. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_szscStudentDeskIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_szscStudentDeskIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1769. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_studentDesktopIconInfo3[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_studentDesktopIconInfo3[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1784. }
  1785. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1786. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_studentDesktopIconInfo2[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_studentDesktopIconInfo2[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1801. }
  1802. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1803. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_wanketeacherDesktopIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_wanketeacherDesktopIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1820. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_wankeAdminDesktopIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_wankeAdminDesktopIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1837. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_jccssylTeacherDeskIconInfo[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_jccssylTeacherDeskIconInfo[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1852. }
  1853. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1854. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_caleTeacherDeskIconInfo[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_caleTeacherDeskIconInfo[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1869. }
  1870. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1871. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_tpcOrganizerDeskIconInfo[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_tpcOrganizerDeskIconInfo[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1886. }
  1887. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1888. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_tpcTeacherDeskIconInfo[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_tpcTeacherDeskIconInfo[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1903. }
  1904. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1905. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_teacherDesktopIconInfo2[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_teacherDesktopIconInfo2[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1922. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_thuioeTeacherDeskIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_thuioeTeacherDeskIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1937. }
  1938. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1939. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1940. _content = $$("div", {
  1941. className: "U_MD_D_KO",
  1942. "onmousedown": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_lotechTeacherDeskIconInfo[i]]),
  1946. "onclick": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_lotechTeacherDeskIconInfo[i]])
  1950. }, _frag); //
  1951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1954. }//
  1955. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1956. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1957. _content = $$("div", {
  1958. className: "U_MD_D_KO",
  1959. "onmousedown": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1963. "onclick": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1967. }, _frag); //
  1968. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1969. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1970. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1971. }
  1972. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1973. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1974. _content = $$("div", {
  1975. className: "U_MD_D_KO",
  1976. "onmousedown": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_siesTeacherDeskIconInfo[i]]),
  1980. "onclick": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_siesTeacherDeskIconInfo[i]])
  1984. }, _frag); //
  1985. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1986. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1987. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1988. }
  1989. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1990. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1991. _content = $$("div", {
  1992. className: "U_MD_D_KO",
  1993. "onmousedown": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_longhuaTeacherDeskIconInfo[i]]),
  1997. "onclick": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_longhuaTeacherDeskIconInfo[i]])
  2001. }, _frag); //
  2002. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2003. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2004. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2005. }
  2006. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2007. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2008. _content = $$("div", {
  2009. className: "U_MD_D_KO",
  2010. "onmousedown": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_ytyTeacherDeskIconInfo[i]]),
  2014. "onclick": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_ytyTeacherDeskIconInfo[i]])
  2018. }, _frag); //
  2019. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2020. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2021. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2022. }
  2023. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2024. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2025. _content = $$("div", {
  2026. className: "U_MD_D_KO",
  2027. "onmousedown": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2031. "onclick": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_yunhaiTeacherDeskIconInfo[i]])
  2035. }, _frag); //
  2036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2039. } //_hkStudentDeskIconInfo
  2040. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2041. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2042. _content = $$("div", {
  2043. className: "U_MD_D_KO",
  2044. "onmousedown": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2048. "onclick": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2052. }, _frag); //
  2053. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2054. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2055. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2056. }
  2057. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2058. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2059. _content = $$("div", {
  2060. className: "U_MD_D_KO",
  2061. "onmousedown": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_hkTeacherDeskIconInfo[i]]),
  2065. "onclick": U.UF.C.closure(function (obj) {
  2066. //防止拖动图标即打开了桌面应用
  2067. U.MD.D.click(this, obj);
  2068. }, [_hkTeacherDeskIconInfo[i]])
  2069. }, _frag); //
  2070. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2071. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2072. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2073. }
  2074. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2075. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2076. _content = $$("div", {
  2077. className: "U_MD_D_KO",
  2078. "onmousedown": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_hkaceTeacherDeskIconInfo[i]]),
  2082. "onclick": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_hkaceTeacherDeskIconInfo[i]])
  2086. }, _frag); //
  2087. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2088. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2089. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2090. }
  2091. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2092. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2093. _content = $$("div", {
  2094. className: "U_MD_D_KO",
  2095. "onmousedown": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_gdjgAdminDeskIconInfo[i]]),
  2099. "onclick": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_gdjgAdminDeskIconInfo[i]])
  2103. }, _frag); //
  2104. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2105. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2106. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2107. }
  2108. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2109. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2110. _content = $$("div", {
  2111. className: "U_MD_D_KO",
  2112. "onmousedown": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_gdjgTeacherDeskIconInfo[i]]),
  2116. "onclick": U.UF.C.closure(function (obj) {
  2117. //防止拖动图标即打开了桌面应用
  2118. U.MD.D.click(this, obj);
  2119. }, [_gdjgTeacherDeskIconInfo[i]])
  2120. }, _frag); //
  2121. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2122. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2123. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2124. }
  2125. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2126. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2127. _content = $$("div", {
  2128. className: "U_MD_D_KO",
  2129. "onmousedown": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_szherTeacherDeskIconInfo[i]]),
  2133. "onclick": U.UF.C.closure(function (obj) {
  2134. //防止拖动图标即打开了桌面应用
  2135. U.MD.D.click(this, obj);
  2136. }, [_szherTeacherDeskIconInfo[i]])
  2137. }, _frag); //
  2138. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2139. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2140. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2141. }
  2142. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2143. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2144. _content = $$("div", {
  2145. className: "U_MD_D_KO",
  2146. "onmousedown": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_heyuannAdminDeskIconInfo[i]]),
  2150. "onclick": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_heyuannAdminDeskIconInfo[i]])
  2154. }, _frag); //
  2155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2158. }
  2159. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2160. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2161. _content = $$("div", {
  2162. className: "U_MD_D_KO",
  2163. "onmousedown": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_heyuanTeacherDeskIconInfo[i]]),
  2167. "onclick": U.UF.C.closure(function (obj) {
  2168. //防止拖动图标即打开了桌面应用
  2169. U.MD.D.click(this, obj);
  2170. }, [_heyuanTeacherDeskIconInfo[i]])
  2171. }, _frag); //
  2172. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2173. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2174. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2175. } //
  2176. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2177. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2178. _content = $$("div", {
  2179. className: "U_MD_D_KO",
  2180. "onmousedown": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_dseiAdminDeskIconInfo[i]]),
  2184. "onclick": U.UF.C.closure(function (obj) {
  2185. //防止拖动图标即打开了桌面应用
  2186. U.MD.D.click(this, obj);
  2187. }, [_dseiAdminDeskIconInfo[i]])
  2188. }, _frag); //
  2189. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2190. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2191. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2192. }
  2193. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2194. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2195. _content = $$("div", {
  2196. className: "U_MD_D_KO",
  2197. "onmousedown": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_dseiTeacherDeskIconInfo[i]]),
  2201. "onclick": U.UF.C.closure(function (obj) {
  2202. //防止拖动图标即打开了桌面应用
  2203. U.MD.D.click(this, obj);
  2204. }, [_dseiTeacherDeskIconInfo[i]])
  2205. }, _frag); //
  2206. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2207. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2208. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2209. } //
  2210. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2211. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2212. _content = $$("div", {
  2213. className: "U_MD_D_KO",
  2214. "onmousedown": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_chjyjAdminDeskIconInfo[i]]),
  2218. "onclick": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_chjyjAdminDeskIconInfo[i]])
  2222. }, _frag); //
  2223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2226. }//
  2227. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2228. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2229. _content = $$("div", {
  2230. className: "U_MD_D_KO",
  2231. "onmousedown": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_chjyjTeacherDeskIconInfo[i]]),
  2235. "onclick": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_chjyjTeacherDeskIconInfo[i]])
  2239. }, _frag); //
  2240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2243. }
  2244. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2245. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2246. _content = $$("div", {
  2247. className: "U_MD_D_KO",
  2248. "onmousedown": U.UF.C.closure(function (obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_szjkyAdminDeskIconInfo[i]]),
  2252. "onclick": U.UF.C.closure(function (obj) {
  2253. //防止拖动图标即打开了桌面应用
  2254. U.MD.D.click(this, obj);
  2255. }, [_szjkyAdminDeskIconInfo[i]])
  2256. }, _frag); //
  2257. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2258. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2259. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2260. }//
  2261. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2262. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2263. _content = $$("div", {
  2264. className: "U_MD_D_KO",
  2265. "onmousedown": U.UF.C.closure(function (obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_szjkyTeacherDeskIconInfo[i]]),
  2269. "onclick": U.UF.C.closure(function (obj) {
  2270. //防止拖动图标即打开了桌面应用
  2271. U.MD.D.click(this, obj);
  2272. }, [_szjkyTeacherDeskIconInfo[i]])
  2273. }, _frag); //
  2274. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2275. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2276. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2277. }
  2278. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2279. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2280. _content = $$("div", {
  2281. className: "U_MD_D_KO",
  2282. "onmousedown": U.UF.C.closure(function (obj) {
  2283. //防止拖动图标即打开了桌面应用
  2284. U.MD.D.click(this, obj);
  2285. }, [_futianAdminDeskIconInfo[i]]),
  2286. "onclick": U.UF.C.closure(function (obj) {
  2287. //防止拖动图标即打开了桌面应用
  2288. U.MD.D.click(this, obj);
  2289. }, [_futianAdminDeskIconInfo[i]])
  2290. }, _frag); //
  2291. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2292. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2293. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2294. }
  2295. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2296. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2297. _content = $$("div", {
  2298. className: "U_MD_D_KO",
  2299. "onmousedown": U.UF.C.closure(function (obj) {
  2300. //防止拖动图标即打开了桌面应用
  2301. U.MD.D.click(this, obj);
  2302. }, [_futianTeacherDeskIconInfo[i]]),
  2303. "onclick": U.UF.C.closure(function (obj) {
  2304. //防止拖动图标即打开了桌面应用
  2305. U.MD.D.click(this, obj);
  2306. }, [_futianTeacherDeskIconInfo[i]])
  2307. }, _frag); //
  2308. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2309. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2310. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2311. }
  2312. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2313. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2314. _content = $$("div", {
  2315. className: "U_MD_D_KO",
  2316. "onmousedown": U.UF.C.closure(function (obj) {
  2317. //防止拖动图标即打开了桌面应用
  2318. U.MD.D.click(this, obj);
  2319. }, [_MingdeTeacherDeskIcon[i]]),
  2320. "onclick": U.UF.C.closure(function (obj) {
  2321. //防止拖动图标即打开了桌面应用
  2322. U.MD.D.click(this, obj);
  2323. }, [_MingdeTeacherDeskIcon[i]])
  2324. }, _frag); //
  2325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2328. }
  2329. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2330. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2331. _content = $$("div", {
  2332. className: "U_MD_D_KO",
  2333. "onmousedown": U.UF.C.closure(function (obj) {
  2334. //防止拖动图标即打开了桌面应用
  2335. U.MD.D.click(this, obj);
  2336. }, [_lhsAdminDesktopIconInfo[i]]),
  2337. "onclick": U.UF.C.closure(function (obj) {
  2338. //防止拖动图标即打开了桌面应用
  2339. U.MD.D.click(this, obj);
  2340. }, [_lhsAdminDesktopIconInfo[i]])
  2341. }, _frag); //
  2342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2345. }
  2346. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2347. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2348. _content = $$("div", {
  2349. className: "U_MD_D_KO",
  2350. "onmousedown": U.UF.C.closure(function (obj) {
  2351. //防止拖动图标即打开了桌面应用
  2352. U.MD.D.click(this, obj);
  2353. }, [_lhsteacherDesktopIconInfo[i]]),
  2354. "onclick": U.UF.C.closure(function (obj) {
  2355. //防止拖动图标即打开了桌面应用
  2356. U.MD.D.click(this, obj);
  2357. }, [_lhsteacherDesktopIconInfo[i]])
  2358. }, _frag); //
  2359. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2360. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2361. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2362. }
  2363. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2364. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2365. _content = $$("div", {
  2366. className: "U_MD_D_KO",
  2367. "onmousedown": U.UF.C.closure(function (obj) {
  2368. //防止拖动图标即打开了桌面应用
  2369. U.MD.D.click(this, obj);
  2370. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2371. "onclick": U.UF.C.closure(function (obj) {
  2372. //防止拖动图标即打开了桌面应用
  2373. U.MD.D.click(this, obj);
  2374. }, [_zhoujiateacherDesktopIconInfo[i]])
  2375. }, _frag); //
  2376. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2377. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2378. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2379. }
  2380. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2381. for (i = 0; i < _hanDeskIcon.length; i++) {
  2382. _content = $$("div", {
  2383. className: "U_MD_D_KO",
  2384. "onmousedown": U.UF.C.closure(function (obj) {
  2385. //防止拖动图标即打开了桌面应用
  2386. U.MD.D.click(this, obj);
  2387. }, [_hanDeskIcon[i]]),
  2388. "onclick": U.UF.C.closure(function (obj) {
  2389. //防止拖动图标即打开了桌面应用
  2390. U.MD.D.click(this, obj);
  2391. }, [_hanDeskIcon[i]])
  2392. }, _frag); //
  2393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2396. }
  2397. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2398. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2399. _content = $$("div", {
  2400. className: "U_MD_D_KO",
  2401. "onmousedown": U.UF.C.closure(function (obj) {
  2402. //防止拖动图标即打开了桌面应用
  2403. U.MD.D.click(this, obj);
  2404. }, [_orgStemDeskIcon[i]]),
  2405. "onclick": U.UF.C.closure(function (obj) {
  2406. //防止拖动图标即打开了桌面应用
  2407. U.MD.D.click(this, obj);
  2408. }, [_orgStemDeskIcon[i]])
  2409. }, _frag); //
  2410. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2411. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2412. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2413. }
  2414. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2415. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2416. _content = $$("div", {
  2417. className: "U_MD_D_KO",
  2418. "onmousedown": U.UF.C.closure(function (obj) {
  2419. //防止拖动图标即打开了桌面应用
  2420. U.MD.D.click(this, obj);
  2421. }, [_szulsDeskIcon[i]]),
  2422. "onclick": U.UF.C.closure(function (obj) {
  2423. //防止拖动图标即打开了桌面应用
  2424. U.MD.D.click(this, obj);
  2425. }, [_szulsDeskIcon[i]])
  2426. }, _frag); //
  2427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2430. }
  2431. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2432. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2433. _content = $$("div", {
  2434. className: "U_MD_D_KO",
  2435. "onmousedown": U.UF.C.closure(function (obj) {
  2436. //防止拖动图标即打开了桌面应用
  2437. U.MD.D.click(this, obj);
  2438. }, [_orgDesktopIconInfo[i]]),
  2439. "onclick": U.UF.C.closure(function (obj) {
  2440. //防止拖动图标即打开了桌面应用
  2441. U.MD.D.click(this, obj);
  2442. }, [_orgDesktopIconInfo[i]])
  2443. }, _frag); //
  2444. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2445. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2446. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2447. }
  2448. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2449. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2450. _content = $$("div", {
  2451. className: "U_MD_D_KO",
  2452. "onmousedown": U.UF.C.closure(function (obj) {
  2453. //防止拖动图标即打开了桌面应用
  2454. U.MD.D.click(this, obj);
  2455. }, [_schoolDesktopIconInfo[i]]),
  2456. "onclick": U.UF.C.closure(function (obj) {
  2457. //防止拖动图标即打开了桌面应用
  2458. U.MD.D.click(this, obj);
  2459. }, [_schoolDesktopIconInfo[i]])
  2460. }, _frag); //
  2461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2464. }
  2465. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2466. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2467. _content = $$("div", {
  2468. className: "U_MD_D_KO",
  2469. "onmousedown": U.UF.C.closure(function (obj) {
  2470. //防止拖动图标即打开了桌面应用
  2471. U.MD.D.click(this, obj);
  2472. }, [_GMteacherDesktopIconInfo[i]]),
  2473. "onclick": U.UF.C.closure(function (obj) {
  2474. //防止拖动图标即打开了桌面应用
  2475. U.MD.D.click(this, obj);
  2476. }, [_GMteacherDesktopIconInfo[i]])
  2477. }, _frag); //
  2478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2481. }
  2482. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2483. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2484. _content = $$("div", {
  2485. className: "U_MD_D_KO",
  2486. "onmousedown": U.UF.C.closure(function (obj) {
  2487. //防止拖动图标即打开了桌面应用
  2488. U.MD.D.click(this, obj);
  2489. }, [_SONGteacherDesktopIconInfo[i]]),
  2490. "onclick": U.UF.C.closure(function (obj) {
  2491. //防止拖动图标即打开了桌面应用
  2492. U.MD.D.click(this, obj);
  2493. }, [_SONGteacherDesktopIconInfo[i]])
  2494. }, _frag); //
  2495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2498. }
  2499. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2500. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2501. _content = $$("div", {
  2502. className: "U_MD_D_KO",
  2503. "onmousedown": U.UF.C.closure(function (obj) {
  2504. //防止拖动图标即打开了桌面应用
  2505. U.MD.D.click(this, obj);
  2506. }, [_GMstudentDesktopIconInfo[i]]),
  2507. "onclick": U.UF.C.closure(function (obj) {
  2508. //防止拖动图标即打开了桌面应用
  2509. U.MD.D.click(this, obj);
  2510. }, [_GMstudentDesktopIconInfo[i]])
  2511. }, _frag); //
  2512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2515. }
  2516. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2517. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2518. _content = $$("div", {
  2519. className: "U_MD_D_KO",
  2520. "onmousedown": U.UF.C.closure(function (obj) {
  2521. //防止拖动图标即打开了桌面应用
  2522. U.MD.D.click(this, obj);
  2523. }, [_tcTeacherDeskIconInfo[i]]),
  2524. "onclick": U.UF.C.closure(function (obj) {
  2525. //防止拖动图标即打开了桌面应用
  2526. U.MD.D.click(this, obj);
  2527. }, [_tcTeacherDeskIconInfo[i]])
  2528. }, _frag); //
  2529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2532. }
  2533. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2534. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2535. _content = $$("div", {
  2536. className: "U_MD_D_KO",
  2537. "onmousedown": U.UF.C.closure(function (obj) {
  2538. //防止拖动图标即打开了桌面应用
  2539. U.MD.D.click(this, obj);
  2540. }, [_tcOrganizerDeskIconInfo[i]]),
  2541. "onclick": U.UF.C.closure(function (obj) {
  2542. //防止拖动图标即打开了桌面应用
  2543. U.MD.D.click(this, obj);
  2544. }, [_tcOrganizerDeskIconInfo[i]])
  2545. }, _frag); //
  2546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2549. }
  2550. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2551. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2552. _content = $$("div", {
  2553. className: "U_MD_D_KO",
  2554. "onmousedown": U.UF.C.closure(function (obj) {
  2555. //防止拖动图标即打开了桌面应用
  2556. U.MD.D.click(this, obj);
  2557. }, [_szscTeacherDeskIconInfo[i]]),
  2558. "onclick": U.UF.C.closure(function (obj) {
  2559. //防止拖动图标即打开了桌面应用
  2560. U.MD.D.click(this, obj);
  2561. }, [_szscTeacherDeskIconInfo[i]])
  2562. }, _frag); //
  2563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2566. }
  2567. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2568. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2569. _content = $$("div", {
  2570. className: "U_MD_D_KO",
  2571. "onmousedown": U.UF.C.closure(function (obj) {
  2572. //防止拖动图标即打开了桌面应用
  2573. U.MD.D.click(this, obj);
  2574. }, [_szscOrganizerDeskIconInfo[i]]),
  2575. "onclick": U.UF.C.closure(function (obj) {
  2576. //防止拖动图标即打开了桌面应用
  2577. U.MD.D.click(this, obj);
  2578. }, [_szscOrganizerDeskIconInfo[i]])
  2579. }, _frag); //
  2580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2583. }
  2584. } else {
  2585. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2586. _content = $$("div", {
  2587. className: "U_MD_D_KO",
  2588. "onmousedown": U.UF.C.closure(function (obj) {
  2589. //防止拖动图标即打开了桌面应用
  2590. U.MD.D.click(this, obj);
  2591. }, [_teacherDesktopIconInfo[i]]),
  2592. "onclick": U.UF.C.closure(function (obj) {
  2593. //防止拖动图标即打开了桌面应用
  2594. U.MD.D.click(this, obj);
  2595. }, [_teacherDesktopIconInfo[i]])
  2596. }, _frag); //
  2597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2600. }
  2601. }
  2602. } else {
  2603. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2604. _content = $$("div", {
  2605. className: "U_MD_D_KO",
  2606. style: { 'width': '124px', 'height': '145px' },
  2607. "onmousedown": U.UF.C.closure(function (obj) {
  2608. //防止拖动图标即打开了桌面应用
  2609. U.MD.D.click(this, obj);
  2610. }, [_easyDesktopIconInfo[i]]),
  2611. "onclick": U.UF.C.closure(function (obj) {
  2612. //防止拖动图标即打开了桌面应用
  2613. U.MD.D.click(this, obj);
  2614. }, [_easyDesktopIconInfo[i]])
  2615. }, _frag); //
  2616. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2617. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2618. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2619. }
  2620. }
  2621. if (type == 1) {
  2622. //加载好后给图标定位
  2623. U.MD.D.iconPostion($(_frag).Child());
  2624. } else {
  2625. //加载好后给图标定位
  2626. U.MD.D.iconPostion2($(_frag).Child());
  2627. }
  2628. //把图标加载到页面
  2629. el.appendChild(_frag);
  2630. }
  2631. /**
  2632. * 显示任务栏
  2633. *
  2634. * @param {element} 桌面元素
  2635. */
  2636. U.MD.D.I.displayTaskbar = function (el) {
  2637. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2638. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2639. //任务栏位置变化
  2640. U.selectEl(el).css({ "bottom": "0px" });
  2641. //桌面位置变话
  2642. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2643. }
  2644. }
  2645. //#region 桌面图标拖动逻辑
  2646. /**
  2647. * 桌面排列图标
  2648. *
  2649. * @param {element} 桌面元素
  2650. * @param {object} 上下相距的距离
  2651. * @param {object} 左右相距的距离
  2652. * @return {object} 命名空间
  2653. */
  2654. U.MD.D.iconPostion = function (childs, top, left) {
  2655. var i; //用于循环处理
  2656. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2657. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2658. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2659. for (i = 0; i < childs.length; i++) {
  2660. //如果竖排top超过了范围处理
  2661. if (top + 95 > US.height - 10) {
  2662. //left超过了页面范围处理,则向上重叠打印处理
  2663. if ((left + 180) > US.width) {
  2664. top -= 110;
  2665. left -= 90;
  2666. }
  2667. //没有超过范围,那么left+90添加到下一个竖排打印
  2668. else {
  2669. left += 90;
  2670. top = 15;
  2671. };
  2672. }
  2673. //给图标的位置赋值
  2674. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2675. if (i < childs.length - 1) {
  2676. //页面图标每次向下加95
  2677. top += 95;
  2678. }
  2679. }
  2680. //返回最后调用的图标的位置
  2681. return [top, left];
  2682. }
  2683. /**
  2684. * 桌面排列图标
  2685. *
  2686. * @param {element} 桌面元素
  2687. * @param {object} 上下相距的距离
  2688. * @param {object} 左右相距的距离
  2689. * @return {object} 命名空间
  2690. */
  2691. U.MD.D.iconPostion2 = function (childs, top, left) {
  2692. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2693. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2694. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2695. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2696. for (i = 0; i < childs.length; i++) {
  2697. //如果竖排top超过了范围处理
  2698. if (left + 150 > US.width - 10) {
  2699. //left超过了页面范围处理,则向上重叠打印处理
  2700. if ((top + 180) > US.Height) {
  2701. top -= 150;
  2702. left -= 150;
  2703. }
  2704. //没有超过范围,那么left+90添加到下一个竖排打印
  2705. else {
  2706. top += 150;
  2707. left = ol;
  2708. };
  2709. }
  2710. //给图标的位置赋值
  2711. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2712. if (i < childs.length - 1) {
  2713. //页面图标每次向下加95
  2714. left += 150;
  2715. }
  2716. }
  2717. //返回最后调用的图标的位置
  2718. return [top, left];
  2719. }
  2720. /**
  2721. * 桌面点击事件逻辑
  2722. *
  2723. * @param {element} 桌面元素
  2724. * @param {object} 上下相距的距离
  2725. * @param {object} 左右相距的距离
  2726. * @return {object} 命名空间
  2727. */
  2728. U.MD.D.click = function (el, obj) {
  2729. var _buttonnumber = event.button; //点击的按钮的事件值
  2730. var _userinfo = US.userInfo;
  2731. U.UF.EV.stopBubble(); //阻止向上冒泡
  2732. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2733. if (_buttonnumber < 2) {
  2734. //如果是click事件的处理
  2735. if (event.type == "click") {
  2736. //如果元素在mousemove事件中没有移动则出发click事件
  2737. if (!U.MD.D.I.IsDrag) {
  2738. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2739. U.alert("请先登录您的账号!");
  2740. setTimeout(() => {
  2741. U.MD.U.L.login();
  2742. }, 2000);
  2743. } else {
  2744. //打开应用处理
  2745. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2746. }
  2747. }
  2748. }
  2749. //如果是mouse事件的处理
  2750. else {
  2751. if (US.Config.type == '1') {
  2752. //拖动处理,添加拖动和拖动结束事件
  2753. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2754. }
  2755. }
  2756. U.MD.D.I.IsDrag = false;
  2757. }
  2758. }
  2759. /**
  2760. * 拖动的处理
  2761. *
  2762. */
  2763. U.MD.D.iconMove = function () {
  2764. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2765. U.MD.D.I.IsDrag = true;
  2766. }
  2767. /**
  2768. * 拖动结束后,这里是定位处理,以网状的形式定位
  2769. *
  2770. * @param {element} 拖动的元素
  2771. * @return {object} 命名空间
  2772. */
  2773. U.MD.D.iconUp = function (el) {
  2774. var _top = 15,
  2775. _left = 20,
  2776. _margin,
  2777. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2778. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2779. if (_positioninfo["OT"] > 15) {
  2780. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2781. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2782. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2783. }
  2784. if (_positioninfo["OL"] > 20) {
  2785. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2786. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2787. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2788. }
  2789. //while循环判断么一个重叠的元素
  2790. do {
  2791. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2792. _top = _positioninfo[0] + 95; //得到定位后的top
  2793. _left = _positioninfo[1]; //得到定位后的left
  2794. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2795. }
  2796. /**
  2797. * 判断拖动后图标是否重叠
  2798. *
  2799. * @param {element} 拖动的元素
  2800. * @param {element} 桌面所有的元素
  2801. * @param {array} 拖动元素的位置
  2802. ----------[0] 上 top
  2803. ----------[1] 左 left
  2804. * @return {object} 命名空间
  2805. */
  2806. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2807. //循环所有的图标
  2808. for (var i = 0; i < childs.length; i++) {
  2809. //判断有没有和该图标诶子重叠的元素
  2810. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2811. return childs[i]; //如果有返回
  2812. }
  2813. }
  2814. }
  2815. //#endregion
  2816. //#endregion
  2817. //#region 桌面应用
  2818. /**
  2819. * 打开应用
  2820. *
  2821. * @param {string} 类型
  2822. -----------------Disk 网盘系统
  2823. -----------------PDisk 学习系统网盘
  2824. -----------------Poto 图片
  2825. -----------------Video 视频
  2826. -----------------Music 音乐
  2827. -----------------Word word
  2828. -----------------Excel excel
  2829. -----------------Txt 记事本
  2830. -----------------PB 学习系统
  2831. -----------------Blog 朋友圈系统
  2832. -----------------FTP ftp系统
  2833. -----------------Group 好友群
  2834. -----------------SY 首页系统
  2835. -----------------Set 个人设置
  2836. -----------------XSet 系统设置
  2837. -----------------App 我们所有的app
  2838. -----------------BC c.1473.cn 平台
  2839. -----------------CWeb d.1473.cn 变成平台
  2840. -----------------其他的外联系统 我们统一用iframe打开
  2841. * @param {array} 类型
  2842. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2843. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2844. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2845. 如果第一个参数为其他,则无第二个参数
  2846. * @returns {array}
  2847. */
  2848. window.addEventListener('message', function (e) { // 监听 message 事件
  2849. // alert(e.data.type);
  2850. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2851. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2852. //3是展示全部阶段 2学生 1老师 4专家
  2853. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2854. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2855. //3是展示全部阶段 2学生 1老师 4专家
  2856. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2857. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2858. //3是展示全部阶段 2学生 1老师 4专家
  2859. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2860. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2861. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2862. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2863. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2864. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2865. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2866. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2867. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2868. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2869. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2870. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2871. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2872. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2873. //3是展示全部阶段 2学生 1老师 4专家
  2874. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2875. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2876. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2877. U.MD.D.I.selectUser();
  2878. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2879. var _formel = document.getElementById("study");
  2880. U.UF.F.windowZooming(_formel);
  2881. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2882. var _formel = document.getElementById("studyDetail");
  2883. U.UF.F.windowZooming(_formel);
  2884. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2885. var _formel = document.getElementById("studyDetail");
  2886. U.UF.F.windowZooming(_formel);
  2887. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2888. var _formel = document.getElementById("studentStudy");
  2889. U.UF.F.windowZooming(_formel);
  2890. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2891. // var _formel = document.getElementById("study");
  2892. //如果最大化了,那么就把他缩小
  2893. // if (_formel.ismaximize) {
  2894. // return;
  2895. // }
  2896. // U.UF.F.windowZooming(_formel);
  2897. // U.UF.F.topWindow(_formel);
  2898. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2899. // var _formel = document.getElementById("studyDetail");
  2900. //如果最大化了,那么就把他缩小
  2901. // if (_formel.ismaximize) {
  2902. // return;
  2903. // }
  2904. // U.UF.F.windowZooming(_formel);
  2905. // U.UF.F.topWindow(_formel);
  2906. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2907. // var _formel = document.getElementById("studentStudy");
  2908. // if (_formel.ismaximize) {
  2909. // return;
  2910. // }
  2911. // U.UF.F.windowZooming(_formel);
  2912. // U.UF.F.topWindow(_formel);
  2913. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2914. var _formel = document.getElementById("study");
  2915. // if (_formel.ismaximize) {
  2916. // return;
  2917. // }
  2918. // U.UF.F.windowZooming(_formel);
  2919. U.UF.F.topWindow(_formel);
  2920. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2921. var _formel = document.getElementById("studentIndex");
  2922. U.UF.F.windowZooming(_formel);
  2923. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2924. var _formel = document.getElementById("studyDetailS");
  2925. U.UF.F.windowZooming(_formel);
  2926. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2927. var _formel = document.getElementById("studioIndex");
  2928. U.UF.F.windowZooming(_formel);
  2929. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2930. var _formel = document.getElementById("studyDetailStudio");
  2931. U.UF.F.windowZooming(_formel);
  2932. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2933. var _formel = document.getElementById("studyDetailStudio");
  2934. U.UF.F.windowZooming(_formel);
  2935. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2936. var _formel = document.getElementById("studyDetailNT");
  2937. U.UF.F.windowZooming(_formel);
  2938. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2939. var _formel = document.getElementById("studyDetailS");
  2940. U.UF.F.windowZooming(_formel);
  2941. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2942. var _formel = document.getElementById("studyDetailS");
  2943. U.UF.F.topWindow(_formel);
  2944. } else if (e.data.tools && e.data.tools == "1") {
  2945. // U.MD.D.I.openApplication("whiteboard")
  2946. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2947. } else if (e.data.tools && e.data.tools == "2") {
  2948. U.MD.D.I.openApplication("note")
  2949. } else if (e.data.tools && e.data.tools == "3") {
  2950. // U.MD.D.I.openApplication("mind")
  2951. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2952. } else if (e.data.tools && e.data.tools == "4") {
  2953. U.MD.D.I.openApplication("investigation")
  2954. } else if (e.data.tools && e.data.tools == "6") {
  2955. // U.MD.D.I.openApplication("doc")
  2956. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2957. } else if (e.data.tools && e.data.tools == "7") {
  2958. // U.MD.D.I.openApplication("mindNetwork")
  2959. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2960. } else if (e.data.tools && e.data.tools == "8") {
  2961. U.MD.D.I.openApplication("library")
  2962. } else if (e.data.tools && e.data.tools == "17") {
  2963. U.MD.D.I.openApplication("stuLibrary")
  2964. } else if (e.data.tools && e.data.tools == "18") {
  2965. U.MD.D.I.openApplication("train")
  2966. } else if (e.data.tools && e.data.tools == "21") {
  2967. U.MD.D.I.openApplication("program")
  2968. } else if (e.data.tools && e.data.tools == "22") {
  2969. U.MD.D.I.openApplication("AIprogram2")
  2970. } else if (e.data.tools && e.data.tools == "23") {
  2971. U.MD.D.I.openApplication("Pythonprogram")
  2972. } else if (e.data.tools && e.data.tools == "24") {
  2973. U.MD.D.I.openApplication("AIprogram")
  2974. } else if (e.data.tools && e.data.tools == "25") {
  2975. U.MD.D.I.openApplication("sys")
  2976. } else if (e.data.tools && e.data.tools == "26") {
  2977. // U.MD.D.I.openApplication("courseDesign")
  2978. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2979. } else if (e.data.tools && e.data.tools == "31") {
  2980. U.MD.D.I.openApplication("netWorkPanel")
  2981. } else if (e.data.tools && e.data.tools == "32") {
  2982. U.MD.D.I.openApplication("codeEdit")
  2983. } else if (e.data.tools && e.data.tools == "57") {
  2984. U.MD.D.I.openApplication("CocoPi")
  2985. } else if (e.data.tools && e.data.tools == "63") {
  2986. U.MD.D.I.openApplication("Wood")
  2987. } else if (e.data.tools && e.data.tools == "58") {
  2988. U.MD.D.I.openApplication("car")
  2989. } else if (e.data.tools && e.data.tools == "59") {
  2990. U.MD.D.I.openApplication("lineSearch")
  2991. } else if (e.data.tools && e.data.tools == "60") {
  2992. U.MD.D.I.openApplication("deepLearning")
  2993. } else if (e.data.tools && e.data.tools == "61") {
  2994. U.MD.D.I.openApplication("allHistory")
  2995. } else if (e.data.tools && e.data.tools == "28") {
  2996. U.MD.D.I.openApplication("translation")
  2997. } else if (e.data.tools && e.data.tools == "37") {
  2998. U.MD.D.I.openApplication("mohe")
  2999. } else if (e.data.tools && e.data.tools == "38") {
  3000. U.MD.D.I.openApplication("24game")
  3001. } else if (e.data.tools && e.data.tools == "39") {
  3002. U.MD.D.I.openApplication("GeoGebra")
  3003. } else if (e.data.tools && e.data.tools == "43") {
  3004. U.MD.D.I.openApplication("studentEvaluate")
  3005. } else if (e.data.tools && e.data.tools == "44") {
  3006. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3007. } else if (e.data.tools && e.data.tools == "46") {
  3008. U.MD.D.I.openApplication("project")
  3009. } else if (e.data.tools && e.data.tools == "1s") {
  3010. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3011. } else if (e.data.tools && e.data.tools == "3s") {
  3012. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3013. } else if (e.data.tools && e.data.tools == "6s") {
  3014. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3015. } else if (e.data.tools && e.data.tools == "1studio") {
  3016. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3017. } else if (e.data.tools && e.data.tools == "3studio") {
  3018. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3019. } else if (e.data.tools && e.data.tools == "6studio") {
  3020. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3021. } else if (e.data.tools && e.data.tools == "3y") {
  3022. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3023. } else if (e.data.tools && e.data.tools == "1y") {
  3024. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3025. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3026. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3027. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3028. U.MD.D.I.openApplication("AIAnalyse")
  3029. } else if (e.data.tools && e.data.tools == "1teacher") {
  3030. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3031. } else if (e.data.tools && e.data.tools == "3teacher") {
  3032. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3033. } else if (e.data.tools && e.data.tools == "7teacher") {
  3034. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3035. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3036. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3037. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3038. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3039. } else if (e.data.tools && e.data.tools == "1E") {
  3040. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3041. } else if (e.data.tools && e.data.tools == "3E") {
  3042. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3043. } else if (e.data.tools && e.data.tools == "57y") {
  3044. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3045. } else if (e.data.tools && e.data.tools == "57u") {
  3046. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3047. } else if (e.data.tools && e.data.tools == "57teacher") {
  3048. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3049. } else if (e.data.tools && e.data.tools == "64") {
  3050. U.MD.D.I.openApplication("AIChat")
  3051. } else if (e.data.tools && e.data.tools == "66") {
  3052. U.MD.D.I.openApplication("formulaEdi")
  3053. } else if (e.data.tools && e.data.tools == "67") {
  3054. U.MD.D.I.openApplication("molStr")
  3055. } else if (e.data.tools && e.data.tools == "68") {
  3056. U.MD.D.I.openApplication("timeAxis")
  3057. } else if (e.data.tools && e.data.tools == "openCourse") {
  3058. let _data = {
  3059. typea: e.data.typea || '',
  3060. typeb: e.data.typeb || '',
  3061. typed: e.data.typed || '',
  3062. }
  3063. U.MD.D.I.openInApplication("index", _data)
  3064. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3065. let _data = {
  3066. classid: e.data.classid || '',
  3067. }
  3068. U.MD.D.I.openInApplication("dataClass", _data)
  3069. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3070. let _data = {
  3071. cid: e.data.cid || '',
  3072. gid: e.data.gid || '',
  3073. }
  3074. U.MD.D.I.openInApplication("opencCscl", _data)
  3075. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3076. U.MD.D.I.openApplication("dataBoardTest")
  3077. }
  3078. });
  3079. U.MD.D.I.selectUser = function () {
  3080. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3081. if (res.value[0].length > 0) {
  3082. US.userInfo = res.value[0][0];
  3083. $(".userName")[0].innerHTML = US.userInfo.username;
  3084. }
  3085. }, [], { "type": "GET", "withCredentials": true });
  3086. }
  3087. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3088. var _userinfo = US.userInfo, //登录用户信息
  3089. _userid = US.userInfo.userid, //登录用户id
  3090. _oid = _userinfo.organizeid,
  3091. _type = US.userInfo.type,
  3092. _org = US.userInfo.org,
  3093. _role = US.userInfo.role,
  3094. _classId = US.userInfo.classid;
  3095. if (_type == 4) {
  3096. tType = 4
  3097. }
  3098. switch (str) {
  3099. case "studyDetailNT": //无终端模式
  3100. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3101. setTimeout(() => {
  3102. U.MD.U.L.login();
  3103. }, 2000);
  3104. } else {
  3105. _formdiv = new U.UF.UI.form(
  3106. "课程详情",
  3107. $$("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 }), {
  3108. "id": "studyDetailNT",
  3109. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3110. "onresize": function () { }
  3111. }, {
  3112. closecallback: function () { }
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. break;
  3116. }
  3117. case "studyDetail":
  3118. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3119. setTimeout(() => {
  3120. U.MD.U.L.login();
  3121. }, 2000);
  3122. } else {
  3123. _formdiv = new U.UF.UI.form(
  3124. "课程详情",
  3125. $$("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 }), {
  3126. "id": "studyDetail",
  3127. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3128. "onresize": function () { }
  3129. }, {
  3130. closecallback: function () { }
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _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); } }
  3133. break;
  3134. }
  3135. case "studyDetailTrain":
  3136. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3137. setTimeout(() => {
  3138. U.MD.U.L.login();
  3139. }, 2000);
  3140. } else {
  3141. _formdiv = new U.UF.UI.form(
  3142. "培训详情",
  3143. $$("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/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3144. "id": "studyDetailTrain",
  3145. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _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); } }
  3151. break;
  3152. }
  3153. case "studyDetailS":
  3154. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3155. setTimeout(() => {
  3156. U.MD.U.L.login();
  3157. }, 2000);
  3158. } else {
  3159. _formdiv = new U.UF.UI.form(
  3160. "项目详情",
  3161. $$("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 }), {
  3162. "id": "studyDetailS",
  3163. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3164. "onresize": function () { }
  3165. }, {
  3166. closecallback: function () { }
  3167. }, { "style": { "height": "36px" } }).form; //创建窗体
  3168. _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); } }
  3169. break;
  3170. }
  3171. case "studyDetailStudio":
  3172. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3173. setTimeout(() => {
  3174. U.MD.U.L.login();
  3175. }, 2000);
  3176. } else {
  3177. _formdiv = new U.UF.UI.form(
  3178. "工作详情",
  3179. $$("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 }), {
  3180. "id": "studyDetailStudio",
  3181. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. }
  3189. case "studyDetailS5":
  3190. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3191. setTimeout(() => {
  3192. U.MD.U.L.login();
  3193. }, 2000);
  3194. } else {
  3195. _formdiv = new U.UF.UI.form(
  3196. "项目详情",
  3197. $$("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 }), {
  3198. "id": "studyDetailS",
  3199. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3200. "onresize": function () { }
  3201. }, {
  3202. closecallback: function () { }
  3203. }, { "style": { "height": "36px" } }).form; //创建窗体
  3204. _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); } }
  3205. break;
  3206. }
  3207. case "studyDetailGM":
  3208. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3209. setTimeout(() => {
  3210. U.MD.U.L.login();
  3211. }, 2000);
  3212. } else {
  3213. _formdiv = new U.UF.UI.form(
  3214. "课程详情",
  3215. $$("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 }), {
  3216. "id": "studyDetail",
  3217. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. }
  3225. case "hanUrl":
  3226. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3227. setTimeout(() => {
  3228. U.MD.U.L.login();
  3229. }, 2000);
  3230. } else {
  3231. _formdiv = new U.UF.UI.form(
  3232. "汉字宫",
  3233. $$("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" }), {
  3234. "id": "hanUrl",
  3235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3236. "onresize": function () { }
  3237. }, {
  3238. closecallback: function () { }
  3239. }, { "style": { "height": "36px" } }).form; //创建窗体
  3240. _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); } }
  3241. break;
  3242. }
  3243. case "index":
  3244. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3245. setTimeout(() => {
  3246. U.MD.U.L.login();
  3247. }, 2000);
  3248. } else {
  3249. _formdiv = new U.UF.UI.form(
  3250. "课程中心",
  3251. $$("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 }), {
  3252. "id": "study",
  3253. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. }
  3261. case "dataClass":
  3262. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3263. setTimeout(() => {
  3264. U.MD.U.L.login();
  3265. }, 2000);
  3266. } else {
  3267. _formdiv = new U.UF.UI.form(
  3268. "数据报告",
  3269. $$("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 }), {
  3270. "id": "dataClass",
  3271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3272. "onresize": function () { }
  3273. }, {
  3274. closecallback: function () { }
  3275. }, { "style": { "height": "36px" } }).form; //创建窗体
  3276. _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); } }
  3277. break;
  3278. }
  3279. case "opencCscl":
  3280. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3281. setTimeout(() => {
  3282. U.MD.U.L.login();
  3283. }, 2000);
  3284. } else {
  3285. _formdiv = new U.UF.UI.form(
  3286. "协同建构",
  3287. $$("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://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3288. "id": "futureClass",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _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); } }
  3295. break;
  3296. }
  3297. case "openCourseUpdate":
  3298. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3299. setTimeout(() => {
  3300. U.MD.U.L.login();
  3301. }, 2000);
  3302. } else {
  3303. _formdiv = new U.UF.UI.form(
  3304. "课程管理",
  3305. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3306. "id": "openCourseUpdate",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3313. break;
  3314. }
  3315. case "openCourseEUpdate":
  3316. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3317. setTimeout(() => {
  3318. U.MD.U.L.login();
  3319. }, 2000);
  3320. } else {
  3321. _formdiv = new U.UF.UI.form(
  3322. "课程管理",
  3323. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3324. "id": "openCourseUpdate",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function () { }
  3327. }, {
  3328. closecallback: function () { }
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. }
  3333. }
  3334. }
  3335. U.MD.D.I.openApplication = function (str, obj, info) {
  3336. obj = obj || {};
  3337. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3338. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3339. _userinfo = US.userInfo, //登录用户信息
  3340. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3341. _oid = obj.organizeid || _userinfo.organizeid,
  3342. _type = US.userInfo.type,
  3343. _org = US.userInfo.org,
  3344. _role = US.userInfo.role,
  3345. _classId = US.userInfo.classid,
  3346. _TscreenType = 1
  3347. _screenType = 2,
  3348. _SscreenType = 3;
  3349. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3350. return;
  3351. }
  3352. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3353. switch (str) {
  3354. case "studnetProject": //好友打开
  3355. _formdiv = new U.UF.UI.form(
  3356. "我的项目",
  3357. $$("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 }), {
  3358. "id": "studnetProject",
  3359. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3360. "onresize": function () { }
  3361. }, {
  3362. closecallback: function () { }
  3363. }, { "style": { "height": "36px" } }).form; //创建窗体
  3364. _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); } }
  3365. break;
  3366. case "studentEvaluate": //好友打开
  3367. _formdiv = new U.UF.UI.form(
  3368. "我的评价",
  3369. $$("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 }), {
  3370. "id": "studentEvaluate",
  3371. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. case "my":
  3379. _formdiv = new U.UF.UI.form(
  3380. "我的资料",
  3381. $$("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 }), {
  3382. "id": "my",
  3383. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3384. "onresize": function () { }
  3385. }, {
  3386. closecallback: function () { }
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _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); } }
  3389. break;
  3390. case "program":
  3391. _formdiv = new U.UF.UI.form(
  3392. "编程平台",
  3393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3394. "id": "program",
  3395. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "library":
  3403. _formdiv = new U.UF.UI.form(
  3404. "素材库",
  3405. $$("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 }), {
  3406. "id": "library",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "whiteboard":
  3415. _formdiv = new U.UF.UI.form(
  3416. "电子白板",
  3417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3418. "id": "whiteboard",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "investigation":
  3427. _formdiv = new U.UF.UI.form(
  3428. "问卷调查",
  3429. $$("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 }), {
  3430. "id": "investigation",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "note":
  3439. _formdiv = new U.UF.UI.form(
  3440. "便签分类",
  3441. $$("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 }), {
  3442. "id": "note",
  3443. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. // case "score":
  3451. // _formdiv = new U.UF.UI.form(
  3452. // "量规评分",
  3453. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3454. // "id": "score",
  3455. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. // "onresize": function() {}
  3457. // }, {
  3458. // closecallback: function() {}
  3459. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. // _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); } }
  3461. // break;
  3462. case "mind":
  3463. _formdiv = new U.UF.UI.form(
  3464. "思维导图",
  3465. $$("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"
  3466. "id": "mind",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "doc":
  3475. // U.MD.D.I.isRoom();
  3476. _formdiv = new U.UF.UI.form(
  3477. "协同文档",
  3478. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3479. "id": "doc",
  3480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3486. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3487. // })
  3488. _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); } }
  3489. break;
  3490. case "studentStudy":
  3491. _formdiv = new U.UF.UI.form(
  3492. "课程中心",
  3493. $$("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
  3494. "id": "studentStudy",
  3495. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "train": //好友打开
  3503. _formdiv = new U.UF.UI.form(
  3504. "训练平台",
  3505. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3506. "id": "train",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. case "mindNetwork": //好友打开
  3515. _formdiv = new U.UF.UI.form(
  3516. "思维网格",
  3517. $$("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 }), {
  3518. "id": "mindNetwork",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "studentClassRoom": //好友打开
  3527. _formdiv = new U.UF.UI.form(
  3528. "实时课堂",
  3529. $$("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 }), {
  3530. "id": "studentClassRoom",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. setTimeout(() => {
  3538. U.UF.F.windowZooming(_formdiv)
  3539. }, 0);
  3540. break;
  3541. }
  3542. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3543. switch (str) {
  3544. case "studnetProject": //好友打开
  3545. _formdiv = new U.UF.UI.form(
  3546. "我的项目",
  3547. $$("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 }), {
  3548. "id": "studnetProject",
  3549. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function () { }
  3551. }, {
  3552. closecallback: function () { }
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break;
  3556. case "studentEvaluate": //好友打开
  3557. _formdiv = new U.UF.UI.form(
  3558. "我的评价",
  3559. $$("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 }), {
  3560. "id": "studentEvaluate",
  3561. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { }
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. case "my":
  3569. _formdiv = new U.UF.UI.form(
  3570. "我的资料",
  3571. $$("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 }), {
  3572. "id": "my",
  3573. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3574. "onresize": function () { }
  3575. }, {
  3576. closecallback: function () { }
  3577. }, { "style": { "height": "36px" } }).form; //创建窗体
  3578. _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); } }
  3579. break;
  3580. case "program":
  3581. _formdiv = new U.UF.UI.form(
  3582. "编程平台",
  3583. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3584. "id": "program",
  3585. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "library":
  3593. _formdiv = new U.UF.UI.form(
  3594. "素材库",
  3595. $$("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 }), {
  3596. "id": "library",
  3597. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "whiteboard":
  3605. _formdiv = new U.UF.UI.form(
  3606. "电子白板",
  3607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3608. "id": "whiteboard",
  3609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function () { }
  3611. }, {
  3612. closecallback: function () { }
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "investigation":
  3617. _formdiv = new U.UF.UI.form(
  3618. "问卷调查",
  3619. $$("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 }), {
  3620. "id": "investigation",
  3621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function () { }
  3623. }, {
  3624. closecallback: function () { }
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "note":
  3629. _formdiv = new U.UF.UI.form(
  3630. "便签分类",
  3631. $$("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 }), {
  3632. "id": "note",
  3633. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function () { }
  3635. }, {
  3636. closecallback: function () { }
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. // case "score":
  3641. // _formdiv = new U.UF.UI.form(
  3642. // "量规评分",
  3643. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3644. // "id": "score",
  3645. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3646. // "onresize": function() {}
  3647. // }, {
  3648. // closecallback: function() {}
  3649. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. // _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); } }
  3651. // break;
  3652. case "mind":
  3653. _formdiv = new U.UF.UI.form(
  3654. "思维导图",
  3655. $$("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"
  3656. "id": "mind",
  3657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function () { }
  3659. }, {
  3660. closecallback: function () { }
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _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); } }
  3663. break;
  3664. case "doc":
  3665. // U.MD.D.I.isRoom();
  3666. _formdiv = new U.UF.UI.form(
  3667. "协同文档",
  3668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3669. "id": "doc",
  3670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3676. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3677. })
  3678. _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); } }
  3679. break;
  3680. case "train": //好友打开
  3681. _formdiv = new U.UF.UI.form(
  3682. "训练平台",
  3683. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3684. "id": "train",
  3685. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3686. "onresize": function () { }
  3687. }, {
  3688. closecallback: function () { }
  3689. }, { "style": { "height": "36px" } }).form; //创建窗体
  3690. _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); } }
  3691. break;
  3692. case "studentStudy":
  3693. _formdiv = new U.UF.UI.form(
  3694. "课程中心",
  3695. $$("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
  3696. "id": "studentStudy",
  3697. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3698. "onresize": function () { }
  3699. }, {
  3700. closecallback: function () { }
  3701. }, { "style": { "height": "36px" } }).form; //创建窗体
  3702. _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); } }
  3703. break;
  3704. case "mindNetwork": //好友打开
  3705. _formdiv = new U.UF.UI.form(
  3706. "思维网格",
  3707. $$("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 }), {
  3708. "id": "mindNetwork",
  3709. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3710. "onresize": function () { }
  3711. }, {
  3712. closecallback: function () { }
  3713. }, { "style": { "height": "36px" } }).form; //创建窗体
  3714. _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); } }
  3715. break;
  3716. case "studentClassRoom": //好友打开
  3717. _formdiv = new U.UF.UI.form(
  3718. "实时课堂",
  3719. $$("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 }), {
  3720. "id": "studentClassRoom",
  3721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3722. "onresize": function () { }
  3723. }, {
  3724. closecallback: function () { }
  3725. }, { "style": { "height": "36px" } }).form; //创建窗体
  3726. _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); } }
  3727. setTimeout(() => {
  3728. U.UF.F.windowZooming(_formdiv)
  3729. }, 0);
  3730. break;
  3731. }
  3732. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3733. //选择应用处理
  3734. switch (str) {
  3735. case "project": //好友打开
  3736. _formdiv = new U.UF.UI.form(
  3737. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3738. $$("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 }), {
  3739. "id": "project",
  3740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function () { }
  3742. }, {
  3743. closecallback: function () { }
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _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); } }
  3746. break;
  3747. case "student":
  3748. _formdiv = new U.UF.UI.form(
  3749. "学生管理",
  3750. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3751. "id": "student",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3758. break;
  3759. case "evaluate":
  3760. _formdiv = new U.UF.UI.form(
  3761. "学生评价",
  3762. $$("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 }), {
  3763. "id": "evaluate",
  3764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3765. "onresize": function () { }
  3766. }, {
  3767. closecallback: function () { }
  3768. }, { "style": { "height": "36px" } }).form; //创建窗体
  3769. _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); } }
  3770. break;
  3771. case "sys":
  3772. _formdiv = new U.UF.UI.form(
  3773. "目标管理",
  3774. $$("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 }), {
  3775. "id": "sys",
  3776. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3777. "onresize": function () { }
  3778. }, {
  3779. closecallback: function () { }
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. case "courseDesign":
  3784. _formdiv = new U.UF.UI.form(
  3785. "项目设计",
  3786. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3787. "id": "courseDesign",
  3788. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3794. break;
  3795. case "program":
  3796. _formdiv = new U.UF.UI.form(
  3797. "编程平台",
  3798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3799. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3806. break;
  3807. case "class":
  3808. _formdiv = new U.UF.UI.form(
  3809. "班级管理",
  3810. $$("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 }), {
  3811. "id": "class",
  3812. "style": { "width": "90%", "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3818. break;
  3819. case "Grade":
  3820. _formdiv = new U.UF.UI.form(
  3821. "年级管理",
  3822. $$("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 }), {
  3823. "id": "Grade",
  3824. "style": { "width": "90%", "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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3830. break;
  3831. case "teacherOffice":
  3832. _formdiv = new U.UF.UI.form(
  3833. "教研室",
  3834. $$("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 }), {
  3835. "id": "teacherOffice",
  3836. "style": { "width": "90%", "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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3842. break;
  3843. case "my":
  3844. _formdiv = new U.UF.UI.form(
  3845. "我的资料",
  3846. $$("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 }), {
  3847. "id": "my",
  3848. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3854. break;
  3855. case "notice":
  3856. _formdiv = new U.UF.UI.form(
  3857. "通知公告",
  3858. $$("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 }), {
  3859. "id": "notice",
  3860. "style": { "width": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3866. break;
  3867. case "library":
  3868. _formdiv = new U.UF.UI.form(
  3869. "素材库",
  3870. $$("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 }), {
  3871. "id": "library",
  3872. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3878. break;
  3879. case "whiteboard":
  3880. _formdiv = new U.UF.UI.form(
  3881. "电子白板",
  3882. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3883. "id": "whiteboard",
  3884. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3890. break;
  3891. case "investigation":
  3892. _formdiv = new U.UF.UI.form(
  3893. "问卷调查",
  3894. $$("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 }), {
  3895. "id": "investigation",
  3896. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3902. break;
  3903. case "note":
  3904. _formdiv = new U.UF.UI.form(
  3905. "便签分类",
  3906. $$("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 }), {
  3907. "id": "note",
  3908. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3914. break;
  3915. // case "score":
  3916. // _formdiv = new U.UF.UI.form(
  3917. // "量规评分",
  3918. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3919. // "id": "score",
  3920. // "style": { "width": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3926. // break;
  3927. case "mind":
  3928. _formdiv = new U.UF.UI.form(
  3929. "思维导图",
  3930. $$("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"
  3931. "id": "mind",
  3932. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3938. break;
  3939. case "doc":
  3940. // U.MD.D.I.isRoom();
  3941. _formdiv = new U.UF.UI.form(
  3942. "协同文档",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3944. "id": "doc",
  3945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3951. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3952. })
  3953. _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); } }
  3954. break;
  3955. case "study":
  3956. _formdiv = new U.UF.UI.form(
  3957. "课程中心",
  3958. $$("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
  3959. "id": "study",
  3960. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "mindNetwork": //好友打开
  3968. _formdiv = new U.UF.UI.form(
  3969. "思维网格",
  3970. $$("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 }), {
  3971. "id": "mindNetwork",
  3972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "train": //好友打开
  3980. _formdiv = new U.UF.UI.form(
  3981. "训练平台",
  3982. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3983. "id": "mindNetwork",
  3984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "teacherClassRoom": //好友打开
  3992. _formdiv = new U.UF.UI.form(
  3993. "实时课堂",
  3994. $$("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 }), {
  3995. "id": "teacherClassRoom",
  3996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. setTimeout(() => {
  4003. U.UF.F.windowZooming(_formdiv)
  4004. }, 0);
  4005. break;
  4006. }
  4007. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4008. switch (str) {
  4009. case "project": //好友打开
  4010. _formdiv = new U.UF.UI.form(
  4011. "课程管理",
  4012. $$("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 }), {
  4013. "id": "project",
  4014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4020. break;
  4021. case "evaluate":
  4022. _formdiv = new U.UF.UI.form(
  4023. "学生评价",
  4024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4025. "id": "evaluate",
  4026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "notice":
  4034. _formdiv = new U.UF.UI.form(
  4035. "通知公告",
  4036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4037. "id": "notice",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "stuLibrary":
  4046. _formdiv = new U.UF.UI.form(
  4047. "学习资料",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4049. "id": "stuLibrary",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "program":
  4058. _formdiv = new U.UF.UI.form(
  4059. "编程平台",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4061. "id": "program",
  4062. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "whiteboard":
  4070. _formdiv = new U.UF.UI.form(
  4071. "电子白板",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4073. "id": "whiteboard",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. case "investigation":
  4082. _formdiv = new U.UF.UI.form(
  4083. "问卷调查",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4085. "id": "investigation",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4092. break;
  4093. case "mind":
  4094. _formdiv = new U.UF.UI.form(
  4095. "思维导图",
  4096. $$("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"
  4097. "id": "mind",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. case "doc":
  4106. // U.MD.D.I.isRoom();
  4107. _formdiv = new U.UF.UI.form(
  4108. "协同文档",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4110. "id": "doc",
  4111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4117. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4118. })
  4119. _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); } }
  4120. break;
  4121. case "study":
  4122. _formdiv = new U.UF.UI.form(
  4123. "课程中心",
  4124. $$("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
  4125. "id": "study",
  4126. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4132. break;
  4133. case "mindNetwork": //好友打开
  4134. _formdiv = new U.UF.UI.form(
  4135. "思维网格",
  4136. $$("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 }), {
  4137. "id": "mindNetwork",
  4138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4144. break;
  4145. case "train": //好友打开
  4146. _formdiv = new U.UF.UI.form(
  4147. "训练平台",
  4148. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4149. "id": "train",
  4150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4156. break;
  4157. case "sys":
  4158. _formdiv = new U.UF.UI.form(
  4159. "目标管理",
  4160. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4161. "id": "sys",
  4162. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4168. break;
  4169. case "courseDesign":
  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": "/course-design-vue" }), {
  4173. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4180. break;
  4181. }
  4182. } else if (!_type) {
  4183. switch (str) {
  4184. case "my":
  4185. _formdiv = new U.UF.UI.form(
  4186. "我的资料",
  4187. $$("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 }), {
  4188. "id": "my",
  4189. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4190. "onresize": function () { }
  4191. }, {
  4192. closecallback: function () { }
  4193. }, { "style": { "height": "36px" } }).form; //创建窗体
  4194. _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); } }
  4195. break;
  4196. }
  4197. }
  4198. switch (str) {
  4199. // AIprogram2 AI体验 aihub.cocorobo.cn
  4200. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4201. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4202. case "formulaEdi": //公式编辑
  4203. _formdiv = new U.UF.UI.form(
  4204. "公式编辑",
  4205. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4206. "id": "formulaEdi",
  4207. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _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); } }
  4213. break;
  4214. case "molStr": //分子结构
  4215. _formdiv = new U.UF.UI.form(
  4216. "分子结构",
  4217. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4218. "id": "molStr",
  4219. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _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); } }
  4225. break;
  4226. case "timeAxis": //时间轴
  4227. _formdiv = new U.UF.UI.form(
  4228. "时间轴",
  4229. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4230. "id": "timeAxis",
  4231. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _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); } }
  4237. break;
  4238. case "AIprogram2": //AI体验
  4239. _formdiv = new U.UF.UI.form(
  4240. "AI体验",
  4241. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4242. "id": "AIprogram2",
  4243. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _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); } }
  4249. break;
  4250. case "Pythonprogram": //python编程
  4251. _formdiv = new U.UF.UI.form(
  4252. "Python编程",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4254. "id": "Pythonprogram",
  4255. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. _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); } }
  4261. break;
  4262. case "AIprogram": //ai编程
  4263. _formdiv = new U.UF.UI.form(
  4264. "AI编程平台",
  4265. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4266. "id": "AIprogram",
  4267. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _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); } }
  4273. break;
  4274. case "CocoPi": //CocoPi
  4275. _formdiv = new U.UF.UI.form(
  4276. "CocoPi",
  4277. $$("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" }), {
  4278. "id": "CocoPi",
  4279. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _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); } }
  4285. break;
  4286. case "Wood": //Wood
  4287. _formdiv = new U.UF.UI.form(
  4288. "海龟编程",
  4289. $$("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/" }), {
  4290. "id": "Wood",
  4291. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4292. "onresize": function () { }
  4293. }, {
  4294. closecallback: function () { }
  4295. }, { "style": { "height": "36px" } }).form; //创建窗体
  4296. _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); } }
  4297. break;
  4298. case "car": //模拟驾驶
  4299. _formdiv = new U.UF.UI.form(
  4300. "模拟驾驶",
  4301. $$("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/" }), {
  4302. "id": "car",
  4303. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //创建窗体
  4308. _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); } }
  4309. break;
  4310. case "lineSearch": //路径搜索
  4311. _formdiv = new U.UF.UI.form(
  4312. "路径搜索",
  4313. $$("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/" }), {
  4314. "id": "lineSearch",
  4315. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4316. "onresize": function () { }
  4317. }, {
  4318. closecallback: function () { }
  4319. }, { "style": { "height": "36px" } }).form; //创建窗体
  4320. _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); } }
  4321. break;
  4322. case "deepLearning": //深度学习
  4323. _formdiv = new U.UF.UI.form(
  4324. "深度学习",
  4325. $$("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/#" }), {
  4326. "id": "deepLearning",
  4327. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function () { }
  4329. }, {
  4330. closecallback: function () { }
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4333. break;
  4334. case "allHistory": //深度学习
  4335. _formdiv = new U.UF.UI.form(
  4336. "全历史",
  4337. $$("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/" }), {
  4338. "id": "allHistory",
  4339. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4340. "onresize": function () { }
  4341. }, {
  4342. closecallback: function () { }
  4343. }, { "style": { "height": "36px" } }).form; //创建窗体
  4344. _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); } }
  4345. break;
  4346. case "chatPDF": //ai编程
  4347. _formdiv = new U.UF.UI.form(
  4348. "chatPDF",
  4349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4350. "id": "chatPDF",
  4351. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _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); } }
  4357. break;
  4358. case "resources": //国家教育
  4359. _formdiv = new U.UF.UI.form(
  4360. "国家教育",
  4361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4362. "id": "resources",
  4363. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4364. "onresize": function () { }
  4365. }, {
  4366. closecallback: function () { }
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _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); } }
  4369. break;
  4370. case "codeEdit": //源码编辑
  4371. _formdiv = new U.UF.UI.form(
  4372. "源码编辑",
  4373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4374. "id": "codeEdit",
  4375. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4376. "onresize": function () { }
  4377. }, {
  4378. closecallback: function () { }
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _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); } }
  4381. break; //
  4382. case "MindMap": //MindMap
  4383. _formdiv = new U.UF.UI.form(
  4384. "MindMap",
  4385. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4386. "id": "MindMap",
  4387. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. _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); } }
  4393. break;
  4394. case "netWorkPanel": //netWorkPanel
  4395. _formdiv = new U.UF.UI.form(
  4396. "netWorkPanel",
  4397. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4398. "id": "netWorkPanel",
  4399. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4400. "onresize": function () { }
  4401. }, {
  4402. closecallback: function () { }
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "GeoGebra": //GeoGebra
  4407. _formdiv = new U.UF.UI.form(
  4408. "GeoGebra",
  4409. $$("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" }), {
  4410. "id": "GeoGebra",
  4411. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _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); } }
  4417. break;
  4418. case "translation": //翻译
  4419. _formdiv = new U.UF.UI.form(
  4420. "翻译",
  4421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4422. "id": "translation",
  4423. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _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); } }
  4429. break;
  4430. case "mohe": //魔盒
  4431. _formdiv = new U.UF.UI.form(
  4432. "魔盒识字",
  4433. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4434. "id": "mohe",
  4435. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _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); } }
  4441. break;
  4442. case "24game": //24点
  4443. _formdiv = new U.UF.UI.form(
  4444. "24点",
  4445. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4446. "id": "24game",
  4447. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _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); } }
  4453. break;
  4454. case "case":
  4455. _formdiv = new U.UF.UI.form(
  4456. "课程进展",
  4457. $$("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 }), {
  4458. "id": "case",
  4459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, { "style": { "height": "36px" } }).form; //创建窗体
  4464. _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); } }
  4465. break;
  4466. case "snf":
  4467. _formdiv = new U.UF.UI.form(
  4468. "赛诺梵",
  4469. $$("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" }), {
  4470. "id": "snf",
  4471. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4472. "onresize": function () { }
  4473. }, {
  4474. closecallback: function () { }
  4475. }, { "style": { "height": "36px" } }).form; //创建窗体
  4476. _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); } }
  4477. break;
  4478. case "hanFamily":
  4479. _formdiv = new U.UF.UI.form(
  4480. "汉字家族",
  4481. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4482. "id": "hanFamily",
  4483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4484. "onresize": function () { }
  4485. }, {
  4486. closecallback: function () { }
  4487. }, { "style": { "height": "36px" } }).form; //创建窗体
  4488. _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); } }
  4489. break;
  4490. case "hanClassics":
  4491. _formdiv = new U.UF.UI.form(
  4492. "国学经典",
  4493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4494. "id": "hanClassics",
  4495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4496. "onresize": function () { }
  4497. }, {
  4498. closecallback: function () { }
  4499. }, { "style": { "height": "36px" } }).form; //创建窗体
  4500. _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); } }
  4501. break;
  4502. case "hanTraining":
  4503. _formdiv = new U.UF.UI.form(
  4504. "笔画训练",
  4505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4506. "id": "hanTraining",
  4507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4508. "onresize": function () { }
  4509. }, {
  4510. closecallback: function () { }
  4511. }, { "style": { "height": "36px" } }).form; //创建窗体
  4512. _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); } }
  4513. break;
  4514. case "hanClass":
  4515. _formdiv = new U.UF.UI.form(
  4516. "书法课堂",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4518. "id": "hanClass",
  4519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. closecallback: function () { }
  4523. }, { "style": { "height": "36px" } }).form; //创建窗体
  4524. _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); } }
  4525. break;
  4526. case "han":
  4527. _formdiv = new U.UF.UI.form(
  4528. "汉字宫",
  4529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4530. "id": "han",
  4531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //创建窗体
  4536. _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); } }
  4537. break;
  4538. case "projectGM": //课程管理
  4539. _formdiv = new U.UF.UI.form(
  4540. "课程管理",
  4541. $$("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 }), {
  4542. "id": "projectGM",
  4543. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, { "style": { "height": "36px" } }).form; //创建窗体
  4548. _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); } }
  4549. break;
  4550. case "studyGM": //课程中心
  4551. _formdiv = new U.UF.UI.form(
  4552. "课程中心",
  4553. $$("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
  4554. "id": "study",
  4555. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _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); } }
  4561. break;
  4562. // studentGM
  4563. case "studentGM": //学生管理
  4564. _formdiv = new U.UF.UI.form(
  4565. "学生管理",
  4566. $$("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 }), {
  4567. "id": "studentGM",
  4568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _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); } }
  4574. break;
  4575. case "evaluateGM": //学生评价
  4576. _formdiv = new U.UF.UI.form(
  4577. "学生评价",
  4578. $$("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 }), {
  4579. "id": "evaluateGM",
  4580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _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); } }
  4586. break;
  4587. // classGM
  4588. case "classGM": //班级管理
  4589. _formdiv = new U.UF.UI.form(
  4590. "班级管理",
  4591. $$("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 }), {
  4592. "id": "classGM",
  4593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4594. "onresize": function () { }
  4595. }, {
  4596. closecallback: function () { }
  4597. }, { "style": { "height": "36px" } }).form; //创建窗体
  4598. _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); } }
  4599. break;
  4600. // dataGM
  4601. case "dataGM":
  4602. _formdiv = new U.UF.UI.form(
  4603. "我的资料",
  4604. $$("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 }), {
  4605. "id": "dataGM",
  4606. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, { "style": { "height": "36px" } }).form; //创建窗体
  4611. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4612. break;
  4613. // caseGM
  4614. case "caseGM": //课程进展
  4615. _formdiv = new U.UF.UI.form(
  4616. "课程进展",
  4617. $$("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 }), {
  4618. "id": "caseGM",
  4619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4620. "onresize": function () { }
  4621. }, {
  4622. closecallback: function () { }
  4623. }, { "style": { "height": "36px" } }).form; //创建窗体
  4624. _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); } }
  4625. break;
  4626. // meterialGM
  4627. case "meterialGM": //素材库
  4628. _formdiv = new U.UF.UI.form(
  4629. "素材库",
  4630. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4631. "id": "meterialGM",
  4632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4633. "onresize": function () { }
  4634. }, {
  4635. closecallback: function () { }
  4636. }, { "style": { "height": "36px" } }).form; //创建窗体
  4637. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4638. break;
  4639. // evaluateSGM
  4640. case "evaluateSGM": //我的评价
  4641. _formdiv = new U.UF.UI.form(
  4642. "我的评价",
  4643. $$("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 }), {
  4644. "id": "evaluateSGM",
  4645. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, { "style": { "height": "36px" } }).form; //创建窗体
  4650. _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); } }
  4651. break;
  4652. case "jupyter": //jupyter
  4653. _formdiv = new U.UF.UI.form(
  4654. "jupyter",
  4655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4656. "id": "jupyter",
  4657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, { "style": { "height": "36px" } }).form; //创建窗体
  4662. _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); } }
  4663. break;
  4664. case "number": //数字实验室
  4665. _formdiv = new U.UF.UI.form(
  4666. "数字实验室",
  4667. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4668. "id": "number",
  4669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4670. "onresize": function () { }
  4671. }, {
  4672. closecallback: function () { }
  4673. }, { "style": { "height": "36px" } }).form; //创建窗体
  4674. _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); } }
  4675. break;
  4676. case "studentCourse": //项目管理 学生
  4677. _formdiv = new U.UF.UI.form(
  4678. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4679. $$("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 }), {
  4680. "id": "studentCourse",
  4681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4682. "onresize": function () { }
  4683. }, {
  4684. closecallback: function () { }
  4685. }, { "style": { "height": "36px" } }).form; //创建窗体
  4686. _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); } }
  4687. break;
  4688. case "studentCourseS": //项目管理 老师
  4689. _formdiv = new U.UF.UI.form(
  4690. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4691. $$("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 }), {
  4692. "id": "studentCourseS",
  4693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4694. "onresize": function () { }
  4695. }, {
  4696. closecallback: function () { }
  4697. }, { "style": { "height": "36px" } }).form; //创建窗体
  4698. _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); } }
  4699. break;
  4700. case "studentIndex": //项目中心
  4701. _formdiv = new U.UF.UI.form(
  4702. "项目中心",
  4703. $$("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 }), {
  4704. "id": "studentIndex",
  4705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4706. "onresize": function () { }
  4707. }, {
  4708. closecallback: function () { }
  4709. }, { "style": { "height": "36px" } }).form; //创建窗体
  4710. _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); } }
  4711. break;
  4712. case "CaseDesignS":
  4713. _formdiv = new U.UF.UI.form(
  4714. "项目进展",
  4715. $$("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 }), {
  4716. "id": "case",
  4717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4718. "onresize": function () { }
  4719. }, {
  4720. closecallback: function () { }
  4721. }, { "style": { "height": "36px" } }).form; //创建窗体
  4722. _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); } }
  4723. break;
  4724. case "tcStudent": //腾讯学生管理
  4725. _formdiv = new U.UF.UI.form(
  4726. "学生管理",
  4727. $$("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 }), {
  4728. "id": "tcStudent",
  4729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, { "style": { "height": "36px" } }).form; //创建窗体
  4734. _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); } }
  4735. break;
  4736. case "tcSchool": //腾讯学校管理
  4737. _formdiv = new U.UF.UI.form(
  4738. "学校管理",
  4739. $$("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 }), {
  4740. "id": "tcSchool",
  4741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4742. "onresize": function () { }
  4743. }, {
  4744. closecallback: function () { }
  4745. }, { "style": { "height": "36px" } }).form; //创建窗体
  4746. _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); } }
  4747. break;
  4748. case "tcTeacher": //腾讯学校管理
  4749. _formdiv = new U.UF.UI.form(
  4750. "教师管理",
  4751. $$("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 }), {
  4752. "id": "tcTeacher",
  4753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4754. "onresize": function () { }
  4755. }, {
  4756. closecallback: function () { }
  4757. }, { "style": { "height": "36px" } }).form; //创建窗体
  4758. _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); } }
  4759. break;
  4760. case "tcData": //腾讯我的资料
  4761. _formdiv = new U.UF.UI.form(
  4762. "我的资料",
  4763. $$("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 }), {
  4764. "id": "tcData",
  4765. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4766. "onresize": function () { }
  4767. }, {
  4768. closecallback: function () { }
  4769. }, { "style": { "height": "36px" } }).form; //创建窗体
  4770. _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); } }
  4771. break;
  4772. case "tcNotice": //腾讯消息通知
  4773. _formdiv = new U.UF.UI.form(
  4774. "消息通知",
  4775. $$("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 }), {
  4776. "id": "tcNotice",
  4777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, { "style": { "height": "36px" } }).form; //创建窗体
  4782. _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); } }
  4783. break;
  4784. case "myReport": //好友打开
  4785. _formdiv = new U.UF.UI.form(
  4786. "我的评价",
  4787. $$("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 }), {
  4788. "id": "myReport",
  4789. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4790. "onresize": function () { }
  4791. }, {
  4792. closecallback: function () { }
  4793. }, { "style": { "height": "36px" } }).form; //创建窗体
  4794. _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); } }
  4795. break;
  4796. case "learnAna": //好友打开
  4797. _formdiv = new U.UF.UI.form(
  4798. "学习分析",
  4799. $$("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 }), {
  4800. "id": "learnAna",
  4801. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4802. "onresize": function () { }
  4803. }, {
  4804. closecallback: function () { }
  4805. }, { "style": { "height": "36px" } }).form; //创建窗体
  4806. _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); } }
  4807. break;
  4808. case "AIChat": //AI共创
  4809. _formdiv = new U.UF.UI.form(
  4810. "AI共创",
  4811. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4812. "id": "AIChat",
  4813. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4814. "onresize": function () { }
  4815. }, {
  4816. istop: true,
  4817. closecallback: function () { $("#aichat_icon").remove(); },
  4818. narrowcallback: function () {
  4819. if (!$("#aichat_icon")[0]) {
  4820. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4821. }
  4822. },
  4823. }, { "style": { "height": "36px" } }).form; //创建窗体
  4824. _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); } }
  4825. break;
  4826. case "ainew": //AI共创
  4827. _formdiv = new U.UF.UI.form(
  4828. "AI协同",
  4829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4830. "id": "ainew",
  4831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4832. "onresize": function () { }
  4833. }, {
  4834. closecallback: function () { }
  4835. }, { "style": { "height": "36px" } }).form; //创建窗体
  4836. _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); } }
  4837. break;
  4838. case "gpt4": //gpt4
  4839. _formdiv = new U.UF.UI.form(
  4840. "AI助手",
  4841. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4842. "id": "gpt4",
  4843. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4844. "onresize": function () { }
  4845. }, {
  4846. closecallback: function () { }
  4847. }, { "style": { "height": "36px" } }).form; //创建窗体
  4848. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4849. break;
  4850. case "aigpt": //gpt4
  4851. _formdiv = new U.UF.UI.form(
  4852. "AI助手+",
  4853. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4854. "id": "aigpt",
  4855. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4856. "onresize": function () { }
  4857. }, {
  4858. closecallback: function () { }
  4859. }, { "style": { "height": "36px" } }).form; //创建窗体
  4860. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4861. break;
  4862. case "futureClass": //AI共创
  4863. _formdiv = new U.UF.UI.form(
  4864. "协同建构",
  4865. $$("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://beta.cscl.cocorobo.cn
  4866. "id": "synergyCourse",
  4867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4868. "onresize": function () { }
  4869. }, {
  4870. closecallback: function () {
  4871. $("iframe", _formdiv)[0].contentWindow.loginout();
  4872. }
  4873. }, { "style": { "height": "36px" } }).form; //创建窗体
  4874. _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); } }
  4875. break;
  4876. case "aiagent": //ai agent
  4877. _formdiv = new U.UF.UI.form(
  4878. "AI Agent",
  4879. $$("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" }), {
  4880. "id": "AIAgent",
  4881. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4882. "onresize": function () { }
  4883. }, {
  4884. closecallback: function () { }
  4885. }, { "style": { "height": "36px" } }).form; //创建窗体
  4886. _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); } }
  4887. break;
  4888. case "dataBoard": //数据看板
  4889. _formdiv = new U.UF.UI.form(
  4890. "数据看板",
  4891. $$("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 }), {
  4892. "id": "dataBoard",
  4893. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4894. "onresize": function () { }
  4895. }, {
  4896. closecallback: function () { }
  4897. }, { "style": { "height": "36px" } }).form; //创建窗体
  4898. _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); } }
  4899. break;
  4900. case "dataBoardSies": //数据融合
  4901. _formdiv = new U.UF.UI.form(
  4902. "数据融合",
  4903. $$("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 }), {
  4904. "id": "dataBoardSies",
  4905. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4906. "onresize": function () { }
  4907. }, {
  4908. closecallback: function () { }
  4909. }, { "style": { "height": "36px" } }).form; //创建窗体
  4910. _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); } }
  4911. break;
  4912. case "dataBoardNew": //数据看板
  4913. _formdiv = new U.UF.UI.form(
  4914. "综合看板",
  4915. $$("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 }), {
  4916. "id": "dataBoardNew",
  4917. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4918. "onresize": function () { }
  4919. }, {
  4920. closecallback: function () { }
  4921. }, { "style": { "height": "36px" } }).form; //创建窗体
  4922. _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); } }
  4923. break;
  4924. case "dataBoardTest": //数据看板
  4925. _formdiv = new U.UF.UI.form(
  4926. "评测看板",
  4927. $$("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/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4928. "id": "dataBoardTest",
  4929. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4930. "onresize": function () { }
  4931. }, {
  4932. closecallback: function () { }
  4933. }, { "style": { "height": "36px" } }).form; //创建窗体
  4934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4935. break;
  4936. case "AIAnalyse": //AI共创
  4937. _formdiv = new U.UF.UI.form(
  4938. "AI分析",
  4939. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4940. "id": "AIAnalyse",
  4941. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4942. "onresize": function () { }
  4943. }, {
  4944. closecallback: function () { }
  4945. }, { "style": { "height": "36px" } }).form; //创建窗体
  4946. _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); } }
  4947. break;
  4948. case "studioCourse": //AI共创
  4949. _formdiv = new U.UF.UI.form(
  4950. "工作管理",
  4951. $$("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 }), {
  4952. "id": "studioCourse",
  4953. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4954. "onresize": function () { }
  4955. }, {
  4956. closecallback: function () { }
  4957. }, { "style": { "height": "36px" } }).form; //创建窗体
  4958. _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); } }
  4959. break;
  4960. case "studioIndex": //AI共创
  4961. _formdiv = new U.UF.UI.form(
  4962. "工作中心",
  4963. $$("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 }), {
  4964. "id": "studioIndex",
  4965. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4966. "onresize": function () { }
  4967. }, {
  4968. closecallback: function () { }
  4969. }, { "style": { "height": "36px" } }).form; //创建窗体
  4970. _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); } }
  4971. break;
  4972. case "source":
  4973. _formdiv = new U.UF.UI.form(
  4974. "教学资源",
  4975. $$("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 }), {
  4976. "id": "source",
  4977. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4978. "onresize": function () { }
  4979. }, {
  4980. closecallback: function () { }
  4981. }, { "style": { "height": "36px" } }).form; //创建窗体
  4982. _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); } }
  4983. break;
  4984. case "testTeacher":
  4985. _formdiv = new U.UF.UI.form(
  4986. "教师管理",
  4987. $$("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 }), {
  4988. "id": "testTeacher",
  4989. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4990. "onresize": function () { }
  4991. }, {
  4992. closecallback: function () { }
  4993. }, { "style": { "height": "36px" } }).form; //创建窗体
  4994. _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); } }
  4995. break;
  4996. case "testStudent":
  4997. _formdiv = new U.UF.UI.form(
  4998. "教师中心",
  4999. $$("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 }), {
  5000. "id": "testStudent",
  5001. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5002. "onresize": function () { }
  5003. }, {
  5004. closecallback: function () { }
  5005. }, { "style": { "height": "36px" } }).form; //创建窗体
  5006. _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); } }
  5007. break;
  5008. case "testTeacherSies":
  5009. _formdiv = new U.UF.UI.form(
  5010. "教师管理",
  5011. $$("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 }), {
  5012. "id": "testTeacherSies",
  5013. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5014. "onresize": function () { }
  5015. }, {
  5016. closecallback: function () { }
  5017. }, { "style": { "height": "36px" } }).form; //创建窗体
  5018. _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); } }
  5019. break;
  5020. case "testStudentSies":
  5021. _formdiv = new U.UF.UI.form(
  5022. "教师中心",
  5023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  5024. "id": "testStudentSies",
  5025. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5026. "onresize": function () { }
  5027. }, {
  5028. closecallback: function () { }
  5029. }, { "style": { "height": "36px" } }).form; //创建窗体
  5030. _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); } }
  5031. break;
  5032. case "ytpbl": //消息通知
  5033. _formdiv = new U.UF.UI.form(
  5034. "案例征集",
  5035. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5036. "id": "ytpbl",
  5037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5038. "onresize": function () { }
  5039. }, {
  5040. closecallback: function () { }
  5041. }, { "style": { "height": "36px" } }).form; //创建窗体
  5042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5043. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5044. break;
  5045. case "aiCourseResource": //人工智能窗体
  5046. _formdiv = new U.UF.UI.form(
  5047. false,
  5048. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5049. "id": "aiCourseResource",
  5050. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5051. "onresize": function () { },
  5052. "isdrag": false,
  5053. }, {
  5054. closecallback: function () { }
  5055. }, { "style": { "height": "36px" } }).form; //创建窗体
  5056. _taskbar = ''
  5057. break;
  5058. case "szdjgCocooroboX": //图形化编程
  5059. _formdiv = new U.UF.UI.form(
  5060. "图形化编程",
  5061. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5062. "id": "szdjgCocooroboX",
  5063. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5064. "onresize": function () { }
  5065. }, {
  5066. closecallback: function () { }
  5067. }, { "style": { "height": "36px" } }).form; //创建窗体
  5068. _taskbar = ''
  5069. break;
  5070. case "szdjgPython": //python编程
  5071. _formdiv = new U.UF.UI.form(
  5072. "python编程",
  5073. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5074. "id": "szdjgPython",
  5075. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5076. "onresize": function () { }
  5077. }, {
  5078. closecallback: function () { }
  5079. }, { "style": { "height": "36px" } }).form; //创建窗体
  5080. _taskbar = ''
  5081. break;
  5082. }
  5083. //U.MD.D.I.openClick(str);
  5084. //如果有任务栏信息
  5085. if (_taskbar) {
  5086. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5087. }
  5088. }
  5089. // U.MD.D.I.openClick = function(str){
  5090. // var click = '';
  5091. // switch(str){
  5092. // case 'friend':
  5093. // click = '我的好友';
  5094. // break;
  5095. // case 'domain':
  5096. // click = '域名管理';
  5097. // break;
  5098. // case 'disk':
  5099. // click = '我的云盘';
  5100. // break;
  5101. // case 'word':
  5102. // click = 'Word';
  5103. // break;
  5104. // case 'excel':
  5105. // click = 'Execl';
  5106. // break;
  5107. // case 'txt':
  5108. // click = '文本文件';
  5109. // break;
  5110. // case 'lookupFriend':
  5111. // click = '查找好友';
  5112. // break;
  5113. // case 'ftp':
  5114. // click = 'FTP';
  5115. // break;
  5116. // case 'group':
  5117. // click = '群组';
  5118. // break;
  5119. // case 'set':
  5120. // click = '我的设置';
  5121. // break;
  5122. // case 'systemSet':
  5123. // click = '系统设置';
  5124. // break;
  5125. // case 'boomYun':
  5126. // click = '互联办公';
  5127. // break;
  5128. // case 'xz':
  5129. // click = '云端下载';
  5130. // break;
  5131. // case 'client':
  5132. // click = '有思浏览器';
  5133. // break;
  5134. // case 'backEndProgramming':
  5135. // click = '在线后台编程';
  5136. // break;
  5137. // case 'frontEndProgramming':
  5138. // click = '在线前端编程';
  5139. // break;
  5140. // default: break;
  5141. // }
  5142. // if(U.MD.D.I.Ip && click){
  5143. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5144. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5145. // })
  5146. // }
  5147. // }
  5148. /**
  5149. *函数作用:ajax简易函数,使用post格式
  5150. *@param url {data} 后台地址
  5151. *@param data {data} 参数json
  5152. *@param fn {data} 回调函数
  5153. *
  5154. */
  5155. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5156. // var xhr = new XMLHttpRequest();
  5157. // xhr.open("GET",url,true);
  5158. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5159. // xhr.onreadystatechange = function(){
  5160. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5161. // fn.call(this,xhr.responseText);
  5162. // }
  5163. // };
  5164. // xhr.send();
  5165. // }
  5166. /*判断是否是内网IP*/
  5167. // U.MD.D.I.isInnerIPFn = function(str){
  5168. // var curPageUrl = str;
  5169. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5170. // curPageUrl =curPageUrl.replace(reg1,'');
  5171. // // console.log('curPageUrl-1 '+curPageUrl);
  5172. // var reg2 = /\:+/g;//替换冒号为一点
  5173. // curPageUrl =curPageUrl.replace(reg2,'.');
  5174. // // console.log('curPageUrl-2 '+curPageUrl);
  5175. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5176. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5177. // if(curPageUrl[2] != '16'){
  5178. // return ipAddress;
  5179. // }else{
  5180. // return false;
  5181. // }
  5182. // }
  5183. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5184. // //compatibility for firefox and chrome
  5185. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5186. // var pc = new myPeerConnection({
  5187. // iceServers: []
  5188. // }),
  5189. // noop = function() {},
  5190. // localIPs = {},
  5191. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5192. // key;
  5193. // function iterateIP(ip) {
  5194. // if (!localIPs[ip]) onNewIP(ip);
  5195. // localIPs[ip] = true;
  5196. // }
  5197. // //create a bogus data channel
  5198. // pc.createDataChannel("");
  5199. // // create offer and set local description
  5200. // pc.createOffer().then(function(sdp) {
  5201. // sdp.sdp.split('\n').forEach(function(line) {
  5202. // if (line.indexOf('candidate') < 0) return;
  5203. // line.match(ipRegex).forEach(iterateIP);
  5204. // });
  5205. // pc.setLocalDescription(sdp, noop, noop);
  5206. // }).catch(function(reason) {
  5207. // // An error occurred, so handle the failure to connect
  5208. // });
  5209. // //sten for candidate events
  5210. // pc.onicecandidate = function(ice) {
  5211. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5212. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5213. // };
  5214. // }
  5215. // U.MD.D.I.getUserIpBool = function(callback){
  5216. // U.MD.D.I.getUserIP(function(ip){
  5217. // alert("Got IP! :" + ip);
  5218. // });
  5219. //}
  5220. //#endregion
  5221. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5222. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5223. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5224. _userinfo = US.userInfo, //登录用户信息
  5225. _userid = US.userInfo.userid //登录用户id
  5226. let _iframe;
  5227. let _cid = cid,
  5228. _stage = stage,
  5229. _task = task,
  5230. _tool = tool;
  5231. var _jie = $$("div", {
  5232. "style": {
  5233. "position": "absolute",
  5234. "bottom": "50px",
  5235. "right": "50px",
  5236. "zIndex": "9999",
  5237. "backgroundColor": "#2268bc",
  5238. "color": "#fff",
  5239. "padding": "12px 20px",
  5240. "cursor": "pointer",
  5241. "borderRadius": "4px",
  5242. },
  5243. "innerHTML": "提交作业"
  5244. })
  5245. let aTool = ''
  5246. let _loading = document.createElement('div')
  5247. _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;"
  5248. // _loading.id = "";
  5249. let _lchild = document.createElement('div')
  5250. let _limg = document.createElement('img')
  5251. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5252. _limg.style = "width: 26px;margin-right: 10px;"
  5253. _lchild.appendChild(_limg)
  5254. let _lspan = document.createElement('span')
  5255. _lspan.innerHTML = "上传中..."
  5256. _lchild.appendChild(_lspan)
  5257. _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%);"
  5258. _loading.appendChild(_lchild)
  5259. var _box = $$('div', {
  5260. "style": {
  5261. "position": "relative",
  5262. "width": "100%",
  5263. "height": "100%",
  5264. },
  5265. })
  5266. _box.appendChild(_loading)
  5267. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5268. switch (str) {
  5269. case "whiteboard":
  5270. aTool = 1;
  5271. _iframe = $$("iframe", {
  5272. "frameborder": "no",
  5273. "border": "0",
  5274. "scrolling ": "no",
  5275. "style": {
  5276. "cssText": "border:0;width:100%;height:100%"
  5277. },
  5278. "src": "https://iwb.cocorobo.cn/"
  5279. })
  5280. _box.appendChild(_iframe);
  5281. _box.appendChild(_jie);
  5282. _formdiv = new U.UF.UI.form(
  5283. "电子白板",
  5284. _box, {
  5285. "id": "whiteboard" + cid + stage + task + tool,
  5286. "style": {
  5287. "width": "90%",
  5288. "height": "90%",
  5289. "overflow": 'hidden'
  5290. },
  5291. "onresize": function () { }
  5292. }, {
  5293. closecallback: function () { }
  5294. }, {
  5295. "style": {
  5296. "height": "36px"
  5297. }
  5298. }).form; //创建窗体
  5299. _taskbar = {
  5300. "id": str + _formdiv.id,
  5301. "style": {
  5302. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5303. },
  5304. "name": "电子白板",
  5305. "forms": _formdiv,
  5306. "click": function () {
  5307. U.MD.D.I.openApplication(str, obj, info);
  5308. }
  5309. }
  5310. break;
  5311. case "mind":
  5312. aTool = 3;
  5313. _iframe = $$("iframe", {
  5314. "frameborder": "no",
  5315. "border": "0",
  5316. "scrolling ": "no",
  5317. "style": {
  5318. "cssText": "border:0;width:100%;height:100%"
  5319. },
  5320. "src": "/kityminder-editor/dist/index.html"
  5321. })
  5322. _box.appendChild(_iframe);
  5323. _box.appendChild(_jie);
  5324. _formdiv = new U.UF.UI.form(
  5325. "思维导图",
  5326. _box, { //"/jsmind/example/demo.html"
  5327. "id": "mind" + cid + stage + task + tool,
  5328. "style": {
  5329. "width": "90%",
  5330. "height": "90%",
  5331. "overflow": 'hidden'
  5332. },
  5333. "onresize": function () { }
  5334. }, {
  5335. closecallback: function () { }
  5336. }, {
  5337. "style": {
  5338. "height": "36px"
  5339. }
  5340. }).form; //创建窗体
  5341. _taskbar = {
  5342. "id": str + _formdiv.id,
  5343. "style": {
  5344. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5345. },
  5346. "name": "思维导图",
  5347. "forms": _formdiv,
  5348. "click": function () {
  5349. U.MD.D.I.openApplication(str, obj, info);
  5350. }
  5351. }
  5352. break;
  5353. case "MindMap":
  5354. aTool = 3;
  5355. _iframe = $$("iframe", {
  5356. "frameborder": "no",
  5357. "border": "0",
  5358. "scrolling ": "no",
  5359. "style": {
  5360. "cssText": "border:0;width:100%;height:100%"
  5361. },
  5362. "src": "//cloud.cocorobo.cn/mind/"
  5363. })
  5364. _box.appendChild(_iframe);
  5365. _box.appendChild(_jie);
  5366. _formdiv = new U.UF.UI.form(
  5367. "思维导图",
  5368. _box, { //"/jsmind/example/demo.html"
  5369. "id": "mind" + cid + stage + task + tool,
  5370. "style": {
  5371. "width": "90%",
  5372. "height": "90%",
  5373. "overflow": 'hidden'
  5374. },
  5375. "onresize": function () { }
  5376. }, {
  5377. closecallback: function () { }
  5378. }, {
  5379. "style": {
  5380. "height": "36px"
  5381. }
  5382. }).form; //创建窗体
  5383. _taskbar = {
  5384. "id": str + _formdiv.id,
  5385. "style": {
  5386. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5387. },
  5388. "name": "思维导图",
  5389. "forms": _formdiv,
  5390. "click": function () {
  5391. U.MD.D.I.openApplication(str, obj, info);
  5392. }
  5393. }
  5394. break;
  5395. case "doc":
  5396. aTool = 6;
  5397. _iframe = $$("iframe", {
  5398. "frameborder": "no",
  5399. "border": "0",
  5400. "scrolling ": "no",
  5401. "style": {
  5402. "cssText": "border:0;width:100%;height:100%"
  5403. },
  5404. "src": "/Office/Word/WordEditArea.htm"
  5405. })
  5406. _box.appendChild(_iframe);
  5407. _box.appendChild(_jie);
  5408. _formdiv = new U.UF.UI.form(
  5409. "协同文档",
  5410. _box, {
  5411. "id": "doc" + cid + stage + task + tool,
  5412. "style": {
  5413. "width": "90%",
  5414. "height": "90%",
  5415. "overflow": 'hidden'
  5416. },
  5417. "onresize": function () { }
  5418. }, {
  5419. closecallback: function () { }
  5420. }, {
  5421. "style": {
  5422. "height": "36px"
  5423. }
  5424. }).form; //创建窗体
  5425. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5426. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5427. })
  5428. _taskbar = {
  5429. "id": str + _formdiv.id,
  5430. "style": {
  5431. "backgroundImage": "url(/img/icon/doc.png)"
  5432. },
  5433. "name": "协同文档",
  5434. "forms": _formdiv,
  5435. "click": function () {
  5436. U.MD.D.I.openApplication(str, obj, info);
  5437. }
  5438. }
  5439. break;
  5440. case "mindNetwork": //好友打开
  5441. aTool = 7;
  5442. _iframe = $$("iframe", {
  5443. "webkitallowfullscreen": "",
  5444. "mozallowfullscreen": "",
  5445. "allowfullscreen": "",
  5446. "frameborder": "no",
  5447. "border": "0",
  5448. "scrolling ": "no",
  5449. "style": {
  5450. "cssText": "border:0; width:100%; height:100%;"
  5451. },
  5452. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5453. })
  5454. _box.appendChild(_iframe);
  5455. _box.appendChild(_jie);
  5456. _formdiv = new U.UF.UI.form(
  5457. "思维网格",
  5458. _box, {
  5459. "id": "mindNetwork" + cid + stage + task + tool,
  5460. "style": {
  5461. "width": "90%",
  5462. "height": "90%",
  5463. "overflow": 'hidden'
  5464. },
  5465. "onresize": function () { }
  5466. }, {
  5467. closecallback: function () { }
  5468. }, {
  5469. "style": {
  5470. "height": "36px"
  5471. }
  5472. }).form; //创建窗体
  5473. _taskbar = {
  5474. "id": str + _formdiv.id,
  5475. "style": {
  5476. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5477. },
  5478. "name": "思维网格",
  5479. "forms": _formdiv,
  5480. "click": function () {
  5481. U.MD.D.I.openApplication(str, obj, info);
  5482. }
  5483. }
  5484. break;
  5485. case "courseDesign":
  5486. _iframe = $$("iframe", {
  5487. "webkitallowfullscreen": "",
  5488. "mozallowfullscreen": "",
  5489. "allowfullscreen": "",
  5490. "frameborder": "no",
  5491. "border": "0",
  5492. "scrolling ": "no",
  5493. "style": {
  5494. "cssText": "border:0; width:100%; height:100%;"
  5495. },
  5496. "src": "/course-design-vue"
  5497. })
  5498. _box.appendChild(_iframe);
  5499. _box.appendChild(_jie);
  5500. _formdiv = new U.UF.UI.form(
  5501. "项目设计",
  5502. _box, {
  5503. "id": "courseDesign" + cid + stage + task + tool,
  5504. "style": {
  5505. "width": "90%",
  5506. "height": "90%",
  5507. "overflow": 'hidden'
  5508. },
  5509. "onresize": function () { }
  5510. }, {
  5511. closecallback: function () { }
  5512. }, {
  5513. "style": {
  5514. "height": "36px"
  5515. }
  5516. }).form; //创建窗体
  5517. _taskbar = {
  5518. "id": str + _formdiv.id,
  5519. "style": {
  5520. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5521. },
  5522. "name": "项目设计",
  5523. "forms": _formdiv,
  5524. "click": function () {
  5525. U.MD.D.I.openApplication(str, obj, info);
  5526. }
  5527. }
  5528. break;
  5529. }
  5530. const script1 = document.createElement("script");
  5531. script1.type = "text/javascript";
  5532. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5533. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5534. const script2 = document.createElement("script");
  5535. script2.type = "text/javascript";
  5536. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5537. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5538. const script3 = document.createElement("script");
  5539. script3.type = "text/javascript";
  5540. script3.charset = "UTF-8";
  5541. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5542. const script4 = document.createElement("script");
  5543. script4.type = "text/javascript";
  5544. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5545. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5546. if (_iframe) {
  5547. if (str == 'doc') {
  5548. _iframe = _formdiv.querySelector('iframe')
  5549. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5550. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5551. _iframe.contentWindow.document.body.appendChild(script1);
  5552. _iframe.contentWindow.document.body.appendChild(script2);
  5553. // _iframe.contentWindow.document.body.appendChild(script3);
  5554. _iframe.contentWindow.document.body.appendChild(script4);
  5555. })
  5556. if (onloadListener) {
  5557. _iframe.contentDocument.location.reload()
  5558. } else {
  5559. _iframe.contentDocument.location.reload()
  5560. }
  5561. } else if (str == 'courseDesign') {
  5562. U.UF.DL.iframeLoad(_iframe, function () {
  5563. // _iframe.contentWindow.U.MD.O.W.load();
  5564. // _iframe.contentWindow.document.body.appendChild(script1);
  5565. _iframe.contentWindow.document.body.appendChild(script2);
  5566. _iframe.contentWindow.document.body.appendChild(script4);
  5567. })
  5568. } else if (str == 'mind') {
  5569. _iframe = _formdiv.querySelector('iframe')
  5570. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5571. //
  5572. _iframe.contentWindow.document.body.appendChild(script1);
  5573. _iframe.contentWindow.document.body.appendChild(script2);
  5574. _iframe.contentWindow.document.body.appendChild(script4);
  5575. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5576. })
  5577. if (onloadListener) {
  5578. _iframe.contentDocument.location.reload()
  5579. } else {
  5580. _iframe.contentDocument.location.reload()
  5581. }
  5582. } else if (str == 'whiteboard') {
  5583. _iframe = _formdiv.querySelector('iframe')
  5584. let onloadListener = _iframe.onload = () => {
  5585. _iframe.contentWindow.document.body.appendChild(script1);
  5586. _iframe.contentWindow.document.body.appendChild(script2);
  5587. _iframe.contentWindow.document.body.appendChild(script4);
  5588. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5589. };
  5590. if (onloadListener) {
  5591. _iframe.contentDocument.location.reload()
  5592. } else {
  5593. _iframe.contentDocument.location.reload()
  5594. }
  5595. } else {
  5596. _iframe.onload = () => {
  5597. _iframe.contentWindow.document.body.appendChild(script1);
  5598. _iframe.contentWindow.document.body.appendChild(script2);
  5599. // _iframe.contentWindow.document.body.appendChild(script3);
  5600. _iframe.contentWindow.document.body.appendChild(script4);
  5601. };
  5602. }
  5603. _jie.onclick = async () => {
  5604. let text = ''
  5605. if (aTool == 1) {
  5606. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5607. } else if (aTool == 6) {
  5608. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5609. } else if (aTool == 3) {
  5610. text = await U.MD.D.I.getEditorContent(_iframe);
  5611. }
  5612. _loading.style.display = 'flex'
  5613. console.log(_loading);
  5614. var _ajs = _iframe.contentWindow.document.createElement("script");
  5615. _ajs.type = "text/javascript";
  5616. _ajs.innerHTML =
  5617. // 'console.log(' + _loading + ');\n' +
  5618. 'var _js = document.createElement("script");\n' +
  5619. '_js.type="text/javascript";\n' +
  5620. '_js.charset="UTF-8";\n' +
  5621. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5622. "_js.onload = function(){\n" +
  5623. ' var a = document.getElementsByTagName("img")\n' +
  5624. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5625. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5626. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5627. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5628. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5629. "beforeUpload_shishi(file," +
  5630. "'" +
  5631. _userid +
  5632. "'" +
  5633. ", " +
  5634. "'" +
  5635. _cid +
  5636. "'" +
  5637. ", " +
  5638. "'" +
  5639. _stage +
  5640. "'" +
  5641. ", " +
  5642. "'" +
  5643. _task +
  5644. "'" +
  5645. ", " +
  5646. "'" +
  5647. _tool +
  5648. "'" +
  5649. ", " +
  5650. "'" +
  5651. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5652. "'" +
  5653. ", " +
  5654. "'" +
  5655. aTool +
  5656. "'" +
  5657. ", " +
  5658. "`" +
  5659. text +
  5660. "`" +
  5661. ")\n" +
  5662. " });\n" +
  5663. "}\n" +
  5664. "document.head.appendChild(_js);\n";
  5665. _iframe.contentWindow.document.head.appendChild(_ajs);
  5666. }
  5667. }
  5668. //U.MD.D.I.openClick(str);
  5669. //如果有任务栏信息
  5670. // if (_taskbar) {
  5671. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5672. // }
  5673. }
  5674. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5675. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5676. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5677. _userinfo = US.userInfo, //登录用户信息
  5678. _userid = US.userInfo.userid //登录用户id
  5679. let _iframe;
  5680. let _cid = cid,
  5681. _stage = stage,
  5682. _task = task,
  5683. _tool = tool;
  5684. var _jie = $$("div", {
  5685. "style": {
  5686. "position": "absolute",
  5687. "bottom": "50px",
  5688. "right": "50px",
  5689. "zIndex": "9999",
  5690. "backgroundColor": "#2268bc",
  5691. "color": "#fff",
  5692. "padding": "12px 20px",
  5693. "cursor": "pointer",
  5694. "borderRadius": "4px",
  5695. },
  5696. "innerHTML": "提交作业"
  5697. })
  5698. let aTool = ''
  5699. let _loading = document.createElement('div')
  5700. _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;"
  5701. // _loading.id = "";
  5702. let _lchild = document.createElement('div')
  5703. let _limg = document.createElement('img')
  5704. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5705. _limg.style = "width: 26px;margin-right: 10px;"
  5706. _lchild.appendChild(_limg)
  5707. let _lspan = document.createElement('span')
  5708. _lspan.innerHTML = "上传中..."
  5709. _lchild.appendChild(_lspan)
  5710. _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%);"
  5711. _loading.appendChild(_lchild)
  5712. var _box = $$('div', {
  5713. "style": {
  5714. "position": "relative",
  5715. "width": "100%",
  5716. "height": "100%",
  5717. },
  5718. })
  5719. _box.appendChild(_loading)
  5720. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5721. switch (str) {
  5722. case "whiteboard":
  5723. aTool = 1;
  5724. _iframe = $$("iframe", {
  5725. "frameborder": "no",
  5726. "border": "0",
  5727. "scrolling ": "no",
  5728. "style": {
  5729. "cssText": "border:0;width:100%;height:100%"
  5730. },
  5731. "src": "https://iwb.cocorobo.cn/"
  5732. })
  5733. _box.appendChild(_iframe);
  5734. _box.appendChild(_jie);
  5735. _formdiv = new U.UF.UI.form(
  5736. "电子白板",
  5737. _box, {
  5738. "id": "whiteboard" + cid + stage + task + tool,
  5739. "style": {
  5740. "width": "90%",
  5741. "height": "90%",
  5742. "overflow": 'hidden'
  5743. },
  5744. "onresize": function () { }
  5745. }, {
  5746. closecallback: function () { }
  5747. }, {
  5748. "style": {
  5749. "height": "36px"
  5750. }
  5751. }).form; //创建窗体
  5752. _taskbar = {
  5753. "id": str + _formdiv.id,
  5754. "style": {
  5755. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5756. },
  5757. "name": "电子白板",
  5758. "forms": _formdiv,
  5759. "click": function () {
  5760. U.MD.D.I.openApplication(str, obj, info);
  5761. }
  5762. }
  5763. break;
  5764. case "mind":
  5765. aTool = 3;
  5766. _iframe = $$("iframe", {
  5767. "frameborder": "no",
  5768. "border": "0",
  5769. "scrolling ": "no",
  5770. "style": {
  5771. "cssText": "border:0;width:100%;height:100%"
  5772. },
  5773. "src": "/kityminder-editor/dist/index.html"
  5774. })
  5775. _box.appendChild(_iframe);
  5776. _box.appendChild(_jie);
  5777. _formdiv = new U.UF.UI.form(
  5778. "思维导图",
  5779. _box, { //"/jsmind/example/demo.html"
  5780. "id": "mind" + cid + stage + task + tool,
  5781. "style": {
  5782. "width": "90%",
  5783. "height": "90%",
  5784. "overflow": 'hidden'
  5785. },
  5786. "onresize": function () { }
  5787. }, {
  5788. closecallback: function () { }
  5789. }, {
  5790. "style": {
  5791. "height": "36px"
  5792. }
  5793. }).form; //创建窗体
  5794. _taskbar = {
  5795. "id": str + _formdiv.id,
  5796. "style": {
  5797. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5798. },
  5799. "name": "思维导图",
  5800. "forms": _formdiv,
  5801. "click": function () {
  5802. U.MD.D.I.openApplication(str, obj, info);
  5803. }
  5804. }
  5805. break;
  5806. case "MindMap":
  5807. aTool = 3;
  5808. _iframe = $$("iframe", {
  5809. "frameborder": "no",
  5810. "border": "0",
  5811. "scrolling ": "no",
  5812. "style": {
  5813. "cssText": "border:0;width:100%;height:100%"
  5814. },
  5815. "src": "//cloud.cocorobo.cn/mind/"
  5816. })
  5817. _box.appendChild(_iframe);
  5818. _box.appendChild(_jie);
  5819. _formdiv = new U.UF.UI.form(
  5820. "思维导图",
  5821. _box, { //"/jsmind/example/demo.html"
  5822. "id": "mind" + cid + stage + task + tool,
  5823. "style": {
  5824. "width": "90%",
  5825. "height": "90%",
  5826. "overflow": 'hidden'
  5827. },
  5828. "onresize": function () { }
  5829. }, {
  5830. closecallback: function () { }
  5831. }, {
  5832. "style": {
  5833. "height": "36px"
  5834. }
  5835. }).form; //创建窗体
  5836. _taskbar = {
  5837. "id": str + _formdiv.id,
  5838. "style": {
  5839. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5840. },
  5841. "name": "思维导图",
  5842. "forms": _formdiv,
  5843. "click": function () {
  5844. U.MD.D.I.openApplication(str, obj, info);
  5845. }
  5846. }
  5847. break;
  5848. case "doc":
  5849. aTool = 6;
  5850. _iframe = $$("iframe", {
  5851. "frameborder": "no",
  5852. "border": "0",
  5853. "scrolling ": "no",
  5854. "style": {
  5855. "cssText": "border:0;width:100%;height:100%"
  5856. },
  5857. "src": "/Office/Word/WordEditArea.htm"
  5858. })
  5859. _box.appendChild(_iframe);
  5860. _box.appendChild(_jie);
  5861. _formdiv = new U.UF.UI.form(
  5862. "协同文档",
  5863. _box, {
  5864. "id": "doc" + cid + stage + task + tool,
  5865. "style": {
  5866. "width": "90%",
  5867. "height": "90%",
  5868. "overflow": 'hidden'
  5869. },
  5870. "onresize": function () { }
  5871. }, {
  5872. closecallback: function () { }
  5873. }, {
  5874. "style": {
  5875. "height": "36px"
  5876. }
  5877. }).form; //创建窗体
  5878. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5879. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5880. })
  5881. _taskbar = {
  5882. "id": str + _formdiv.id,
  5883. "style": {
  5884. "backgroundImage": "url(/img/icon/doc.png)"
  5885. },
  5886. "name": "协同文档",
  5887. "forms": _formdiv,
  5888. "click": function () {
  5889. U.MD.D.I.openApplication(str, obj, info);
  5890. }
  5891. }
  5892. break;
  5893. case "mindNetwork": //好友打开
  5894. aTool = 7;
  5895. _iframe = $$("iframe", {
  5896. "webkitallowfullscreen": "",
  5897. "mozallowfullscreen": "",
  5898. "allowfullscreen": "",
  5899. "frameborder": "no",
  5900. "border": "0",
  5901. "scrolling ": "no",
  5902. "style": {
  5903. "cssText": "border:0; width:100%; height:100%;"
  5904. },
  5905. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5906. })
  5907. _box.appendChild(_iframe);
  5908. _box.appendChild(_jie);
  5909. _formdiv = new U.UF.UI.form(
  5910. "思维网格",
  5911. _box, {
  5912. "id": "mindNetwork" + cid + stage + task + tool,
  5913. "style": {
  5914. "width": "90%",
  5915. "height": "90%",
  5916. "overflow": 'hidden'
  5917. },
  5918. "onresize": function () { }
  5919. }, {
  5920. closecallback: function () { }
  5921. }, {
  5922. "style": {
  5923. "height": "36px"
  5924. }
  5925. }).form; //创建窗体
  5926. _taskbar = {
  5927. "id": str + _formdiv.id,
  5928. "style": {
  5929. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5930. },
  5931. "name": "思维网格",
  5932. "forms": _formdiv,
  5933. "click": function () {
  5934. U.MD.D.I.openApplication(str, obj, info);
  5935. }
  5936. }
  5937. break;
  5938. case "courseDesign":
  5939. _iframe = $$("iframe", {
  5940. "webkitallowfullscreen": "",
  5941. "mozallowfullscreen": "",
  5942. "allowfullscreen": "",
  5943. "frameborder": "no",
  5944. "border": "0",
  5945. "scrolling ": "no",
  5946. "style": {
  5947. "cssText": "border:0; width:100%; height:100%;"
  5948. },
  5949. "src": "/course-design-vue"
  5950. })
  5951. _box.appendChild(_iframe);
  5952. _box.appendChild(_jie);
  5953. _formdiv = new U.UF.UI.form(
  5954. "项目设计",
  5955. _box, {
  5956. "id": "courseDesign" + cid + stage + task + tool,
  5957. "style": {
  5958. "width": "90%",
  5959. "height": "90%",
  5960. "overflow": 'hidden'
  5961. },
  5962. "onresize": function () { }
  5963. }, {
  5964. closecallback: function () { }
  5965. }, {
  5966. "style": {
  5967. "height": "36px"
  5968. }
  5969. }).form; //创建窗体
  5970. _taskbar = {
  5971. "id": str + _formdiv.id,
  5972. "style": {
  5973. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5974. },
  5975. "name": "项目设计",
  5976. "forms": _formdiv,
  5977. "click": function () {
  5978. U.MD.D.I.openApplication(str, obj, info);
  5979. }
  5980. }
  5981. break;
  5982. }
  5983. const script1 = document.createElement("script");
  5984. script1.type = "text/javascript";
  5985. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5986. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5987. const script2 = document.createElement("script");
  5988. script2.type = "text/javascript";
  5989. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5990. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5991. const script3 = document.createElement("script");
  5992. script3.type = "text/javascript";
  5993. script3.charset = "UTF-8";
  5994. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5995. const script4 = document.createElement("script");
  5996. script4.type = "text/javascript";
  5997. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5998. script4.src = window.origin + "/js/Common/jietu2E.js";
  5999. if (_iframe) {
  6000. if (str == 'doc') {
  6001. _iframe = _formdiv.querySelector('iframe')
  6002. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6003. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6004. _iframe.contentWindow.document.body.appendChild(script1);
  6005. _iframe.contentWindow.document.body.appendChild(script2);
  6006. // _iframe.contentWindow.document.body.appendChild(script3);
  6007. _iframe.contentWindow.document.body.appendChild(script4);
  6008. })
  6009. if (onloadListener) {
  6010. _iframe.contentDocument.location.reload()
  6011. } else {
  6012. _iframe.contentDocument.location.reload()
  6013. }
  6014. } else if (str == 'courseDesign') {
  6015. U.UF.DL.iframeLoad(_iframe, function () {
  6016. // _iframe.contentWindow.U.MD.O.W.load();
  6017. // _iframe.contentWindow.document.body.appendChild(script1);
  6018. _iframe.contentWindow.document.body.appendChild(script2);
  6019. _iframe.contentWindow.document.body.appendChild(script4);
  6020. })
  6021. } else if (str == 'mind') {
  6022. _iframe = _formdiv.querySelector('iframe')
  6023. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6024. //
  6025. _iframe.contentWindow.document.body.appendChild(script1);
  6026. _iframe.contentWindow.document.body.appendChild(script2);
  6027. _iframe.contentWindow.document.body.appendChild(script4);
  6028. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6029. })
  6030. if (onloadListener) {
  6031. _iframe.contentDocument.location.reload()
  6032. } else {
  6033. _iframe.contentDocument.location.reload()
  6034. }
  6035. } else if (str == 'whiteboard') {
  6036. _iframe = _formdiv.querySelector('iframe')
  6037. let onloadListener = _iframe.onload = () => {
  6038. _iframe.contentWindow.document.body.appendChild(script1);
  6039. _iframe.contentWindow.document.body.appendChild(script2);
  6040. _iframe.contentWindow.document.body.appendChild(script4);
  6041. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6042. };
  6043. if (onloadListener) {
  6044. _iframe.contentDocument.location.reload()
  6045. } else {
  6046. _iframe.contentDocument.location.reload()
  6047. }
  6048. } else {
  6049. _iframe.onload = () => {
  6050. _iframe.contentWindow.document.body.appendChild(script1);
  6051. _iframe.contentWindow.document.body.appendChild(script2);
  6052. // _iframe.contentWindow.document.body.appendChild(script3);
  6053. _iframe.contentWindow.document.body.appendChild(script4);
  6054. };
  6055. }
  6056. _jie.onclick = async () => {
  6057. let text = ''
  6058. if (aTool == 1) {
  6059. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6060. } else if (aTool == 6) {
  6061. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6062. } else if (aTool == 3) {
  6063. text = await U.MD.D.I.getEditorContent(_iframe);
  6064. }
  6065. _loading.style.display = 'flex'
  6066. console.log(_loading);
  6067. var _ajs = _iframe.contentWindow.document.createElement("script");
  6068. _ajs.type = "text/javascript";
  6069. _ajs.innerHTML =
  6070. // 'console.log(' + _loading + ');\n' +
  6071. 'var _js = document.createElement("script");\n' +
  6072. '_js.type="text/javascript";\n' +
  6073. '_js.charset="UTF-8";\n' +
  6074. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6075. "_js.onload = function(){\n" +
  6076. ' var a = document.getElementsByTagName("img")\n' +
  6077. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6078. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6079. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6080. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6081. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6082. "beforeUpload_shishi(file," +
  6083. "'" +
  6084. _userid +
  6085. "'" +
  6086. ", " +
  6087. "'" +
  6088. _cid +
  6089. "'" +
  6090. ", " +
  6091. "'" +
  6092. _stage +
  6093. "'" +
  6094. ", " +
  6095. "'" +
  6096. _task +
  6097. "'" +
  6098. ", " +
  6099. "'" +
  6100. _tool +
  6101. "'" +
  6102. ", " +
  6103. "'" +
  6104. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6105. "'" +
  6106. ", " +
  6107. "'" +
  6108. aTool +
  6109. "'" +
  6110. ", " +
  6111. "`" +
  6112. text +
  6113. "`" +
  6114. ")\n" +
  6115. " });\n" +
  6116. "}\n" +
  6117. "document.head.appendChild(_js);\n";
  6118. _iframe.contentWindow.document.head.appendChild(_ajs);
  6119. }
  6120. }
  6121. //U.MD.D.I.openClick(str);
  6122. //如果有任务栏信息
  6123. // if (_taskbar) {
  6124. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6125. // }
  6126. }
  6127. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6128. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6129. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6130. _userid = student.userid, //登录用户id
  6131. _username = student.student //用户名字
  6132. let _iframe;
  6133. let _cid = cid,
  6134. _stage = stage,
  6135. _task = task,
  6136. _tool = tool;
  6137. var _jie = $$("div", {
  6138. "style": {
  6139. "position": "absolute",
  6140. "bottom": "50px",
  6141. "right": "50px",
  6142. "zIndex": "9999",
  6143. "backgroundColor": "#2268bc",
  6144. "color": "#fff",
  6145. "padding": "12px 20px",
  6146. "cursor": "pointer",
  6147. "borderRadius": "4px",
  6148. },
  6149. "innerHTML": "提交作业"
  6150. })
  6151. let aTool = ''
  6152. let _loading = document.createElement('div')
  6153. _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;"
  6154. // _loading.id = "";
  6155. let _lchild = document.createElement('div')
  6156. let _limg = document.createElement('img')
  6157. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6158. _limg.style = "width: 26px;margin-right: 10px;"
  6159. _lchild.appendChild(_limg)
  6160. let _lspan = document.createElement('span')
  6161. _lspan.innerHTML = "上传中..."
  6162. _lchild.appendChild(_lspan)
  6163. _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%);"
  6164. _loading.appendChild(_lchild)
  6165. var _box = $$('div', {
  6166. "style": {
  6167. "position": "relative",
  6168. "width": "100%",
  6169. "height": "100%",
  6170. },
  6171. })
  6172. _box.appendChild(_loading)
  6173. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6174. switch (str) {
  6175. case "whiteboard":
  6176. aTool = 1;
  6177. _iframe = $$("iframe", {
  6178. "frameborder": "no",
  6179. "border": "0",
  6180. "scrolling ": "no",
  6181. "style": {
  6182. "cssText": "border:0;width:100%;height:100%"
  6183. },
  6184. "src": "https://iwb.cocorobo.cn/"
  6185. })
  6186. _box.appendChild(_iframe);
  6187. _box.appendChild(_jie);
  6188. _formdiv = new U.UF.UI.form(
  6189. "电子白板-" + _username,
  6190. _box, {
  6191. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6192. "style": {
  6193. "width": "90%",
  6194. "height": "90%",
  6195. "overflow": 'hidden'
  6196. },
  6197. "onresize": function () { }
  6198. }, {
  6199. closecallback: function () { }
  6200. }, {
  6201. "style": {
  6202. "height": "36px"
  6203. }
  6204. }).form; //创建窗体
  6205. _taskbar = {
  6206. "id": str + _formdiv.id,
  6207. "style": {
  6208. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6209. },
  6210. "name": "电子白板",
  6211. "forms": _formdiv,
  6212. "click": function () {
  6213. U.MD.D.I.openApplication(str, obj, info);
  6214. }
  6215. }
  6216. break;
  6217. case "mind":
  6218. aTool = 3;
  6219. _iframe = $$("iframe", {
  6220. "frameborder": "no",
  6221. "border": "0",
  6222. "scrolling ": "no",
  6223. "style": {
  6224. "cssText": "border:0;width:100%;height:100%"
  6225. },
  6226. "src": "/kityminder-editor/dist/index.html"
  6227. })
  6228. _box.appendChild(_iframe);
  6229. _box.appendChild(_jie);
  6230. _formdiv = new U.UF.UI.form(
  6231. "思维导图-" + _username,
  6232. _box, { //"/jsmind/example/demo.html"
  6233. "id": "mind" + cid + stage + task + tool + _userid,
  6234. "style": {
  6235. "width": "90%",
  6236. "height": "90%",
  6237. "overflow": 'hidden'
  6238. },
  6239. "onresize": function () { }
  6240. }, {
  6241. closecallback: function () { }
  6242. }, {
  6243. "style": {
  6244. "height": "36px"
  6245. }
  6246. }).form; //创建窗体
  6247. _taskbar = {
  6248. "id": str + _formdiv.id,
  6249. "style": {
  6250. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6251. },
  6252. "name": "思维导图",
  6253. "forms": _formdiv,
  6254. "click": function () {
  6255. U.MD.D.I.openApplication(str, obj, info);
  6256. }
  6257. }
  6258. break;
  6259. case "MindMap":
  6260. aTool = 3;
  6261. _iframe = $$("iframe", {
  6262. "frameborder": "no",
  6263. "border": "0",
  6264. "scrolling ": "no",
  6265. "style": {
  6266. "cssText": "border:0;width:100%;height:100%"
  6267. },
  6268. "src": "//cloud.cocorobo.cn/mind/"
  6269. })
  6270. _box.appendChild(_iframe);
  6271. _box.appendChild(_jie);
  6272. _formdiv = new U.UF.UI.form(
  6273. "思维导图-" + _username,
  6274. _box, { //"/jsmind/example/demo.html"
  6275. "id": "mind" + cid + stage + task + tool + _userid,
  6276. "style": {
  6277. "width": "90%",
  6278. "height": "90%",
  6279. "overflow": 'hidden'
  6280. },
  6281. "onresize": function () { }
  6282. }, {
  6283. closecallback: function () { }
  6284. }, {
  6285. "style": {
  6286. "height": "36px"
  6287. }
  6288. }).form; //创建窗体
  6289. _taskbar = {
  6290. "id": str + _formdiv.id,
  6291. "style": {
  6292. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6293. },
  6294. "name": "思维导图",
  6295. "forms": _formdiv,
  6296. "click": function () {
  6297. U.MD.D.I.openApplication(str, obj, info);
  6298. }
  6299. }
  6300. break;
  6301. case "doc":
  6302. aTool = 6;
  6303. _iframe = $$("iframe", {
  6304. "frameborder": "no",
  6305. "border": "0",
  6306. "scrolling ": "no",
  6307. "style": {
  6308. "cssText": "border:0;width:100%;height:100%"
  6309. },
  6310. "src": "/Office/Word/WordEditArea.htm"
  6311. })
  6312. _box.appendChild(_iframe);
  6313. _box.appendChild(_jie);
  6314. _formdiv = new U.UF.UI.form(
  6315. "协同文档-" + _username,
  6316. _box, {
  6317. "id": "doc" + cid + stage + task + tool + _userid,
  6318. "style": {
  6319. "width": "90%",
  6320. "height": "90%",
  6321. "overflow": 'hidden'
  6322. },
  6323. "onresize": function () { }
  6324. }, {
  6325. closecallback: function () { }
  6326. }, {
  6327. "style": {
  6328. "height": "36px"
  6329. }
  6330. }).form; //创建窗体
  6331. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6332. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6333. })
  6334. _taskbar = {
  6335. "id": str + _formdiv.id,
  6336. "style": {
  6337. "backgroundImage": "url(/img/icon/doc.png)"
  6338. },
  6339. "name": "协同文档",
  6340. "forms": _formdiv,
  6341. "click": function () {
  6342. U.MD.D.I.openApplication(str, obj, info);
  6343. }
  6344. }
  6345. break;
  6346. case "mindNetwork": //好友打开
  6347. aTool = 7;
  6348. _iframe = $$("iframe", {
  6349. "webkitallowfullscreen": "",
  6350. "mozallowfullscreen": "",
  6351. "allowfullscreen": "",
  6352. "frameborder": "no",
  6353. "border": "0",
  6354. "scrolling ": "no",
  6355. "style": {
  6356. "cssText": "border:0; width:100%; height:100%;"
  6357. },
  6358. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6359. })
  6360. _box.appendChild(_iframe);
  6361. _box.appendChild(_jie);
  6362. _formdiv = new U.UF.UI.form(
  6363. "思维网格-" + _username,
  6364. _box, {
  6365. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6366. "style": {
  6367. "width": "90%",
  6368. "height": "90%",
  6369. "overflow": 'hidden'
  6370. },
  6371. "onresize": function () { }
  6372. }, {
  6373. closecallback: function () { }
  6374. }, {
  6375. "style": {
  6376. "height": "36px"
  6377. }
  6378. }).form; //创建窗体
  6379. _taskbar = {
  6380. "id": str + _formdiv.id,
  6381. "style": {
  6382. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6383. },
  6384. "name": "思维网格",
  6385. "forms": _formdiv,
  6386. "click": function () {
  6387. U.MD.D.I.openApplication(str, obj, info);
  6388. }
  6389. }
  6390. break;
  6391. case "courseDesign":
  6392. _iframe = $$("iframe", {
  6393. "webkitallowfullscreen": "",
  6394. "mozallowfullscreen": "",
  6395. "allowfullscreen": "",
  6396. "frameborder": "no",
  6397. "border": "0",
  6398. "scrolling ": "no",
  6399. "style": {
  6400. "cssText": "border:0; width:100%; height:100%;"
  6401. },
  6402. "src": "/course-design-vue"
  6403. })
  6404. _box.appendChild(_iframe);
  6405. _box.appendChild(_jie);
  6406. _formdiv = new U.UF.UI.form(
  6407. "项目设计-" + _username,
  6408. _box, {
  6409. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6410. "style": {
  6411. "width": "90%",
  6412. "height": "90%",
  6413. "overflow": 'hidden'
  6414. },
  6415. "onresize": function () { }
  6416. }, {
  6417. closecallback: function () { }
  6418. }, {
  6419. "style": {
  6420. "height": "36px"
  6421. }
  6422. }).form; //创建窗体
  6423. _taskbar = {
  6424. "id": str + _formdiv.id,
  6425. "style": {
  6426. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6427. },
  6428. "name": "项目设计",
  6429. "forms": _formdiv,
  6430. "click": function () {
  6431. U.MD.D.I.openApplication(str, obj, info);
  6432. }
  6433. }
  6434. break;
  6435. }
  6436. const script1 = document.createElement("script");
  6437. script1.type = "text/javascript";
  6438. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6439. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6440. const script2 = document.createElement("script");
  6441. script2.type = "text/javascript";
  6442. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6443. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6444. const script3 = document.createElement("script");
  6445. script3.type = "text/javascript";
  6446. script3.charset = "UTF-8";
  6447. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6448. const script4 = document.createElement("script");
  6449. script4.type = "text/javascript";
  6450. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6451. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6452. if (_iframe) {
  6453. if (str == 'doc') {
  6454. _iframe = _formdiv.querySelector('iframe')
  6455. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6456. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6457. _iframe.contentWindow.document.body.appendChild(script1);
  6458. _iframe.contentWindow.document.body.appendChild(script2);
  6459. // _iframe.contentWindow.document.body.appendChild(script3);
  6460. _iframe.contentWindow.document.body.appendChild(script4);
  6461. })
  6462. if (onloadListener) {
  6463. _iframe.contentDocument.location.reload()
  6464. } else {
  6465. _iframe.contentDocument.location.reload()
  6466. }
  6467. } else if (str == 'courseDesign') {
  6468. U.UF.DL.iframeLoad(_iframe, function () {
  6469. // _iframe.contentWindow.U.MD.O.W.load();
  6470. // _iframe.contentWindow.document.body.appendChild(script1);
  6471. _iframe.contentWindow.document.body.appendChild(script2);
  6472. _iframe.contentWindow.document.body.appendChild(script4);
  6473. })
  6474. } else if (str == 'mind') {
  6475. _iframe = _formdiv.querySelector('iframe')
  6476. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6477. //
  6478. _iframe.contentWindow.document.body.appendChild(script1);
  6479. _iframe.contentWindow.document.body.appendChild(script2);
  6480. _iframe.contentWindow.document.body.appendChild(script4);
  6481. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6482. })
  6483. if (onloadListener) {
  6484. _iframe.contentDocument.location.reload()
  6485. } else {
  6486. _iframe.contentDocument.location.reload()
  6487. }
  6488. } else if (str == 'whiteboard') {
  6489. _iframe = _formdiv.querySelector('iframe')
  6490. let onloadListener = _iframe.onload = () => {
  6491. _iframe.contentWindow.document.body.appendChild(script1);
  6492. _iframe.contentWindow.document.body.appendChild(script2);
  6493. _iframe.contentWindow.document.body.appendChild(script4);
  6494. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6495. };
  6496. if (onloadListener) {
  6497. _iframe.contentDocument.location.reload()
  6498. } else {
  6499. _iframe.contentDocument.location.reload()
  6500. }
  6501. } else {
  6502. _iframe.onload = () => {
  6503. _iframe.contentWindow.document.body.appendChild(script1);
  6504. _iframe.contentWindow.document.body.appendChild(script2);
  6505. // _iframe.contentWindow.document.body.appendChild(script3);
  6506. _iframe.contentWindow.document.body.appendChild(script4);
  6507. };
  6508. }
  6509. _jie.onclick = async () => {
  6510. let text = ''
  6511. if (aTool == 1) {
  6512. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6513. } else if (aTool == 6) {
  6514. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6515. } else if (aTool == 3) {
  6516. text = await U.MD.D.I.getEditorContent(_iframe);
  6517. }
  6518. _loading.style.display = 'flex'
  6519. console.log(_loading);
  6520. var _ajs = _iframe.contentWindow.document.createElement("script");
  6521. _ajs.type = "text/javascript";
  6522. _ajs.innerHTML =
  6523. // 'console.log(' + _loading + ');\n' +
  6524. 'var _js = document.createElement("script");\n' +
  6525. '_js.type="text/javascript";\n' +
  6526. '_js.charset="UTF-8";\n' +
  6527. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6528. "_js.onload = function(){\n" +
  6529. ' var a = document.getElementsByTagName("img")\n' +
  6530. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6531. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6532. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6533. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6534. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6535. "beforeUpload_shishi(file," +
  6536. "'" +
  6537. _userid +
  6538. "'" +
  6539. ", " +
  6540. "'" +
  6541. _cid +
  6542. "'" +
  6543. ", " +
  6544. "'" +
  6545. _stage +
  6546. "'" +
  6547. ", " +
  6548. "'" +
  6549. _task +
  6550. "'" +
  6551. ", " +
  6552. "'" +
  6553. _tool +
  6554. "'" +
  6555. ", " +
  6556. "'" +
  6557. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6558. "'" +
  6559. ", " +
  6560. "'" +
  6561. aTool +
  6562. "'" +
  6563. ", " +
  6564. "`" +
  6565. text +
  6566. "`" +
  6567. ")\n" +
  6568. " });\n" +
  6569. "}\n" +
  6570. "document.head.appendChild(_js);\n";
  6571. _iframe.contentWindow.document.head.appendChild(_ajs);
  6572. }
  6573. }
  6574. }
  6575. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6576. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6577. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6578. _userid = student.userid, //登录用户id
  6579. _username = student.student //用户名字
  6580. let _iframe;
  6581. let _cid = cid,
  6582. _stage = stage,
  6583. _task = task,
  6584. _tool = tool;
  6585. var _jie = $$("div", {
  6586. "style": {
  6587. "position": "absolute",
  6588. "bottom": "50px",
  6589. "right": "50px",
  6590. "zIndex": "9999",
  6591. "backgroundColor": "#2268bc",
  6592. "color": "#fff",
  6593. "padding": "12px 20px",
  6594. "cursor": "pointer",
  6595. "borderRadius": "4px",
  6596. },
  6597. "innerHTML": "提交作业"
  6598. })
  6599. let aTool = ''
  6600. let _loading = document.createElement('div')
  6601. _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;"
  6602. // _loading.id = "";
  6603. let _lchild = document.createElement('div')
  6604. let _limg = document.createElement('img')
  6605. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6606. _limg.style = "width: 26px;margin-right: 10px;"
  6607. _lchild.appendChild(_limg)
  6608. let _lspan = document.createElement('span')
  6609. _lspan.innerHTML = "上传中..."
  6610. _lchild.appendChild(_lspan)
  6611. _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%);"
  6612. _loading.appendChild(_lchild)
  6613. var _box = $$('div', {
  6614. "style": {
  6615. "position": "relative",
  6616. "width": "100%",
  6617. "height": "100%",
  6618. },
  6619. })
  6620. _box.appendChild(_loading)
  6621. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6622. switch (str) {
  6623. case "whiteboard":
  6624. aTool = 1;
  6625. _iframe = $$("iframe", {
  6626. "frameborder": "no",
  6627. "border": "0",
  6628. "scrolling ": "no",
  6629. "style": {
  6630. "cssText": "border:0;width:100%;height:100%"
  6631. },
  6632. "src": "https://iwb.cocorobo.cn/"
  6633. })
  6634. _box.appendChild(_iframe);
  6635. _box.appendChild(_jie);
  6636. _formdiv = new U.UF.UI.form(
  6637. "电子白板-" + _username,
  6638. _box, {
  6639. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6640. "style": {
  6641. "width": "90%",
  6642. "height": "90%",
  6643. "overflow": 'hidden'
  6644. },
  6645. "onresize": function () { }
  6646. }, {
  6647. closecallback: function () { }
  6648. }, {
  6649. "style": {
  6650. "height": "36px"
  6651. }
  6652. }).form; //创建窗体
  6653. _taskbar = {
  6654. "id": str + _formdiv.id,
  6655. "style": {
  6656. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6657. },
  6658. "name": "电子白板",
  6659. "forms": _formdiv,
  6660. "click": function () {
  6661. U.MD.D.I.openApplication(str, obj, info);
  6662. }
  6663. }
  6664. break;
  6665. case "mind":
  6666. aTool = 3;
  6667. _iframe = $$("iframe", {
  6668. "frameborder": "no",
  6669. "border": "0",
  6670. "scrolling ": "no",
  6671. "style": {
  6672. "cssText": "border:0;width:100%;height:100%"
  6673. },
  6674. "src": "/kityminder-editor/dist/index.html"
  6675. })
  6676. _box.appendChild(_iframe);
  6677. _box.appendChild(_jie);
  6678. _formdiv = new U.UF.UI.form(
  6679. "思维导图-" + _username,
  6680. _box, { //"/jsmind/example/demo.html"
  6681. "id": "mind" + cid + stage + task + tool + _userid,
  6682. "style": {
  6683. "width": "90%",
  6684. "height": "90%",
  6685. "overflow": 'hidden'
  6686. },
  6687. "onresize": function () { }
  6688. }, {
  6689. closecallback: function () { }
  6690. }, {
  6691. "style": {
  6692. "height": "36px"
  6693. }
  6694. }).form; //创建窗体
  6695. _taskbar = {
  6696. "id": str + _formdiv.id,
  6697. "style": {
  6698. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6699. },
  6700. "name": "思维导图",
  6701. "forms": _formdiv,
  6702. "click": function () {
  6703. U.MD.D.I.openApplication(str, obj, info);
  6704. }
  6705. }
  6706. break;
  6707. case "MindMap":
  6708. aTool = 3;
  6709. _iframe = $$("iframe", {
  6710. "frameborder": "no",
  6711. "border": "0",
  6712. "scrolling ": "no",
  6713. "style": {
  6714. "cssText": "border:0;width:100%;height:100%"
  6715. },
  6716. "src": "//cloud.cocorobo.cn/mind/"
  6717. })
  6718. _box.appendChild(_iframe);
  6719. _box.appendChild(_jie);
  6720. _formdiv = new U.UF.UI.form(
  6721. "思维导图-" + _username,
  6722. _box, { //"/jsmind/example/demo.html"
  6723. "id": "mind" + cid + stage + task + tool + _userid,
  6724. "style": {
  6725. "width": "90%",
  6726. "height": "90%",
  6727. "overflow": 'hidden'
  6728. },
  6729. "onresize": function () { }
  6730. }, {
  6731. closecallback: function () { }
  6732. }, {
  6733. "style": {
  6734. "height": "36px"
  6735. }
  6736. }).form; //创建窗体
  6737. _taskbar = {
  6738. "id": str + _formdiv.id,
  6739. "style": {
  6740. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6741. },
  6742. "name": "思维导图",
  6743. "forms": _formdiv,
  6744. "click": function () {
  6745. U.MD.D.I.openApplication(str, obj, info);
  6746. }
  6747. }
  6748. break;
  6749. case "doc":
  6750. aTool = 6;
  6751. _iframe = $$("iframe", {
  6752. "frameborder": "no",
  6753. "border": "0",
  6754. "scrolling ": "no",
  6755. "style": {
  6756. "cssText": "border:0;width:100%;height:100%"
  6757. },
  6758. "src": "/Office/Word/WordEditArea.htm"
  6759. })
  6760. _box.appendChild(_iframe);
  6761. _box.appendChild(_jie);
  6762. _formdiv = new U.UF.UI.form(
  6763. "协同文档-" + _username,
  6764. _box, {
  6765. "id": "doc" + cid + stage + task + tool + _userid,
  6766. "style": {
  6767. "width": "90%",
  6768. "height": "90%",
  6769. "overflow": 'hidden'
  6770. },
  6771. "onresize": function () { }
  6772. }, {
  6773. closecallback: function () { }
  6774. }, {
  6775. "style": {
  6776. "height": "36px"
  6777. }
  6778. }).form; //创建窗体
  6779. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6780. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6781. })
  6782. _taskbar = {
  6783. "id": str + _formdiv.id,
  6784. "style": {
  6785. "backgroundImage": "url(/img/icon/doc.png)"
  6786. },
  6787. "name": "协同文档",
  6788. "forms": _formdiv,
  6789. "click": function () {
  6790. U.MD.D.I.openApplication(str, obj, info);
  6791. }
  6792. }
  6793. break;
  6794. case "mindNetwork": //好友打开
  6795. aTool = 7;
  6796. _iframe = $$("iframe", {
  6797. "webkitallowfullscreen": "",
  6798. "mozallowfullscreen": "",
  6799. "allowfullscreen": "",
  6800. "frameborder": "no",
  6801. "border": "0",
  6802. "scrolling ": "no",
  6803. "style": {
  6804. "cssText": "border:0; width:100%; height:100%;"
  6805. },
  6806. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6807. })
  6808. _box.appendChild(_iframe);
  6809. _box.appendChild(_jie);
  6810. _formdiv = new U.UF.UI.form(
  6811. "思维网格-" + _username,
  6812. _box, {
  6813. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6814. "style": {
  6815. "width": "90%",
  6816. "height": "90%",
  6817. "overflow": 'hidden'
  6818. },
  6819. "onresize": function () { }
  6820. }, {
  6821. closecallback: function () { }
  6822. }, {
  6823. "style": {
  6824. "height": "36px"
  6825. }
  6826. }).form; //创建窗体
  6827. _taskbar = {
  6828. "id": str + _formdiv.id,
  6829. "style": {
  6830. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6831. },
  6832. "name": "思维网格",
  6833. "forms": _formdiv,
  6834. "click": function () {
  6835. U.MD.D.I.openApplication(str, obj, info);
  6836. }
  6837. }
  6838. break;
  6839. case "courseDesign":
  6840. _iframe = $$("iframe", {
  6841. "webkitallowfullscreen": "",
  6842. "mozallowfullscreen": "",
  6843. "allowfullscreen": "",
  6844. "frameborder": "no",
  6845. "border": "0",
  6846. "scrolling ": "no",
  6847. "style": {
  6848. "cssText": "border:0; width:100%; height:100%;"
  6849. },
  6850. "src": "/course-design-vue"
  6851. })
  6852. _box.appendChild(_iframe);
  6853. _box.appendChild(_jie);
  6854. _formdiv = new U.UF.UI.form(
  6855. "项目设计-" + _username,
  6856. _box, {
  6857. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6858. "style": {
  6859. "width": "90%",
  6860. "height": "90%",
  6861. "overflow": 'hidden'
  6862. },
  6863. "onresize": function () { }
  6864. }, {
  6865. closecallback: function () { }
  6866. }, {
  6867. "style": {
  6868. "height": "36px"
  6869. }
  6870. }).form; //创建窗体
  6871. _taskbar = {
  6872. "id": str + _formdiv.id,
  6873. "style": {
  6874. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6875. },
  6876. "name": "项目设计",
  6877. "forms": _formdiv,
  6878. "click": function () {
  6879. U.MD.D.I.openApplication(str, obj, info);
  6880. }
  6881. }
  6882. break;
  6883. }
  6884. const script1 = document.createElement("script");
  6885. script1.type = "text/javascript";
  6886. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6887. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6888. const script2 = document.createElement("script");
  6889. script2.type = "text/javascript";
  6890. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6891. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6892. const script3 = document.createElement("script");
  6893. script3.type = "text/javascript";
  6894. script3.charset = "UTF-8";
  6895. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6896. const script4 = document.createElement("script");
  6897. script4.type = "text/javascript";
  6898. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6899. script4.src = window.origin + "/js/Common/jietu2E.js";
  6900. if (_iframe) {
  6901. if (str == 'doc') {
  6902. _iframe = _formdiv.querySelector('iframe')
  6903. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6904. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6905. _iframe.contentWindow.document.body.appendChild(script1);
  6906. _iframe.contentWindow.document.body.appendChild(script2);
  6907. // _iframe.contentWindow.document.body.appendChild(script3);
  6908. _iframe.contentWindow.document.body.appendChild(script4);
  6909. })
  6910. if (onloadListener) {
  6911. _iframe.contentDocument.location.reload()
  6912. } else {
  6913. _iframe.contentDocument.location.reload()
  6914. }
  6915. } else if (str == 'courseDesign') {
  6916. U.UF.DL.iframeLoad(_iframe, function () {
  6917. // _iframe.contentWindow.U.MD.O.W.load();
  6918. // _iframe.contentWindow.document.body.appendChild(script1);
  6919. _iframe.contentWindow.document.body.appendChild(script2);
  6920. _iframe.contentWindow.document.body.appendChild(script4);
  6921. })
  6922. } else if (str == 'mind') {
  6923. _iframe = _formdiv.querySelector('iframe')
  6924. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6925. //
  6926. _iframe.contentWindow.document.body.appendChild(script1);
  6927. _iframe.contentWindow.document.body.appendChild(script2);
  6928. _iframe.contentWindow.document.body.appendChild(script4);
  6929. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6930. })
  6931. if (onloadListener) {
  6932. _iframe.contentDocument.location.reload()
  6933. } else {
  6934. _iframe.contentDocument.location.reload()
  6935. }
  6936. } else if (str == 'whiteboard') {
  6937. _iframe = _formdiv.querySelector('iframe')
  6938. let onloadListener = _iframe.onload = () => {
  6939. _iframe.contentWindow.document.body.appendChild(script1);
  6940. _iframe.contentWindow.document.body.appendChild(script2);
  6941. _iframe.contentWindow.document.body.appendChild(script4);
  6942. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6943. };
  6944. if (onloadListener) {
  6945. _iframe.contentDocument.location.reload()
  6946. } else {
  6947. _iframe.contentDocument.location.reload()
  6948. }
  6949. } else {
  6950. _iframe.onload = () => {
  6951. _iframe.contentWindow.document.body.appendChild(script1);
  6952. _iframe.contentWindow.document.body.appendChild(script2);
  6953. // _iframe.contentWindow.document.body.appendChild(script3);
  6954. _iframe.contentWindow.document.body.appendChild(script4);
  6955. };
  6956. }
  6957. _jie.onclick = async () => {
  6958. let text = ''
  6959. if (aTool == 1) {
  6960. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6961. } else if (aTool == 6) {
  6962. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6963. } else if (aTool == 3) {
  6964. text = await U.MD.D.I.getEditorContent(_iframe);
  6965. }
  6966. _loading.style.display = 'flex'
  6967. console.log(_loading);
  6968. var _ajs = _iframe.contentWindow.document.createElement("script");
  6969. _ajs.type = "text/javascript";
  6970. _ajs.innerHTML =
  6971. // 'console.log(' + _loading + ');\n' +
  6972. 'var _js = document.createElement("script");\n' +
  6973. '_js.type="text/javascript";\n' +
  6974. '_js.charset="UTF-8";\n' +
  6975. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6976. "_js.onload = function(){\n" +
  6977. ' var a = document.getElementsByTagName("img")\n' +
  6978. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6979. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6980. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6981. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6982. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6983. "beforeUpload_shishi(file," +
  6984. "'" +
  6985. _userid +
  6986. "'" +
  6987. ", " +
  6988. "'" +
  6989. _cid +
  6990. "'" +
  6991. ", " +
  6992. "'" +
  6993. _stage +
  6994. "'" +
  6995. ", " +
  6996. "'" +
  6997. _task +
  6998. "'" +
  6999. ", " +
  7000. "'" +
  7001. _tool +
  7002. "'" +
  7003. ", " +
  7004. "'" +
  7005. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7006. "'" +
  7007. ", " +
  7008. "'" +
  7009. aTool +
  7010. "'" +
  7011. ", " +
  7012. "`" +
  7013. text +
  7014. "`" +
  7015. ")\n" +
  7016. " });\n" +
  7017. "}\n" +
  7018. "document.head.appendChild(_js);\n";
  7019. _iframe.contentWindow.document.head.appendChild(_ajs);
  7020. }
  7021. }
  7022. }
  7023. U.MD.D.I.getEditorContent = function (iframe) {
  7024. return new Promise((resolve, reject) => {
  7025. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7026. console.log(content);
  7027. resolve(content)
  7028. });
  7029. });
  7030. }
  7031. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7032. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7033. // if (res.value[0].length > 0) {
  7034. // // resolve(res.value[0][0].text);
  7035. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7036. // $(fileInput).val('');
  7037. // });
  7038. // }
  7039. // }, [], { "type": "GET", "withCredentials": true });
  7040. var xmlhttp;
  7041. var Mac, Sn, DeviceId
  7042. if (window.XMLHttpRequest) {
  7043. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7044. xmlhttp = new XMLHttpRequest();
  7045. } else {
  7046. // IE6, IE5 浏览器执行代码
  7047. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7048. }
  7049. xmlhttp.onreadystatechange = function () {
  7050. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7051. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7052. // resolve(res.value[0][0].text);
  7053. if (type == '2') {
  7054. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7055. } else if (type == '3') {
  7056. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7057. }
  7058. } else {
  7059. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7060. }
  7061. }
  7062. }
  7063. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7064. xmlhttp.send();
  7065. }
  7066. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7067. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7068. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7069. _userinfo = US.userInfo, //登录用户信息
  7070. _userid = US.userInfo.userid //登录用户id
  7071. let _iframe;
  7072. let _cid = cid,
  7073. _stage = stage,
  7074. _task = task,
  7075. _tool = tool;
  7076. var _jie = $$("div", {
  7077. "style": {
  7078. "position": "absolute",
  7079. "bottom": "50px",
  7080. "right": "50px",
  7081. "zIndex": "9999",
  7082. "backgroundColor": "#2268bc",
  7083. "color": "#fff",
  7084. "padding": "12px 20px",
  7085. "cursor": "pointer",
  7086. "borderRadius": "4px",
  7087. },
  7088. "innerHTML": "确认并提交"
  7089. })
  7090. let aTool = ''
  7091. let _loading = document.createElement('div')
  7092. _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;"
  7093. // _loading.id = "";
  7094. let _lchild = document.createElement('div')
  7095. let _limg = document.createElement('img')
  7096. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7097. _limg.style = "width: 26px;margin-right: 10px;"
  7098. _lchild.appendChild(_limg)
  7099. let _lspan = document.createElement('span')
  7100. _lspan.innerHTML = "上传中..."
  7101. _lchild.appendChild(_lspan)
  7102. _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%);"
  7103. _loading.appendChild(_lchild)
  7104. var _box = $$('div', {
  7105. "style": {
  7106. "position": "relative",
  7107. "width": "100%",
  7108. "height": "100%",
  7109. },
  7110. })
  7111. _box.appendChild(_loading)
  7112. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7113. switch (str) {
  7114. case "whiteboard":
  7115. aTool = 1;
  7116. _iframe = $$("iframe", {
  7117. "frameborder": "no",
  7118. "border": "0",
  7119. "scrolling ": "no",
  7120. "style": {
  7121. "cssText": "border:0;width:100%;height:100%"
  7122. },
  7123. "src": "https://iwb.cocorobo.cn/"
  7124. })
  7125. _box.appendChild(_iframe);
  7126. _box.appendChild(_jie);
  7127. _formdiv = new U.UF.UI.form(
  7128. "电子白板",
  7129. _box, {
  7130. "id": "whiteboards" + cid + stage + task + tool,
  7131. "style": {
  7132. "width": "90%",
  7133. "height": "90%",
  7134. "overflow": 'hidden'
  7135. },
  7136. "onresize": function () { }
  7137. }, {
  7138. closecallback: function () { }
  7139. }, {
  7140. "style": {
  7141. "height": "36px"
  7142. }
  7143. }).form; //创建窗体
  7144. _taskbar = {
  7145. "id": str + _formdiv.id,
  7146. "style": {
  7147. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7148. },
  7149. "name": "电子白板",
  7150. "forms": _formdiv,
  7151. "click": function () {
  7152. U.MD.D.I.openApplication(str, obj, info);
  7153. }
  7154. }
  7155. break;
  7156. case "mind":
  7157. aTool = 3;
  7158. _iframe = $$("iframe", {
  7159. "frameborder": "no",
  7160. "border": "0",
  7161. "scrolling ": "no",
  7162. "style": {
  7163. "cssText": "border:0;width:100%;height:100%"
  7164. },
  7165. "src": "/kityminder-editor/dist/index.html"
  7166. });
  7167. _box.appendChild(_iframe);
  7168. _box.appendChild(_jie);
  7169. _formdiv = new U.UF.UI.form(
  7170. "思维导图",
  7171. _box, { //"/jsmind/example/demo.html"
  7172. "id": "minds" + cid + stage + task + tool,
  7173. "style": {
  7174. "width": "90%",
  7175. "height": "90%",
  7176. "overflow": 'hidden'
  7177. },
  7178. "onresize": function () { }
  7179. }, {
  7180. closecallback: function () { }
  7181. }, {
  7182. "style": {
  7183. "height": "36px"
  7184. }
  7185. }).form; //创建窗体
  7186. _taskbar = {
  7187. "id": str + _formdiv.id,
  7188. "style": {
  7189. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7190. },
  7191. "name": "思维导图",
  7192. "forms": _formdiv,
  7193. "click": function () {
  7194. U.MD.D.I.openApplication(str, obj, info);
  7195. }
  7196. }
  7197. break;
  7198. case "doc":
  7199. aTool = 6;
  7200. _iframe = $$("iframe", {
  7201. "frameborder": "no",
  7202. "border": "0",
  7203. "scrolling ": "no",
  7204. "style": {
  7205. "cssText": "border:0;width:100%;height:100%"
  7206. },
  7207. "src": "/Office/Word/WordEditArea.htm"
  7208. })
  7209. _box.appendChild(_iframe);
  7210. _box.appendChild(_jie);
  7211. _formdiv = new U.UF.UI.form(
  7212. "协同文档",
  7213. _box, {
  7214. "id": "docs" + cid + stage + task + tool,
  7215. "style": {
  7216. "width": "90%",
  7217. "height": "90%",
  7218. "overflow": 'hidden'
  7219. },
  7220. "onresize": function () { }
  7221. }, {
  7222. closecallback: function () { }
  7223. }, {
  7224. "style": {
  7225. "height": "36px"
  7226. }
  7227. }).form; //创建窗体
  7228. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7229. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7230. })
  7231. _taskbar = {
  7232. "id": str + _formdiv.id,
  7233. "style": {
  7234. "backgroundImage": "url(/img/icon/doc.png)"
  7235. },
  7236. "name": "协同文档",
  7237. "forms": _formdiv,
  7238. "click": function () {
  7239. U.MD.D.I.openApplication(str, obj, info);
  7240. }
  7241. }
  7242. break;
  7243. }
  7244. const script1 = document.createElement("script");
  7245. script1.type = "text/javascript";
  7246. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7247. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7248. const script2 = document.createElement("script");
  7249. script2.type = "text/javascript";
  7250. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7251. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7252. const script3 = document.createElement("script");
  7253. script3.type = "text/javascript";
  7254. script3.charset = "UTF-8";
  7255. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7256. const script4 = document.createElement("script");
  7257. script4.type = "text/javascript";
  7258. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7259. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7260. if (_iframe) {
  7261. if (str == 'doc') {
  7262. _iframe = _formdiv.querySelector('iframe')
  7263. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7264. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7265. _iframe.contentWindow.document.body.appendChild(script1);
  7266. _iframe.contentWindow.document.body.appendChild(script2);
  7267. // _iframe.contentWindow.document.body.appendChild(script3);
  7268. _iframe.contentWindow.document.body.appendChild(script4);
  7269. })
  7270. if (onloadListener) {
  7271. _iframe.contentDocument.location.reload()
  7272. } else {
  7273. _iframe.contentDocument.location.reload()
  7274. }
  7275. } else if (str == 'mind') {
  7276. _iframe = _formdiv.querySelector('iframe')
  7277. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7278. _iframe.contentWindow.document.body.appendChild(script1);
  7279. _iframe.contentWindow.document.body.appendChild(script2);
  7280. _iframe.contentWindow.document.body.appendChild(script4);
  7281. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7282. })
  7283. if (onloadListener) {
  7284. _iframe.contentDocument.location.reload()
  7285. } else {
  7286. _iframe.contentDocument.location.reload()
  7287. }
  7288. } else {
  7289. _iframe.onload = () => {
  7290. _iframe.contentWindow.document.body.appendChild(script1);
  7291. _iframe.contentWindow.document.body.appendChild(script2);
  7292. // _iframe.contentWindow.document.body.appendChild(script3);
  7293. _iframe.contentWindow.document.body.appendChild(script4);
  7294. };
  7295. }
  7296. _jie.onclick = async () => {
  7297. let text = ''
  7298. if (aTool == 6) {
  7299. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7300. } else if (aTool == 3) {
  7301. text = await U.MD.D.I.getEditorContent(_iframe);
  7302. }
  7303. _loading.style.display = 'flex'
  7304. console.log(_loading);
  7305. var _ajs = _iframe.contentWindow.document.createElement("script");
  7306. _ajs.type = "text/javascript";
  7307. _ajs.innerHTML =
  7308. // 'console.log(' + _loading + ');\n' +
  7309. 'var _js = document.createElement("script");\n' +
  7310. '_js.type="text/javascript";\n' +
  7311. '_js.charset="UTF-8";\n' +
  7312. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7313. "_js.onload = function(){\n" +
  7314. ' var a = document.getElementsByTagName("img")\n' +
  7315. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7316. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7317. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7318. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7319. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7320. "beforeUpload_shishi(file," +
  7321. "'" +
  7322. _userid +
  7323. "'" +
  7324. ", " +
  7325. "'" +
  7326. _cid +
  7327. "'" +
  7328. ", " +
  7329. "'" +
  7330. _stage +
  7331. "'" +
  7332. ", " +
  7333. "'" +
  7334. _task +
  7335. "'" +
  7336. ", " +
  7337. "'" +
  7338. _tool +
  7339. "'" +
  7340. ", " +
  7341. "'" +
  7342. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7343. "'" +
  7344. ", " +
  7345. "'" +
  7346. aTool +
  7347. "'" +
  7348. ", " +
  7349. "`" +
  7350. text +
  7351. "`" +
  7352. ")\n" +
  7353. " });\n" +
  7354. "}\n" +
  7355. "document.head.appendChild(_js);\n";
  7356. _iframe.contentWindow.document.head.appendChild(_ajs);
  7357. }
  7358. }
  7359. //U.MD.D.I.openClick(str);
  7360. //如果有任务栏信息
  7361. // if (_taskbar) {
  7362. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7363. // }
  7364. }
  7365. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7366. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7367. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7368. _userinfo = US.userInfo, //登录用户信息
  7369. _userid = US.userInfo.userid //登录用户id
  7370. let _iframe;
  7371. let _cid = cid,
  7372. _stage = stage,
  7373. _task = task,
  7374. _tool = tool;
  7375. var _jie = $$("div", {
  7376. "style": {
  7377. "position": "absolute",
  7378. "bottom": "50px",
  7379. "right": "50px",
  7380. "zIndex": "9999",
  7381. "backgroundColor": "#2268bc",
  7382. "color": "#fff",
  7383. "padding": "12px 20px",
  7384. "cursor": "pointer",
  7385. "borderRadius": "4px",
  7386. },
  7387. "innerHTML": "确认并提交"
  7388. })
  7389. let aTool = ''
  7390. let _loading = document.createElement('div')
  7391. _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;"
  7392. // _loading.id = "";
  7393. let _lchild = document.createElement('div')
  7394. let _limg = document.createElement('img')
  7395. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7396. _limg.style = "width: 26px;margin-right: 10px;"
  7397. _lchild.appendChild(_limg)
  7398. let _lspan = document.createElement('span')
  7399. _lspan.innerHTML = "上传中..."
  7400. _lchild.appendChild(_lspan)
  7401. _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%);"
  7402. _loading.appendChild(_lchild)
  7403. var _box = $$('div', {
  7404. "style": {
  7405. "position": "relative",
  7406. "width": "100%",
  7407. "height": "100%",
  7408. },
  7409. })
  7410. _box.appendChild(_loading)
  7411. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7412. switch (str) {
  7413. case "whiteboard":
  7414. aTool = 1;
  7415. _iframe = $$("iframe", {
  7416. "frameborder": "no",
  7417. "border": "0",
  7418. "scrolling ": "no",
  7419. "style": {
  7420. "cssText": "border:0;width:100%;height:100%"
  7421. },
  7422. "src": "https://iwb.cocorobo.cn/"
  7423. })
  7424. _box.appendChild(_iframe);
  7425. _box.appendChild(_jie);
  7426. _formdiv = new U.UF.UI.form(
  7427. "电子白板",
  7428. _box, {
  7429. "id": "whiteboards" + cid + stage + task + tool,
  7430. "style": {
  7431. "width": "90%",
  7432. "height": "90%",
  7433. "overflow": 'hidden'
  7434. },
  7435. "onresize": function () { }
  7436. }, {
  7437. closecallback: function () { }
  7438. }, {
  7439. "style": {
  7440. "height": "36px"
  7441. }
  7442. }).form; //创建窗体
  7443. _taskbar = {
  7444. "id": str + _formdiv.id,
  7445. "style": {
  7446. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7447. },
  7448. "name": "电子白板",
  7449. "forms": _formdiv,
  7450. "click": function () {
  7451. U.MD.D.I.openApplication(str, obj, info);
  7452. }
  7453. }
  7454. break;
  7455. case "mind":
  7456. aTool = 3;
  7457. _iframe = $$("iframe", {
  7458. "frameborder": "no",
  7459. "border": "0",
  7460. "scrolling ": "no",
  7461. "style": {
  7462. "cssText": "border:0;width:100%;height:100%"
  7463. },
  7464. "src": "/kityminder-editor/dist/index.html"
  7465. });
  7466. _box.appendChild(_iframe);
  7467. _box.appendChild(_jie);
  7468. _formdiv = new U.UF.UI.form(
  7469. "思维导图",
  7470. _box, { //"/jsmind/example/demo.html"
  7471. "id": "minds" + cid + stage + task + tool,
  7472. "style": {
  7473. "width": "90%",
  7474. "height": "90%",
  7475. "overflow": 'hidden'
  7476. },
  7477. "onresize": function () { }
  7478. }, {
  7479. closecallback: function () { }
  7480. }, {
  7481. "style": {
  7482. "height": "36px"
  7483. }
  7484. }).form; //创建窗体
  7485. _taskbar = {
  7486. "id": str + _formdiv.id,
  7487. "style": {
  7488. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7489. },
  7490. "name": "思维导图",
  7491. "forms": _formdiv,
  7492. "click": function () {
  7493. U.MD.D.I.openApplication(str, obj, info);
  7494. }
  7495. }
  7496. break;
  7497. case "doc":
  7498. aTool = 6;
  7499. _iframe = $$("iframe", {
  7500. "frameborder": "no",
  7501. "border": "0",
  7502. "scrolling ": "no",
  7503. "style": {
  7504. "cssText": "border:0;width:100%;height:100%"
  7505. },
  7506. "src": "/Office/Word/WordEditArea.htm"
  7507. })
  7508. _box.appendChild(_iframe);
  7509. _box.appendChild(_jie);
  7510. _formdiv = new U.UF.UI.form(
  7511. "协同文档",
  7512. _box, {
  7513. "id": "docs" + cid + stage + task + tool,
  7514. "style": {
  7515. "width": "90%",
  7516. "height": "90%",
  7517. "overflow": 'hidden'
  7518. },
  7519. "onresize": function () { }
  7520. }, {
  7521. closecallback: function () { }
  7522. }, {
  7523. "style": {
  7524. "height": "36px"
  7525. }
  7526. }).form; //创建窗体
  7527. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7528. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7529. })
  7530. _taskbar = {
  7531. "id": str + _formdiv.id,
  7532. "style": {
  7533. "backgroundImage": "url(/img/icon/doc.png)"
  7534. },
  7535. "name": "协同文档",
  7536. "forms": _formdiv,
  7537. "click": function () {
  7538. U.MD.D.I.openApplication(str, obj, info);
  7539. }
  7540. }
  7541. break;
  7542. }
  7543. const script1 = document.createElement("script");
  7544. script1.type = "text/javascript";
  7545. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7546. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7547. const script2 = document.createElement("script");
  7548. script2.type = "text/javascript";
  7549. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7550. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7551. const script3 = document.createElement("script");
  7552. script3.type = "text/javascript";
  7553. script3.charset = "UTF-8";
  7554. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7555. const script4 = document.createElement("script");
  7556. script4.type = "text/javascript";
  7557. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7558. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7559. if (_iframe) {
  7560. if (str == 'doc') {
  7561. _iframe = _formdiv.querySelector('iframe')
  7562. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7563. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7564. _iframe.contentWindow.document.body.appendChild(script1);
  7565. _iframe.contentWindow.document.body.appendChild(script2);
  7566. // _iframe.contentWindow.document.body.appendChild(script3);
  7567. _iframe.contentWindow.document.body.appendChild(script4);
  7568. })
  7569. if (onloadListener) {
  7570. _iframe.contentDocument.location.reload()
  7571. } else {
  7572. _iframe.contentDocument.location.reload()
  7573. }
  7574. } else if (str == 'mind') {
  7575. _iframe = _formdiv.querySelector('iframe')
  7576. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7577. _iframe.contentWindow.document.body.appendChild(script1);
  7578. _iframe.contentWindow.document.body.appendChild(script2);
  7579. _iframe.contentWindow.document.body.appendChild(script4);
  7580. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7581. })
  7582. if (onloadListener) {
  7583. _iframe.contentDocument.location.reload()
  7584. } else {
  7585. _iframe.contentDocument.location.reload()
  7586. }
  7587. } else {
  7588. _iframe.onload = () => {
  7589. _iframe.contentWindow.document.body.appendChild(script1);
  7590. _iframe.contentWindow.document.body.appendChild(script2);
  7591. // _iframe.contentWindow.document.body.appendChild(script3);
  7592. _iframe.contentWindow.document.body.appendChild(script4);
  7593. };
  7594. }
  7595. _jie.onclick = async () => {
  7596. let text = ''
  7597. if (aTool == 6) {
  7598. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7599. } else if (aTool == 3) {
  7600. text = await U.MD.D.I.getEditorContent(_iframe);
  7601. }
  7602. _loading.style.display = 'flex'
  7603. console.log(_loading);
  7604. var _ajs = _iframe.contentWindow.document.createElement("script");
  7605. _ajs.type = "text/javascript";
  7606. _ajs.innerHTML =
  7607. // 'console.log(' + _loading + ');\n' +
  7608. 'var _js = document.createElement("script");\n' +
  7609. '_js.type="text/javascript";\n' +
  7610. '_js.charset="UTF-8";\n' +
  7611. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7612. "_js.onload = function(){\n" +
  7613. ' var a = document.getElementsByTagName("img")\n' +
  7614. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7615. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7616. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7617. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7618. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7619. "beforeUpload_shishi(file," +
  7620. "'" +
  7621. _userid +
  7622. "'" +
  7623. ", " +
  7624. "'" +
  7625. _cid +
  7626. "'" +
  7627. ", " +
  7628. "'" +
  7629. _stage +
  7630. "'" +
  7631. ", " +
  7632. "'" +
  7633. _task +
  7634. "'" +
  7635. ", " +
  7636. "'" +
  7637. _tool +
  7638. "'" +
  7639. ", " +
  7640. "'" +
  7641. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7642. "'" +
  7643. ", " +
  7644. "'" +
  7645. aTool +
  7646. "'" +
  7647. ", " +
  7648. "`" +
  7649. text +
  7650. "`" +
  7651. ")\n" +
  7652. " });\n" +
  7653. "}\n" +
  7654. "document.head.appendChild(_js);\n";
  7655. _iframe.contentWindow.document.head.appendChild(_ajs);
  7656. }
  7657. }
  7658. //U.MD.D.I.openClick(str);
  7659. //如果有任务栏信息
  7660. // if (_taskbar) {
  7661. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7662. // }
  7663. }
  7664. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7665. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7666. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7667. _userinfo = US.userInfo, //登录用户信息
  7668. _userid = US.userInfo.userid //登录用户id
  7669. let _iframe;
  7670. let _cid = cid,
  7671. _stage = stage,
  7672. _task = task,
  7673. _tool = tool;
  7674. var _jie = $$("div", {
  7675. "style": {
  7676. "position": "absolute",
  7677. "bottom": "50px",
  7678. "right": "50px",
  7679. "zIndex": "9999",
  7680. "backgroundColor": "#2268bc",
  7681. "color": "#fff",
  7682. "padding": "12px 20px",
  7683. "cursor": "pointer",
  7684. "borderRadius": "4px",
  7685. },
  7686. "innerHTML": "上传模板"
  7687. })
  7688. let aTool = ''
  7689. let _loading = document.createElement('div')
  7690. _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;"
  7691. // _loading.id = "";
  7692. let _lchild = document.createElement('div')
  7693. let _limg = document.createElement('img')
  7694. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7695. _limg.style = "width: 26px;margin-right: 10px;"
  7696. _lchild.appendChild(_limg)
  7697. let _lspan = document.createElement('span')
  7698. _lspan.innerHTML = "上传中..."
  7699. _lchild.appendChild(_lspan)
  7700. _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%);"
  7701. _loading.appendChild(_lchild)
  7702. var _box = $$('div', {
  7703. "style": {
  7704. "position": "relative",
  7705. "width": "100%",
  7706. "height": "100%",
  7707. },
  7708. })
  7709. _box.appendChild(_loading)
  7710. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7711. switch (str) {
  7712. case "whiteboard":
  7713. aTool = 1;
  7714. _iframe = $$("iframe", {
  7715. "frameborder": "no",
  7716. "border": "0",
  7717. "scrolling ": "no",
  7718. "style": {
  7719. "cssText": "border:0;width:100%;height:100%"
  7720. },
  7721. "src": "https://iwb.cocorobo.cn/"
  7722. })
  7723. _box.appendChild(_iframe);
  7724. _box.appendChild(_jie);
  7725. _formdiv = new U.UF.UI.form(
  7726. "电子白板",
  7727. _box, {
  7728. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7729. "style": {
  7730. "width": "90%",
  7731. "height": "90%",
  7732. "overflow": 'hidden'
  7733. },
  7734. "onresize": function () { }
  7735. }, {
  7736. closecallback: function () { }
  7737. }, {
  7738. "style": {
  7739. "height": "36px"
  7740. }
  7741. }).form; //创建窗体
  7742. _taskbar = {
  7743. "id": str + _formdiv.id,
  7744. "style": {
  7745. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7746. },
  7747. "name": "电子白板",
  7748. "forms": _formdiv,
  7749. "click": function () {
  7750. U.MD.D.I.openApplication(str, obj, info);
  7751. }
  7752. }
  7753. break;
  7754. case "mind":
  7755. aTool = 3;
  7756. _iframe = $$("iframe", {
  7757. "frameborder": "no",
  7758. "border": "0",
  7759. "scrolling ": "no",
  7760. "style": {
  7761. "cssText": "border:0;width:100%;height:100%"
  7762. },
  7763. "src": "/kityminder-editor/dist/index.html"
  7764. });
  7765. _box.appendChild(_iframe);
  7766. _box.appendChild(_jie);
  7767. _formdiv = new U.UF.UI.form(
  7768. "思维导图",
  7769. _box, { //"/jsmind/example/demo.html"
  7770. "id": "minds_Yu" + cid + stage + task + tool,
  7771. "style": {
  7772. "width": "90%",
  7773. "height": "90%",
  7774. "overflow": 'hidden'
  7775. },
  7776. "onresize": function () { }
  7777. }, {
  7778. closecallback: function () { }
  7779. }, {
  7780. "style": {
  7781. "height": "36px"
  7782. }
  7783. }).form; //创建窗体
  7784. _taskbar = {
  7785. "id": str + _formdiv.id,
  7786. "style": {
  7787. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7788. },
  7789. "name": "思维导图",
  7790. "forms": _formdiv,
  7791. "click": function () {
  7792. U.MD.D.I.openApplication(str, obj, info);
  7793. }
  7794. }
  7795. break;
  7796. case "doc":
  7797. aTool = 6;
  7798. _iframe = $$("iframe", {
  7799. "frameborder": "no",
  7800. "border": "0",
  7801. "scrolling ": "no",
  7802. "style": {
  7803. "cssText": "border:0;width:100%;height:100%"
  7804. },
  7805. "src": "/Office/Word/WordEditArea.htm"
  7806. })
  7807. _box.appendChild(_iframe);
  7808. _box.appendChild(_jie);
  7809. _formdiv = new U.UF.UI.form(
  7810. "协同文档",
  7811. _box, {
  7812. "id": "docs_Yu" + cid + stage + task + tool,
  7813. "style": {
  7814. "width": "90%",
  7815. "height": "90%",
  7816. "overflow": 'hidden'
  7817. },
  7818. "onresize": function () { }
  7819. }, {
  7820. closecallback: function () { }
  7821. }, {
  7822. "style": {
  7823. "height": "36px"
  7824. }
  7825. }).form; //创建窗体
  7826. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7827. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7828. })
  7829. _taskbar = {
  7830. "id": str + _formdiv.id,
  7831. "style": {
  7832. "backgroundImage": "url(/img/icon/doc.png)"
  7833. },
  7834. "name": "协同文档",
  7835. "forms": _formdiv,
  7836. "click": function () {
  7837. U.MD.D.I.openApplication(str, obj, info);
  7838. }
  7839. }
  7840. break;
  7841. case "CocoPi":
  7842. aTool = 57;
  7843. _iframe = $$("iframe", {
  7844. "allowpaymentrequest": "allowpaymentrequest",
  7845. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7846. "webkitallowfullscreen": "",
  7847. "mozallowfullscreen": "",
  7848. "frameborder": "no",
  7849. "border": "0",
  7850. "scrolling ": "no",
  7851. "style": {
  7852. "cssText": "border:0;width:100%;height:100%"
  7853. },
  7854. "src": "https://pi.cocorobo.cn/"
  7855. })
  7856. _box.appendChild(_iframe);
  7857. _box.appendChild(_jie);
  7858. _formdiv = new U.UF.UI.form(
  7859. "CocoPi",
  7860. _box, {
  7861. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7862. "style": {
  7863. "width": "90%",
  7864. "height": "90%",
  7865. "overflow": 'hidden'
  7866. },
  7867. "onresize": function () { }
  7868. }, {
  7869. closecallback: function () { }
  7870. }, {
  7871. "style": {
  7872. "height": "36px"
  7873. }
  7874. }).form; //创建窗体
  7875. _taskbar = {
  7876. "id": str + _formdiv.id,
  7877. "style": {
  7878. "backgroundImage": "url(/img/icon/cocopi.png)"
  7879. },
  7880. "name": "CocoPi",
  7881. "forms": _formdiv,
  7882. "click": function () {
  7883. U.MD.D.I.openApplication(str, obj, info);
  7884. }
  7885. }
  7886. break;
  7887. }
  7888. if (_iframe) {
  7889. if (str == 'doc') {
  7890. _iframe = _formdiv.querySelector('iframe')
  7891. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7892. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7893. })
  7894. if (onloadListener) {
  7895. _iframe.contentDocument.location.reload()
  7896. } else {
  7897. _iframe.contentDocument.location.reload()
  7898. }
  7899. } else if (str == 'mind') {
  7900. _iframe = _formdiv.querySelector('iframe')
  7901. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7902. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7903. })
  7904. if (onloadListener) {
  7905. _iframe.contentDocument.location.reload()
  7906. } else {
  7907. _iframe.contentDocument.location.reload()
  7908. }
  7909. } else if (str == 'whiteboard') {
  7910. _iframe = _formdiv.querySelector('iframe')
  7911. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7912. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7913. })
  7914. if (onloadListener) {
  7915. _iframe.contentDocument.location.reload()
  7916. } else {
  7917. _iframe.contentDocument.location.reload()
  7918. }
  7919. } else if (str == 'CocoPi') {
  7920. _iframe = _formdiv.querySelector('iframe')
  7921. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7922. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7923. })
  7924. if (onloadListener) {
  7925. _iframe.contentDocument.location.reload()
  7926. } else {
  7927. _iframe.contentDocument.location.reload()
  7928. }
  7929. } else {
  7930. _iframe.onload = () => { };
  7931. }
  7932. _jie.onclick = async () => {
  7933. let text = ''
  7934. let type = '2'
  7935. if (aTool == 1) {
  7936. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7937. type = '3'
  7938. } else if (aTool == 6) {
  7939. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7940. type = '1'
  7941. } else if (aTool == 3) {
  7942. text = await U.MD.D.I.getEditorContent(_iframe);
  7943. type = '2'
  7944. } else if (aTool == 57) {
  7945. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7946. type = '4'
  7947. }
  7948. _loading.style.display = 'flex'
  7949. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7950. }
  7951. }
  7952. //U.MD.D.I.openClick(str);
  7953. //如果有任务栏信息
  7954. // if (_taskbar) {
  7955. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7956. // }
  7957. }
  7958. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7959. var xmlhttp;
  7960. var Mac, Sn, DeviceId
  7961. if (window.XMLHttpRequest) {
  7962. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7963. xmlhttp = new XMLHttpRequest();
  7964. } else {
  7965. // IE6, IE5 浏览器执行代码
  7966. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7967. }
  7968. xmlhttp.onreadystatechange = function () {
  7969. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7970. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7971. // resolve(res.value[0][0].text);
  7972. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7973. }
  7974. }
  7975. }
  7976. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7977. xmlhttp.send();
  7978. }
  7979. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7980. var xmlhttp;
  7981. var Mac, Sn, DeviceId
  7982. if (window.XMLHttpRequest) {
  7983. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7984. xmlhttp = new XMLHttpRequest();
  7985. } else {
  7986. // IE6, IE5 浏览器执行代码
  7987. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7988. }
  7989. xmlhttp.onreadystatechange = function () {
  7990. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7991. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7992. // resolve(res.value[0][0].text);
  7993. if (type == '2') {
  7994. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7995. } else if (type == '3') {
  7996. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7997. } else if (type == '4') {
  7998. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7999. }
  8000. } else {
  8001. if (type == '2') {
  8002. iframe.contentWindow.editor.minder.importData('json', '')
  8003. } else if (type == '3') {
  8004. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8005. } else if (type == '4') {
  8006. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8007. }
  8008. }
  8009. }
  8010. }
  8011. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8012. xmlhttp.send();
  8013. }
  8014. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8015. var xmlhttp;
  8016. var Mac, Sn, DeviceId
  8017. if (window.XMLHttpRequest) {
  8018. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8019. xmlhttp = new XMLHttpRequest();
  8020. } else {
  8021. // IE6, IE5 浏览器执行代码
  8022. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8023. }
  8024. xmlhttp.onreadystatechange = function () {
  8025. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8026. if (xmlhttp.response) {
  8027. // resolve(res.value[0][0].text);
  8028. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8029. // $(fileInput).val('');
  8030. // });
  8031. span.innerHTML = '上传成功'
  8032. setTimeout(() => {
  8033. loading.style.display = 'none'
  8034. }, 1000);
  8035. }
  8036. }
  8037. }
  8038. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8039. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8040. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8041. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8042. // 设置请求头,表示请求体的编码格式
  8043. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8044. // 设置请求体,使用url-encoded格式的数据
  8045. }
  8046. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8049. _userinfo = US.userInfo, //登录用户信息
  8050. _userid = US.userInfo.userid //登录用户id
  8051. let _iframe;
  8052. let _cid = cid,
  8053. _stage = stage,
  8054. _task = task,
  8055. _tool = tool;
  8056. var _jie = $$("div", {
  8057. "style": {
  8058. "position": "absolute",
  8059. "bottom": "50px",
  8060. "right": "50px",
  8061. "zIndex": "9999",
  8062. "backgroundColor": "#2268bc",
  8063. "color": "#fff",
  8064. "padding": "12px 20px",
  8065. "cursor": "pointer",
  8066. "borderRadius": "4px",
  8067. },
  8068. "innerHTML": "提交作业"
  8069. })
  8070. let aTool = ''
  8071. let _loading = document.createElement('div')
  8072. _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;"
  8073. // _loading.id = "";
  8074. let _lchild = document.createElement('div')
  8075. let _limg = document.createElement('img')
  8076. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8077. _limg.style = "width: 26px;margin-right: 10px;"
  8078. _lchild.appendChild(_limg)
  8079. let _lspan = document.createElement('span')
  8080. _lspan.innerHTML = "上传中..."
  8081. _lchild.appendChild(_lspan)
  8082. _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%);"
  8083. _loading.appendChild(_lchild)
  8084. var _box = $$('div', {
  8085. "style": {
  8086. "position": "relative",
  8087. "width": "100%",
  8088. "height": "100%",
  8089. },
  8090. })
  8091. _box.appendChild(_loading)
  8092. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8093. switch (str) {
  8094. case "CocoPi":
  8095. aTool = 57;
  8096. _iframe = $$("iframe", {
  8097. "allowpaymentrequest": "allowpaymentrequest",
  8098. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8099. "webkitallowfullscreen": "",
  8100. "mozallowfullscreen": "",
  8101. "frameborder": "no",
  8102. "border": "0",
  8103. "scrolling ": "no",
  8104. "style": {
  8105. "cssText": "border:0;width:100%;height:100%"
  8106. },
  8107. "src": "https://pi.cocorobo.cn/"
  8108. })
  8109. _box.appendChild(_iframe);
  8110. _box.appendChild(_jie);
  8111. _formdiv = new U.UF.UI.form(
  8112. "CocoPi",
  8113. _box, {
  8114. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8115. "style": {
  8116. "width": "90%",
  8117. "height": "90%",
  8118. "overflow": 'hidden'
  8119. },
  8120. "onresize": function () { }
  8121. }, {
  8122. closecallback: function () { }
  8123. }, {
  8124. "style": {
  8125. "height": "36px"
  8126. }
  8127. }).form; //创建窗体
  8128. _taskbar = {
  8129. "id": str + _formdiv.id,
  8130. "style": {
  8131. "backgroundImage": "url(/img/icon/cocopi.png)"
  8132. },
  8133. "name": "CocoPi",
  8134. "forms": _formdiv,
  8135. "click": function () {
  8136. U.MD.D.I.openApplication(str, obj, info);
  8137. }
  8138. }
  8139. break;
  8140. }
  8141. if (_iframe) {
  8142. if (str == 'CocoPi') {
  8143. _iframe = _formdiv.querySelector('iframe')
  8144. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8145. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8146. })
  8147. if (onloadListener) {
  8148. _iframe.contentDocument.location.reload()
  8149. } else {
  8150. _iframe.contentDocument.location.reload()
  8151. }
  8152. }
  8153. _jie.onclick = async () => {
  8154. let text = ''
  8155. if (aTool == 57) {
  8156. text = _iframe.contentWindow.getLoadXmlStr()
  8157. }
  8158. _loading.style.display = 'flex'
  8159. console.log(_loading);
  8160. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8161. _loading.style.display = 'none'
  8162. let _div = document.createElement('div')
  8163. _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;"
  8164. let _inner = document.createElement('div')
  8165. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8166. _inner.innerHTML = "上传成功"
  8167. _div.appendChild(_inner)
  8168. _iframe.contentWindow.window.document.body.appendChild(_div)
  8169. _div.onclick = () => {
  8170. _iframe.contentWindow.window.document.body.removeChild(_div)
  8171. }
  8172. setTimeout(() => {
  8173. _iframe.contentWindow.window.document.body.removeChild(_div)
  8174. }, 1000);
  8175. }, [], { "type": "POST", "withCredentials": true });
  8176. }
  8177. }
  8178. }
  8179. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8180. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8181. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8182. _userid = student.userid, //登录用户id
  8183. _username = student.student //用户名字
  8184. let _iframe;
  8185. let _cid = cid,
  8186. _stage = stage,
  8187. _task = task,
  8188. _tool = tool;
  8189. var _jie = $$("div", {
  8190. "style": {
  8191. "position": "absolute",
  8192. "bottom": "50px",
  8193. "right": "50px",
  8194. "zIndex": "9999",
  8195. "backgroundColor": "#2268bc",
  8196. "color": "#fff",
  8197. "padding": "12px 20px",
  8198. "cursor": "pointer",
  8199. "borderRadius": "4px",
  8200. },
  8201. "innerHTML": "提交作业"
  8202. })
  8203. let aTool = ''
  8204. let _loading = document.createElement('div')
  8205. _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;"
  8206. // _loading.id = "";
  8207. let _lchild = document.createElement('div')
  8208. let _limg = document.createElement('img')
  8209. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8210. _limg.style = "width: 26px;margin-right: 10px;"
  8211. _lchild.appendChild(_limg)
  8212. let _lspan = document.createElement('span')
  8213. _lspan.innerHTML = "上传中..."
  8214. _lchild.appendChild(_lspan)
  8215. _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%);"
  8216. _loading.appendChild(_lchild)
  8217. var _box = $$('div', {
  8218. "style": {
  8219. "position": "relative",
  8220. "width": "100%",
  8221. "height": "100%",
  8222. },
  8223. })
  8224. _box.appendChild(_loading)
  8225. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8226. switch (str) {
  8227. case "CocoPi":
  8228. aTool = 57;
  8229. _iframe = $$("iframe", {
  8230. "allowpaymentrequest": "allowpaymentrequest",
  8231. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8232. "webkitallowfullscreen": "",
  8233. "mozallowfullscreen": "",
  8234. "frameborder": "no",
  8235. "border": "0",
  8236. "scrolling ": "no",
  8237. "style": {
  8238. "cssText": "border:0;width:100%;height:100%"
  8239. },
  8240. "src": "https://pi.cocorobo.cn/"
  8241. })
  8242. _box.appendChild(_iframe);
  8243. _box.appendChild(_jie);
  8244. _formdiv = new U.UF.UI.form(
  8245. "CocoPi-" + _username,
  8246. _box, {
  8247. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8248. "style": {
  8249. "width": "90%",
  8250. "height": "90%",
  8251. "overflow": 'hidden'
  8252. },
  8253. "onresize": function () { }
  8254. }, {
  8255. closecallback: function () { }
  8256. }, {
  8257. "style": {
  8258. "height": "36px"
  8259. }
  8260. }).form; //创建窗体
  8261. _taskbar = {
  8262. "id": str + _formdiv.id,
  8263. "style": {
  8264. "backgroundImage": "url(/img/icon/cocopi.png)"
  8265. },
  8266. "name": "CocoPi",
  8267. "forms": _formdiv,
  8268. "click": function () {
  8269. U.MD.D.I.openApplication(str, obj, info);
  8270. }
  8271. }
  8272. break;
  8273. }
  8274. if (_iframe) {
  8275. if (str == 'CocoPi') {
  8276. _iframe = _formdiv.querySelector('iframe')
  8277. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8278. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8279. })
  8280. if (onloadListener) {
  8281. _iframe.contentDocument.location.reload()
  8282. } else {
  8283. _iframe.contentDocument.location.reload()
  8284. }
  8285. }
  8286. _jie.onclick = async () => {
  8287. let text = ''
  8288. if (aTool == 57) {
  8289. text = _iframe.contentWindow.getLoadXmlStr()
  8290. }
  8291. _loading.style.display = 'flex'
  8292. console.log(_loading);
  8293. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8294. _loading.style.display = 'none'
  8295. let _div = document.createElement('div')
  8296. _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;"
  8297. let _inner = document.createElement('div')
  8298. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8299. _inner.innerHTML = "上传成功"
  8300. _div.appendChild(_inner)
  8301. _iframe.contentWindow.window.document.body.appendChild(_div)
  8302. _div.onclick = () => {
  8303. _iframe.contentWindow.window.document.body.removeChild(_div)
  8304. }
  8305. setTimeout(() => {
  8306. _iframe.contentWindow.window.document.body.removeChild(_div)
  8307. }, 1000);
  8308. }, [], { "type": "POST", "withCredentials": true });
  8309. }
  8310. }
  8311. }
  8312. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8313. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8314. if (res.value[0].length > 0) {
  8315. if (atool == 57) {
  8316. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8317. }
  8318. } else {
  8319. if (atool == 57) {
  8320. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8321. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8322. }
  8323. }
  8324. }, [], { "type": "POST", "withCredentials": true });
  8325. }