DeskTop.js 524 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664
  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. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //云海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未来教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未来教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成华教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成华教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //盐田区幼儿园
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //盐田区幼儿园
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函数
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面图标
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切换
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面图标
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隐藏任务栏
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任务栏位置变小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置变大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隐藏任务栏
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任务栏位置变小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任务栏位置变化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置变大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面图标
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用于循环
  1301. _content, //桌面图标元素
  1302. _iconcontent, //桌面图标元素
  1303. _frag = $$("frag"), //定义一个碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1375. 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'];
  1376. 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'];
  1377. //清楚桌面图标
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "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)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. )
  1402. }
  1403. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1404. // _teacherDesktopIconInfo.push(
  1405. // )
  1406. // }
  1407. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1408. _teacherDesktopIconInfo.push(
  1409. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. )
  1412. }
  1413. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1414. _teacherDesktopIconInfo.push(
  1415. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1416. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1417. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1418. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1419. )
  1420. _studentDesktopIconInfo.push(
  1421. )
  1422. }
  1423. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1424. _teacherDesktopIconInfo.push(
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. )
  1427. _studentDesktopIconInfo.push(
  1428. )
  1429. }
  1430. //麒麟二中 和 民新小学
  1431. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1432. _teacherDesktopIconInfo.push(
  1433. )
  1434. }
  1435. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1436. _teacherDesktopIconInfo.push(
  1437. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1438. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1439. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1440. )
  1441. }
  1442. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5") {
  1443. _teacherDesktopIconInfo.push(
  1444. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1445. )
  1446. }
  1447. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1448. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1449. _teacherDesktopIconInfo.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 == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1456. _studentDesktopIconInfo.push(
  1457. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1458. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1459. )
  1460. }
  1461. //万科双语
  1462. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1463. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1464. if (el.Name == '项目管理') {
  1465. el.Name = 'PBL项目'
  1466. }
  1467. return el
  1468. })
  1469. _studentDesktopIconInfo3.push(
  1470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1471. )
  1472. }
  1473. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1474. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1475. return el.Name != '魔盒识字' && el.Name != '24点'
  1476. })
  1477. }
  1478. 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) {
  1479. _studentDesktopIconInfo.push(
  1480. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1481. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1482. )
  1483. }
  1484. //循环创建桌面图标
  1485. if (type == 1) {
  1486. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1487. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1488. _content = $$("div", {
  1489. className: "U_MD_D_KO",
  1490. "onmousedown": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_studentDesktopIconInfo[i]]),
  1494. "onclick": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_studentDesktopIconInfo[i]])
  1498. }, _frag); //
  1499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1502. }
  1503. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1504. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1505. _content = $$("div", {
  1506. className: "U_MD_D_KO",
  1507. "onmousedown": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1511. "onclick": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_hkZJLSStudentDeskIconInfo[i]])
  1515. }, _frag); //
  1516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1519. } //
  1520. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1521. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1522. _content = $$("div", {
  1523. className: "U_MD_D_KO",
  1524. "onmousedown": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_ytyStudentDeskIconInfo[i]]),
  1528. "onclick": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_ytyStudentDeskIconInfo[i]])
  1532. }, _frag); //
  1533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1536. } //
  1537. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1538. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1539. _content = $$("div", {
  1540. className: "U_MD_D_KO",
  1541. "onmousedown": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_jccssylStudentDeskIconInfo[i]]),
  1545. "onclick": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_jccssylStudentDeskIconInfo[i]])
  1549. }, _frag); //
  1550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1553. }
  1554. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1555. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1556. _content = $$("div", {
  1557. className: "U_MD_D_KO",
  1558. "onmousedown": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_caleStudentDeskIconInfo[i]]),
  1562. "onclick": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_caleStudentDeskIconInfo[i]])
  1566. }, _frag); //
  1567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1570. }
  1571. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1572. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1573. _content = $$("div", {
  1574. className: "U_MD_D_KO",
  1575. "onmousedown": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_thuioeStudentDeskIconInfo[i]]),
  1579. "onclick": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_thuioeStudentDeskIconInfo[i]])
  1583. }, _frag); //
  1584. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1585. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1586. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1587. }
  1588. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1589. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1590. _content = $$("div", {
  1591. className: "U_MD_D_KO",
  1592. "onmousedown": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_tpcStudentDeskIconInfo[i]]),
  1596. "onclick": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_tpcStudentDeskIconInfo[i]])
  1600. }, _frag); //
  1601. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1602. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1603. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1604. } //
  1605. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1606. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1607. _content = $$("div", {
  1608. className: "U_MD_D_KO",
  1609. "onmousedown": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_chjyjStudentDeskIconInfo[i]]),
  1613. "onclick": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_chjyjStudentDeskIconInfo[i]])
  1617. }, _frag); //
  1618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1621. }
  1622. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1623. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1624. _content = $$("div", {
  1625. className: "U_MD_D_KO",
  1626. "onmousedown": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_szjkyStudentDeskIconInfo[i]]),
  1630. "onclick": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_szjkyStudentDeskIconInfo[i]])
  1634. }, _frag); //
  1635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1638. }
  1639. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1640. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1641. _content = $$("div", {
  1642. className: "U_MD_D_KO",
  1643. "onmousedown": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_dseiStudentDeskIconInfo[i]]),
  1647. "onclick": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_dseiStudentDeskIconInfo[i]])
  1651. }, _frag); //
  1652. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1655. }
  1656. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1657. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1658. _content = $$("div", {
  1659. className: "U_MD_D_KO",
  1660. "onmousedown": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1664. "onclick": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1668. }, _frag); //
  1669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1672. }
  1673. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1674. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1675. _content = $$("div", {
  1676. className: "U_MD_D_KO",
  1677. "onmousedown": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_siesStudentDeskIconInfo[i]]),
  1681. "onclick": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_siesStudentDeskIconInfo[i]])
  1685. }, _frag); //
  1686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1689. }
  1690. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1691. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1692. _content = $$("div", {
  1693. className: "U_MD_D_KO",
  1694. "onmousedown": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_hkStudentDeskIconInfo[i]]),
  1698. "onclick": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_hkStudentDeskIconInfo[i]])
  1702. }, _frag); //
  1703. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1704. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1705. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1706. }
  1707. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1708. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1709. _content = $$("div", {
  1710. className: "U_MD_D_KO",
  1711. "onmousedown": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_hkaceStudentDeskIconInfo[i]]),
  1715. "onclick": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_hkaceStudentDeskIconInfo[i]])
  1719. }, _frag); //
  1720. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1721. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1722. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1723. }
  1724. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1725. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1742. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_tcStudentDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_tcStudentDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1757. }
  1758. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1759. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_szscStudentDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_szscStudentDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1774. }
  1775. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1776. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_studentDesktopIconInfo3[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_studentDesktopIconInfo3[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1791. }
  1792. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1793. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_studentDesktopIconInfo2[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_studentDesktopIconInfo2[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1808. }
  1809. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1810. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_wanketeacherDesktopIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_wanketeacherDesktopIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1827. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_wankeAdminDesktopIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_wankeAdminDesktopIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1844. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_jccssylTeacherDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_jccssylTeacherDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1859. }
  1860. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1861. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_caleTeacherDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_caleTeacherDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1878. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_tpcOrganizerDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_tpcOrganizerDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1895. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_tpcTeacherDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_tpcTeacherDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1912. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_teacherDesktopIconInfo2[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_teacherDesktopIconInfo2[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1927. }
  1928. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1929. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_thuioeTeacherDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_thuioeTeacherDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1944. }
  1945. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1946. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_lotechTeacherDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_lotechTeacherDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1961. }//
  1962. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1963. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1980. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_siesTeacherDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_siesTeacherDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1997. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_longhuaTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_longhuaTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2014. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_ytyTeacherDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_ytyTeacherDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2031. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_yunhaiTeacherDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2046. } //_hkStudentDeskIconInfo
  2047. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2048. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2065. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_hkTeacherDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_hkTeacherDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2082. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_hkaceTeacherDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_hkaceTeacherDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2099. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_gdjgAdminDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_gdjgAdminDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2116. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_gdjgTeacherDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_gdjgTeacherDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2133. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_szherTeacherDeskIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_szherTeacherDeskIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2150. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_heyuannAdminDeskIconInfo[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_heyuannAdminDeskIconInfo[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2165. }
  2166. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2167. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_heyuanTeacherDeskIconInfo[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_heyuanTeacherDeskIconInfo[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2182. } //
  2183. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2184. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_dseiAdminDeskIconInfo[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_dseiAdminDeskIconInfo[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2199. }
  2200. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2201. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_dseiTeacherDeskIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_dseiTeacherDeskIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2216. } //
  2217. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2218. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_chjyjAdminDeskIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_chjyjAdminDeskIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2233. }//
  2234. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2235. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_chjyjTeacherDeskIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_chjyjTeacherDeskIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2252. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_szjkyAdminDeskIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_szjkyAdminDeskIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2267. }//
  2268. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2269. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_szjkyTeacherDeskIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_szjkyTeacherDeskIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2286. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_futianAdminDeskIconInfo[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖动图标即打开了桌面应用
  2295. U.MD.D.click(this, obj);
  2296. }, [_futianAdminDeskIconInfo[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2301. }
  2302. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2303. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_futianTeacherDeskIconInfo[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖动图标即打开了桌面应用
  2312. U.MD.D.click(this, obj);
  2313. }, [_futianTeacherDeskIconInfo[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2320. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2321. _content = $$("div", {
  2322. className: "U_MD_D_KO",
  2323. "onmousedown": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_MingdeTeacherDeskIcon[i]]),
  2327. "onclick": U.UF.C.closure(function (obj) {
  2328. //防止拖动图标即打开了桌面应用
  2329. U.MD.D.click(this, obj);
  2330. }, [_MingdeTeacherDeskIcon[i]])
  2331. }, _frag); //
  2332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2335. }
  2336. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2337. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2338. _content = $$("div", {
  2339. className: "U_MD_D_KO",
  2340. "onmousedown": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_lhsAdminDesktopIconInfo[i]]),
  2344. "onclick": U.UF.C.closure(function (obj) {
  2345. //防止拖动图标即打开了桌面应用
  2346. U.MD.D.click(this, obj);
  2347. }, [_lhsAdminDesktopIconInfo[i]])
  2348. }, _frag); //
  2349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2352. }
  2353. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2354. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2355. _content = $$("div", {
  2356. className: "U_MD_D_KO",
  2357. "onmousedown": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_lhsteacherDesktopIconInfo[i]]),
  2361. "onclick": U.UF.C.closure(function (obj) {
  2362. //防止拖动图标即打开了桌面应用
  2363. U.MD.D.click(this, obj);
  2364. }, [_lhsteacherDesktopIconInfo[i]])
  2365. }, _frag); //
  2366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2369. }
  2370. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2371. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2372. _content = $$("div", {
  2373. className: "U_MD_D_KO",
  2374. "onmousedown": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2378. "onclick": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_zhoujiateacherDesktopIconInfo[i]])
  2382. }, _frag); //
  2383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2386. }
  2387. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2388. for (i = 0; i < _hanDeskIcon.length; i++) {
  2389. _content = $$("div", {
  2390. className: "U_MD_D_KO",
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖动图标即打开了桌面应用
  2393. U.MD.D.click(this, obj);
  2394. }, [_hanDeskIcon[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖动图标即打开了桌面应用
  2397. U.MD.D.click(this, obj);
  2398. }, [_hanDeskIcon[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2403. }
  2404. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2405. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2406. _content = $$("div", {
  2407. className: "U_MD_D_KO",
  2408. "onmousedown": U.UF.C.closure(function (obj) {
  2409. //防止拖动图标即打开了桌面应用
  2410. U.MD.D.click(this, obj);
  2411. }, [_orgStemDeskIcon[i]]),
  2412. "onclick": U.UF.C.closure(function (obj) {
  2413. //防止拖动图标即打开了桌面应用
  2414. U.MD.D.click(this, obj);
  2415. }, [_orgStemDeskIcon[i]])
  2416. }, _frag); //
  2417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2420. }
  2421. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2422. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2423. _content = $$("div", {
  2424. className: "U_MD_D_KO",
  2425. "onmousedown": U.UF.C.closure(function (obj) {
  2426. //防止拖动图标即打开了桌面应用
  2427. U.MD.D.click(this, obj);
  2428. }, [_szulsDeskIcon[i]]),
  2429. "onclick": U.UF.C.closure(function (obj) {
  2430. //防止拖动图标即打开了桌面应用
  2431. U.MD.D.click(this, obj);
  2432. }, [_szulsDeskIcon[i]])
  2433. }, _frag); //
  2434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2437. }
  2438. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2439. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2440. _content = $$("div", {
  2441. className: "U_MD_D_KO",
  2442. "onmousedown": U.UF.C.closure(function (obj) {
  2443. //防止拖动图标即打开了桌面应用
  2444. U.MD.D.click(this, obj);
  2445. }, [_orgDesktopIconInfo[i]]),
  2446. "onclick": U.UF.C.closure(function (obj) {
  2447. //防止拖动图标即打开了桌面应用
  2448. U.MD.D.click(this, obj);
  2449. }, [_orgDesktopIconInfo[i]])
  2450. }, _frag); //
  2451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2454. }
  2455. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2456. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2457. _content = $$("div", {
  2458. className: "U_MD_D_KO",
  2459. "onmousedown": U.UF.C.closure(function (obj) {
  2460. //防止拖动图标即打开了桌面应用
  2461. U.MD.D.click(this, obj);
  2462. }, [_schoolDesktopIconInfo[i]]),
  2463. "onclick": U.UF.C.closure(function (obj) {
  2464. //防止拖动图标即打开了桌面应用
  2465. U.MD.D.click(this, obj);
  2466. }, [_schoolDesktopIconInfo[i]])
  2467. }, _frag); //
  2468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2471. }
  2472. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2473. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2474. _content = $$("div", {
  2475. className: "U_MD_D_KO",
  2476. "onmousedown": U.UF.C.closure(function (obj) {
  2477. //防止拖动图标即打开了桌面应用
  2478. U.MD.D.click(this, obj);
  2479. }, [_GMteacherDesktopIconInfo[i]]),
  2480. "onclick": U.UF.C.closure(function (obj) {
  2481. //防止拖动图标即打开了桌面应用
  2482. U.MD.D.click(this, obj);
  2483. }, [_GMteacherDesktopIconInfo[i]])
  2484. }, _frag); //
  2485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2488. }
  2489. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2490. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2491. _content = $$("div", {
  2492. className: "U_MD_D_KO",
  2493. "onmousedown": U.UF.C.closure(function (obj) {
  2494. //防止拖动图标即打开了桌面应用
  2495. U.MD.D.click(this, obj);
  2496. }, [_SONGteacherDesktopIconInfo[i]]),
  2497. "onclick": U.UF.C.closure(function (obj) {
  2498. //防止拖动图标即打开了桌面应用
  2499. U.MD.D.click(this, obj);
  2500. }, [_SONGteacherDesktopIconInfo[i]])
  2501. }, _frag); //
  2502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2505. }
  2506. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2507. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2508. _content = $$("div", {
  2509. className: "U_MD_D_KO",
  2510. "onmousedown": U.UF.C.closure(function (obj) {
  2511. //防止拖动图标即打开了桌面应用
  2512. U.MD.D.click(this, obj);
  2513. }, [_GMstudentDesktopIconInfo[i]]),
  2514. "onclick": U.UF.C.closure(function (obj) {
  2515. //防止拖动图标即打开了桌面应用
  2516. U.MD.D.click(this, obj);
  2517. }, [_GMstudentDesktopIconInfo[i]])
  2518. }, _frag); //
  2519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2522. }
  2523. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2524. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2525. _content = $$("div", {
  2526. className: "U_MD_D_KO",
  2527. "onmousedown": U.UF.C.closure(function (obj) {
  2528. //防止拖动图标即打开了桌面应用
  2529. U.MD.D.click(this, obj);
  2530. }, [_tcTeacherDeskIconInfo[i]]),
  2531. "onclick": U.UF.C.closure(function (obj) {
  2532. //防止拖动图标即打开了桌面应用
  2533. U.MD.D.click(this, obj);
  2534. }, [_tcTeacherDeskIconInfo[i]])
  2535. }, _frag); //
  2536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2539. }
  2540. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2541. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2542. _content = $$("div", {
  2543. className: "U_MD_D_KO",
  2544. "onmousedown": U.UF.C.closure(function (obj) {
  2545. //防止拖动图标即打开了桌面应用
  2546. U.MD.D.click(this, obj);
  2547. }, [_tcOrganizerDeskIconInfo[i]]),
  2548. "onclick": U.UF.C.closure(function (obj) {
  2549. //防止拖动图标即打开了桌面应用
  2550. U.MD.D.click(this, obj);
  2551. }, [_tcOrganizerDeskIconInfo[i]])
  2552. }, _frag); //
  2553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2556. }
  2557. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2558. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2559. _content = $$("div", {
  2560. className: "U_MD_D_KO",
  2561. "onmousedown": U.UF.C.closure(function (obj) {
  2562. //防止拖动图标即打开了桌面应用
  2563. U.MD.D.click(this, obj);
  2564. }, [_szscTeacherDeskIconInfo[i]]),
  2565. "onclick": U.UF.C.closure(function (obj) {
  2566. //防止拖动图标即打开了桌面应用
  2567. U.MD.D.click(this, obj);
  2568. }, [_szscTeacherDeskIconInfo[i]])
  2569. }, _frag); //
  2570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2573. }
  2574. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2575. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖动图标即打开了桌面应用
  2580. U.MD.D.click(this, obj);
  2581. }, [_szscOrganizerDeskIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖动图标即打开了桌面应用
  2584. U.MD.D.click(this, obj);
  2585. }, [_szscOrganizerDeskIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else {
  2592. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2593. _content = $$("div", {
  2594. className: "U_MD_D_KO",
  2595. "onmousedown": U.UF.C.closure(function (obj) {
  2596. //防止拖动图标即打开了桌面应用
  2597. U.MD.D.click(this, obj);
  2598. }, [_teacherDesktopIconInfo[i]]),
  2599. "onclick": U.UF.C.closure(function (obj) {
  2600. //防止拖动图标即打开了桌面应用
  2601. U.MD.D.click(this, obj);
  2602. }, [_teacherDesktopIconInfo[i]])
  2603. }, _frag); //
  2604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2607. }
  2608. }
  2609. } else {
  2610. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2611. _content = $$("div", {
  2612. className: "U_MD_D_KO",
  2613. style: { 'width': '124px', 'height': '145px' },
  2614. "onmousedown": U.UF.C.closure(function (obj) {
  2615. //防止拖动图标即打开了桌面应用
  2616. U.MD.D.click(this, obj);
  2617. }, [_easyDesktopIconInfo[i]]),
  2618. "onclick": U.UF.C.closure(function (obj) {
  2619. //防止拖动图标即打开了桌面应用
  2620. U.MD.D.click(this, obj);
  2621. }, [_easyDesktopIconInfo[i]])
  2622. }, _frag); //
  2623. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2626. }
  2627. }
  2628. if (type == 1) {
  2629. //加载好后给图标定位
  2630. U.MD.D.iconPostion($(_frag).Child());
  2631. } else {
  2632. //加载好后给图标定位
  2633. U.MD.D.iconPostion2($(_frag).Child());
  2634. }
  2635. //把图标加载到页面
  2636. el.appendChild(_frag);
  2637. }
  2638. /**
  2639. * 显示任务栏
  2640. *
  2641. * @param {element} 桌面元素
  2642. */
  2643. U.MD.D.I.displayTaskbar = function (el) {
  2644. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2645. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2646. //任务栏位置变化
  2647. U.selectEl(el).css({ "bottom": "0px" });
  2648. //桌面位置变话
  2649. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2650. }
  2651. }
  2652. //#region 桌面图标拖动逻辑
  2653. /**
  2654. * 桌面排列图标
  2655. *
  2656. * @param {element} 桌面元素
  2657. * @param {object} 上下相距的距离
  2658. * @param {object} 左右相距的距离
  2659. * @return {object} 命名空间
  2660. */
  2661. U.MD.D.iconPostion = function (childs, top, left) {
  2662. var i; //用于循环处理
  2663. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2664. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2665. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2666. for (i = 0; i < childs.length; i++) {
  2667. //如果竖排top超过了范围处理
  2668. if (top + 95 > US.height - 10) {
  2669. //left超过了页面范围处理,则向上重叠打印处理
  2670. if ((left + 180) > US.width) {
  2671. top -= 110;
  2672. left -= 90;
  2673. }
  2674. //没有超过范围,那么left+90添加到下一个竖排打印
  2675. else {
  2676. left += 90;
  2677. top = 15;
  2678. };
  2679. }
  2680. //给图标的位置赋值
  2681. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2682. if (i < childs.length - 1) {
  2683. //页面图标每次向下加95
  2684. top += 95;
  2685. }
  2686. }
  2687. //返回最后调用的图标的位置
  2688. return [top, left];
  2689. }
  2690. /**
  2691. * 桌面排列图标
  2692. *
  2693. * @param {element} 桌面元素
  2694. * @param {object} 上下相距的距离
  2695. * @param {object} 左右相距的距离
  2696. * @return {object} 命名空间
  2697. */
  2698. U.MD.D.iconPostion2 = function (childs, top, left) {
  2699. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2700. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2701. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2702. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2703. for (i = 0; i < childs.length; i++) {
  2704. //如果竖排top超过了范围处理
  2705. if (left + 150 > US.width - 10) {
  2706. //left超过了页面范围处理,则向上重叠打印处理
  2707. if ((top + 180) > US.Height) {
  2708. top -= 150;
  2709. left -= 150;
  2710. }
  2711. //没有超过范围,那么left+90添加到下一个竖排打印
  2712. else {
  2713. top += 150;
  2714. left = ol;
  2715. };
  2716. }
  2717. //给图标的位置赋值
  2718. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2719. if (i < childs.length - 1) {
  2720. //页面图标每次向下加95
  2721. left += 150;
  2722. }
  2723. }
  2724. //返回最后调用的图标的位置
  2725. return [top, left];
  2726. }
  2727. /**
  2728. * 桌面点击事件逻辑
  2729. *
  2730. * @param {element} 桌面元素
  2731. * @param {object} 上下相距的距离
  2732. * @param {object} 左右相距的距离
  2733. * @return {object} 命名空间
  2734. */
  2735. U.MD.D.click = function (el, obj) {
  2736. var _buttonnumber = event.button; //点击的按钮的事件值
  2737. var _userinfo = US.userInfo;
  2738. U.UF.EV.stopBubble(); //阻止向上冒泡
  2739. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2740. if (_buttonnumber < 2) {
  2741. //如果是click事件的处理
  2742. if (event.type == "click") {
  2743. //如果元素在mousemove事件中没有移动则出发click事件
  2744. if (!U.MD.D.I.IsDrag) {
  2745. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2746. U.alert("请先登录您的账号!");
  2747. setTimeout(() => {
  2748. U.MD.U.L.login();
  2749. }, 2000);
  2750. } else {
  2751. //打开应用处理
  2752. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2753. }
  2754. }
  2755. }
  2756. //如果是mouse事件的处理
  2757. else {
  2758. if (US.Config.type == '1') {
  2759. //拖动处理,添加拖动和拖动结束事件
  2760. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2761. }
  2762. }
  2763. U.MD.D.I.IsDrag = false;
  2764. }
  2765. }
  2766. /**
  2767. * 拖动的处理
  2768. *
  2769. */
  2770. U.MD.D.iconMove = function () {
  2771. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2772. U.MD.D.I.IsDrag = true;
  2773. }
  2774. /**
  2775. * 拖动结束后,这里是定位处理,以网状的形式定位
  2776. *
  2777. * @param {element} 拖动的元素
  2778. * @return {object} 命名空间
  2779. */
  2780. U.MD.D.iconUp = function (el) {
  2781. var _top = 15,
  2782. _left = 20,
  2783. _margin,
  2784. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2785. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2786. if (_positioninfo["OT"] > 15) {
  2787. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2788. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2789. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2790. }
  2791. if (_positioninfo["OL"] > 20) {
  2792. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2793. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2794. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2795. }
  2796. //while循环判断么一个重叠的元素
  2797. do {
  2798. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2799. _top = _positioninfo[0] + 95; //得到定位后的top
  2800. _left = _positioninfo[1]; //得到定位后的left
  2801. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2802. }
  2803. /**
  2804. * 判断拖动后图标是否重叠
  2805. *
  2806. * @param {element} 拖动的元素
  2807. * @param {element} 桌面所有的元素
  2808. * @param {array} 拖动元素的位置
  2809. ----------[0] 上 top
  2810. ----------[1] 左 left
  2811. * @return {object} 命名空间
  2812. */
  2813. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2814. //循环所有的图标
  2815. for (var i = 0; i < childs.length; i++) {
  2816. //判断有没有和该图标诶子重叠的元素
  2817. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2818. return childs[i]; //如果有返回
  2819. }
  2820. }
  2821. }
  2822. //#endregion
  2823. //#endregion
  2824. //#region 桌面应用
  2825. /**
  2826. * 打开应用
  2827. *
  2828. * @param {string} 类型
  2829. -----------------Disk 网盘系统
  2830. -----------------PDisk 学习系统网盘
  2831. -----------------Poto 图片
  2832. -----------------Video 视频
  2833. -----------------Music 音乐
  2834. -----------------Word word
  2835. -----------------Excel excel
  2836. -----------------Txt 记事本
  2837. -----------------PB 学习系统
  2838. -----------------Blog 朋友圈系统
  2839. -----------------FTP ftp系统
  2840. -----------------Group 好友群
  2841. -----------------SY 首页系统
  2842. -----------------Set 个人设置
  2843. -----------------XSet 系统设置
  2844. -----------------App 我们所有的app
  2845. -----------------BC c.1473.cn 平台
  2846. -----------------CWeb d.1473.cn 变成平台
  2847. -----------------其他的外联系统 我们统一用iframe打开
  2848. * @param {array} 类型
  2849. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2850. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2851. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2852. 如果第一个参数为其他,则无第二个参数
  2853. * @returns {array}
  2854. */
  2855. window.addEventListener('message', function (e) { // 监听 message 事件
  2856. // alert(e.data.type);
  2857. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2858. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2859. //3是展示全部阶段 2学生 1老师 4专家
  2860. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2861. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2862. //3是展示全部阶段 2学生 1老师 4专家
  2863. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2864. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2865. //3是展示全部阶段 2学生 1老师 4专家
  2866. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2867. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2868. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2869. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2871. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2873. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2875. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2877. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2878. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2879. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2880. //3是展示全部阶段 2学生 1老师 4专家
  2881. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2882. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2883. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2884. U.MD.D.I.selectUser();
  2885. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2886. var _formel = document.getElementById("study");
  2887. U.UF.F.windowZooming(_formel);
  2888. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2889. var _formel = document.getElementById("studyDetail");
  2890. U.UF.F.windowZooming(_formel);
  2891. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2892. var _formel = document.getElementById("studyDetail");
  2893. U.UF.F.windowZooming(_formel);
  2894. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2895. var _formel = document.getElementById("studentStudy");
  2896. U.UF.F.windowZooming(_formel);
  2897. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2898. // var _formel = document.getElementById("study");
  2899. //如果最大化了,那么就把他缩小
  2900. // if (_formel.ismaximize) {
  2901. // return;
  2902. // }
  2903. // U.UF.F.windowZooming(_formel);
  2904. // U.UF.F.topWindow(_formel);
  2905. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2906. // var _formel = document.getElementById("studyDetail");
  2907. //如果最大化了,那么就把他缩小
  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 == "5") {
  2914. // var _formel = document.getElementById("studentStudy");
  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 == "5gm") {
  2921. var _formel = document.getElementById("study");
  2922. // if (_formel.ismaximize) {
  2923. // return;
  2924. // }
  2925. // U.UF.F.windowZooming(_formel);
  2926. U.UF.F.topWindow(_formel);
  2927. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2928. var _formel = document.getElementById("studentIndex");
  2929. U.UF.F.windowZooming(_formel);
  2930. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2931. var _formel = document.getElementById("studyDetailS");
  2932. U.UF.F.windowZooming(_formel);
  2933. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2934. var _formel = document.getElementById("studioIndex");
  2935. U.UF.F.windowZooming(_formel);
  2936. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2937. var _formel = document.getElementById("studyDetailStudio");
  2938. U.UF.F.windowZooming(_formel);
  2939. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2940. var _formel = document.getElementById("studyDetailStudio");
  2941. U.UF.F.windowZooming(_formel);
  2942. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2943. var _formel = document.getElementById("studyDetailNT");
  2944. U.UF.F.windowZooming(_formel);
  2945. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2946. var _formel = document.getElementById("studyDetailS");
  2947. U.UF.F.windowZooming(_formel);
  2948. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2949. var _formel = document.getElementById("studyDetailS");
  2950. U.UF.F.topWindow(_formel);
  2951. } else if (e.data.tools && e.data.tools == "1") {
  2952. // U.MD.D.I.openApplication("whiteboard")
  2953. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "2") {
  2955. U.MD.D.I.openApplication("note")
  2956. } else if (e.data.tools && e.data.tools == "3") {
  2957. // U.MD.D.I.openApplication("mind")
  2958. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "4") {
  2960. U.MD.D.I.openApplication("investigation")
  2961. } else if (e.data.tools && e.data.tools == "6") {
  2962. // U.MD.D.I.openApplication("doc")
  2963. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2964. } else if (e.data.tools && e.data.tools == "7") {
  2965. // U.MD.D.I.openApplication("mindNetwork")
  2966. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2967. } else if (e.data.tools && e.data.tools == "8") {
  2968. U.MD.D.I.openApplication("library")
  2969. } else if (e.data.tools && e.data.tools == "17") {
  2970. U.MD.D.I.openApplication("stuLibrary")
  2971. } else if (e.data.tools && e.data.tools == "18") {
  2972. U.MD.D.I.openApplication("train")
  2973. } else if (e.data.tools && e.data.tools == "21") {
  2974. U.MD.D.I.openApplication("program")
  2975. } else if (e.data.tools && e.data.tools == "22") {
  2976. U.MD.D.I.openApplication("AIprogram2")
  2977. } else if (e.data.tools && e.data.tools == "23") {
  2978. U.MD.D.I.openApplication("Pythonprogram")
  2979. } else if (e.data.tools && e.data.tools == "24") {
  2980. U.MD.D.I.openApplication("AIprogram")
  2981. } else if (e.data.tools && e.data.tools == "25") {
  2982. U.MD.D.I.openApplication("sys")
  2983. } else if (e.data.tools && e.data.tools == "26") {
  2984. // U.MD.D.I.openApplication("courseDesign")
  2985. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2986. } else if (e.data.tools && e.data.tools == "31") {
  2987. U.MD.D.I.openApplication("netWorkPanel")
  2988. } else if (e.data.tools && e.data.tools == "32") {
  2989. U.MD.D.I.openApplication("codeEdit")
  2990. } else if (e.data.tools && e.data.tools == "57") {
  2991. U.MD.D.I.openApplication("CocoPi")
  2992. } else if (e.data.tools && e.data.tools == "63") {
  2993. U.MD.D.I.openApplication("Wood")
  2994. } else if (e.data.tools && e.data.tools == "58") {
  2995. U.MD.D.I.openApplication("car")
  2996. } else if (e.data.tools && e.data.tools == "59") {
  2997. U.MD.D.I.openApplication("lineSearch")
  2998. } else if (e.data.tools && e.data.tools == "60") {
  2999. U.MD.D.I.openApplication("deepLearning")
  3000. } else if (e.data.tools && e.data.tools == "61") {
  3001. U.MD.D.I.openApplication("allHistory")
  3002. } else if (e.data.tools && e.data.tools == "28") {
  3003. U.MD.D.I.openApplication("translation")
  3004. } else if (e.data.tools && e.data.tools == "37") {
  3005. U.MD.D.I.openApplication("mohe")
  3006. } else if (e.data.tools && e.data.tools == "38") {
  3007. U.MD.D.I.openApplication("24game")
  3008. } else if (e.data.tools && e.data.tools == "39") {
  3009. U.MD.D.I.openApplication("GeoGebra")
  3010. } else if (e.data.tools && e.data.tools == "43") {
  3011. U.MD.D.I.openApplication("studentEvaluate")
  3012. } else if (e.data.tools && e.data.tools == "44") {
  3013. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3014. } else if (e.data.tools && e.data.tools == "46") {
  3015. U.MD.D.I.openApplication("project")
  3016. } else if (e.data.tools && e.data.tools == "1s") {
  3017. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3018. } else if (e.data.tools && e.data.tools == "3s") {
  3019. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3020. } else if (e.data.tools && e.data.tools == "6s") {
  3021. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "1studio") {
  3023. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "3studio") {
  3025. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "6studio") {
  3027. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "3y") {
  3029. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "1y") {
  3031. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3033. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3034. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3035. U.MD.D.I.openApplication("AIAnalyse")
  3036. } else if (e.data.tools && e.data.tools == "1teacher") {
  3037. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3038. } else if (e.data.tools && e.data.tools == "3teacher") {
  3039. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3040. } else if (e.data.tools && e.data.tools == "7teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3043. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3045. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "1E") {
  3047. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3048. } else if (e.data.tools && e.data.tools == "3E") {
  3049. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3050. } else if (e.data.tools && e.data.tools == "57y") {
  3051. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "57u") {
  3053. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57teacher") {
  3055. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3056. } else if (e.data.tools && e.data.tools == "64") {
  3057. U.MD.D.I.openApplication("AIChat")
  3058. } else if (e.data.tools && e.data.tools == "66") {
  3059. U.MD.D.I.openApplication("formulaEdi")
  3060. } else if (e.data.tools && e.data.tools == "67") {
  3061. U.MD.D.I.openApplication("molStr")
  3062. } else if (e.data.tools && e.data.tools == "68") {
  3063. U.MD.D.I.openApplication("timeAxis")
  3064. } else if (e.data.tools && e.data.tools == "openCourse") {
  3065. let _data = {
  3066. typea: e.data.typea || '',
  3067. typeb: e.data.typeb || '',
  3068. typed: e.data.typed || '',
  3069. }
  3070. U.MD.D.I.openInApplication("index", _data)
  3071. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3072. let _data = {
  3073. classid: e.data.classid || '',
  3074. }
  3075. U.MD.D.I.openInApplication("dataClass", _data)
  3076. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3077. let _data = {
  3078. cid: e.data.cid || '',
  3079. gid: e.data.gid || '',
  3080. }
  3081. U.MD.D.I.openInApplication("opencCscl", _data)
  3082. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3083. U.MD.D.I.openApplication("dataBoardTest")
  3084. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3085. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3086. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3087. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3088. }
  3089. });
  3090. U.MD.D.I.selectUser = function () {
  3091. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3092. if (res.value[0].length > 0) {
  3093. US.userInfo = res.value[0][0];
  3094. $(".userName")[0].innerHTML = US.userInfo.username;
  3095. }
  3096. }, [], { "type": "GET", "withCredentials": true });
  3097. }
  3098. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3099. var _userinfo = US.userInfo, //登录用户信息
  3100. _userid = US.userInfo.userid, //登录用户id
  3101. _oid = _userinfo.organizeid,
  3102. _type = US.userInfo.type,
  3103. _org = US.userInfo.org,
  3104. _role = US.userInfo.role,
  3105. _classId = US.userInfo.classid;
  3106. if (_type == 4) {
  3107. tType = 4
  3108. }
  3109. switch (str) {
  3110. case "studyDetailNT": //无终端模式
  3111. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3112. setTimeout(() => {
  3113. U.MD.U.L.login();
  3114. }, 2000);
  3115. } else {
  3116. _formdiv = new U.UF.UI.form(
  3117. "课程详情",
  3118. $$("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 }), {
  3119. "id": "studyDetailNT",
  3120. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _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); } }
  3126. break;
  3127. }
  3128. case "studyDetail":
  3129. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3130. setTimeout(() => {
  3131. U.MD.U.L.login();
  3132. }, 2000);
  3133. } else {
  3134. _formdiv = new U.UF.UI.form(
  3135. "课程详情",
  3136. $$("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 }), {
  3137. "id": "studyDetail",
  3138. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _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); } }
  3144. break;
  3145. }
  3146. case "studyDetailTrain":
  3147. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3148. setTimeout(() => {
  3149. U.MD.U.L.login();
  3150. }, 2000);
  3151. } else {
  3152. _formdiv = new U.UF.UI.form(
  3153. "培训详情",
  3154. $$("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 }), {
  3155. "id": "studyDetailTrain",
  3156. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _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); } }
  3162. break;
  3163. }
  3164. case "studyDetailS":
  3165. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3166. setTimeout(() => {
  3167. U.MD.U.L.login();
  3168. }, 2000);
  3169. } else {
  3170. _formdiv = new U.UF.UI.form(
  3171. "项目详情",
  3172. $$("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 }), {
  3173. "id": "studyDetailS",
  3174. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3175. "onresize": function () { }
  3176. }, {
  3177. closecallback: function () { }
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _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); } }
  3180. break;
  3181. }
  3182. case "studyDetailStudio":
  3183. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3184. setTimeout(() => {
  3185. U.MD.U.L.login();
  3186. }, 2000);
  3187. } else {
  3188. _formdiv = new U.UF.UI.form(
  3189. "工作详情",
  3190. $$("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 }), {
  3191. "id": "studyDetailStudio",
  3192. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _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); } }
  3198. break;
  3199. }
  3200. case "studyDetailS5":
  3201. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3202. setTimeout(() => {
  3203. U.MD.U.L.login();
  3204. }, 2000);
  3205. } else {
  3206. _formdiv = new U.UF.UI.form(
  3207. "项目详情",
  3208. $$("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 }), {
  3209. "id": "studyDetailS",
  3210. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3211. "onresize": function () { }
  3212. }, {
  3213. closecallback: function () { }
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. }
  3218. case "studyDetailGM":
  3219. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3220. setTimeout(() => {
  3221. U.MD.U.L.login();
  3222. }, 2000);
  3223. } else {
  3224. _formdiv = new U.UF.UI.form(
  3225. "课程详情",
  3226. $$("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 }), {
  3227. "id": "studyDetail",
  3228. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3234. break;
  3235. }
  3236. case "hanUrl":
  3237. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3238. setTimeout(() => {
  3239. U.MD.U.L.login();
  3240. }, 2000);
  3241. } else {
  3242. _formdiv = new U.UF.UI.form(
  3243. "汉字宫",
  3244. $$("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" }), {
  3245. "id": "hanUrl",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function () { }
  3248. }, {
  3249. closecallback: function () { }
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. }
  3254. case "index":
  3255. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3256. setTimeout(() => {
  3257. U.MD.U.L.login();
  3258. }, 2000);
  3259. } else {
  3260. _formdiv = new U.UF.UI.form(
  3261. "课程中心",
  3262. $$("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 }), {
  3263. "id": "study",
  3264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3270. break;
  3271. }
  3272. case "dataClass":
  3273. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3274. setTimeout(() => {
  3275. U.MD.U.L.login();
  3276. }, 2000);
  3277. } else {
  3278. _formdiv = new U.UF.UI.form(
  3279. "数据报告",
  3280. $$("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 }), {
  3281. "id": "dataClass",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. }
  3290. case "opencCscl":
  3291. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3292. setTimeout(() => {
  3293. U.MD.U.L.login();
  3294. }, 2000);
  3295. } else {
  3296. _formdiv = new U.UF.UI.form(
  3297. "协同建构",
  3298. $$("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 }), {
  3299. "id": "futureClass",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. }
  3308. case "openCourseUpdate":
  3309. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3310. setTimeout(() => {
  3311. U.MD.U.L.login();
  3312. }, 2000);
  3313. } else {
  3314. _formdiv = new U.UF.UI.form(
  3315. "课程管理",
  3316. $$("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 }), {
  3317. "id": "openCourseUpdate",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. break;
  3324. }
  3325. case "openCourseEUpdate":
  3326. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3327. setTimeout(() => {
  3328. U.MD.U.L.login();
  3329. }, 2000);
  3330. } else {
  3331. _formdiv = new U.UF.UI.form(
  3332. "课程管理",
  3333. $$("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 }), {
  3334. "id": "openCourseUpdate",
  3335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. break;
  3341. }
  3342. case "inviteLoginSz":
  3343. _formdiv = new U.UF.UI.form(
  3344. "随机码登录",
  3345. $$("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/#/inviteLoginSZ?code=" + data }), {
  3346. "id": "inviteLoginSz",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. break;
  3353. }
  3354. }
  3355. U.MD.D.I.openApplication = function (str, obj, info) {
  3356. obj = obj || {};
  3357. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3358. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3359. _userinfo = US.userInfo, //登录用户信息
  3360. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3361. _oid = obj.organizeid || _userinfo.organizeid,
  3362. _type = US.userInfo.type,
  3363. _org = US.userInfo.org,
  3364. _role = US.userInfo.role,
  3365. _classId = US.userInfo.classid,
  3366. _TscreenType = 1
  3367. _screenType = 2,
  3368. _SscreenType = 3;
  3369. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3370. return;
  3371. }
  3372. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3373. switch (str) {
  3374. case "studnetProject": //好友打开
  3375. _formdiv = new U.UF.UI.form(
  3376. "我的项目",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3378. "id": "studnetProject",
  3379. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3385. break;
  3386. case "studentEvaluate": //好友打开
  3387. _formdiv = new U.UF.UI.form(
  3388. "我的评价",
  3389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3390. "id": "studentEvaluate",
  3391. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3397. break;
  3398. case "my":
  3399. _formdiv = new U.UF.UI.form(
  3400. "我的资料",
  3401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3402. "id": "my",
  3403. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3409. break;
  3410. case "program":
  3411. _formdiv = new U.UF.UI.form(
  3412. "编程平台",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3414. "id": "program",
  3415. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3421. break;
  3422. case "library":
  3423. _formdiv = new U.UF.UI.form(
  3424. "素材库",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3426. "id": "library",
  3427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function () { }
  3429. }, {
  3430. closecallback: function () { }
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3433. break;
  3434. case "whiteboard":
  3435. _formdiv = new U.UF.UI.form(
  3436. "电子白板",
  3437. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3438. "id": "whiteboard",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "investigation":
  3447. _formdiv = new U.UF.UI.form(
  3448. "问卷调查",
  3449. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3450. "id": "investigation",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. case "note":
  3459. _formdiv = new U.UF.UI.form(
  3460. "便签分类",
  3461. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3462. "id": "note",
  3463. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3469. break;
  3470. // case "score":
  3471. // _formdiv = new U.UF.UI.form(
  3472. // "量规评分",
  3473. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3474. // "id": "score",
  3475. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3476. // "onresize": function() {}
  3477. // }, {
  3478. // closecallback: function() {}
  3479. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3481. // break;
  3482. case "mind":
  3483. _formdiv = new U.UF.UI.form(
  3484. "思维导图",
  3485. $$("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"
  3486. "id": "mind",
  3487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function () { }
  3489. }, {
  3490. closecallback: function () { }
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _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); } }
  3493. break;
  3494. case "doc":
  3495. // U.MD.D.I.isRoom();
  3496. _formdiv = new U.UF.UI.form(
  3497. "协同文档",
  3498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3499. "id": "doc",
  3500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function () { }
  3502. }, {
  3503. closecallback: function () { }
  3504. }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3506. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3507. // })
  3508. _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); } }
  3509. break;
  3510. case "studentStudy":
  3511. _formdiv = new U.UF.UI.form(
  3512. "课程中心",
  3513. $$("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
  3514. "id": "studentStudy",
  3515. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3521. break;
  3522. case "train": //好友打开
  3523. _formdiv = new U.UF.UI.form(
  3524. "训练平台",
  3525. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3526. "id": "train",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3533. break;
  3534. case "mindNetwork": //好友打开
  3535. _formdiv = new U.UF.UI.form(
  3536. "思维网格",
  3537. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3538. "id": "mindNetwork",
  3539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3545. break;
  3546. case "studentClassRoom": //好友打开
  3547. _formdiv = new U.UF.UI.form(
  3548. "实时课堂",
  3549. $$("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 }), {
  3550. "id": "studentClassRoom",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. setTimeout(() => {
  3558. U.UF.F.windowZooming(_formdiv)
  3559. }, 0);
  3560. break;
  3561. }
  3562. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3563. switch (str) {
  3564. case "studnetProject": //好友打开
  3565. _formdiv = new U.UF.UI.form(
  3566. "我的项目",
  3567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3568. "id": "studnetProject",
  3569. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3575. break;
  3576. case "studentEvaluate": //好友打开
  3577. _formdiv = new U.UF.UI.form(
  3578. "我的评价",
  3579. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3580. "id": "studentEvaluate",
  3581. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "my":
  3589. _formdiv = new U.UF.UI.form(
  3590. "我的资料",
  3591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3592. "id": "my",
  3593. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3599. break;
  3600. case "program":
  3601. _formdiv = new U.UF.UI.form(
  3602. "编程平台",
  3603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3604. "id": "program",
  3605. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "library":
  3613. _formdiv = new U.UF.UI.form(
  3614. "素材库",
  3615. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3616. "id": "library",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "whiteboard":
  3625. _formdiv = new U.UF.UI.form(
  3626. "电子白板",
  3627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3628. "id": "whiteboard",
  3629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "investigation":
  3637. _formdiv = new U.UF.UI.form(
  3638. "问卷调查",
  3639. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3640. "id": "investigation",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "note":
  3649. _formdiv = new U.UF.UI.form(
  3650. "便签分类",
  3651. $$("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 }), {
  3652. "id": "note",
  3653. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. // case "score":
  3661. // _formdiv = new U.UF.UI.form(
  3662. // "量规评分",
  3663. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3664. // "id": "score",
  3665. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. // "onresize": function() {}
  3667. // }, {
  3668. // closecallback: function() {}
  3669. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. // _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); } }
  3671. // break;
  3672. case "mind":
  3673. _formdiv = new U.UF.UI.form(
  3674. "思维导图",
  3675. $$("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"
  3676. "id": "mind",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "doc":
  3685. // U.MD.D.I.isRoom();
  3686. _formdiv = new U.UF.UI.form(
  3687. "协同文档",
  3688. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3689. "id": "doc",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function () { }
  3692. }, {
  3693. closecallback: function () { }
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3696. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3697. })
  3698. _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); } }
  3699. break;
  3700. case "train": //好友打开
  3701. _formdiv = new U.UF.UI.form(
  3702. "训练平台",
  3703. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3704. "id": "train",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3711. break;
  3712. case "studentStudy":
  3713. _formdiv = new U.UF.UI.form(
  3714. "课程中心",
  3715. $$("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
  3716. "id": "studentStudy",
  3717. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. case "mindNetwork": //好友打开
  3725. _formdiv = new U.UF.UI.form(
  3726. "思维网格",
  3727. $$("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 }), {
  3728. "id": "mindNetwork",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _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); } }
  3735. break;
  3736. case "studentClassRoom": //好友打开
  3737. _formdiv = new U.UF.UI.form(
  3738. "实时课堂",
  3739. $$("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 }), {
  3740. "id": "studentClassRoom",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _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); } }
  3747. setTimeout(() => {
  3748. U.UF.F.windowZooming(_formdiv)
  3749. }, 0);
  3750. break;
  3751. }
  3752. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3753. //选择应用处理
  3754. switch (str) {
  3755. case "project": //好友打开
  3756. _formdiv = new U.UF.UI.form(
  3757. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3758. $$("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 }), {
  3759. "id": "project",
  3760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //创建窗体
  3765. _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); } }
  3766. break;
  3767. case "student":
  3768. _formdiv = new U.UF.UI.form(
  3769. "学生管理",
  3770. $$("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 }), {
  3771. "id": "student",
  3772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _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); } }
  3778. break;
  3779. case "evaluate":
  3780. _formdiv = new U.UF.UI.form(
  3781. "学生评价",
  3782. $$("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 }), {
  3783. "id": "evaluate",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "sys":
  3792. _formdiv = new U.UF.UI.form(
  3793. "目标管理",
  3794. $$("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 }), {
  3795. "id": "sys",
  3796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "courseDesign":
  3804. _formdiv = new U.UF.UI.form(
  3805. "项目设计",
  3806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3807. "id": "courseDesign",
  3808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "program":
  3816. _formdiv = new U.UF.UI.form(
  3817. "编程平台",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3819. "id": "program",
  3820. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. case "class":
  3828. _formdiv = new U.UF.UI.form(
  3829. "班级管理",
  3830. $$("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 }), {
  3831. "id": "class",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "Grade":
  3840. _formdiv = new U.UF.UI.form(
  3841. "年级管理",
  3842. $$("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 }), {
  3843. "id": "Grade",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "teacherOffice":
  3852. _formdiv = new U.UF.UI.form(
  3853. "教研室",
  3854. $$("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 }), {
  3855. "id": "teacherOffice",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break;
  3863. case "my":
  3864. _formdiv = new U.UF.UI.form(
  3865. "我的资料",
  3866. $$("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 }), {
  3867. "id": "my",
  3868. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function () { }
  3870. }, {
  3871. closecallback: function () { }
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. case "notice":
  3876. _formdiv = new U.UF.UI.form(
  3877. "通知公告",
  3878. $$("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 }), {
  3879. "id": "notice",
  3880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function () { }
  3882. }, {
  3883. closecallback: function () { }
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. case "library":
  3888. _formdiv = new U.UF.UI.form(
  3889. "素材库",
  3890. $$("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 }), {
  3891. "id": "library",
  3892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function () { }
  3894. }, {
  3895. closecallback: function () { }
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. case "whiteboard":
  3900. _formdiv = new U.UF.UI.form(
  3901. "电子白板",
  3902. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3903. "id": "whiteboard",
  3904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function () { }
  3906. }, {
  3907. closecallback: function () { }
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. _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); } }
  3910. break;
  3911. case "investigation":
  3912. _formdiv = new U.UF.UI.form(
  3913. "问卷调查",
  3914. $$("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 }), {
  3915. "id": "investigation",
  3916. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function () { }
  3918. }, {
  3919. closecallback: function () { }
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "note":
  3924. _formdiv = new U.UF.UI.form(
  3925. "便签分类",
  3926. $$("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 }), {
  3927. "id": "note",
  3928. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. // case "score":
  3936. // _formdiv = new U.UF.UI.form(
  3937. // "量规评分",
  3938. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3939. // "id": "score",
  3940. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3941. // "onresize": function() {}
  3942. // }, {
  3943. // closecallback: function() {}
  3944. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. // _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); } }
  3946. // break;
  3947. case "mind":
  3948. _formdiv = new U.UF.UI.form(
  3949. "思维导图",
  3950. $$("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"
  3951. "id": "mind",
  3952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. case "doc":
  3960. // U.MD.D.I.isRoom();
  3961. _formdiv = new U.UF.UI.form(
  3962. "协同文档",
  3963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3964. "id": "doc",
  3965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3971. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3972. })
  3973. _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); } }
  3974. break;
  3975. case "study":
  3976. _formdiv = new U.UF.UI.form(
  3977. "课程中心",
  3978. $$("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
  3979. "id": "study",
  3980. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3986. break;
  3987. case "mindNetwork": //好友打开
  3988. _formdiv = new U.UF.UI.form(
  3989. "思维网格",
  3990. $$("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 }), {
  3991. "id": "mindNetwork",
  3992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3993. "onresize": function () { }
  3994. }, {
  3995. closecallback: function () { }
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3998. break;
  3999. case "train": //好友打开
  4000. _formdiv = new U.UF.UI.form(
  4001. "训练平台",
  4002. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4003. "id": "mindNetwork",
  4004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4010. break;
  4011. case "teacherClassRoom": //好友打开
  4012. _formdiv = new U.UF.UI.form(
  4013. "实时课堂",
  4014. $$("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 }), {
  4015. "id": "teacherClassRoom",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4022. setTimeout(() => {
  4023. U.UF.F.windowZooming(_formdiv)
  4024. }, 0);
  4025. break;
  4026. }
  4027. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4028. switch (str) {
  4029. case "project": //好友打开
  4030. _formdiv = new U.UF.UI.form(
  4031. "课程管理",
  4032. $$("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 }), {
  4033. "id": "project",
  4034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //创建窗体
  4039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4040. break;
  4041. case "evaluate":
  4042. _formdiv = new U.UF.UI.form(
  4043. "学生评价",
  4044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4045. "id": "evaluate",
  4046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4047. "onresize": function () { }
  4048. }, {
  4049. closecallback: function () { }
  4050. }, { "style": { "height": "36px" } }).form; //创建窗体
  4051. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4052. break;
  4053. case "notice":
  4054. _formdiv = new U.UF.UI.form(
  4055. "通知公告",
  4056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4057. "id": "notice",
  4058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4059. "onresize": function () { }
  4060. }, {
  4061. closecallback: function () { }
  4062. }, { "style": { "height": "36px" } }).form; //创建窗体
  4063. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4064. break;
  4065. case "stuLibrary":
  4066. _formdiv = new U.UF.UI.form(
  4067. "学习资料",
  4068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4069. "id": "stuLibrary",
  4070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4071. "onresize": function () { }
  4072. }, {
  4073. closecallback: function () { }
  4074. }, { "style": { "height": "36px" } }).form; //创建窗体
  4075. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4076. break;
  4077. case "program":
  4078. _formdiv = new U.UF.UI.form(
  4079. "编程平台",
  4080. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4081. "id": "program",
  4082. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4083. "onresize": function () { }
  4084. }, {
  4085. closecallback: function () { }
  4086. }, { "style": { "height": "36px" } }).form; //创建窗体
  4087. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4088. break;
  4089. case "whiteboard":
  4090. _formdiv = new U.UF.UI.form(
  4091. "电子白板",
  4092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4093. "id": "whiteboard",
  4094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4095. "onresize": function () { }
  4096. }, {
  4097. closecallback: function () { }
  4098. }, { "style": { "height": "36px" } }).form; //创建窗体
  4099. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4100. break;
  4101. case "investigation":
  4102. _formdiv = new U.UF.UI.form(
  4103. "问卷调查",
  4104. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4105. "id": "investigation",
  4106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4112. break;
  4113. case "mind":
  4114. _formdiv = new U.UF.UI.form(
  4115. "思维导图",
  4116. $$("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"
  4117. "id": "mind",
  4118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4124. break;
  4125. case "doc":
  4126. // U.MD.D.I.isRoom();
  4127. _formdiv = new U.UF.UI.form(
  4128. "协同文档",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4130. "id": "doc",
  4131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4137. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4138. })
  4139. _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); } }
  4140. break;
  4141. case "study":
  4142. _formdiv = new U.UF.UI.form(
  4143. "课程中心",
  4144. $$("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
  4145. "id": "study",
  4146. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _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); } }
  4152. break;
  4153. case "mindNetwork": //好友打开
  4154. _formdiv = new U.UF.UI.form(
  4155. "思维网格",
  4156. $$("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 }), {
  4157. "id": "mindNetwork",
  4158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _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); } }
  4164. break;
  4165. case "train": //好友打开
  4166. _formdiv = new U.UF.UI.form(
  4167. "训练平台",
  4168. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4169. "id": "train",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _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); } }
  4176. break;
  4177. case "sys":
  4178. _formdiv = new U.UF.UI.form(
  4179. "目标管理",
  4180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4181. "id": "sys",
  4182. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4188. break;
  4189. case "courseDesign":
  4190. _formdiv = new U.UF.UI.form(
  4191. "项目设计",
  4192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4193. "id": "courseDesign",
  4194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //创建窗体
  4199. _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); } }
  4200. break;
  4201. }
  4202. } else if (!_type) {
  4203. switch (str) {
  4204. case "my":
  4205. _formdiv = new U.UF.UI.form(
  4206. "我的资料",
  4207. $$("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 }), {
  4208. "id": "my",
  4209. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4210. "onresize": function () { }
  4211. }, {
  4212. closecallback: function () { }
  4213. }, { "style": { "height": "36px" } }).form; //创建窗体
  4214. _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); } }
  4215. break;
  4216. }
  4217. }
  4218. switch (str) {
  4219. // AIprogram2 AI体验 aihub.cocorobo.cn
  4220. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4221. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4222. case "formulaEdi": //公式编辑
  4223. _formdiv = new U.UF.UI.form(
  4224. "公式编辑",
  4225. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4226. "id": "formulaEdi",
  4227. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function () { }
  4229. }, {
  4230. closecallback: function () { }
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4233. break;
  4234. case "molStr": //分子结构
  4235. _formdiv = new U.UF.UI.form(
  4236. "分子结构",
  4237. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4238. "id": "molStr",
  4239. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4245. break;
  4246. case "timeAxis": //时间轴
  4247. _formdiv = new U.UF.UI.form(
  4248. "时间轴",
  4249. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4250. "id": "timeAxis",
  4251. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function () { }
  4253. }, {
  4254. closecallback: function () { }
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4257. break;
  4258. case "AIprogram2": //AI体验
  4259. _formdiv = new U.UF.UI.form(
  4260. "AI体验",
  4261. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4262. "id": "AIprogram2",
  4263. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4269. break;
  4270. case "Pythonprogram": //python编程
  4271. _formdiv = new U.UF.UI.form(
  4272. "Python编程",
  4273. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4274. "id": "Pythonprogram",
  4275. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4276. "onresize": function () { }
  4277. }, {
  4278. closecallback: function () { }
  4279. }, { "style": { "height": "36px" } }).form; //创建窗体
  4280. _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); } }
  4281. break;
  4282. case "AIprogram": //ai编程
  4283. _formdiv = new U.UF.UI.form(
  4284. "AI编程平台",
  4285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4286. "id": "AIprogram",
  4287. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //创建窗体
  4292. _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); } }
  4293. break;
  4294. case "CocoPi": //CocoPi
  4295. _formdiv = new U.UF.UI.form(
  4296. "CocoPi",
  4297. $$("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" }), {
  4298. "id": "CocoPi",
  4299. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _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); } }
  4305. break;
  4306. case "Wood": //Wood
  4307. _formdiv = new U.UF.UI.form(
  4308. "海龟编程",
  4309. $$("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/" }), {
  4310. "id": "Wood",
  4311. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _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); } }
  4317. break;
  4318. case "car": //模拟驾驶
  4319. _formdiv = new U.UF.UI.form(
  4320. "模拟驾驶",
  4321. $$("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/" }), {
  4322. "id": "car",
  4323. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _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); } }
  4329. break;
  4330. case "lineSearch": //路径搜索
  4331. _formdiv = new U.UF.UI.form(
  4332. "路径搜索",
  4333. $$("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/" }), {
  4334. "id": "lineSearch",
  4335. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _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); } }
  4341. break;
  4342. case "deepLearning": //深度学习
  4343. _formdiv = new U.UF.UI.form(
  4344. "深度学习",
  4345. $$("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/#" }), {
  4346. "id": "deepLearning",
  4347. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. case "allHistory": //深度学习
  4355. _formdiv = new U.UF.UI.form(
  4356. "全历史",
  4357. $$("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/" }), {
  4358. "id": "allHistory",
  4359. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4360. "onresize": function () { }
  4361. }, {
  4362. closecallback: function () { }
  4363. }, { "style": { "height": "36px" } }).form; //创建窗体
  4364. _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); } }
  4365. break;
  4366. case "chatPDF": //ai编程
  4367. _formdiv = new U.UF.UI.form(
  4368. "chatPDF",
  4369. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4370. "id": "chatPDF",
  4371. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //创建窗体
  4376. _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); } }
  4377. break;
  4378. case "resources": //国家教育
  4379. _formdiv = new U.UF.UI.form(
  4380. "国家教育",
  4381. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4382. "id": "resources",
  4383. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4384. "onresize": function () { }
  4385. }, {
  4386. closecallback: function () { }
  4387. }, { "style": { "height": "36px" } }).form; //创建窗体
  4388. _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); } }
  4389. break;
  4390. case "codeEdit": //源码编辑
  4391. _formdiv = new U.UF.UI.form(
  4392. "源码编辑",
  4393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4394. "id": "codeEdit",
  4395. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4396. "onresize": function () { }
  4397. }, {
  4398. closecallback: function () { }
  4399. }, { "style": { "height": "36px" } }).form; //创建窗体
  4400. _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); } }
  4401. break; //
  4402. case "MindMap": //MindMap
  4403. _formdiv = new U.UF.UI.form(
  4404. "MindMap",
  4405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4406. "id": "MindMap",
  4407. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4408. "onresize": function () { }
  4409. }, {
  4410. closecallback: function () { }
  4411. }, { "style": { "height": "36px" } }).form; //创建窗体
  4412. _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); } }
  4413. break;
  4414. case "netWorkPanel": //netWorkPanel
  4415. _formdiv = new U.UF.UI.form(
  4416. "netWorkPanel",
  4417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4418. "id": "netWorkPanel",
  4419. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4420. "onresize": function () { }
  4421. }, {
  4422. closecallback: function () { }
  4423. }, { "style": { "height": "36px" } }).form; //创建窗体
  4424. _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); } }
  4425. break;
  4426. case "GeoGebra": //GeoGebra
  4427. _formdiv = new U.UF.UI.form(
  4428. "GeoGebra",
  4429. $$("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" }), {
  4430. "id": "GeoGebra",
  4431. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4432. "onresize": function () { }
  4433. }, {
  4434. closecallback: function () { }
  4435. }, { "style": { "height": "36px" } }).form; //创建窗体
  4436. _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); } }
  4437. break;
  4438. case "translation": //翻译
  4439. _formdiv = new U.UF.UI.form(
  4440. "翻译",
  4441. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4442. "id": "translation",
  4443. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4444. "onresize": function () { }
  4445. }, {
  4446. closecallback: function () { }
  4447. }, { "style": { "height": "36px" } }).form; //创建窗体
  4448. _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); } }
  4449. break;
  4450. case "mohe": //魔盒
  4451. _formdiv = new U.UF.UI.form(
  4452. "魔盒识字",
  4453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4454. "id": "mohe",
  4455. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4456. "onresize": function () { }
  4457. }, {
  4458. closecallback: function () { }
  4459. }, { "style": { "height": "36px" } }).form; //创建窗体
  4460. _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); } }
  4461. break;
  4462. case "24game": //24点
  4463. _formdiv = new U.UF.UI.form(
  4464. "24点",
  4465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4466. "id": "24game",
  4467. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4468. "onresize": function () { }
  4469. }, {
  4470. closecallback: function () { }
  4471. }, { "style": { "height": "36px" } }).form; //创建窗体
  4472. _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); } }
  4473. break;
  4474. case "case":
  4475. _formdiv = new U.UF.UI.form(
  4476. "课程进展",
  4477. $$("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 }), {
  4478. "id": "case",
  4479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function () { }
  4481. }, {
  4482. closecallback: function () { }
  4483. }, { "style": { "height": "36px" } }).form; //创建窗体
  4484. _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); } }
  4485. break;
  4486. case "snf":
  4487. _formdiv = new U.UF.UI.form(
  4488. "赛诺梵",
  4489. $$("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" }), {
  4490. "id": "snf",
  4491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4492. "onresize": function () { }
  4493. }, {
  4494. closecallback: function () { }
  4495. }, { "style": { "height": "36px" } }).form; //创建窗体
  4496. _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); } }
  4497. break;
  4498. case "hanFamily":
  4499. _formdiv = new U.UF.UI.form(
  4500. "汉字家族",
  4501. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4502. "id": "hanFamily",
  4503. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4504. "onresize": function () { }
  4505. }, {
  4506. closecallback: function () { }
  4507. }, { "style": { "height": "36px" } }).form; //创建窗体
  4508. _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); } }
  4509. break;
  4510. case "hanClassics":
  4511. _formdiv = new U.UF.UI.form(
  4512. "国学经典",
  4513. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4514. "id": "hanClassics",
  4515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4516. "onresize": function () { }
  4517. }, {
  4518. closecallback: function () { }
  4519. }, { "style": { "height": "36px" } }).form; //创建窗体
  4520. _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); } }
  4521. break;
  4522. case "hanTraining":
  4523. _formdiv = new U.UF.UI.form(
  4524. "笔画训练",
  4525. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4526. "id": "hanTraining",
  4527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4528. "onresize": function () { }
  4529. }, {
  4530. closecallback: function () { }
  4531. }, { "style": { "height": "36px" } }).form; //创建窗体
  4532. _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); } }
  4533. break;
  4534. case "hanClass":
  4535. _formdiv = new U.UF.UI.form(
  4536. "书法课堂",
  4537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4538. "id": "hanClass",
  4539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4540. "onresize": function () { }
  4541. }, {
  4542. closecallback: function () { }
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4545. break;
  4546. case "han":
  4547. _formdiv = new U.UF.UI.form(
  4548. "汉字宫",
  4549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4550. "id": "han",
  4551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4552. "onresize": function () { }
  4553. }, {
  4554. closecallback: function () { }
  4555. }, { "style": { "height": "36px" } }).form; //创建窗体
  4556. _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); } }
  4557. break;
  4558. case "projectGM": //课程管理
  4559. _formdiv = new U.UF.UI.form(
  4560. "课程管理",
  4561. $$("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 }), {
  4562. "id": "projectGM",
  4563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4564. "onresize": function () { }
  4565. }, {
  4566. closecallback: function () { }
  4567. }, { "style": { "height": "36px" } }).form; //创建窗体
  4568. _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); } }
  4569. break;
  4570. case "studyGM": //课程中心
  4571. _formdiv = new U.UF.UI.form(
  4572. "课程中心",
  4573. $$("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
  4574. "id": "study",
  4575. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () { }
  4579. }, { "style": { "height": "36px" } }).form; //创建窗体
  4580. _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); } }
  4581. break;
  4582. // studentGM
  4583. case "studentGM": //学生管理
  4584. _formdiv = new U.UF.UI.form(
  4585. "学生管理",
  4586. $$("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 }), {
  4587. "id": "studentGM",
  4588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //创建窗体
  4593. _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); } }
  4594. break;
  4595. case "evaluateGM": //学生评价
  4596. _formdiv = new U.UF.UI.form(
  4597. "学生评价",
  4598. $$("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 }), {
  4599. "id": "evaluateGM",
  4600. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //创建窗体
  4605. _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); } }
  4606. break;
  4607. // classGM
  4608. case "classGM": //班级管理
  4609. _formdiv = new U.UF.UI.form(
  4610. "班级管理",
  4611. $$("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 }), {
  4612. "id": "classGM",
  4613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () { }
  4617. }, { "style": { "height": "36px" } }).form; //创建窗体
  4618. _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); } }
  4619. break;
  4620. // dataGM
  4621. case "dataGM":
  4622. _formdiv = new U.UF.UI.form(
  4623. "我的资料",
  4624. $$("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 }), {
  4625. "id": "dataGM",
  4626. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4627. "onresize": function () { }
  4628. }, {
  4629. closecallback: function () { }
  4630. }, { "style": { "height": "36px" } }).form; //创建窗体
  4631. _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); } }
  4632. break;
  4633. // caseGM
  4634. case "caseGM": //课程进展
  4635. _formdiv = new U.UF.UI.form(
  4636. "课程进展",
  4637. $$("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 }), {
  4638. "id": "caseGM",
  4639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _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); } }
  4645. break;
  4646. // meterialGM
  4647. case "meterialGM": //素材库
  4648. _formdiv = new U.UF.UI.form(
  4649. "素材库",
  4650. $$("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 }), {
  4651. "id": "meterialGM",
  4652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _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); } }
  4658. break;
  4659. // evaluateSGM
  4660. case "evaluateSGM": //我的评价
  4661. _formdiv = new U.UF.UI.form(
  4662. "我的评价",
  4663. $$("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 }), {
  4664. "id": "evaluateSGM",
  4665. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4666. "onresize": function () { }
  4667. }, {
  4668. closecallback: function () { }
  4669. }, { "style": { "height": "36px" } }).form; //创建窗体
  4670. _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); } }
  4671. break;
  4672. case "jupyter": //jupyter
  4673. _formdiv = new U.UF.UI.form(
  4674. "jupyter",
  4675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4676. "id": "jupyter",
  4677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, { "style": { "height": "36px" } }).form; //创建窗体
  4682. _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); } }
  4683. break;
  4684. case "number": //数字实验室
  4685. _formdiv = new U.UF.UI.form(
  4686. "数字实验室",
  4687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4688. "id": "number",
  4689. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //创建窗体
  4694. _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); } }
  4695. break;
  4696. case "studentCourse": //项目管理 学生
  4697. _formdiv = new U.UF.UI.form(
  4698. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4699. $$("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 }), {
  4700. "id": "studentCourse",
  4701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, { "style": { "height": "36px" } }).form; //创建窗体
  4706. _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); } }
  4707. break;
  4708. case "studentCourseS": //项目管理 老师
  4709. _formdiv = new U.UF.UI.form(
  4710. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4711. $$("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 }), {
  4712. "id": "studentCourseS",
  4713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //创建窗体
  4718. _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); } }
  4719. break;
  4720. case "studentIndex": //项目中心
  4721. _formdiv = new U.UF.UI.form(
  4722. "项目中心",
  4723. $$("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 }), {
  4724. "id": "studentIndex",
  4725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //创建窗体
  4730. _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); } }
  4731. break;
  4732. case "CaseDesignS":
  4733. _formdiv = new U.UF.UI.form(
  4734. "项目进展",
  4735. $$("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 }), {
  4736. "id": "case",
  4737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4738. "onresize": function () { }
  4739. }, {
  4740. closecallback: function () { }
  4741. }, { "style": { "height": "36px" } }).form; //创建窗体
  4742. _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); } }
  4743. break;
  4744. case "tcStudent": //腾讯学生管理
  4745. _formdiv = new U.UF.UI.form(
  4746. "学生管理",
  4747. $$("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 }), {
  4748. "id": "tcStudent",
  4749. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4750. "onresize": function () { }
  4751. }, {
  4752. closecallback: function () { }
  4753. }, { "style": { "height": "36px" } }).form; //创建窗体
  4754. _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); } }
  4755. break;
  4756. case "tcSchool": //腾讯学校管理
  4757. _formdiv = new U.UF.UI.form(
  4758. "学校管理",
  4759. $$("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 }), {
  4760. "id": "tcSchool",
  4761. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4762. "onresize": function () { }
  4763. }, {
  4764. closecallback: function () { }
  4765. }, { "style": { "height": "36px" } }).form; //创建窗体
  4766. _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); } }
  4767. break;
  4768. case "tcTeacher": //腾讯学校管理
  4769. _formdiv = new U.UF.UI.form(
  4770. "教师管理",
  4771. $$("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 }), {
  4772. "id": "tcTeacher",
  4773. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4774. "onresize": function () { }
  4775. }, {
  4776. closecallback: function () { }
  4777. }, { "style": { "height": "36px" } }).form; //创建窗体
  4778. _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); } }
  4779. break;
  4780. case "tcData": //腾讯我的资料
  4781. _formdiv = new U.UF.UI.form(
  4782. "我的资料",
  4783. $$("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 }), {
  4784. "id": "tcData",
  4785. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4786. "onresize": function () { }
  4787. }, {
  4788. closecallback: function () { }
  4789. }, { "style": { "height": "36px" } }).form; //创建窗体
  4790. _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); } }
  4791. break;
  4792. case "tcNotice": //腾讯消息通知
  4793. _formdiv = new U.UF.UI.form(
  4794. "消息通知",
  4795. $$("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 }), {
  4796. "id": "tcNotice",
  4797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4798. "onresize": function () { }
  4799. }, {
  4800. closecallback: function () { }
  4801. }, { "style": { "height": "36px" } }).form; //创建窗体
  4802. _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); } }
  4803. break;
  4804. case "myReport": //好友打开
  4805. _formdiv = new U.UF.UI.form(
  4806. "我的评价",
  4807. $$("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 }), {
  4808. "id": "myReport",
  4809. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4810. "onresize": function () { }
  4811. }, {
  4812. closecallback: function () { }
  4813. }, { "style": { "height": "36px" } }).form; //创建窗体
  4814. _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); } }
  4815. break;
  4816. case "learnAna": //好友打开
  4817. _formdiv = new U.UF.UI.form(
  4818. "学习分析",
  4819. $$("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 }), {
  4820. "id": "learnAna",
  4821. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4822. "onresize": function () { }
  4823. }, {
  4824. closecallback: function () { }
  4825. }, { "style": { "height": "36px" } }).form; //创建窗体
  4826. _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); } }
  4827. break;
  4828. case "AIChat": //AI共创
  4829. _formdiv = new U.UF.UI.form(
  4830. "AI共创",
  4831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4832. "id": "AIChat",
  4833. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4834. "onresize": function () { }
  4835. }, {
  4836. istop: true,
  4837. closecallback: function () { $("#aichat_icon").remove(); },
  4838. narrowcallback: function () {
  4839. if (!$("#aichat_icon")[0]) {
  4840. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4841. }
  4842. },
  4843. }, { "style": { "height": "36px" } }).form; //创建窗体
  4844. _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); } }
  4845. break;
  4846. case "ainew": //AI共创
  4847. _formdiv = new U.UF.UI.form(
  4848. "AI协同",
  4849. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4850. "id": "ainew",
  4851. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4852. "onresize": function () { }
  4853. }, {
  4854. closecallback: function () { }
  4855. }, { "style": { "height": "36px" } }).form; //创建窗体
  4856. _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); } }
  4857. break;
  4858. case "gpt4": //gpt4
  4859. _formdiv = new U.UF.UI.form(
  4860. "AI助手",
  4861. $$("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 }), {
  4862. "id": "gpt4",
  4863. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4864. "onresize": function () { }
  4865. }, {
  4866. closecallback: function () { }
  4867. }, { "style": { "height": "36px" } }).form; //创建窗体
  4868. _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); } }
  4869. break;
  4870. case "aigpt": //gpt4
  4871. _formdiv = new U.UF.UI.form(
  4872. "AI助手+",
  4873. $$("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.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4874. "id": "aigpt",
  4875. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4876. "onresize": function () { }
  4877. }, {
  4878. closecallback: function () { }
  4879. }, { "style": { "height": "36px" } }).form; //创建窗体
  4880. _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); } }
  4881. break;
  4882. case "futureClass": //AI共创
  4883. _formdiv = new U.UF.UI.form(
  4884. "协同建构",
  4885. $$("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
  4886. "id": "synergyCourse",
  4887. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () {
  4891. $("iframe", _formdiv)[0].contentWindow.loginout();
  4892. }
  4893. }, { "style": { "height": "36px" } }).form; //创建窗体
  4894. _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); } }
  4895. break;
  4896. case "aiagent": //ai agent
  4897. _formdiv = new U.UF.UI.form(
  4898. "AI Agent",
  4899. $$("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" }), {
  4900. "id": "AIAgent",
  4901. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4902. "onresize": function () { }
  4903. }, {
  4904. closecallback: function () { }
  4905. }, { "style": { "height": "36px" } }).form; //创建窗体
  4906. _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); } }
  4907. break;
  4908. case "dataBoard": //数据看板
  4909. _formdiv = new U.UF.UI.form(
  4910. "数据看板",
  4911. $$("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 }), {
  4912. "id": "dataBoard",
  4913. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4914. "onresize": function () { }
  4915. }, {
  4916. closecallback: function () { }
  4917. }, { "style": { "height": "36px" } }).form; //创建窗体
  4918. _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); } }
  4919. break;
  4920. case "dataBoardSies": //数据融合
  4921. _formdiv = new U.UF.UI.form(
  4922. "数据融合",
  4923. $$("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 }), {
  4924. "id": "dataBoardSies",
  4925. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, { "style": { "height": "36px" } }).form; //创建窗体
  4930. _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); } }
  4931. break;
  4932. case "dataBoardNew": //数据看板
  4933. _formdiv = new U.UF.UI.form(
  4934. "综合看板",
  4935. $$("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 }), {
  4936. "id": "dataBoardNew",
  4937. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4938. "onresize": function () { }
  4939. }, {
  4940. closecallback: function () { }
  4941. }, { "style": { "height": "36px" } }).form; //创建窗体
  4942. _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); } }
  4943. break;
  4944. case "dataBoardTest": //数据看板
  4945. _formdiv = new U.UF.UI.form(
  4946. "评测看板",
  4947. $$("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 }), {
  4948. "id": "dataBoardTest",
  4949. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4950. "onresize": function () { }
  4951. }, {
  4952. closecallback: function () { }
  4953. }, { "style": { "height": "36px" } }).form; //创建窗体
  4954. _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); } }
  4955. break;
  4956. case "AIAnalyse": //AI共创
  4957. _formdiv = new U.UF.UI.form(
  4958. "AI分析",
  4959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4960. "id": "AIAnalyse",
  4961. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4962. "onresize": function () { }
  4963. }, {
  4964. closecallback: function () { }
  4965. }, { "style": { "height": "36px" } }).form; //创建窗体
  4966. _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); } }
  4967. break;
  4968. case "studioCourse": //AI共创
  4969. _formdiv = new U.UF.UI.form(
  4970. "工作管理",
  4971. $$("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 }), {
  4972. "id": "studioCourse",
  4973. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4974. "onresize": function () { }
  4975. }, {
  4976. closecallback: function () { }
  4977. }, { "style": { "height": "36px" } }).form; //创建窗体
  4978. _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); } }
  4979. break;
  4980. case "studioIndex": //AI共创
  4981. _formdiv = new U.UF.UI.form(
  4982. "工作中心",
  4983. $$("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 }), {
  4984. "id": "studioIndex",
  4985. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4986. "onresize": function () { }
  4987. }, {
  4988. closecallback: function () { }
  4989. }, { "style": { "height": "36px" } }).form; //创建窗体
  4990. _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); } }
  4991. break;
  4992. case "source":
  4993. _formdiv = new U.UF.UI.form(
  4994. "教学资源",
  4995. $$("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 }), {
  4996. "id": "source",
  4997. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4998. "onresize": function () { }
  4999. }, {
  5000. closecallback: function () { }
  5001. }, { "style": { "height": "36px" } }).form; //创建窗体
  5002. _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); } }
  5003. break;
  5004. case "testTeacher":
  5005. _formdiv = new U.UF.UI.form(
  5006. "教师管理",
  5007. $$("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 }), {
  5008. "id": "testTeacher",
  5009. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5010. "onresize": function () { }
  5011. }, {
  5012. closecallback: function () { }
  5013. }, { "style": { "height": "36px" } }).form; //创建窗体
  5014. _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); } }
  5015. break;
  5016. case "testStudent":
  5017. _formdiv = new U.UF.UI.form(
  5018. "教师中心",
  5019. $$("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 }), {
  5020. "id": "testStudent",
  5021. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5022. "onresize": function () { }
  5023. }, {
  5024. closecallback: function () { }
  5025. }, { "style": { "height": "36px" } }).form; //创建窗体
  5026. _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); } }
  5027. break;
  5028. case "testTeacherSies":
  5029. _formdiv = new U.UF.UI.form(
  5030. "教师管理",
  5031. $$("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 }), {
  5032. "id": "testTeacherSies",
  5033. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5034. "onresize": function () { }
  5035. }, {
  5036. closecallback: function () { }
  5037. }, { "style": { "height": "36px" } }).form; //创建窗体
  5038. _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); } }
  5039. break;
  5040. case "testStudentSies":
  5041. _formdiv = new U.UF.UI.form(
  5042. "教师中心",
  5043. $$("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 }), {
  5044. "id": "testStudentSies",
  5045. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5046. "onresize": function () { }
  5047. }, {
  5048. closecallback: function () { }
  5049. }, { "style": { "height": "36px" } }).form; //创建窗体
  5050. _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); } }
  5051. break;
  5052. case "ytpbl": //消息通知
  5053. _formdiv = new U.UF.UI.form(
  5054. "案例征集",
  5055. $$("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 }), {
  5056. "id": "ytpbl",
  5057. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5058. "onresize": function () { }
  5059. }, {
  5060. closecallback: function () { }
  5061. }, { "style": { "height": "36px" } }).form; //创建窗体
  5062. _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); } }
  5063. // 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");
  5064. break;
  5065. case "aiCourseResource": //人工智能窗体
  5066. _formdiv = new U.UF.UI.form(
  5067. false,
  5068. $$("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 }), {
  5069. "id": "aiCourseResource",
  5070. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5071. "onresize": function () { },
  5072. "isdrag": false,
  5073. }, {
  5074. closecallback: function () { }
  5075. }, { "style": { "height": "36px" } }).form; //创建窗体
  5076. _taskbar = ''
  5077. break;
  5078. case "szdjgCocooroboX": //图形化编程
  5079. _formdiv = new U.UF.UI.form(
  5080. "图形化编程",
  5081. $$("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" }), {
  5082. "id": "szdjgCocooroboX",
  5083. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5084. "onresize": function () { }
  5085. }, {
  5086. closecallback: function () { }
  5087. }, { "style": { "height": "36px" } }).form; //创建窗体
  5088. _taskbar = ''
  5089. break;
  5090. case "szdjgPython": //python编程
  5091. _formdiv = new U.UF.UI.form(
  5092. "python编程",
  5093. $$("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" }), {
  5094. "id": "szdjgPython",
  5095. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5096. "onresize": function () { }
  5097. }, {
  5098. closecallback: function () { }
  5099. }, { "style": { "height": "36px" } }).form; //创建窗体
  5100. _taskbar = ''
  5101. break;
  5102. case "Record":
  5103. _formdiv = new U.UF.UI.form(
  5104. "观察记录",
  5105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5106. "id": "Record",
  5107. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5108. "onresize": function () { }
  5109. }, {
  5110. closecallback: function () { }
  5111. }, { "style": { "height": "36px" } }).form; //创建窗体
  5112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5113. break;
  5114. }
  5115. //U.MD.D.I.openClick(str);
  5116. //如果有任务栏信息
  5117. if (_taskbar) {
  5118. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5119. }
  5120. }
  5121. // U.MD.D.I.openClick = function(str){
  5122. // var click = '';
  5123. // switch(str){
  5124. // case 'friend':
  5125. // click = '我的好友';
  5126. // break;
  5127. // case 'domain':
  5128. // click = '域名管理';
  5129. // break;
  5130. // case 'disk':
  5131. // click = '我的云盘';
  5132. // break;
  5133. // case 'word':
  5134. // click = 'Word';
  5135. // break;
  5136. // case 'excel':
  5137. // click = 'Execl';
  5138. // break;
  5139. // case 'txt':
  5140. // click = '文本文件';
  5141. // break;
  5142. // case 'lookupFriend':
  5143. // click = '查找好友';
  5144. // break;
  5145. // case 'ftp':
  5146. // click = 'FTP';
  5147. // break;
  5148. // case 'group':
  5149. // click = '群组';
  5150. // break;
  5151. // case 'set':
  5152. // click = '我的设置';
  5153. // break;
  5154. // case 'systemSet':
  5155. // click = '系统设置';
  5156. // break;
  5157. // case 'boomYun':
  5158. // click = '互联办公';
  5159. // break;
  5160. // case 'xz':
  5161. // click = '云端下载';
  5162. // break;
  5163. // case 'client':
  5164. // click = '有思浏览器';
  5165. // break;
  5166. // case 'backEndProgramming':
  5167. // click = '在线后台编程';
  5168. // break;
  5169. // case 'frontEndProgramming':
  5170. // click = '在线前端编程';
  5171. // break;
  5172. // default: break;
  5173. // }
  5174. // if(U.MD.D.I.Ip && click){
  5175. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5176. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5177. // })
  5178. // }
  5179. // }
  5180. /**
  5181. *函数作用:ajax简易函数,使用post格式
  5182. *@param url {data} 后台地址
  5183. *@param data {data} 参数json
  5184. *@param fn {data} 回调函数
  5185. *
  5186. */
  5187. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5188. // var xhr = new XMLHttpRequest();
  5189. // xhr.open("GET",url,true);
  5190. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5191. // xhr.onreadystatechange = function(){
  5192. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5193. // fn.call(this,xhr.responseText);
  5194. // }
  5195. // };
  5196. // xhr.send();
  5197. // }
  5198. /*判断是否是内网IP*/
  5199. // U.MD.D.I.isInnerIPFn = function(str){
  5200. // var curPageUrl = str;
  5201. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5202. // curPageUrl =curPageUrl.replace(reg1,'');
  5203. // // console.log('curPageUrl-1 '+curPageUrl);
  5204. // var reg2 = /\:+/g;//替换冒号为一点
  5205. // curPageUrl =curPageUrl.replace(reg2,'.');
  5206. // // console.log('curPageUrl-2 '+curPageUrl);
  5207. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5208. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5209. // if(curPageUrl[2] != '16'){
  5210. // return ipAddress;
  5211. // }else{
  5212. // return false;
  5213. // }
  5214. // }
  5215. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5216. // //compatibility for firefox and chrome
  5217. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5218. // var pc = new myPeerConnection({
  5219. // iceServers: []
  5220. // }),
  5221. // noop = function() {},
  5222. // localIPs = {},
  5223. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5224. // key;
  5225. // function iterateIP(ip) {
  5226. // if (!localIPs[ip]) onNewIP(ip);
  5227. // localIPs[ip] = true;
  5228. // }
  5229. // //create a bogus data channel
  5230. // pc.createDataChannel("");
  5231. // // create offer and set local description
  5232. // pc.createOffer().then(function(sdp) {
  5233. // sdp.sdp.split('\n').forEach(function(line) {
  5234. // if (line.indexOf('candidate') < 0) return;
  5235. // line.match(ipRegex).forEach(iterateIP);
  5236. // });
  5237. // pc.setLocalDescription(sdp, noop, noop);
  5238. // }).catch(function(reason) {
  5239. // // An error occurred, so handle the failure to connect
  5240. // });
  5241. // //sten for candidate events
  5242. // pc.onicecandidate = function(ice) {
  5243. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5244. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5245. // };
  5246. // }
  5247. // U.MD.D.I.getUserIpBool = function(callback){
  5248. // U.MD.D.I.getUserIP(function(ip){
  5249. // alert("Got IP! :" + ip);
  5250. // });
  5251. //}
  5252. //#endregion
  5253. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5254. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5255. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5256. _userinfo = US.userInfo, //登录用户信息
  5257. _userid = US.userInfo.userid //登录用户id
  5258. let _iframe;
  5259. let _cid = cid,
  5260. _stage = stage,
  5261. _task = task,
  5262. _tool = tool;
  5263. var _jie = $$("div", {
  5264. "style": {
  5265. "position": "absolute",
  5266. "bottom": "50px",
  5267. "right": "50px",
  5268. "zIndex": "9999",
  5269. "backgroundColor": "#2268bc",
  5270. "color": "#fff",
  5271. "padding": "12px 20px",
  5272. "cursor": "pointer",
  5273. "borderRadius": "4px",
  5274. },
  5275. "innerHTML": "提交作业"
  5276. })
  5277. let aTool = ''
  5278. let _loading = document.createElement('div')
  5279. _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;"
  5280. // _loading.id = "";
  5281. let _lchild = document.createElement('div')
  5282. let _limg = document.createElement('img')
  5283. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5284. _limg.style = "width: 26px;margin-right: 10px;"
  5285. _lchild.appendChild(_limg)
  5286. let _lspan = document.createElement('span')
  5287. _lspan.innerHTML = "上传中..."
  5288. _lchild.appendChild(_lspan)
  5289. _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%);"
  5290. _loading.appendChild(_lchild)
  5291. var _box = $$('div', {
  5292. "style": {
  5293. "position": "relative",
  5294. "width": "100%",
  5295. "height": "100%",
  5296. },
  5297. })
  5298. _box.appendChild(_loading)
  5299. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5300. switch (str) {
  5301. case "whiteboard":
  5302. aTool = 1;
  5303. _iframe = $$("iframe", {
  5304. "frameborder": "no",
  5305. "border": "0",
  5306. "scrolling ": "no",
  5307. "style": {
  5308. "cssText": "border:0;width:100%;height:100%"
  5309. },
  5310. "src": "https://iwb.cocorobo.cn/"
  5311. })
  5312. _box.appendChild(_iframe);
  5313. _box.appendChild(_jie);
  5314. _formdiv = new U.UF.UI.form(
  5315. "电子白板",
  5316. _box, {
  5317. "id": "whiteboard" + cid + stage + task + tool,
  5318. "style": {
  5319. "width": "90%",
  5320. "height": "90%",
  5321. "overflow": 'hidden'
  5322. },
  5323. "onresize": function () { }
  5324. }, {
  5325. closecallback: function () { }
  5326. }, {
  5327. "style": {
  5328. "height": "36px"
  5329. }
  5330. }).form; //创建窗体
  5331. _taskbar = {
  5332. "id": str + _formdiv.id,
  5333. "style": {
  5334. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5335. },
  5336. "name": "电子白板",
  5337. "forms": _formdiv,
  5338. "click": function () {
  5339. U.MD.D.I.openApplication(str, obj, info);
  5340. }
  5341. }
  5342. break;
  5343. case "mind":
  5344. aTool = 3;
  5345. _iframe = $$("iframe", {
  5346. "frameborder": "no",
  5347. "border": "0",
  5348. "scrolling ": "no",
  5349. "style": {
  5350. "cssText": "border:0;width:100%;height:100%"
  5351. },
  5352. "src": "/kityminder-editor/dist/index.html"
  5353. })
  5354. _box.appendChild(_iframe);
  5355. _box.appendChild(_jie);
  5356. _formdiv = new U.UF.UI.form(
  5357. "思维导图",
  5358. _box, { //"/jsmind/example/demo.html"
  5359. "id": "mind" + cid + stage + task + tool,
  5360. "style": {
  5361. "width": "90%",
  5362. "height": "90%",
  5363. "overflow": 'hidden'
  5364. },
  5365. "onresize": function () { }
  5366. }, {
  5367. closecallback: function () { }
  5368. }, {
  5369. "style": {
  5370. "height": "36px"
  5371. }
  5372. }).form; //创建窗体
  5373. _taskbar = {
  5374. "id": str + _formdiv.id,
  5375. "style": {
  5376. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5377. },
  5378. "name": "思维导图",
  5379. "forms": _formdiv,
  5380. "click": function () {
  5381. U.MD.D.I.openApplication(str, obj, info);
  5382. }
  5383. }
  5384. break;
  5385. case "MindMap":
  5386. aTool = 3;
  5387. _iframe = $$("iframe", {
  5388. "frameborder": "no",
  5389. "border": "0",
  5390. "scrolling ": "no",
  5391. "style": {
  5392. "cssText": "border:0;width:100%;height:100%"
  5393. },
  5394. "src": "//cloud.cocorobo.cn/mind/"
  5395. })
  5396. _box.appendChild(_iframe);
  5397. _box.appendChild(_jie);
  5398. _formdiv = new U.UF.UI.form(
  5399. "思维导图",
  5400. _box, { //"/jsmind/example/demo.html"
  5401. "id": "mind" + cid + stage + task + tool,
  5402. "style": {
  5403. "width": "90%",
  5404. "height": "90%",
  5405. "overflow": 'hidden'
  5406. },
  5407. "onresize": function () { }
  5408. }, {
  5409. closecallback: function () { }
  5410. }, {
  5411. "style": {
  5412. "height": "36px"
  5413. }
  5414. }).form; //创建窗体
  5415. _taskbar = {
  5416. "id": str + _formdiv.id,
  5417. "style": {
  5418. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5419. },
  5420. "name": "思维导图",
  5421. "forms": _formdiv,
  5422. "click": function () {
  5423. U.MD.D.I.openApplication(str, obj, info);
  5424. }
  5425. }
  5426. break;
  5427. case "doc":
  5428. aTool = 6;
  5429. _iframe = $$("iframe", {
  5430. "frameborder": "no",
  5431. "border": "0",
  5432. "scrolling ": "no",
  5433. "style": {
  5434. "cssText": "border:0;width:100%;height:100%"
  5435. },
  5436. "src": "/Office/Word/WordEditArea.htm"
  5437. })
  5438. _box.appendChild(_iframe);
  5439. _box.appendChild(_jie);
  5440. _formdiv = new U.UF.UI.form(
  5441. "协同文档",
  5442. _box, {
  5443. "id": "doc" + cid + stage + task + tool,
  5444. "style": {
  5445. "width": "90%",
  5446. "height": "90%",
  5447. "overflow": 'hidden'
  5448. },
  5449. "onresize": function () { }
  5450. }, {
  5451. closecallback: function () { }
  5452. }, {
  5453. "style": {
  5454. "height": "36px"
  5455. }
  5456. }).form; //创建窗体
  5457. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5458. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5459. })
  5460. _taskbar = {
  5461. "id": str + _formdiv.id,
  5462. "style": {
  5463. "backgroundImage": "url(/img/icon/doc.png)"
  5464. },
  5465. "name": "协同文档",
  5466. "forms": _formdiv,
  5467. "click": function () {
  5468. U.MD.D.I.openApplication(str, obj, info);
  5469. }
  5470. }
  5471. break;
  5472. case "mindNetwork": //好友打开
  5473. aTool = 7;
  5474. _iframe = $$("iframe", {
  5475. "webkitallowfullscreen": "",
  5476. "mozallowfullscreen": "",
  5477. "allowfullscreen": "",
  5478. "frameborder": "no",
  5479. "border": "0",
  5480. "scrolling ": "no",
  5481. "style": {
  5482. "cssText": "border:0; width:100%; height:100%;"
  5483. },
  5484. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5485. })
  5486. _box.appendChild(_iframe);
  5487. _box.appendChild(_jie);
  5488. _formdiv = new U.UF.UI.form(
  5489. "思维网格",
  5490. _box, {
  5491. "id": "mindNetwork" + cid + stage + task + tool,
  5492. "style": {
  5493. "width": "90%",
  5494. "height": "90%",
  5495. "overflow": 'hidden'
  5496. },
  5497. "onresize": function () { }
  5498. }, {
  5499. closecallback: function () { }
  5500. }, {
  5501. "style": {
  5502. "height": "36px"
  5503. }
  5504. }).form; //创建窗体
  5505. _taskbar = {
  5506. "id": str + _formdiv.id,
  5507. "style": {
  5508. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5509. },
  5510. "name": "思维网格",
  5511. "forms": _formdiv,
  5512. "click": function () {
  5513. U.MD.D.I.openApplication(str, obj, info);
  5514. }
  5515. }
  5516. break;
  5517. case "courseDesign":
  5518. _iframe = $$("iframe", {
  5519. "webkitallowfullscreen": "",
  5520. "mozallowfullscreen": "",
  5521. "allowfullscreen": "",
  5522. "frameborder": "no",
  5523. "border": "0",
  5524. "scrolling ": "no",
  5525. "style": {
  5526. "cssText": "border:0; width:100%; height:100%;"
  5527. },
  5528. "src": "/course-design-vue"
  5529. })
  5530. _box.appendChild(_iframe);
  5531. _box.appendChild(_jie);
  5532. _formdiv = new U.UF.UI.form(
  5533. "项目设计",
  5534. _box, {
  5535. "id": "courseDesign" + cid + stage + task + tool,
  5536. "style": {
  5537. "width": "90%",
  5538. "height": "90%",
  5539. "overflow": 'hidden'
  5540. },
  5541. "onresize": function () { }
  5542. }, {
  5543. closecallback: function () { }
  5544. }, {
  5545. "style": {
  5546. "height": "36px"
  5547. }
  5548. }).form; //创建窗体
  5549. _taskbar = {
  5550. "id": str + _formdiv.id,
  5551. "style": {
  5552. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5553. },
  5554. "name": "项目设计",
  5555. "forms": _formdiv,
  5556. "click": function () {
  5557. U.MD.D.I.openApplication(str, obj, info);
  5558. }
  5559. }
  5560. break;
  5561. }
  5562. const script1 = document.createElement("script");
  5563. script1.type = "text/javascript";
  5564. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5565. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5566. const script2 = document.createElement("script");
  5567. script2.type = "text/javascript";
  5568. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5569. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5570. const script3 = document.createElement("script");
  5571. script3.type = "text/javascript";
  5572. script3.charset = "UTF-8";
  5573. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5574. const script4 = document.createElement("script");
  5575. script4.type = "text/javascript";
  5576. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5577. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5578. if (_iframe) {
  5579. if (str == 'doc') {
  5580. _iframe = _formdiv.querySelector('iframe')
  5581. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5582. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5583. _iframe.contentWindow.document.body.appendChild(script1);
  5584. _iframe.contentWindow.document.body.appendChild(script2);
  5585. // _iframe.contentWindow.document.body.appendChild(script3);
  5586. _iframe.contentWindow.document.body.appendChild(script4);
  5587. })
  5588. if (onloadListener) {
  5589. _iframe.contentDocument.location.reload()
  5590. } else {
  5591. _iframe.contentDocument.location.reload()
  5592. }
  5593. } else if (str == 'courseDesign') {
  5594. U.UF.DL.iframeLoad(_iframe, function () {
  5595. // _iframe.contentWindow.U.MD.O.W.load();
  5596. // _iframe.contentWindow.document.body.appendChild(script1);
  5597. _iframe.contentWindow.document.body.appendChild(script2);
  5598. _iframe.contentWindow.document.body.appendChild(script4);
  5599. })
  5600. } else if (str == 'mind') {
  5601. _iframe = _formdiv.querySelector('iframe')
  5602. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5603. //
  5604. _iframe.contentWindow.document.body.appendChild(script1);
  5605. _iframe.contentWindow.document.body.appendChild(script2);
  5606. _iframe.contentWindow.document.body.appendChild(script4);
  5607. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5608. })
  5609. if (onloadListener) {
  5610. _iframe.contentDocument.location.reload()
  5611. } else {
  5612. _iframe.contentDocument.location.reload()
  5613. }
  5614. } else if (str == 'whiteboard') {
  5615. _iframe = _formdiv.querySelector('iframe')
  5616. let onloadListener = _iframe.onload = () => {
  5617. _iframe.contentWindow.document.body.appendChild(script1);
  5618. _iframe.contentWindow.document.body.appendChild(script2);
  5619. _iframe.contentWindow.document.body.appendChild(script4);
  5620. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5621. };
  5622. if (onloadListener) {
  5623. _iframe.contentDocument.location.reload()
  5624. } else {
  5625. _iframe.contentDocument.location.reload()
  5626. }
  5627. } else {
  5628. _iframe.onload = () => {
  5629. _iframe.contentWindow.document.body.appendChild(script1);
  5630. _iframe.contentWindow.document.body.appendChild(script2);
  5631. // _iframe.contentWindow.document.body.appendChild(script3);
  5632. _iframe.contentWindow.document.body.appendChild(script4);
  5633. };
  5634. }
  5635. _jie.onclick = async () => {
  5636. let text = ''
  5637. if (aTool == 1) {
  5638. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5639. } else if (aTool == 6) {
  5640. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5641. } else if (aTool == 3) {
  5642. text = await U.MD.D.I.getEditorContent(_iframe);
  5643. }
  5644. _loading.style.display = 'flex'
  5645. console.log(_loading);
  5646. var _ajs = _iframe.contentWindow.document.createElement("script");
  5647. _ajs.type = "text/javascript";
  5648. _ajs.innerHTML =
  5649. // 'console.log(' + _loading + ');\n' +
  5650. 'var _js = document.createElement("script");\n' +
  5651. '_js.type="text/javascript";\n' +
  5652. '_js.charset="UTF-8";\n' +
  5653. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5654. "_js.onload = function(){\n" +
  5655. ' var a = document.getElementsByTagName("img")\n' +
  5656. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5657. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5658. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5659. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5660. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5661. "beforeUpload_shishi(file," +
  5662. "'" +
  5663. _userid +
  5664. "'" +
  5665. ", " +
  5666. "'" +
  5667. _cid +
  5668. "'" +
  5669. ", " +
  5670. "'" +
  5671. _stage +
  5672. "'" +
  5673. ", " +
  5674. "'" +
  5675. _task +
  5676. "'" +
  5677. ", " +
  5678. "'" +
  5679. _tool +
  5680. "'" +
  5681. ", " +
  5682. "'" +
  5683. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5684. "'" +
  5685. ", " +
  5686. "'" +
  5687. aTool +
  5688. "'" +
  5689. ", " +
  5690. "`" +
  5691. text +
  5692. "`" +
  5693. ")\n" +
  5694. " });\n" +
  5695. "}\n" +
  5696. "document.head.appendChild(_js);\n";
  5697. _iframe.contentWindow.document.head.appendChild(_ajs);
  5698. }
  5699. }
  5700. //U.MD.D.I.openClick(str);
  5701. //如果有任务栏信息
  5702. // if (_taskbar) {
  5703. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5704. // }
  5705. }
  5706. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5707. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5708. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5709. _userinfo = US.userInfo, //登录用户信息
  5710. _userid = US.userInfo.userid //登录用户id
  5711. let _iframe;
  5712. let _cid = cid,
  5713. _stage = stage,
  5714. _task = task,
  5715. _tool = tool;
  5716. var _jie = $$("div", {
  5717. "style": {
  5718. "position": "absolute",
  5719. "bottom": "50px",
  5720. "right": "50px",
  5721. "zIndex": "9999",
  5722. "backgroundColor": "#2268bc",
  5723. "color": "#fff",
  5724. "padding": "12px 20px",
  5725. "cursor": "pointer",
  5726. "borderRadius": "4px",
  5727. },
  5728. "innerHTML": "提交作业"
  5729. })
  5730. let aTool = ''
  5731. let _loading = document.createElement('div')
  5732. _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;"
  5733. // _loading.id = "";
  5734. let _lchild = document.createElement('div')
  5735. let _limg = document.createElement('img')
  5736. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5737. _limg.style = "width: 26px;margin-right: 10px;"
  5738. _lchild.appendChild(_limg)
  5739. let _lspan = document.createElement('span')
  5740. _lspan.innerHTML = "上传中..."
  5741. _lchild.appendChild(_lspan)
  5742. _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%);"
  5743. _loading.appendChild(_lchild)
  5744. var _box = $$('div', {
  5745. "style": {
  5746. "position": "relative",
  5747. "width": "100%",
  5748. "height": "100%",
  5749. },
  5750. })
  5751. _box.appendChild(_loading)
  5752. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5753. switch (str) {
  5754. case "whiteboard":
  5755. aTool = 1;
  5756. _iframe = $$("iframe", {
  5757. "frameborder": "no",
  5758. "border": "0",
  5759. "scrolling ": "no",
  5760. "style": {
  5761. "cssText": "border:0;width:100%;height:100%"
  5762. },
  5763. "src": "https://iwb.cocorobo.cn/"
  5764. })
  5765. _box.appendChild(_iframe);
  5766. _box.appendChild(_jie);
  5767. _formdiv = new U.UF.UI.form(
  5768. "电子白板",
  5769. _box, {
  5770. "id": "whiteboard" + cid + stage + task + tool,
  5771. "style": {
  5772. "width": "90%",
  5773. "height": "90%",
  5774. "overflow": 'hidden'
  5775. },
  5776. "onresize": function () { }
  5777. }, {
  5778. closecallback: function () { }
  5779. }, {
  5780. "style": {
  5781. "height": "36px"
  5782. }
  5783. }).form; //创建窗体
  5784. _taskbar = {
  5785. "id": str + _formdiv.id,
  5786. "style": {
  5787. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5788. },
  5789. "name": "电子白板",
  5790. "forms": _formdiv,
  5791. "click": function () {
  5792. U.MD.D.I.openApplication(str, obj, info);
  5793. }
  5794. }
  5795. break;
  5796. case "mind":
  5797. aTool = 3;
  5798. _iframe = $$("iframe", {
  5799. "frameborder": "no",
  5800. "border": "0",
  5801. "scrolling ": "no",
  5802. "style": {
  5803. "cssText": "border:0;width:100%;height:100%"
  5804. },
  5805. "src": "/kityminder-editor/dist/index.html"
  5806. })
  5807. _box.appendChild(_iframe);
  5808. _box.appendChild(_jie);
  5809. _formdiv = new U.UF.UI.form(
  5810. "思维导图",
  5811. _box, { //"/jsmind/example/demo.html"
  5812. "id": "mind" + cid + stage + task + tool,
  5813. "style": {
  5814. "width": "90%",
  5815. "height": "90%",
  5816. "overflow": 'hidden'
  5817. },
  5818. "onresize": function () { }
  5819. }, {
  5820. closecallback: function () { }
  5821. }, {
  5822. "style": {
  5823. "height": "36px"
  5824. }
  5825. }).form; //创建窗体
  5826. _taskbar = {
  5827. "id": str + _formdiv.id,
  5828. "style": {
  5829. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5830. },
  5831. "name": "思维导图",
  5832. "forms": _formdiv,
  5833. "click": function () {
  5834. U.MD.D.I.openApplication(str, obj, info);
  5835. }
  5836. }
  5837. break;
  5838. case "MindMap":
  5839. aTool = 3;
  5840. _iframe = $$("iframe", {
  5841. "frameborder": "no",
  5842. "border": "0",
  5843. "scrolling ": "no",
  5844. "style": {
  5845. "cssText": "border:0;width:100%;height:100%"
  5846. },
  5847. "src": "//cloud.cocorobo.cn/mind/"
  5848. })
  5849. _box.appendChild(_iframe);
  5850. _box.appendChild(_jie);
  5851. _formdiv = new U.UF.UI.form(
  5852. "思维导图",
  5853. _box, { //"/jsmind/example/demo.html"
  5854. "id": "mind" + cid + stage + task + tool,
  5855. "style": {
  5856. "width": "90%",
  5857. "height": "90%",
  5858. "overflow": 'hidden'
  5859. },
  5860. "onresize": function () { }
  5861. }, {
  5862. closecallback: function () { }
  5863. }, {
  5864. "style": {
  5865. "height": "36px"
  5866. }
  5867. }).form; //创建窗体
  5868. _taskbar = {
  5869. "id": str + _formdiv.id,
  5870. "style": {
  5871. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5872. },
  5873. "name": "思维导图",
  5874. "forms": _formdiv,
  5875. "click": function () {
  5876. U.MD.D.I.openApplication(str, obj, info);
  5877. }
  5878. }
  5879. break;
  5880. case "doc":
  5881. aTool = 6;
  5882. _iframe = $$("iframe", {
  5883. "frameborder": "no",
  5884. "border": "0",
  5885. "scrolling ": "no",
  5886. "style": {
  5887. "cssText": "border:0;width:100%;height:100%"
  5888. },
  5889. "src": "/Office/Word/WordEditArea.htm"
  5890. })
  5891. _box.appendChild(_iframe);
  5892. _box.appendChild(_jie);
  5893. _formdiv = new U.UF.UI.form(
  5894. "协同文档",
  5895. _box, {
  5896. "id": "doc" + cid + stage + task + tool,
  5897. "style": {
  5898. "width": "90%",
  5899. "height": "90%",
  5900. "overflow": 'hidden'
  5901. },
  5902. "onresize": function () { }
  5903. }, {
  5904. closecallback: function () { }
  5905. }, {
  5906. "style": {
  5907. "height": "36px"
  5908. }
  5909. }).form; //创建窗体
  5910. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5911. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5912. })
  5913. _taskbar = {
  5914. "id": str + _formdiv.id,
  5915. "style": {
  5916. "backgroundImage": "url(/img/icon/doc.png)"
  5917. },
  5918. "name": "协同文档",
  5919. "forms": _formdiv,
  5920. "click": function () {
  5921. U.MD.D.I.openApplication(str, obj, info);
  5922. }
  5923. }
  5924. break;
  5925. case "mindNetwork": //好友打开
  5926. aTool = 7;
  5927. _iframe = $$("iframe", {
  5928. "webkitallowfullscreen": "",
  5929. "mozallowfullscreen": "",
  5930. "allowfullscreen": "",
  5931. "frameborder": "no",
  5932. "border": "0",
  5933. "scrolling ": "no",
  5934. "style": {
  5935. "cssText": "border:0; width:100%; height:100%;"
  5936. },
  5937. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5938. })
  5939. _box.appendChild(_iframe);
  5940. _box.appendChild(_jie);
  5941. _formdiv = new U.UF.UI.form(
  5942. "思维网格",
  5943. _box, {
  5944. "id": "mindNetwork" + cid + stage + task + tool,
  5945. "style": {
  5946. "width": "90%",
  5947. "height": "90%",
  5948. "overflow": 'hidden'
  5949. },
  5950. "onresize": function () { }
  5951. }, {
  5952. closecallback: function () { }
  5953. }, {
  5954. "style": {
  5955. "height": "36px"
  5956. }
  5957. }).form; //创建窗体
  5958. _taskbar = {
  5959. "id": str + _formdiv.id,
  5960. "style": {
  5961. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5962. },
  5963. "name": "思维网格",
  5964. "forms": _formdiv,
  5965. "click": function () {
  5966. U.MD.D.I.openApplication(str, obj, info);
  5967. }
  5968. }
  5969. break;
  5970. case "courseDesign":
  5971. _iframe = $$("iframe", {
  5972. "webkitallowfullscreen": "",
  5973. "mozallowfullscreen": "",
  5974. "allowfullscreen": "",
  5975. "frameborder": "no",
  5976. "border": "0",
  5977. "scrolling ": "no",
  5978. "style": {
  5979. "cssText": "border:0; width:100%; height:100%;"
  5980. },
  5981. "src": "/course-design-vue"
  5982. })
  5983. _box.appendChild(_iframe);
  5984. _box.appendChild(_jie);
  5985. _formdiv = new U.UF.UI.form(
  5986. "项目设计",
  5987. _box, {
  5988. "id": "courseDesign" + cid + stage + task + tool,
  5989. "style": {
  5990. "width": "90%",
  5991. "height": "90%",
  5992. "overflow": 'hidden'
  5993. },
  5994. "onresize": function () { }
  5995. }, {
  5996. closecallback: function () { }
  5997. }, {
  5998. "style": {
  5999. "height": "36px"
  6000. }
  6001. }).form; //创建窗体
  6002. _taskbar = {
  6003. "id": str + _formdiv.id,
  6004. "style": {
  6005. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6006. },
  6007. "name": "项目设计",
  6008. "forms": _formdiv,
  6009. "click": function () {
  6010. U.MD.D.I.openApplication(str, obj, info);
  6011. }
  6012. }
  6013. break;
  6014. }
  6015. const script1 = document.createElement("script");
  6016. script1.type = "text/javascript";
  6017. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6018. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6019. const script2 = document.createElement("script");
  6020. script2.type = "text/javascript";
  6021. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6022. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6023. const script3 = document.createElement("script");
  6024. script3.type = "text/javascript";
  6025. script3.charset = "UTF-8";
  6026. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6027. const script4 = document.createElement("script");
  6028. script4.type = "text/javascript";
  6029. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6030. script4.src = window.origin + "/js/Common/jietu2E.js";
  6031. if (_iframe) {
  6032. if (str == 'doc') {
  6033. _iframe = _formdiv.querySelector('iframe')
  6034. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6035. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6036. _iframe.contentWindow.document.body.appendChild(script1);
  6037. _iframe.contentWindow.document.body.appendChild(script2);
  6038. // _iframe.contentWindow.document.body.appendChild(script3);
  6039. _iframe.contentWindow.document.body.appendChild(script4);
  6040. })
  6041. if (onloadListener) {
  6042. _iframe.contentDocument.location.reload()
  6043. } else {
  6044. _iframe.contentDocument.location.reload()
  6045. }
  6046. } else if (str == 'courseDesign') {
  6047. U.UF.DL.iframeLoad(_iframe, function () {
  6048. // _iframe.contentWindow.U.MD.O.W.load();
  6049. // _iframe.contentWindow.document.body.appendChild(script1);
  6050. _iframe.contentWindow.document.body.appendChild(script2);
  6051. _iframe.contentWindow.document.body.appendChild(script4);
  6052. })
  6053. } else if (str == 'mind') {
  6054. _iframe = _formdiv.querySelector('iframe')
  6055. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6056. //
  6057. _iframe.contentWindow.document.body.appendChild(script1);
  6058. _iframe.contentWindow.document.body.appendChild(script2);
  6059. _iframe.contentWindow.document.body.appendChild(script4);
  6060. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6061. })
  6062. if (onloadListener) {
  6063. _iframe.contentDocument.location.reload()
  6064. } else {
  6065. _iframe.contentDocument.location.reload()
  6066. }
  6067. } else if (str == 'whiteboard') {
  6068. _iframe = _formdiv.querySelector('iframe')
  6069. let onloadListener = _iframe.onload = () => {
  6070. _iframe.contentWindow.document.body.appendChild(script1);
  6071. _iframe.contentWindow.document.body.appendChild(script2);
  6072. _iframe.contentWindow.document.body.appendChild(script4);
  6073. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6074. };
  6075. if (onloadListener) {
  6076. _iframe.contentDocument.location.reload()
  6077. } else {
  6078. _iframe.contentDocument.location.reload()
  6079. }
  6080. } else {
  6081. _iframe.onload = () => {
  6082. _iframe.contentWindow.document.body.appendChild(script1);
  6083. _iframe.contentWindow.document.body.appendChild(script2);
  6084. // _iframe.contentWindow.document.body.appendChild(script3);
  6085. _iframe.contentWindow.document.body.appendChild(script4);
  6086. };
  6087. }
  6088. _jie.onclick = async () => {
  6089. let text = ''
  6090. if (aTool == 1) {
  6091. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6092. } else if (aTool == 6) {
  6093. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6094. } else if (aTool == 3) {
  6095. text = await U.MD.D.I.getEditorContent(_iframe);
  6096. }
  6097. _loading.style.display = 'flex'
  6098. console.log(_loading);
  6099. var _ajs = _iframe.contentWindow.document.createElement("script");
  6100. _ajs.type = "text/javascript";
  6101. _ajs.innerHTML =
  6102. // 'console.log(' + _loading + ');\n' +
  6103. 'var _js = document.createElement("script");\n' +
  6104. '_js.type="text/javascript";\n' +
  6105. '_js.charset="UTF-8";\n' +
  6106. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6107. "_js.onload = function(){\n" +
  6108. ' var a = document.getElementsByTagName("img")\n' +
  6109. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6110. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6111. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6112. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6113. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6114. "beforeUpload_shishi(file," +
  6115. "'" +
  6116. _userid +
  6117. "'" +
  6118. ", " +
  6119. "'" +
  6120. _cid +
  6121. "'" +
  6122. ", " +
  6123. "'" +
  6124. _stage +
  6125. "'" +
  6126. ", " +
  6127. "'" +
  6128. _task +
  6129. "'" +
  6130. ", " +
  6131. "'" +
  6132. _tool +
  6133. "'" +
  6134. ", " +
  6135. "'" +
  6136. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6137. "'" +
  6138. ", " +
  6139. "'" +
  6140. aTool +
  6141. "'" +
  6142. ", " +
  6143. "`" +
  6144. text +
  6145. "`" +
  6146. ")\n" +
  6147. " });\n" +
  6148. "}\n" +
  6149. "document.head.appendChild(_js);\n";
  6150. _iframe.contentWindow.document.head.appendChild(_ajs);
  6151. }
  6152. }
  6153. //U.MD.D.I.openClick(str);
  6154. //如果有任务栏信息
  6155. // if (_taskbar) {
  6156. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6157. // }
  6158. }
  6159. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6160. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6161. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6162. _userid = student.userid, //登录用户id
  6163. _username = student.student //用户名字
  6164. let _iframe;
  6165. let _cid = cid,
  6166. _stage = stage,
  6167. _task = task,
  6168. _tool = tool;
  6169. var _jie = $$("div", {
  6170. "style": {
  6171. "position": "absolute",
  6172. "bottom": "50px",
  6173. "right": "50px",
  6174. "zIndex": "9999",
  6175. "backgroundColor": "#2268bc",
  6176. "color": "#fff",
  6177. "padding": "12px 20px",
  6178. "cursor": "pointer",
  6179. "borderRadius": "4px",
  6180. },
  6181. "innerHTML": "提交作业"
  6182. })
  6183. let aTool = ''
  6184. let _loading = document.createElement('div')
  6185. _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;"
  6186. // _loading.id = "";
  6187. let _lchild = document.createElement('div')
  6188. let _limg = document.createElement('img')
  6189. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6190. _limg.style = "width: 26px;margin-right: 10px;"
  6191. _lchild.appendChild(_limg)
  6192. let _lspan = document.createElement('span')
  6193. _lspan.innerHTML = "上传中..."
  6194. _lchild.appendChild(_lspan)
  6195. _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%);"
  6196. _loading.appendChild(_lchild)
  6197. var _box = $$('div', {
  6198. "style": {
  6199. "position": "relative",
  6200. "width": "100%",
  6201. "height": "100%",
  6202. },
  6203. })
  6204. _box.appendChild(_loading)
  6205. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6206. switch (str) {
  6207. case "whiteboard":
  6208. aTool = 1;
  6209. _iframe = $$("iframe", {
  6210. "frameborder": "no",
  6211. "border": "0",
  6212. "scrolling ": "no",
  6213. "style": {
  6214. "cssText": "border:0;width:100%;height:100%"
  6215. },
  6216. "src": "https://iwb.cocorobo.cn/"
  6217. })
  6218. _box.appendChild(_iframe);
  6219. _box.appendChild(_jie);
  6220. _formdiv = new U.UF.UI.form(
  6221. "电子白板-" + _username,
  6222. _box, {
  6223. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6224. "style": {
  6225. "width": "90%",
  6226. "height": "90%",
  6227. "overflow": 'hidden'
  6228. },
  6229. "onresize": function () { }
  6230. }, {
  6231. closecallback: function () { }
  6232. }, {
  6233. "style": {
  6234. "height": "36px"
  6235. }
  6236. }).form; //创建窗体
  6237. _taskbar = {
  6238. "id": str + _formdiv.id,
  6239. "style": {
  6240. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6241. },
  6242. "name": "电子白板",
  6243. "forms": _formdiv,
  6244. "click": function () {
  6245. U.MD.D.I.openApplication(str, obj, info);
  6246. }
  6247. }
  6248. break;
  6249. case "mind":
  6250. aTool = 3;
  6251. _iframe = $$("iframe", {
  6252. "frameborder": "no",
  6253. "border": "0",
  6254. "scrolling ": "no",
  6255. "style": {
  6256. "cssText": "border:0;width:100%;height:100%"
  6257. },
  6258. "src": "/kityminder-editor/dist/index.html"
  6259. })
  6260. _box.appendChild(_iframe);
  6261. _box.appendChild(_jie);
  6262. _formdiv = new U.UF.UI.form(
  6263. "思维导图-" + _username,
  6264. _box, { //"/jsmind/example/demo.html"
  6265. "id": "mind" + cid + stage + task + tool + _userid,
  6266. "style": {
  6267. "width": "90%",
  6268. "height": "90%",
  6269. "overflow": 'hidden'
  6270. },
  6271. "onresize": function () { }
  6272. }, {
  6273. closecallback: function () { }
  6274. }, {
  6275. "style": {
  6276. "height": "36px"
  6277. }
  6278. }).form; //创建窗体
  6279. _taskbar = {
  6280. "id": str + _formdiv.id,
  6281. "style": {
  6282. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6283. },
  6284. "name": "思维导图",
  6285. "forms": _formdiv,
  6286. "click": function () {
  6287. U.MD.D.I.openApplication(str, obj, info);
  6288. }
  6289. }
  6290. break;
  6291. case "MindMap":
  6292. aTool = 3;
  6293. _iframe = $$("iframe", {
  6294. "frameborder": "no",
  6295. "border": "0",
  6296. "scrolling ": "no",
  6297. "style": {
  6298. "cssText": "border:0;width:100%;height:100%"
  6299. },
  6300. "src": "//cloud.cocorobo.cn/mind/"
  6301. })
  6302. _box.appendChild(_iframe);
  6303. _box.appendChild(_jie);
  6304. _formdiv = new U.UF.UI.form(
  6305. "思维导图-" + _username,
  6306. _box, { //"/jsmind/example/demo.html"
  6307. "id": "mind" + cid + stage + task + tool + _userid,
  6308. "style": {
  6309. "width": "90%",
  6310. "height": "90%",
  6311. "overflow": 'hidden'
  6312. },
  6313. "onresize": function () { }
  6314. }, {
  6315. closecallback: function () { }
  6316. }, {
  6317. "style": {
  6318. "height": "36px"
  6319. }
  6320. }).form; //创建窗体
  6321. _taskbar = {
  6322. "id": str + _formdiv.id,
  6323. "style": {
  6324. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6325. },
  6326. "name": "思维导图",
  6327. "forms": _formdiv,
  6328. "click": function () {
  6329. U.MD.D.I.openApplication(str, obj, info);
  6330. }
  6331. }
  6332. break;
  6333. case "doc":
  6334. aTool = 6;
  6335. _iframe = $$("iframe", {
  6336. "frameborder": "no",
  6337. "border": "0",
  6338. "scrolling ": "no",
  6339. "style": {
  6340. "cssText": "border:0;width:100%;height:100%"
  6341. },
  6342. "src": "/Office/Word/WordEditArea.htm"
  6343. })
  6344. _box.appendChild(_iframe);
  6345. _box.appendChild(_jie);
  6346. _formdiv = new U.UF.UI.form(
  6347. "协同文档-" + _username,
  6348. _box, {
  6349. "id": "doc" + cid + stage + task + tool + _userid,
  6350. "style": {
  6351. "width": "90%",
  6352. "height": "90%",
  6353. "overflow": 'hidden'
  6354. },
  6355. "onresize": function () { }
  6356. }, {
  6357. closecallback: function () { }
  6358. }, {
  6359. "style": {
  6360. "height": "36px"
  6361. }
  6362. }).form; //创建窗体
  6363. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6364. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6365. })
  6366. _taskbar = {
  6367. "id": str + _formdiv.id,
  6368. "style": {
  6369. "backgroundImage": "url(/img/icon/doc.png)"
  6370. },
  6371. "name": "协同文档",
  6372. "forms": _formdiv,
  6373. "click": function () {
  6374. U.MD.D.I.openApplication(str, obj, info);
  6375. }
  6376. }
  6377. break;
  6378. case "mindNetwork": //好友打开
  6379. aTool = 7;
  6380. _iframe = $$("iframe", {
  6381. "webkitallowfullscreen": "",
  6382. "mozallowfullscreen": "",
  6383. "allowfullscreen": "",
  6384. "frameborder": "no",
  6385. "border": "0",
  6386. "scrolling ": "no",
  6387. "style": {
  6388. "cssText": "border:0; width:100%; height:100%;"
  6389. },
  6390. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6391. })
  6392. _box.appendChild(_iframe);
  6393. _box.appendChild(_jie);
  6394. _formdiv = new U.UF.UI.form(
  6395. "思维网格-" + _username,
  6396. _box, {
  6397. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6398. "style": {
  6399. "width": "90%",
  6400. "height": "90%",
  6401. "overflow": 'hidden'
  6402. },
  6403. "onresize": function () { }
  6404. }, {
  6405. closecallback: function () { }
  6406. }, {
  6407. "style": {
  6408. "height": "36px"
  6409. }
  6410. }).form; //创建窗体
  6411. _taskbar = {
  6412. "id": str + _formdiv.id,
  6413. "style": {
  6414. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6415. },
  6416. "name": "思维网格",
  6417. "forms": _formdiv,
  6418. "click": function () {
  6419. U.MD.D.I.openApplication(str, obj, info);
  6420. }
  6421. }
  6422. break;
  6423. case "courseDesign":
  6424. _iframe = $$("iframe", {
  6425. "webkitallowfullscreen": "",
  6426. "mozallowfullscreen": "",
  6427. "allowfullscreen": "",
  6428. "frameborder": "no",
  6429. "border": "0",
  6430. "scrolling ": "no",
  6431. "style": {
  6432. "cssText": "border:0; width:100%; height:100%;"
  6433. },
  6434. "src": "/course-design-vue"
  6435. })
  6436. _box.appendChild(_iframe);
  6437. _box.appendChild(_jie);
  6438. _formdiv = new U.UF.UI.form(
  6439. "项目设计-" + _username,
  6440. _box, {
  6441. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6442. "style": {
  6443. "width": "90%",
  6444. "height": "90%",
  6445. "overflow": 'hidden'
  6446. },
  6447. "onresize": function () { }
  6448. }, {
  6449. closecallback: function () { }
  6450. }, {
  6451. "style": {
  6452. "height": "36px"
  6453. }
  6454. }).form; //创建窗体
  6455. _taskbar = {
  6456. "id": str + _formdiv.id,
  6457. "style": {
  6458. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6459. },
  6460. "name": "项目设计",
  6461. "forms": _formdiv,
  6462. "click": function () {
  6463. U.MD.D.I.openApplication(str, obj, info);
  6464. }
  6465. }
  6466. break;
  6467. }
  6468. const script1 = document.createElement("script");
  6469. script1.type = "text/javascript";
  6470. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6471. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6472. const script2 = document.createElement("script");
  6473. script2.type = "text/javascript";
  6474. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6475. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6476. const script3 = document.createElement("script");
  6477. script3.type = "text/javascript";
  6478. script3.charset = "UTF-8";
  6479. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6480. const script4 = document.createElement("script");
  6481. script4.type = "text/javascript";
  6482. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6483. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6484. if (_iframe) {
  6485. if (str == 'doc') {
  6486. _iframe = _formdiv.querySelector('iframe')
  6487. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6488. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6489. _iframe.contentWindow.document.body.appendChild(script1);
  6490. _iframe.contentWindow.document.body.appendChild(script2);
  6491. // _iframe.contentWindow.document.body.appendChild(script3);
  6492. _iframe.contentWindow.document.body.appendChild(script4);
  6493. })
  6494. if (onloadListener) {
  6495. _iframe.contentDocument.location.reload()
  6496. } else {
  6497. _iframe.contentDocument.location.reload()
  6498. }
  6499. } else if (str == 'courseDesign') {
  6500. U.UF.DL.iframeLoad(_iframe, function () {
  6501. // _iframe.contentWindow.U.MD.O.W.load();
  6502. // _iframe.contentWindow.document.body.appendChild(script1);
  6503. _iframe.contentWindow.document.body.appendChild(script2);
  6504. _iframe.contentWindow.document.body.appendChild(script4);
  6505. })
  6506. } else if (str == 'mind') {
  6507. _iframe = _formdiv.querySelector('iframe')
  6508. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6509. //
  6510. _iframe.contentWindow.document.body.appendChild(script1);
  6511. _iframe.contentWindow.document.body.appendChild(script2);
  6512. _iframe.contentWindow.document.body.appendChild(script4);
  6513. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6514. })
  6515. if (onloadListener) {
  6516. _iframe.contentDocument.location.reload()
  6517. } else {
  6518. _iframe.contentDocument.location.reload()
  6519. }
  6520. } else if (str == 'whiteboard') {
  6521. _iframe = _formdiv.querySelector('iframe')
  6522. let onloadListener = _iframe.onload = () => {
  6523. _iframe.contentWindow.document.body.appendChild(script1);
  6524. _iframe.contentWindow.document.body.appendChild(script2);
  6525. _iframe.contentWindow.document.body.appendChild(script4);
  6526. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6527. };
  6528. if (onloadListener) {
  6529. _iframe.contentDocument.location.reload()
  6530. } else {
  6531. _iframe.contentDocument.location.reload()
  6532. }
  6533. } else {
  6534. _iframe.onload = () => {
  6535. _iframe.contentWindow.document.body.appendChild(script1);
  6536. _iframe.contentWindow.document.body.appendChild(script2);
  6537. // _iframe.contentWindow.document.body.appendChild(script3);
  6538. _iframe.contentWindow.document.body.appendChild(script4);
  6539. };
  6540. }
  6541. _jie.onclick = async () => {
  6542. let text = ''
  6543. if (aTool == 1) {
  6544. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6545. } else if (aTool == 6) {
  6546. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6547. } else if (aTool == 3) {
  6548. text = await U.MD.D.I.getEditorContent(_iframe);
  6549. }
  6550. _loading.style.display = 'flex'
  6551. console.log(_loading);
  6552. var _ajs = _iframe.contentWindow.document.createElement("script");
  6553. _ajs.type = "text/javascript";
  6554. _ajs.innerHTML =
  6555. // 'console.log(' + _loading + ');\n' +
  6556. 'var _js = document.createElement("script");\n' +
  6557. '_js.type="text/javascript";\n' +
  6558. '_js.charset="UTF-8";\n' +
  6559. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6560. "_js.onload = function(){\n" +
  6561. ' var a = document.getElementsByTagName("img")\n' +
  6562. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6563. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6564. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6565. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6566. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6567. "beforeUpload_shishi(file," +
  6568. "'" +
  6569. _userid +
  6570. "'" +
  6571. ", " +
  6572. "'" +
  6573. _cid +
  6574. "'" +
  6575. ", " +
  6576. "'" +
  6577. _stage +
  6578. "'" +
  6579. ", " +
  6580. "'" +
  6581. _task +
  6582. "'" +
  6583. ", " +
  6584. "'" +
  6585. _tool +
  6586. "'" +
  6587. ", " +
  6588. "'" +
  6589. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6590. "'" +
  6591. ", " +
  6592. "'" +
  6593. aTool +
  6594. "'" +
  6595. ", " +
  6596. "`" +
  6597. text +
  6598. "`" +
  6599. ")\n" +
  6600. " });\n" +
  6601. "}\n" +
  6602. "document.head.appendChild(_js);\n";
  6603. _iframe.contentWindow.document.head.appendChild(_ajs);
  6604. }
  6605. }
  6606. }
  6607. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6608. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6609. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6610. _userid = student.userid, //登录用户id
  6611. _username = student.student //用户名字
  6612. let _iframe;
  6613. let _cid = cid,
  6614. _stage = stage,
  6615. _task = task,
  6616. _tool = tool;
  6617. var _jie = $$("div", {
  6618. "style": {
  6619. "position": "absolute",
  6620. "bottom": "50px",
  6621. "right": "50px",
  6622. "zIndex": "9999",
  6623. "backgroundColor": "#2268bc",
  6624. "color": "#fff",
  6625. "padding": "12px 20px",
  6626. "cursor": "pointer",
  6627. "borderRadius": "4px",
  6628. },
  6629. "innerHTML": "提交作业"
  6630. })
  6631. let aTool = ''
  6632. let _loading = document.createElement('div')
  6633. _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;"
  6634. // _loading.id = "";
  6635. let _lchild = document.createElement('div')
  6636. let _limg = document.createElement('img')
  6637. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6638. _limg.style = "width: 26px;margin-right: 10px;"
  6639. _lchild.appendChild(_limg)
  6640. let _lspan = document.createElement('span')
  6641. _lspan.innerHTML = "上传中..."
  6642. _lchild.appendChild(_lspan)
  6643. _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%);"
  6644. _loading.appendChild(_lchild)
  6645. var _box = $$('div', {
  6646. "style": {
  6647. "position": "relative",
  6648. "width": "100%",
  6649. "height": "100%",
  6650. },
  6651. })
  6652. _box.appendChild(_loading)
  6653. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6654. switch (str) {
  6655. case "whiteboard":
  6656. aTool = 1;
  6657. _iframe = $$("iframe", {
  6658. "frameborder": "no",
  6659. "border": "0",
  6660. "scrolling ": "no",
  6661. "style": {
  6662. "cssText": "border:0;width:100%;height:100%"
  6663. },
  6664. "src": "https://iwb.cocorobo.cn/"
  6665. })
  6666. _box.appendChild(_iframe);
  6667. _box.appendChild(_jie);
  6668. _formdiv = new U.UF.UI.form(
  6669. "电子白板-" + _username,
  6670. _box, {
  6671. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6672. "style": {
  6673. "width": "90%",
  6674. "height": "90%",
  6675. "overflow": 'hidden'
  6676. },
  6677. "onresize": function () { }
  6678. }, {
  6679. closecallback: function () { }
  6680. }, {
  6681. "style": {
  6682. "height": "36px"
  6683. }
  6684. }).form; //创建窗体
  6685. _taskbar = {
  6686. "id": str + _formdiv.id,
  6687. "style": {
  6688. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6689. },
  6690. "name": "电子白板",
  6691. "forms": _formdiv,
  6692. "click": function () {
  6693. U.MD.D.I.openApplication(str, obj, info);
  6694. }
  6695. }
  6696. break;
  6697. case "mind":
  6698. aTool = 3;
  6699. _iframe = $$("iframe", {
  6700. "frameborder": "no",
  6701. "border": "0",
  6702. "scrolling ": "no",
  6703. "style": {
  6704. "cssText": "border:0;width:100%;height:100%"
  6705. },
  6706. "src": "/kityminder-editor/dist/index.html"
  6707. })
  6708. _box.appendChild(_iframe);
  6709. _box.appendChild(_jie);
  6710. _formdiv = new U.UF.UI.form(
  6711. "思维导图-" + _username,
  6712. _box, { //"/jsmind/example/demo.html"
  6713. "id": "mind" + cid + stage + task + tool + _userid,
  6714. "style": {
  6715. "width": "90%",
  6716. "height": "90%",
  6717. "overflow": 'hidden'
  6718. },
  6719. "onresize": function () { }
  6720. }, {
  6721. closecallback: function () { }
  6722. }, {
  6723. "style": {
  6724. "height": "36px"
  6725. }
  6726. }).form; //创建窗体
  6727. _taskbar = {
  6728. "id": str + _formdiv.id,
  6729. "style": {
  6730. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6731. },
  6732. "name": "思维导图",
  6733. "forms": _formdiv,
  6734. "click": function () {
  6735. U.MD.D.I.openApplication(str, obj, info);
  6736. }
  6737. }
  6738. break;
  6739. case "MindMap":
  6740. aTool = 3;
  6741. _iframe = $$("iframe", {
  6742. "frameborder": "no",
  6743. "border": "0",
  6744. "scrolling ": "no",
  6745. "style": {
  6746. "cssText": "border:0;width:100%;height:100%"
  6747. },
  6748. "src": "//cloud.cocorobo.cn/mind/"
  6749. })
  6750. _box.appendChild(_iframe);
  6751. _box.appendChild(_jie);
  6752. _formdiv = new U.UF.UI.form(
  6753. "思维导图-" + _username,
  6754. _box, { //"/jsmind/example/demo.html"
  6755. "id": "mind" + cid + stage + task + tool + _userid,
  6756. "style": {
  6757. "width": "90%",
  6758. "height": "90%",
  6759. "overflow": 'hidden'
  6760. },
  6761. "onresize": function () { }
  6762. }, {
  6763. closecallback: function () { }
  6764. }, {
  6765. "style": {
  6766. "height": "36px"
  6767. }
  6768. }).form; //创建窗体
  6769. _taskbar = {
  6770. "id": str + _formdiv.id,
  6771. "style": {
  6772. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6773. },
  6774. "name": "思维导图",
  6775. "forms": _formdiv,
  6776. "click": function () {
  6777. U.MD.D.I.openApplication(str, obj, info);
  6778. }
  6779. }
  6780. break;
  6781. case "doc":
  6782. aTool = 6;
  6783. _iframe = $$("iframe", {
  6784. "frameborder": "no",
  6785. "border": "0",
  6786. "scrolling ": "no",
  6787. "style": {
  6788. "cssText": "border:0;width:100%;height:100%"
  6789. },
  6790. "src": "/Office/Word/WordEditArea.htm"
  6791. })
  6792. _box.appendChild(_iframe);
  6793. _box.appendChild(_jie);
  6794. _formdiv = new U.UF.UI.form(
  6795. "协同文档-" + _username,
  6796. _box, {
  6797. "id": "doc" + cid + stage + task + tool + _userid,
  6798. "style": {
  6799. "width": "90%",
  6800. "height": "90%",
  6801. "overflow": 'hidden'
  6802. },
  6803. "onresize": function () { }
  6804. }, {
  6805. closecallback: function () { }
  6806. }, {
  6807. "style": {
  6808. "height": "36px"
  6809. }
  6810. }).form; //创建窗体
  6811. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6812. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6813. })
  6814. _taskbar = {
  6815. "id": str + _formdiv.id,
  6816. "style": {
  6817. "backgroundImage": "url(/img/icon/doc.png)"
  6818. },
  6819. "name": "协同文档",
  6820. "forms": _formdiv,
  6821. "click": function () {
  6822. U.MD.D.I.openApplication(str, obj, info);
  6823. }
  6824. }
  6825. break;
  6826. case "mindNetwork": //好友打开
  6827. aTool = 7;
  6828. _iframe = $$("iframe", {
  6829. "webkitallowfullscreen": "",
  6830. "mozallowfullscreen": "",
  6831. "allowfullscreen": "",
  6832. "frameborder": "no",
  6833. "border": "0",
  6834. "scrolling ": "no",
  6835. "style": {
  6836. "cssText": "border:0; width:100%; height:100%;"
  6837. },
  6838. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6839. })
  6840. _box.appendChild(_iframe);
  6841. _box.appendChild(_jie);
  6842. _formdiv = new U.UF.UI.form(
  6843. "思维网格-" + _username,
  6844. _box, {
  6845. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6846. "style": {
  6847. "width": "90%",
  6848. "height": "90%",
  6849. "overflow": 'hidden'
  6850. },
  6851. "onresize": function () { }
  6852. }, {
  6853. closecallback: function () { }
  6854. }, {
  6855. "style": {
  6856. "height": "36px"
  6857. }
  6858. }).form; //创建窗体
  6859. _taskbar = {
  6860. "id": str + _formdiv.id,
  6861. "style": {
  6862. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6863. },
  6864. "name": "思维网格",
  6865. "forms": _formdiv,
  6866. "click": function () {
  6867. U.MD.D.I.openApplication(str, obj, info);
  6868. }
  6869. }
  6870. break;
  6871. case "courseDesign":
  6872. _iframe = $$("iframe", {
  6873. "webkitallowfullscreen": "",
  6874. "mozallowfullscreen": "",
  6875. "allowfullscreen": "",
  6876. "frameborder": "no",
  6877. "border": "0",
  6878. "scrolling ": "no",
  6879. "style": {
  6880. "cssText": "border:0; width:100%; height:100%;"
  6881. },
  6882. "src": "/course-design-vue"
  6883. })
  6884. _box.appendChild(_iframe);
  6885. _box.appendChild(_jie);
  6886. _formdiv = new U.UF.UI.form(
  6887. "项目设计-" + _username,
  6888. _box, {
  6889. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6890. "style": {
  6891. "width": "90%",
  6892. "height": "90%",
  6893. "overflow": 'hidden'
  6894. },
  6895. "onresize": function () { }
  6896. }, {
  6897. closecallback: function () { }
  6898. }, {
  6899. "style": {
  6900. "height": "36px"
  6901. }
  6902. }).form; //创建窗体
  6903. _taskbar = {
  6904. "id": str + _formdiv.id,
  6905. "style": {
  6906. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6907. },
  6908. "name": "项目设计",
  6909. "forms": _formdiv,
  6910. "click": function () {
  6911. U.MD.D.I.openApplication(str, obj, info);
  6912. }
  6913. }
  6914. break;
  6915. }
  6916. const script1 = document.createElement("script");
  6917. script1.type = "text/javascript";
  6918. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6919. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6920. const script2 = document.createElement("script");
  6921. script2.type = "text/javascript";
  6922. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6923. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6924. const script3 = document.createElement("script");
  6925. script3.type = "text/javascript";
  6926. script3.charset = "UTF-8";
  6927. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6928. const script4 = document.createElement("script");
  6929. script4.type = "text/javascript";
  6930. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6931. script4.src = window.origin + "/js/Common/jietu2E.js";
  6932. if (_iframe) {
  6933. if (str == 'doc') {
  6934. _iframe = _formdiv.querySelector('iframe')
  6935. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6936. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6937. _iframe.contentWindow.document.body.appendChild(script1);
  6938. _iframe.contentWindow.document.body.appendChild(script2);
  6939. // _iframe.contentWindow.document.body.appendChild(script3);
  6940. _iframe.contentWindow.document.body.appendChild(script4);
  6941. })
  6942. if (onloadListener) {
  6943. _iframe.contentDocument.location.reload()
  6944. } else {
  6945. _iframe.contentDocument.location.reload()
  6946. }
  6947. } else if (str == 'courseDesign') {
  6948. U.UF.DL.iframeLoad(_iframe, function () {
  6949. // _iframe.contentWindow.U.MD.O.W.load();
  6950. // _iframe.contentWindow.document.body.appendChild(script1);
  6951. _iframe.contentWindow.document.body.appendChild(script2);
  6952. _iframe.contentWindow.document.body.appendChild(script4);
  6953. })
  6954. } else if (str == 'mind') {
  6955. _iframe = _formdiv.querySelector('iframe')
  6956. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6957. //
  6958. _iframe.contentWindow.document.body.appendChild(script1);
  6959. _iframe.contentWindow.document.body.appendChild(script2);
  6960. _iframe.contentWindow.document.body.appendChild(script4);
  6961. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6962. })
  6963. if (onloadListener) {
  6964. _iframe.contentDocument.location.reload()
  6965. } else {
  6966. _iframe.contentDocument.location.reload()
  6967. }
  6968. } else if (str == 'whiteboard') {
  6969. _iframe = _formdiv.querySelector('iframe')
  6970. let onloadListener = _iframe.onload = () => {
  6971. _iframe.contentWindow.document.body.appendChild(script1);
  6972. _iframe.contentWindow.document.body.appendChild(script2);
  6973. _iframe.contentWindow.document.body.appendChild(script4);
  6974. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6975. };
  6976. if (onloadListener) {
  6977. _iframe.contentDocument.location.reload()
  6978. } else {
  6979. _iframe.contentDocument.location.reload()
  6980. }
  6981. } else {
  6982. _iframe.onload = () => {
  6983. _iframe.contentWindow.document.body.appendChild(script1);
  6984. _iframe.contentWindow.document.body.appendChild(script2);
  6985. // _iframe.contentWindow.document.body.appendChild(script3);
  6986. _iframe.contentWindow.document.body.appendChild(script4);
  6987. };
  6988. }
  6989. _jie.onclick = async () => {
  6990. let text = ''
  6991. if (aTool == 1) {
  6992. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6993. } else if (aTool == 6) {
  6994. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6995. } else if (aTool == 3) {
  6996. text = await U.MD.D.I.getEditorContent(_iframe);
  6997. }
  6998. _loading.style.display = 'flex'
  6999. console.log(_loading);
  7000. var _ajs = _iframe.contentWindow.document.createElement("script");
  7001. _ajs.type = "text/javascript";
  7002. _ajs.innerHTML =
  7003. // 'console.log(' + _loading + ');\n' +
  7004. 'var _js = document.createElement("script");\n' +
  7005. '_js.type="text/javascript";\n' +
  7006. '_js.charset="UTF-8";\n' +
  7007. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7008. "_js.onload = function(){\n" +
  7009. ' var a = document.getElementsByTagName("img")\n' +
  7010. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7011. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7012. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7013. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7014. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7015. "beforeUpload_shishi(file," +
  7016. "'" +
  7017. _userid +
  7018. "'" +
  7019. ", " +
  7020. "'" +
  7021. _cid +
  7022. "'" +
  7023. ", " +
  7024. "'" +
  7025. _stage +
  7026. "'" +
  7027. ", " +
  7028. "'" +
  7029. _task +
  7030. "'" +
  7031. ", " +
  7032. "'" +
  7033. _tool +
  7034. "'" +
  7035. ", " +
  7036. "'" +
  7037. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7038. "'" +
  7039. ", " +
  7040. "'" +
  7041. aTool +
  7042. "'" +
  7043. ", " +
  7044. "`" +
  7045. text +
  7046. "`" +
  7047. ")\n" +
  7048. " });\n" +
  7049. "}\n" +
  7050. "document.head.appendChild(_js);\n";
  7051. _iframe.contentWindow.document.head.appendChild(_ajs);
  7052. }
  7053. }
  7054. }
  7055. U.MD.D.I.getEditorContent = function (iframe) {
  7056. return new Promise((resolve, reject) => {
  7057. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7058. console.log(content);
  7059. resolve(content)
  7060. });
  7061. });
  7062. }
  7063. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7064. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7065. // if (res.value[0].length > 0) {
  7066. // // resolve(res.value[0][0].text);
  7067. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7068. // $(fileInput).val('');
  7069. // });
  7070. // }
  7071. // }, [], { "type": "GET", "withCredentials": true });
  7072. var xmlhttp;
  7073. var Mac, Sn, DeviceId
  7074. if (window.XMLHttpRequest) {
  7075. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7076. xmlhttp = new XMLHttpRequest();
  7077. } else {
  7078. // IE6, IE5 浏览器执行代码
  7079. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7080. }
  7081. xmlhttp.onreadystatechange = function () {
  7082. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7083. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7084. // resolve(res.value[0][0].text);
  7085. if (type == '2') {
  7086. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7087. } else if (type == '3') {
  7088. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7089. }
  7090. } else {
  7091. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7092. }
  7093. }
  7094. }
  7095. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7096. xmlhttp.send();
  7097. }
  7098. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7099. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7100. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7101. _userinfo = US.userInfo, //登录用户信息
  7102. _userid = US.userInfo.userid //登录用户id
  7103. let _iframe;
  7104. let _cid = cid,
  7105. _stage = stage,
  7106. _task = task,
  7107. _tool = tool;
  7108. var _jie = $$("div", {
  7109. "style": {
  7110. "position": "absolute",
  7111. "bottom": "50px",
  7112. "right": "50px",
  7113. "zIndex": "9999",
  7114. "backgroundColor": "#2268bc",
  7115. "color": "#fff",
  7116. "padding": "12px 20px",
  7117. "cursor": "pointer",
  7118. "borderRadius": "4px",
  7119. },
  7120. "innerHTML": "确认并提交"
  7121. })
  7122. let aTool = ''
  7123. let _loading = document.createElement('div')
  7124. _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;"
  7125. // _loading.id = "";
  7126. let _lchild = document.createElement('div')
  7127. let _limg = document.createElement('img')
  7128. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7129. _limg.style = "width: 26px;margin-right: 10px;"
  7130. _lchild.appendChild(_limg)
  7131. let _lspan = document.createElement('span')
  7132. _lspan.innerHTML = "上传中..."
  7133. _lchild.appendChild(_lspan)
  7134. _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%);"
  7135. _loading.appendChild(_lchild)
  7136. var _box = $$('div', {
  7137. "style": {
  7138. "position": "relative",
  7139. "width": "100%",
  7140. "height": "100%",
  7141. },
  7142. })
  7143. _box.appendChild(_loading)
  7144. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7145. switch (str) {
  7146. case "whiteboard":
  7147. aTool = 1;
  7148. _iframe = $$("iframe", {
  7149. "frameborder": "no",
  7150. "border": "0",
  7151. "scrolling ": "no",
  7152. "style": {
  7153. "cssText": "border:0;width:100%;height:100%"
  7154. },
  7155. "src": "https://iwb.cocorobo.cn/"
  7156. })
  7157. _box.appendChild(_iframe);
  7158. _box.appendChild(_jie);
  7159. _formdiv = new U.UF.UI.form(
  7160. "电子白板",
  7161. _box, {
  7162. "id": "whiteboards" + cid + stage + task + tool,
  7163. "style": {
  7164. "width": "90%",
  7165. "height": "90%",
  7166. "overflow": 'hidden'
  7167. },
  7168. "onresize": function () { }
  7169. }, {
  7170. closecallback: function () { }
  7171. }, {
  7172. "style": {
  7173. "height": "36px"
  7174. }
  7175. }).form; //创建窗体
  7176. _taskbar = {
  7177. "id": str + _formdiv.id,
  7178. "style": {
  7179. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7180. },
  7181. "name": "电子白板",
  7182. "forms": _formdiv,
  7183. "click": function () {
  7184. U.MD.D.I.openApplication(str, obj, info);
  7185. }
  7186. }
  7187. break;
  7188. case "mind":
  7189. aTool = 3;
  7190. _iframe = $$("iframe", {
  7191. "frameborder": "no",
  7192. "border": "0",
  7193. "scrolling ": "no",
  7194. "style": {
  7195. "cssText": "border:0;width:100%;height:100%"
  7196. },
  7197. "src": "/kityminder-editor/dist/index.html"
  7198. });
  7199. _box.appendChild(_iframe);
  7200. _box.appendChild(_jie);
  7201. _formdiv = new U.UF.UI.form(
  7202. "思维导图",
  7203. _box, { //"/jsmind/example/demo.html"
  7204. "id": "minds" + cid + stage + task + tool,
  7205. "style": {
  7206. "width": "90%",
  7207. "height": "90%",
  7208. "overflow": 'hidden'
  7209. },
  7210. "onresize": function () { }
  7211. }, {
  7212. closecallback: function () { }
  7213. }, {
  7214. "style": {
  7215. "height": "36px"
  7216. }
  7217. }).form; //创建窗体
  7218. _taskbar = {
  7219. "id": str + _formdiv.id,
  7220. "style": {
  7221. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7222. },
  7223. "name": "思维导图",
  7224. "forms": _formdiv,
  7225. "click": function () {
  7226. U.MD.D.I.openApplication(str, obj, info);
  7227. }
  7228. }
  7229. break;
  7230. case "doc":
  7231. aTool = 6;
  7232. _iframe = $$("iframe", {
  7233. "frameborder": "no",
  7234. "border": "0",
  7235. "scrolling ": "no",
  7236. "style": {
  7237. "cssText": "border:0;width:100%;height:100%"
  7238. },
  7239. "src": "/Office/Word/WordEditArea.htm"
  7240. })
  7241. _box.appendChild(_iframe);
  7242. _box.appendChild(_jie);
  7243. _formdiv = new U.UF.UI.form(
  7244. "协同文档",
  7245. _box, {
  7246. "id": "docs" + cid + stage + task + tool,
  7247. "style": {
  7248. "width": "90%",
  7249. "height": "90%",
  7250. "overflow": 'hidden'
  7251. },
  7252. "onresize": function () { }
  7253. }, {
  7254. closecallback: function () { }
  7255. }, {
  7256. "style": {
  7257. "height": "36px"
  7258. }
  7259. }).form; //创建窗体
  7260. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7261. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7262. })
  7263. _taskbar = {
  7264. "id": str + _formdiv.id,
  7265. "style": {
  7266. "backgroundImage": "url(/img/icon/doc.png)"
  7267. },
  7268. "name": "协同文档",
  7269. "forms": _formdiv,
  7270. "click": function () {
  7271. U.MD.D.I.openApplication(str, obj, info);
  7272. }
  7273. }
  7274. break;
  7275. }
  7276. const script1 = document.createElement("script");
  7277. script1.type = "text/javascript";
  7278. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7279. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7280. const script2 = document.createElement("script");
  7281. script2.type = "text/javascript";
  7282. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7283. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7284. const script3 = document.createElement("script");
  7285. script3.type = "text/javascript";
  7286. script3.charset = "UTF-8";
  7287. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7288. const script4 = document.createElement("script");
  7289. script4.type = "text/javascript";
  7290. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7291. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7292. if (_iframe) {
  7293. if (str == 'doc') {
  7294. _iframe = _formdiv.querySelector('iframe')
  7295. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7296. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7297. _iframe.contentWindow.document.body.appendChild(script1);
  7298. _iframe.contentWindow.document.body.appendChild(script2);
  7299. // _iframe.contentWindow.document.body.appendChild(script3);
  7300. _iframe.contentWindow.document.body.appendChild(script4);
  7301. })
  7302. if (onloadListener) {
  7303. _iframe.contentDocument.location.reload()
  7304. } else {
  7305. _iframe.contentDocument.location.reload()
  7306. }
  7307. } else if (str == 'mind') {
  7308. _iframe = _formdiv.querySelector('iframe')
  7309. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7310. _iframe.contentWindow.document.body.appendChild(script1);
  7311. _iframe.contentWindow.document.body.appendChild(script2);
  7312. _iframe.contentWindow.document.body.appendChild(script4);
  7313. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7314. })
  7315. if (onloadListener) {
  7316. _iframe.contentDocument.location.reload()
  7317. } else {
  7318. _iframe.contentDocument.location.reload()
  7319. }
  7320. } else {
  7321. _iframe.onload = () => {
  7322. _iframe.contentWindow.document.body.appendChild(script1);
  7323. _iframe.contentWindow.document.body.appendChild(script2);
  7324. // _iframe.contentWindow.document.body.appendChild(script3);
  7325. _iframe.contentWindow.document.body.appendChild(script4);
  7326. };
  7327. }
  7328. _jie.onclick = async () => {
  7329. let text = ''
  7330. if (aTool == 6) {
  7331. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7332. } else if (aTool == 3) {
  7333. text = await U.MD.D.I.getEditorContent(_iframe);
  7334. }
  7335. _loading.style.display = 'flex'
  7336. console.log(_loading);
  7337. var _ajs = _iframe.contentWindow.document.createElement("script");
  7338. _ajs.type = "text/javascript";
  7339. _ajs.innerHTML =
  7340. // 'console.log(' + _loading + ');\n' +
  7341. 'var _js = document.createElement("script");\n' +
  7342. '_js.type="text/javascript";\n' +
  7343. '_js.charset="UTF-8";\n' +
  7344. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7345. "_js.onload = function(){\n" +
  7346. ' var a = document.getElementsByTagName("img")\n' +
  7347. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7348. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7349. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7350. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7351. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7352. "beforeUpload_shishi(file," +
  7353. "'" +
  7354. _userid +
  7355. "'" +
  7356. ", " +
  7357. "'" +
  7358. _cid +
  7359. "'" +
  7360. ", " +
  7361. "'" +
  7362. _stage +
  7363. "'" +
  7364. ", " +
  7365. "'" +
  7366. _task +
  7367. "'" +
  7368. ", " +
  7369. "'" +
  7370. _tool +
  7371. "'" +
  7372. ", " +
  7373. "'" +
  7374. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7375. "'" +
  7376. ", " +
  7377. "'" +
  7378. aTool +
  7379. "'" +
  7380. ", " +
  7381. "`" +
  7382. text +
  7383. "`" +
  7384. ")\n" +
  7385. " });\n" +
  7386. "}\n" +
  7387. "document.head.appendChild(_js);\n";
  7388. _iframe.contentWindow.document.head.appendChild(_ajs);
  7389. }
  7390. }
  7391. //U.MD.D.I.openClick(str);
  7392. //如果有任务栏信息
  7393. // if (_taskbar) {
  7394. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7395. // }
  7396. }
  7397. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7398. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7399. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7400. _userinfo = US.userInfo, //登录用户信息
  7401. _userid = US.userInfo.userid //登录用户id
  7402. let _iframe;
  7403. let _cid = cid,
  7404. _stage = stage,
  7405. _task = task,
  7406. _tool = tool;
  7407. var _jie = $$("div", {
  7408. "style": {
  7409. "position": "absolute",
  7410. "bottom": "50px",
  7411. "right": "50px",
  7412. "zIndex": "9999",
  7413. "backgroundColor": "#2268bc",
  7414. "color": "#fff",
  7415. "padding": "12px 20px",
  7416. "cursor": "pointer",
  7417. "borderRadius": "4px",
  7418. },
  7419. "innerHTML": "确认并提交"
  7420. })
  7421. let aTool = ''
  7422. let _loading = document.createElement('div')
  7423. _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;"
  7424. // _loading.id = "";
  7425. let _lchild = document.createElement('div')
  7426. let _limg = document.createElement('img')
  7427. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7428. _limg.style = "width: 26px;margin-right: 10px;"
  7429. _lchild.appendChild(_limg)
  7430. let _lspan = document.createElement('span')
  7431. _lspan.innerHTML = "上传中..."
  7432. _lchild.appendChild(_lspan)
  7433. _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%);"
  7434. _loading.appendChild(_lchild)
  7435. var _box = $$('div', {
  7436. "style": {
  7437. "position": "relative",
  7438. "width": "100%",
  7439. "height": "100%",
  7440. },
  7441. })
  7442. _box.appendChild(_loading)
  7443. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7444. switch (str) {
  7445. case "whiteboard":
  7446. aTool = 1;
  7447. _iframe = $$("iframe", {
  7448. "frameborder": "no",
  7449. "border": "0",
  7450. "scrolling ": "no",
  7451. "style": {
  7452. "cssText": "border:0;width:100%;height:100%"
  7453. },
  7454. "src": "https://iwb.cocorobo.cn/"
  7455. })
  7456. _box.appendChild(_iframe);
  7457. _box.appendChild(_jie);
  7458. _formdiv = new U.UF.UI.form(
  7459. "电子白板",
  7460. _box, {
  7461. "id": "whiteboards" + cid + stage + task + tool,
  7462. "style": {
  7463. "width": "90%",
  7464. "height": "90%",
  7465. "overflow": 'hidden'
  7466. },
  7467. "onresize": function () { }
  7468. }, {
  7469. closecallback: function () { }
  7470. }, {
  7471. "style": {
  7472. "height": "36px"
  7473. }
  7474. }).form; //创建窗体
  7475. _taskbar = {
  7476. "id": str + _formdiv.id,
  7477. "style": {
  7478. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7479. },
  7480. "name": "电子白板",
  7481. "forms": _formdiv,
  7482. "click": function () {
  7483. U.MD.D.I.openApplication(str, obj, info);
  7484. }
  7485. }
  7486. break;
  7487. case "mind":
  7488. aTool = 3;
  7489. _iframe = $$("iframe", {
  7490. "frameborder": "no",
  7491. "border": "0",
  7492. "scrolling ": "no",
  7493. "style": {
  7494. "cssText": "border:0;width:100%;height:100%"
  7495. },
  7496. "src": "/kityminder-editor/dist/index.html"
  7497. });
  7498. _box.appendChild(_iframe);
  7499. _box.appendChild(_jie);
  7500. _formdiv = new U.UF.UI.form(
  7501. "思维导图",
  7502. _box, { //"/jsmind/example/demo.html"
  7503. "id": "minds" + cid + stage + task + tool,
  7504. "style": {
  7505. "width": "90%",
  7506. "height": "90%",
  7507. "overflow": 'hidden'
  7508. },
  7509. "onresize": function () { }
  7510. }, {
  7511. closecallback: function () { }
  7512. }, {
  7513. "style": {
  7514. "height": "36px"
  7515. }
  7516. }).form; //创建窗体
  7517. _taskbar = {
  7518. "id": str + _formdiv.id,
  7519. "style": {
  7520. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7521. },
  7522. "name": "思维导图",
  7523. "forms": _formdiv,
  7524. "click": function () {
  7525. U.MD.D.I.openApplication(str, obj, info);
  7526. }
  7527. }
  7528. break;
  7529. case "doc":
  7530. aTool = 6;
  7531. _iframe = $$("iframe", {
  7532. "frameborder": "no",
  7533. "border": "0",
  7534. "scrolling ": "no",
  7535. "style": {
  7536. "cssText": "border:0;width:100%;height:100%"
  7537. },
  7538. "src": "/Office/Word/WordEditArea.htm"
  7539. })
  7540. _box.appendChild(_iframe);
  7541. _box.appendChild(_jie);
  7542. _formdiv = new U.UF.UI.form(
  7543. "协同文档",
  7544. _box, {
  7545. "id": "docs" + cid + stage + task + tool,
  7546. "style": {
  7547. "width": "90%",
  7548. "height": "90%",
  7549. "overflow": 'hidden'
  7550. },
  7551. "onresize": function () { }
  7552. }, {
  7553. closecallback: function () { }
  7554. }, {
  7555. "style": {
  7556. "height": "36px"
  7557. }
  7558. }).form; //创建窗体
  7559. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7560. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7561. })
  7562. _taskbar = {
  7563. "id": str + _formdiv.id,
  7564. "style": {
  7565. "backgroundImage": "url(/img/icon/doc.png)"
  7566. },
  7567. "name": "协同文档",
  7568. "forms": _formdiv,
  7569. "click": function () {
  7570. U.MD.D.I.openApplication(str, obj, info);
  7571. }
  7572. }
  7573. break;
  7574. }
  7575. const script1 = document.createElement("script");
  7576. script1.type = "text/javascript";
  7577. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7578. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7579. const script2 = document.createElement("script");
  7580. script2.type = "text/javascript";
  7581. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7582. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7583. const script3 = document.createElement("script");
  7584. script3.type = "text/javascript";
  7585. script3.charset = "UTF-8";
  7586. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7587. const script4 = document.createElement("script");
  7588. script4.type = "text/javascript";
  7589. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7590. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7591. if (_iframe) {
  7592. if (str == 'doc') {
  7593. _iframe = _formdiv.querySelector('iframe')
  7594. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7595. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7596. _iframe.contentWindow.document.body.appendChild(script1);
  7597. _iframe.contentWindow.document.body.appendChild(script2);
  7598. // _iframe.contentWindow.document.body.appendChild(script3);
  7599. _iframe.contentWindow.document.body.appendChild(script4);
  7600. })
  7601. if (onloadListener) {
  7602. _iframe.contentDocument.location.reload()
  7603. } else {
  7604. _iframe.contentDocument.location.reload()
  7605. }
  7606. } else if (str == 'mind') {
  7607. _iframe = _formdiv.querySelector('iframe')
  7608. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7609. _iframe.contentWindow.document.body.appendChild(script1);
  7610. _iframe.contentWindow.document.body.appendChild(script2);
  7611. _iframe.contentWindow.document.body.appendChild(script4);
  7612. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7613. })
  7614. if (onloadListener) {
  7615. _iframe.contentDocument.location.reload()
  7616. } else {
  7617. _iframe.contentDocument.location.reload()
  7618. }
  7619. } else {
  7620. _iframe.onload = () => {
  7621. _iframe.contentWindow.document.body.appendChild(script1);
  7622. _iframe.contentWindow.document.body.appendChild(script2);
  7623. // _iframe.contentWindow.document.body.appendChild(script3);
  7624. _iframe.contentWindow.document.body.appendChild(script4);
  7625. };
  7626. }
  7627. _jie.onclick = async () => {
  7628. let text = ''
  7629. if (aTool == 6) {
  7630. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7631. } else if (aTool == 3) {
  7632. text = await U.MD.D.I.getEditorContent(_iframe);
  7633. }
  7634. _loading.style.display = 'flex'
  7635. console.log(_loading);
  7636. var _ajs = _iframe.contentWindow.document.createElement("script");
  7637. _ajs.type = "text/javascript";
  7638. _ajs.innerHTML =
  7639. // 'console.log(' + _loading + ');\n' +
  7640. 'var _js = document.createElement("script");\n' +
  7641. '_js.type="text/javascript";\n' +
  7642. '_js.charset="UTF-8";\n' +
  7643. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7644. "_js.onload = function(){\n" +
  7645. ' var a = document.getElementsByTagName("img")\n' +
  7646. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7647. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7648. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7649. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7650. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7651. "beforeUpload_shishi(file," +
  7652. "'" +
  7653. _userid +
  7654. "'" +
  7655. ", " +
  7656. "'" +
  7657. _cid +
  7658. "'" +
  7659. ", " +
  7660. "'" +
  7661. _stage +
  7662. "'" +
  7663. ", " +
  7664. "'" +
  7665. _task +
  7666. "'" +
  7667. ", " +
  7668. "'" +
  7669. _tool +
  7670. "'" +
  7671. ", " +
  7672. "'" +
  7673. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7674. "'" +
  7675. ", " +
  7676. "'" +
  7677. aTool +
  7678. "'" +
  7679. ", " +
  7680. "`" +
  7681. text +
  7682. "`" +
  7683. ")\n" +
  7684. " });\n" +
  7685. "}\n" +
  7686. "document.head.appendChild(_js);\n";
  7687. _iframe.contentWindow.document.head.appendChild(_ajs);
  7688. }
  7689. }
  7690. //U.MD.D.I.openClick(str);
  7691. //如果有任务栏信息
  7692. // if (_taskbar) {
  7693. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7694. // }
  7695. }
  7696. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7697. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7698. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7699. _userinfo = US.userInfo, //登录用户信息
  7700. _userid = US.userInfo.userid //登录用户id
  7701. let _iframe;
  7702. let _cid = cid,
  7703. _stage = stage,
  7704. _task = task,
  7705. _tool = tool;
  7706. var _jie = $$("div", {
  7707. "style": {
  7708. "position": "absolute",
  7709. "bottom": "50px",
  7710. "right": "50px",
  7711. "zIndex": "9999",
  7712. "backgroundColor": "#2268bc",
  7713. "color": "#fff",
  7714. "padding": "12px 20px",
  7715. "cursor": "pointer",
  7716. "borderRadius": "4px",
  7717. },
  7718. "innerHTML": "上传模板"
  7719. })
  7720. let aTool = ''
  7721. let _loading = document.createElement('div')
  7722. _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;"
  7723. // _loading.id = "";
  7724. let _lchild = document.createElement('div')
  7725. let _limg = document.createElement('img')
  7726. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7727. _limg.style = "width: 26px;margin-right: 10px;"
  7728. _lchild.appendChild(_limg)
  7729. let _lspan = document.createElement('span')
  7730. _lspan.innerHTML = "上传中..."
  7731. _lchild.appendChild(_lspan)
  7732. _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%);"
  7733. _loading.appendChild(_lchild)
  7734. var _box = $$('div', {
  7735. "style": {
  7736. "position": "relative",
  7737. "width": "100%",
  7738. "height": "100%",
  7739. },
  7740. })
  7741. _box.appendChild(_loading)
  7742. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7743. switch (str) {
  7744. case "whiteboard":
  7745. aTool = 1;
  7746. _iframe = $$("iframe", {
  7747. "frameborder": "no",
  7748. "border": "0",
  7749. "scrolling ": "no",
  7750. "style": {
  7751. "cssText": "border:0;width:100%;height:100%"
  7752. },
  7753. "src": "https://iwb.cocorobo.cn/"
  7754. })
  7755. _box.appendChild(_iframe);
  7756. _box.appendChild(_jie);
  7757. _formdiv = new U.UF.UI.form(
  7758. "电子白板",
  7759. _box, {
  7760. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7761. "style": {
  7762. "width": "90%",
  7763. "height": "90%",
  7764. "overflow": 'hidden'
  7765. },
  7766. "onresize": function () { }
  7767. }, {
  7768. closecallback: function () { }
  7769. }, {
  7770. "style": {
  7771. "height": "36px"
  7772. }
  7773. }).form; //创建窗体
  7774. _taskbar = {
  7775. "id": str + _formdiv.id,
  7776. "style": {
  7777. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7778. },
  7779. "name": "电子白板",
  7780. "forms": _formdiv,
  7781. "click": function () {
  7782. U.MD.D.I.openApplication(str, obj, info);
  7783. }
  7784. }
  7785. break;
  7786. case "mind":
  7787. aTool = 3;
  7788. _iframe = $$("iframe", {
  7789. "frameborder": "no",
  7790. "border": "0",
  7791. "scrolling ": "no",
  7792. "style": {
  7793. "cssText": "border:0;width:100%;height:100%"
  7794. },
  7795. "src": "/kityminder-editor/dist/index.html"
  7796. });
  7797. _box.appendChild(_iframe);
  7798. _box.appendChild(_jie);
  7799. _formdiv = new U.UF.UI.form(
  7800. "思维导图",
  7801. _box, { //"/jsmind/example/demo.html"
  7802. "id": "minds_Yu" + cid + stage + task + tool,
  7803. "style": {
  7804. "width": "90%",
  7805. "height": "90%",
  7806. "overflow": 'hidden'
  7807. },
  7808. "onresize": function () { }
  7809. }, {
  7810. closecallback: function () { }
  7811. }, {
  7812. "style": {
  7813. "height": "36px"
  7814. }
  7815. }).form; //创建窗体
  7816. _taskbar = {
  7817. "id": str + _formdiv.id,
  7818. "style": {
  7819. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7820. },
  7821. "name": "思维导图",
  7822. "forms": _formdiv,
  7823. "click": function () {
  7824. U.MD.D.I.openApplication(str, obj, info);
  7825. }
  7826. }
  7827. break;
  7828. case "doc":
  7829. aTool = 6;
  7830. _iframe = $$("iframe", {
  7831. "frameborder": "no",
  7832. "border": "0",
  7833. "scrolling ": "no",
  7834. "style": {
  7835. "cssText": "border:0;width:100%;height:100%"
  7836. },
  7837. "src": "/Office/Word/WordEditArea.htm"
  7838. })
  7839. _box.appendChild(_iframe);
  7840. _box.appendChild(_jie);
  7841. _formdiv = new U.UF.UI.form(
  7842. "协同文档",
  7843. _box, {
  7844. "id": "docs_Yu" + cid + stage + task + tool,
  7845. "style": {
  7846. "width": "90%",
  7847. "height": "90%",
  7848. "overflow": 'hidden'
  7849. },
  7850. "onresize": function () { }
  7851. }, {
  7852. closecallback: function () { }
  7853. }, {
  7854. "style": {
  7855. "height": "36px"
  7856. }
  7857. }).form; //创建窗体
  7858. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7859. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7860. })
  7861. _taskbar = {
  7862. "id": str + _formdiv.id,
  7863. "style": {
  7864. "backgroundImage": "url(/img/icon/doc.png)"
  7865. },
  7866. "name": "协同文档",
  7867. "forms": _formdiv,
  7868. "click": function () {
  7869. U.MD.D.I.openApplication(str, obj, info);
  7870. }
  7871. }
  7872. break;
  7873. case "CocoPi":
  7874. aTool = 57;
  7875. _iframe = $$("iframe", {
  7876. "allowpaymentrequest": "allowpaymentrequest",
  7877. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7878. "webkitallowfullscreen": "",
  7879. "mozallowfullscreen": "",
  7880. "frameborder": "no",
  7881. "border": "0",
  7882. "scrolling ": "no",
  7883. "style": {
  7884. "cssText": "border:0;width:100%;height:100%"
  7885. },
  7886. "src": "https://pi.cocorobo.cn/"
  7887. })
  7888. _box.appendChild(_iframe);
  7889. _box.appendChild(_jie);
  7890. _formdiv = new U.UF.UI.form(
  7891. "CocoPi",
  7892. _box, {
  7893. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7894. "style": {
  7895. "width": "90%",
  7896. "height": "90%",
  7897. "overflow": 'hidden'
  7898. },
  7899. "onresize": function () { }
  7900. }, {
  7901. closecallback: function () { }
  7902. }, {
  7903. "style": {
  7904. "height": "36px"
  7905. }
  7906. }).form; //创建窗体
  7907. _taskbar = {
  7908. "id": str + _formdiv.id,
  7909. "style": {
  7910. "backgroundImage": "url(/img/icon/cocopi.png)"
  7911. },
  7912. "name": "CocoPi",
  7913. "forms": _formdiv,
  7914. "click": function () {
  7915. U.MD.D.I.openApplication(str, obj, info);
  7916. }
  7917. }
  7918. break;
  7919. }
  7920. if (_iframe) {
  7921. if (str == 'doc') {
  7922. _iframe = _formdiv.querySelector('iframe')
  7923. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7924. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7925. })
  7926. if (onloadListener) {
  7927. _iframe.contentDocument.location.reload()
  7928. } else {
  7929. _iframe.contentDocument.location.reload()
  7930. }
  7931. } else if (str == 'mind') {
  7932. _iframe = _formdiv.querySelector('iframe')
  7933. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7934. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7935. })
  7936. if (onloadListener) {
  7937. _iframe.contentDocument.location.reload()
  7938. } else {
  7939. _iframe.contentDocument.location.reload()
  7940. }
  7941. } else if (str == 'whiteboard') {
  7942. _iframe = _formdiv.querySelector('iframe')
  7943. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7944. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7945. })
  7946. if (onloadListener) {
  7947. _iframe.contentDocument.location.reload()
  7948. } else {
  7949. _iframe.contentDocument.location.reload()
  7950. }
  7951. } else if (str == 'CocoPi') {
  7952. _iframe = _formdiv.querySelector('iframe')
  7953. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7954. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7955. })
  7956. if (onloadListener) {
  7957. _iframe.contentDocument.location.reload()
  7958. } else {
  7959. _iframe.contentDocument.location.reload()
  7960. }
  7961. } else {
  7962. _iframe.onload = () => { };
  7963. }
  7964. _jie.onclick = async () => {
  7965. let text = ''
  7966. let type = '2'
  7967. if (aTool == 1) {
  7968. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7969. type = '3'
  7970. } else if (aTool == 6) {
  7971. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7972. type = '1'
  7973. } else if (aTool == 3) {
  7974. text = await U.MD.D.I.getEditorContent(_iframe);
  7975. type = '2'
  7976. } else if (aTool == 57) {
  7977. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7978. type = '4'
  7979. }
  7980. _loading.style.display = 'flex'
  7981. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7982. }
  7983. }
  7984. //U.MD.D.I.openClick(str);
  7985. //如果有任务栏信息
  7986. // if (_taskbar) {
  7987. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7988. // }
  7989. }
  7990. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7991. var xmlhttp;
  7992. var Mac, Sn, DeviceId
  7993. if (window.XMLHttpRequest) {
  7994. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7995. xmlhttp = new XMLHttpRequest();
  7996. } else {
  7997. // IE6, IE5 浏览器执行代码
  7998. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7999. }
  8000. xmlhttp.onreadystatechange = function () {
  8001. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8002. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8003. // resolve(res.value[0][0].text);
  8004. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8005. }
  8006. }
  8007. }
  8008. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8009. xmlhttp.send();
  8010. }
  8011. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8012. var xmlhttp;
  8013. var Mac, Sn, DeviceId
  8014. if (window.XMLHttpRequest) {
  8015. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8016. xmlhttp = new XMLHttpRequest();
  8017. } else {
  8018. // IE6, IE5 浏览器执行代码
  8019. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8020. }
  8021. xmlhttp.onreadystatechange = function () {
  8022. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8023. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8024. // resolve(res.value[0][0].text);
  8025. if (type == '2') {
  8026. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8027. } else if (type == '3') {
  8028. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8029. } else if (type == '4') {
  8030. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8031. }
  8032. } else {
  8033. if (type == '2') {
  8034. iframe.contentWindow.editor.minder.importData('json', '')
  8035. } else if (type == '3') {
  8036. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8037. } else if (type == '4') {
  8038. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8039. }
  8040. }
  8041. }
  8042. }
  8043. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8044. xmlhttp.send();
  8045. }
  8046. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8047. var xmlhttp;
  8048. var Mac, Sn, DeviceId
  8049. if (window.XMLHttpRequest) {
  8050. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8051. xmlhttp = new XMLHttpRequest();
  8052. } else {
  8053. // IE6, IE5 浏览器执行代码
  8054. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8055. }
  8056. xmlhttp.onreadystatechange = function () {
  8057. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8058. if (xmlhttp.response) {
  8059. // resolve(res.value[0][0].text);
  8060. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8061. // $(fileInput).val('');
  8062. // });
  8063. span.innerHTML = '上传成功'
  8064. setTimeout(() => {
  8065. loading.style.display = 'none'
  8066. }, 1000);
  8067. }
  8068. }
  8069. }
  8070. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8071. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8072. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8073. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8074. // 设置请求头,表示请求体的编码格式
  8075. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8076. // 设置请求体,使用url-encoded格式的数据
  8077. }
  8078. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8079. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8080. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8081. _userinfo = US.userInfo, //登录用户信息
  8082. _userid = US.userInfo.userid //登录用户id
  8083. let _iframe;
  8084. let _cid = cid,
  8085. _stage = stage,
  8086. _task = task,
  8087. _tool = tool;
  8088. var _jie = $$("div", {
  8089. "style": {
  8090. "position": "absolute",
  8091. "bottom": "50px",
  8092. "right": "50px",
  8093. "zIndex": "9999",
  8094. "backgroundColor": "#2268bc",
  8095. "color": "#fff",
  8096. "padding": "12px 20px",
  8097. "cursor": "pointer",
  8098. "borderRadius": "4px",
  8099. },
  8100. "innerHTML": "提交作业"
  8101. })
  8102. let aTool = ''
  8103. let _loading = document.createElement('div')
  8104. _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;"
  8105. // _loading.id = "";
  8106. let _lchild = document.createElement('div')
  8107. let _limg = document.createElement('img')
  8108. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8109. _limg.style = "width: 26px;margin-right: 10px;"
  8110. _lchild.appendChild(_limg)
  8111. let _lspan = document.createElement('span')
  8112. _lspan.innerHTML = "上传中..."
  8113. _lchild.appendChild(_lspan)
  8114. _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%);"
  8115. _loading.appendChild(_lchild)
  8116. var _box = $$('div', {
  8117. "style": {
  8118. "position": "relative",
  8119. "width": "100%",
  8120. "height": "100%",
  8121. },
  8122. })
  8123. _box.appendChild(_loading)
  8124. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8125. switch (str) {
  8126. case "CocoPi":
  8127. aTool = 57;
  8128. _iframe = $$("iframe", {
  8129. "allowpaymentrequest": "allowpaymentrequest",
  8130. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8131. "webkitallowfullscreen": "",
  8132. "mozallowfullscreen": "",
  8133. "frameborder": "no",
  8134. "border": "0",
  8135. "scrolling ": "no",
  8136. "style": {
  8137. "cssText": "border:0;width:100%;height:100%"
  8138. },
  8139. "src": "https://pi.cocorobo.cn/"
  8140. })
  8141. _box.appendChild(_iframe);
  8142. _box.appendChild(_jie);
  8143. _formdiv = new U.UF.UI.form(
  8144. "CocoPi",
  8145. _box, {
  8146. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8147. "style": {
  8148. "width": "90%",
  8149. "height": "90%",
  8150. "overflow": 'hidden'
  8151. },
  8152. "onresize": function () { }
  8153. }, {
  8154. closecallback: function () { }
  8155. }, {
  8156. "style": {
  8157. "height": "36px"
  8158. }
  8159. }).form; //创建窗体
  8160. _taskbar = {
  8161. "id": str + _formdiv.id,
  8162. "style": {
  8163. "backgroundImage": "url(/img/icon/cocopi.png)"
  8164. },
  8165. "name": "CocoPi",
  8166. "forms": _formdiv,
  8167. "click": function () {
  8168. U.MD.D.I.openApplication(str, obj, info);
  8169. }
  8170. }
  8171. break;
  8172. }
  8173. if (_iframe) {
  8174. if (str == 'CocoPi') {
  8175. _iframe = _formdiv.querySelector('iframe')
  8176. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8177. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8178. })
  8179. if (onloadListener) {
  8180. _iframe.contentDocument.location.reload()
  8181. } else {
  8182. _iframe.contentDocument.location.reload()
  8183. }
  8184. }
  8185. _jie.onclick = async () => {
  8186. let text = ''
  8187. if (aTool == 57) {
  8188. text = _iframe.contentWindow.getLoadXmlStr()
  8189. }
  8190. _loading.style.display = 'flex'
  8191. console.log(_loading);
  8192. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8193. _loading.style.display = 'none'
  8194. let _div = document.createElement('div')
  8195. _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;"
  8196. let _inner = document.createElement('div')
  8197. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8198. _inner.innerHTML = "上传成功"
  8199. _div.appendChild(_inner)
  8200. _iframe.contentWindow.window.document.body.appendChild(_div)
  8201. _div.onclick = () => {
  8202. _iframe.contentWindow.window.document.body.removeChild(_div)
  8203. }
  8204. setTimeout(() => {
  8205. _iframe.contentWindow.window.document.body.removeChild(_div)
  8206. }, 1000);
  8207. }, [], { "type": "POST", "withCredentials": true });
  8208. }
  8209. }
  8210. }
  8211. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8212. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8213. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8214. _userid = student.userid, //登录用户id
  8215. _username = student.student //用户名字
  8216. let _iframe;
  8217. let _cid = cid,
  8218. _stage = stage,
  8219. _task = task,
  8220. _tool = tool;
  8221. var _jie = $$("div", {
  8222. "style": {
  8223. "position": "absolute",
  8224. "bottom": "50px",
  8225. "right": "50px",
  8226. "zIndex": "9999",
  8227. "backgroundColor": "#2268bc",
  8228. "color": "#fff",
  8229. "padding": "12px 20px",
  8230. "cursor": "pointer",
  8231. "borderRadius": "4px",
  8232. },
  8233. "innerHTML": "提交作业"
  8234. })
  8235. let aTool = ''
  8236. let _loading = document.createElement('div')
  8237. _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;"
  8238. // _loading.id = "";
  8239. let _lchild = document.createElement('div')
  8240. let _limg = document.createElement('img')
  8241. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8242. _limg.style = "width: 26px;margin-right: 10px;"
  8243. _lchild.appendChild(_limg)
  8244. let _lspan = document.createElement('span')
  8245. _lspan.innerHTML = "上传中..."
  8246. _lchild.appendChild(_lspan)
  8247. _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%);"
  8248. _loading.appendChild(_lchild)
  8249. var _box = $$('div', {
  8250. "style": {
  8251. "position": "relative",
  8252. "width": "100%",
  8253. "height": "100%",
  8254. },
  8255. })
  8256. _box.appendChild(_loading)
  8257. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8258. switch (str) {
  8259. case "CocoPi":
  8260. aTool = 57;
  8261. _iframe = $$("iframe", {
  8262. "allowpaymentrequest": "allowpaymentrequest",
  8263. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8264. "webkitallowfullscreen": "",
  8265. "mozallowfullscreen": "",
  8266. "frameborder": "no",
  8267. "border": "0",
  8268. "scrolling ": "no",
  8269. "style": {
  8270. "cssText": "border:0;width:100%;height:100%"
  8271. },
  8272. "src": "https://pi.cocorobo.cn/"
  8273. })
  8274. _box.appendChild(_iframe);
  8275. _box.appendChild(_jie);
  8276. _formdiv = new U.UF.UI.form(
  8277. "CocoPi-" + _username,
  8278. _box, {
  8279. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8280. "style": {
  8281. "width": "90%",
  8282. "height": "90%",
  8283. "overflow": 'hidden'
  8284. },
  8285. "onresize": function () { }
  8286. }, {
  8287. closecallback: function () { }
  8288. }, {
  8289. "style": {
  8290. "height": "36px"
  8291. }
  8292. }).form; //创建窗体
  8293. _taskbar = {
  8294. "id": str + _formdiv.id,
  8295. "style": {
  8296. "backgroundImage": "url(/img/icon/cocopi.png)"
  8297. },
  8298. "name": "CocoPi",
  8299. "forms": _formdiv,
  8300. "click": function () {
  8301. U.MD.D.I.openApplication(str, obj, info);
  8302. }
  8303. }
  8304. break;
  8305. }
  8306. if (_iframe) {
  8307. if (str == 'CocoPi') {
  8308. _iframe = _formdiv.querySelector('iframe')
  8309. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8310. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8311. })
  8312. if (onloadListener) {
  8313. _iframe.contentDocument.location.reload()
  8314. } else {
  8315. _iframe.contentDocument.location.reload()
  8316. }
  8317. }
  8318. _jie.onclick = async () => {
  8319. let text = ''
  8320. if (aTool == 57) {
  8321. text = _iframe.contentWindow.getLoadXmlStr()
  8322. }
  8323. _loading.style.display = 'flex'
  8324. console.log(_loading);
  8325. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8326. _loading.style.display = 'none'
  8327. let _div = document.createElement('div')
  8328. _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;"
  8329. let _inner = document.createElement('div')
  8330. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8331. _inner.innerHTML = "上传成功"
  8332. _div.appendChild(_inner)
  8333. _iframe.contentWindow.window.document.body.appendChild(_div)
  8334. _div.onclick = () => {
  8335. _iframe.contentWindow.window.document.body.removeChild(_div)
  8336. }
  8337. setTimeout(() => {
  8338. _iframe.contentWindow.window.document.body.removeChild(_div)
  8339. }, 1000);
  8340. }, [], { "type": "POST", "withCredentials": true });
  8341. }
  8342. }
  8343. }
  8344. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8345. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8346. if (res.value[0].length > 0) {
  8347. if (atool == 57) {
  8348. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8349. }
  8350. } else {
  8351. if (atool == 57) {
  8352. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8353. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8354. }
  8355. }
  8356. }, [], { "type": "POST", "withCredentials": true });
  8357. }