DeskTop.js 527 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715
  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" || _oid == "1bc66f4e-8798-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. case "teacher":
  3354. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3355. setTimeout(() => {
  3356. U.MD.U.L.login();
  3357. }, 2000);
  3358. } else {
  3359. _formdiv = new U.UF.UI.form(
  3360. "教师管理",
  3361. $$("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/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3362. "id": "teacher",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. break;
  3369. }
  3370. case "dataBoardSZArea":
  3371. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3372. setTimeout(() => {
  3373. U.MD.U.L.login();
  3374. }, 2000);
  3375. } else {
  3376. _formdiv = new U.UF.UI.form(
  3377. "综合数据看板",
  3378. $$("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/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3379. "id": "dataBoardSZArea",
  3380. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3381. "onresize": function () { }
  3382. }, {
  3383. closecallback: function () { }
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. break;
  3386. }
  3387. case "dataBoardSZCity":
  3388. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3389. setTimeout(() => {
  3390. U.MD.U.L.login();
  3391. }, 2000);
  3392. } else {
  3393. _formdiv = new U.UF.UI.form(
  3394. "综合数据看板",
  3395. $$("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/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3396. "id": "dataBoardSZCity",
  3397. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. break;
  3403. }
  3404. }
  3405. }
  3406. U.MD.D.I.openApplication = function (str, obj, info) {
  3407. obj = obj || {};
  3408. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3409. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3410. _userinfo = US.userInfo, //登录用户信息
  3411. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3412. _oid = obj.organizeid || _userinfo.organizeid,
  3413. _type = US.userInfo.type,
  3414. _org = US.userInfo.org,
  3415. _role = US.userInfo.role,
  3416. _classId = US.userInfo.classid,
  3417. _TscreenType = 1
  3418. _screenType = 2,
  3419. _SscreenType = 3;
  3420. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3421. return;
  3422. }
  3423. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3424. switch (str) {
  3425. case "studnetProject": //好友打开
  3426. _formdiv = new U.UF.UI.form(
  3427. "我的项目",
  3428. $$("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 }), {
  3429. "id": "studnetProject",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _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); } }
  3436. break;
  3437. case "studentEvaluate": //好友打开
  3438. _formdiv = new U.UF.UI.form(
  3439. "我的评价",
  3440. $$("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 }), {
  3441. "id": "studentEvaluate",
  3442. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. case "my":
  3450. _formdiv = new U.UF.UI.form(
  3451. "我的资料",
  3452. $$("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 }), {
  3453. "id": "my",
  3454. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "program":
  3462. _formdiv = new U.UF.UI.form(
  3463. "编程平台",
  3464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3465. "id": "program",
  3466. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. break;
  3473. case "library":
  3474. _formdiv = new U.UF.UI.form(
  3475. "素材库",
  3476. $$("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 }), {
  3477. "id": "library",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function () { }
  3480. }, {
  3481. closecallback: function () { }
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "whiteboard":
  3486. _formdiv = new U.UF.UI.form(
  3487. "电子白板",
  3488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3489. "id": "whiteboard",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function () { }
  3492. }, {
  3493. closecallback: function () { }
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "investigation":
  3498. _formdiv = new U.UF.UI.form(
  3499. "问卷调查",
  3500. $$("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 }), {
  3501. "id": "investigation",
  3502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function () { }
  3504. }, {
  3505. closecallback: function () { }
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. case "note":
  3510. _formdiv = new U.UF.UI.form(
  3511. "便签分类",
  3512. $$("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 }), {
  3513. "id": "note",
  3514. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function () { }
  3516. }, {
  3517. closecallback: function () { }
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. // case "score":
  3522. // _formdiv = new U.UF.UI.form(
  3523. // "量规评分",
  3524. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3525. // "id": "score",
  3526. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. // "onresize": function() {}
  3528. // }, {
  3529. // closecallback: function() {}
  3530. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. // _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); } }
  3532. // break;
  3533. case "mind":
  3534. _formdiv = new U.UF.UI.form(
  3535. "思维导图",
  3536. $$("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"
  3537. "id": "mind",
  3538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function () { }
  3540. }, {
  3541. closecallback: function () { }
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _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); } }
  3544. break;
  3545. case "doc":
  3546. // U.MD.D.I.isRoom();
  3547. _formdiv = new U.UF.UI.form(
  3548. "协同文档",
  3549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3550. "id": "doc",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3557. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3558. // })
  3559. _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); } }
  3560. break;
  3561. case "studentStudy":
  3562. _formdiv = new U.UF.UI.form(
  3563. "课程中心",
  3564. $$("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
  3565. "id": "studentStudy",
  3566. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3567. "onresize": function () { }
  3568. }, {
  3569. closecallback: function () { }
  3570. }, { "style": { "height": "36px" } }).form; //创建窗体
  3571. _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); } }
  3572. break;
  3573. case "train": //好友打开
  3574. _formdiv = new U.UF.UI.form(
  3575. "训练平台",
  3576. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3577. "id": "train",
  3578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function () { }
  3580. }, {
  3581. closecallback: function () { }
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. _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); } }
  3584. break;
  3585. case "mindNetwork": //好友打开
  3586. _formdiv = new U.UF.UI.form(
  3587. "思维网格",
  3588. $$("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 }), {
  3589. "id": "mindNetwork",
  3590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3591. "onresize": function () { }
  3592. }, {
  3593. closecallback: function () { }
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _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); } }
  3596. break;
  3597. case "studentClassRoom": //好友打开
  3598. _formdiv = new U.UF.UI.form(
  3599. "实时课堂",
  3600. $$("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 }), {
  3601. "id": "studentClassRoom",
  3602. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3603. "onresize": function () { }
  3604. }, {
  3605. closecallback: function () { }
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. _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); } }
  3608. setTimeout(() => {
  3609. U.UF.F.windowZooming(_formdiv)
  3610. }, 0);
  3611. break;
  3612. }
  3613. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3614. switch (str) {
  3615. case "studnetProject": //好友打开
  3616. _formdiv = new U.UF.UI.form(
  3617. "我的项目",
  3618. $$("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 }), {
  3619. "id": "studnetProject",
  3620. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _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); } }
  3626. break;
  3627. case "studentEvaluate": //好友打开
  3628. _formdiv = new U.UF.UI.form(
  3629. "我的评价",
  3630. $$("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 }), {
  3631. "id": "studentEvaluate",
  3632. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "my":
  3640. _formdiv = new U.UF.UI.form(
  3641. "我的资料",
  3642. $$("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 }), {
  3643. "id": "my",
  3644. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "program":
  3652. _formdiv = new U.UF.UI.form(
  3653. "编程平台",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3655. "id": "program",
  3656. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "library":
  3664. _formdiv = new U.UF.UI.form(
  3665. "素材库",
  3666. $$("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 }), {
  3667. "id": "library",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _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); } }
  3674. break;
  3675. case "whiteboard":
  3676. _formdiv = new U.UF.UI.form(
  3677. "电子白板",
  3678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3679. "id": "whiteboard",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "investigation":
  3688. _formdiv = new U.UF.UI.form(
  3689. "问卷调查",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3691. "id": "investigation",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "note":
  3700. _formdiv = new U.UF.UI.form(
  3701. "便签分类",
  3702. $$("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 }), {
  3703. "id": "note",
  3704. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. break;
  3711. // case "score":
  3712. // _formdiv = new U.UF.UI.form(
  3713. // "量规评分",
  3714. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3715. // "id": "score",
  3716. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3717. // "onresize": function() {}
  3718. // }, {
  3719. // closecallback: function() {}
  3720. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. // _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); } }
  3722. // break;
  3723. case "mind":
  3724. _formdiv = new U.UF.UI.form(
  3725. "思维导图",
  3726. $$("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"
  3727. "id": "mind",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function () { }
  3730. }, {
  3731. closecallback: function () { }
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. break;
  3735. case "doc":
  3736. // U.MD.D.I.isRoom();
  3737. _formdiv = new U.UF.UI.form(
  3738. "协同文档",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3740. "id": "doc",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3747. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3748. })
  3749. _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); } }
  3750. break;
  3751. case "train": //好友打开
  3752. _formdiv = new U.UF.UI.form(
  3753. "训练平台",
  3754. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3755. "id": "train",
  3756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. case "studentStudy":
  3764. _formdiv = new U.UF.UI.form(
  3765. "课程中心",
  3766. $$("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
  3767. "id": "studentStudy",
  3768. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. case "mindNetwork": //好友打开
  3776. _formdiv = new U.UF.UI.form(
  3777. "思维网格",
  3778. $$("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 }), {
  3779. "id": "mindNetwork",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. case "studentClassRoom": //好友打开
  3788. _formdiv = new U.UF.UI.form(
  3789. "实时课堂",
  3790. $$("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 }), {
  3791. "id": "studentClassRoom",
  3792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. setTimeout(() => {
  3799. U.UF.F.windowZooming(_formdiv)
  3800. }, 0);
  3801. break;
  3802. }
  3803. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3804. //选择应用处理
  3805. switch (str) {
  3806. case "project": //好友打开
  3807. _formdiv = new U.UF.UI.form(
  3808. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3809. $$("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 }), {
  3810. "id": "project",
  3811. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3812. "onresize": function () { }
  3813. }, {
  3814. closecallback: function () { }
  3815. }, { "style": { "height": "36px" } }).form; //创建窗体
  3816. _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); } }
  3817. break;
  3818. case "student":
  3819. _formdiv = new U.UF.UI.form(
  3820. "学生管理",
  3821. $$("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 }), {
  3822. "id": "student",
  3823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function () { }
  3825. }, {
  3826. closecallback: function () { }
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. _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); } }
  3829. break;
  3830. case "evaluate":
  3831. _formdiv = new U.UF.UI.form(
  3832. "学生评价",
  3833. $$("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 }), {
  3834. "id": "evaluate",
  3835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //创建窗体
  3840. _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); } }
  3841. break;
  3842. case "sys":
  3843. _formdiv = new U.UF.UI.form(
  3844. "目标管理",
  3845. $$("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 }), {
  3846. "id": "sys",
  3847. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3848. "onresize": function () { }
  3849. }, {
  3850. closecallback: function () { }
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. _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); } }
  3853. break;
  3854. case "courseDesign":
  3855. _formdiv = new U.UF.UI.form(
  3856. "项目设计",
  3857. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3858. "id": "courseDesign",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. case "program":
  3867. _formdiv = new U.UF.UI.form(
  3868. "编程平台",
  3869. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3870. "id": "program",
  3871. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _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); } }
  3877. break;
  3878. case "class":
  3879. _formdiv = new U.UF.UI.form(
  3880. "班级管理",
  3881. $$("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 }), {
  3882. "id": "class",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. case "Grade":
  3891. _formdiv = new U.UF.UI.form(
  3892. "年级管理",
  3893. $$("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 }), {
  3894. "id": "Grade",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. break;
  3902. case "teacherOffice":
  3903. _formdiv = new U.UF.UI.form(
  3904. "教研室",
  3905. $$("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 }), {
  3906. "id": "teacherOffice",
  3907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3908. "onresize": function () { }
  3909. }, {
  3910. closecallback: function () { }
  3911. }, { "style": { "height": "36px" } }).form; //创建窗体
  3912. _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); } }
  3913. break;
  3914. case "my":
  3915. _formdiv = new U.UF.UI.form(
  3916. "我的资料",
  3917. $$("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 }), {
  3918. "id": "my",
  3919. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function () { }
  3921. }, {
  3922. closecallback: function () { }
  3923. }, { "style": { "height": "36px" } }).form; //创建窗体
  3924. _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); } }
  3925. break;
  3926. case "notice":
  3927. _formdiv = new U.UF.UI.form(
  3928. "通知公告",
  3929. $$("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 }), {
  3930. "id": "notice",
  3931. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3932. "onresize": function () { }
  3933. }, {
  3934. closecallback: function () { }
  3935. }, { "style": { "height": "36px" } }).form; //创建窗体
  3936. _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); } }
  3937. break;
  3938. case "library":
  3939. _formdiv = new U.UF.UI.form(
  3940. "素材库",
  3941. $$("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 }), {
  3942. "id": "library",
  3943. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _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); } }
  3949. break;
  3950. case "whiteboard":
  3951. _formdiv = new U.UF.UI.form(
  3952. "电子白板",
  3953. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3954. "id": "whiteboard",
  3955. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. _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); } }
  3961. break;
  3962. case "investigation":
  3963. _formdiv = new U.UF.UI.form(
  3964. "问卷调查",
  3965. $$("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 }), {
  3966. "id": "investigation",
  3967. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _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); } }
  3973. break;
  3974. case "note":
  3975. _formdiv = new U.UF.UI.form(
  3976. "便签分类",
  3977. $$("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 }), {
  3978. "id": "note",
  3979. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _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); } }
  3985. break;
  3986. // case "score":
  3987. // _formdiv = new U.UF.UI.form(
  3988. // "量规评分",
  3989. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3990. // "id": "score",
  3991. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3992. // "onresize": function() {}
  3993. // }, {
  3994. // closecallback: function() {}
  3995. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. // _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); } }
  3997. // break;
  3998. case "mind":
  3999. _formdiv = new U.UF.UI.form(
  4000. "思维导图",
  4001. $$("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"
  4002. "id": "mind",
  4003. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _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); } }
  4009. break;
  4010. case "doc":
  4011. // U.MD.D.I.isRoom();
  4012. _formdiv = new U.UF.UI.form(
  4013. "协同文档",
  4014. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4015. "id": "doc",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4022. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4023. })
  4024. _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); } }
  4025. break;
  4026. case "study":
  4027. _formdiv = new U.UF.UI.form(
  4028. "课程中心",
  4029. $$("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
  4030. "id": "study",
  4031. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4032. "onresize": function () { }
  4033. }, {
  4034. closecallback: function () { }
  4035. }, { "style": { "height": "36px" } }).form; //创建窗体
  4036. _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); } }
  4037. break;
  4038. case "mindNetwork": //好友打开
  4039. _formdiv = new U.UF.UI.form(
  4040. "思维网格",
  4041. $$("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 }), {
  4042. "id": "mindNetwork",
  4043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4044. "onresize": function () { }
  4045. }, {
  4046. closecallback: function () { }
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "train": //好友打开
  4051. _formdiv = new U.UF.UI.form(
  4052. "训练平台",
  4053. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4054. "id": "mindNetwork",
  4055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4056. "onresize": function () { }
  4057. }, {
  4058. closecallback: function () { }
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "teacherClassRoom": //好友打开
  4063. _formdiv = new U.UF.UI.form(
  4064. "实时课堂",
  4065. $$("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 }), {
  4066. "id": "teacherClassRoom",
  4067. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4068. "onresize": function () { }
  4069. }, {
  4070. closecallback: function () { }
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. setTimeout(() => {
  4074. U.UF.F.windowZooming(_formdiv)
  4075. }, 0);
  4076. break;
  4077. }
  4078. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4079. switch (str) {
  4080. case "project": //好友打开
  4081. _formdiv = new U.UF.UI.form(
  4082. "课程管理",
  4083. $$("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 }), {
  4084. "id": "project",
  4085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "evaluate":
  4093. _formdiv = new U.UF.UI.form(
  4094. "学生评价",
  4095. $$("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 }), {
  4096. "id": "evaluate",
  4097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "notice":
  4105. _formdiv = new U.UF.UI.form(
  4106. "通知公告",
  4107. $$("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 }), {
  4108. "id": "notice",
  4109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "stuLibrary":
  4117. _formdiv = new U.UF.UI.form(
  4118. "学习资料",
  4119. $$("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 }), {
  4120. "id": "stuLibrary",
  4121. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "program":
  4129. _formdiv = new U.UF.UI.form(
  4130. "编程平台",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4132. "id": "program",
  4133. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "whiteboard":
  4141. _formdiv = new U.UF.UI.form(
  4142. "电子白板",
  4143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4144. "id": "whiteboard",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "investigation":
  4153. _formdiv = new U.UF.UI.form(
  4154. "问卷调查",
  4155. $$("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 }), {
  4156. "id": "investigation",
  4157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "mind":
  4165. _formdiv = new U.UF.UI.form(
  4166. "思维导图",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4168. "id": "mind",
  4169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "doc":
  4177. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), {
  4181. "id": "doc",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4188. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4189. })
  4190. _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); } }
  4191. break;
  4192. case "study":
  4193. _formdiv = new U.UF.UI.form(
  4194. "课程中心",
  4195. $$("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
  4196. "id": "study",
  4197. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4198. "onresize": function () { }
  4199. }, {
  4200. closecallback: function () { }
  4201. }, { "style": { "height": "36px" } }).form; //创建窗体
  4202. _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); } }
  4203. break;
  4204. case "mindNetwork": //好友打开
  4205. _formdiv = new U.UF.UI.form(
  4206. "思维网格",
  4207. $$("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 }), {
  4208. "id": "mindNetwork",
  4209. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4215. break;
  4216. case "train": //好友打开
  4217. _formdiv = new U.UF.UI.form(
  4218. "训练平台",
  4219. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4220. "id": "train",
  4221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4222. "onresize": function () { }
  4223. }, {
  4224. closecallback: function () { }
  4225. }, { "style": { "height": "36px" } }).form; //创建窗体
  4226. _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); } }
  4227. break;
  4228. case "sys":
  4229. _formdiv = new U.UF.UI.form(
  4230. "目标管理",
  4231. $$("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 }), {
  4232. "id": "sys",
  4233. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4234. "onresize": function () { }
  4235. }, {
  4236. closecallback: function () { }
  4237. }, { "style": { "height": "36px" } }).form; //创建窗体
  4238. _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); } }
  4239. break;
  4240. case "courseDesign":
  4241. _formdiv = new U.UF.UI.form(
  4242. "项目设计",
  4243. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4244. "id": "courseDesign",
  4245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4246. "onresize": function () { }
  4247. }, {
  4248. closecallback: function () { }
  4249. }, { "style": { "height": "36px" } }).form; //创建窗体
  4250. _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); } }
  4251. break;
  4252. }
  4253. } else if (!_type) {
  4254. switch (str) {
  4255. case "my":
  4256. _formdiv = new U.UF.UI.form(
  4257. "我的资料",
  4258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  4259. "id": "my",
  4260. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. }
  4268. }
  4269. switch (str) {
  4270. // AIprogram2 AI体验 aihub.cocorobo.cn
  4271. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4272. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4273. case "formulaEdi": //公式编辑
  4274. _formdiv = new U.UF.UI.form(
  4275. "公式编辑",
  4276. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4277. "id": "formulaEdi",
  4278. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4279. "onresize": function () { }
  4280. }, {
  4281. closecallback: function () { }
  4282. }, { "style": { "height": "36px" } }).form; //创建窗体
  4283. _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); } }
  4284. break;
  4285. case "molStr": //分子结构
  4286. _formdiv = new U.UF.UI.form(
  4287. "分子结构",
  4288. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4289. "id": "molStr",
  4290. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4291. "onresize": function () { }
  4292. }, {
  4293. closecallback: function () { }
  4294. }, { "style": { "height": "36px" } }).form; //创建窗体
  4295. _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); } }
  4296. break;
  4297. case "timeAxis": //时间轴
  4298. _formdiv = new U.UF.UI.form(
  4299. "时间轴",
  4300. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4301. "id": "timeAxis",
  4302. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. case "AIprogram2": //AI体验
  4310. _formdiv = new U.UF.UI.form(
  4311. "AI体验",
  4312. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4313. "id": "AIprogram2",
  4314. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. case "Pythonprogram": //python编程
  4322. _formdiv = new U.UF.UI.form(
  4323. "Python编程",
  4324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4325. "id": "Pythonprogram",
  4326. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //创建窗体
  4331. _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); } }
  4332. break;
  4333. case "AIprogram": //ai编程
  4334. _formdiv = new U.UF.UI.form(
  4335. "AI编程平台",
  4336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4337. "id": "AIprogram",
  4338. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _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); } }
  4344. break;
  4345. case "CocoPi": //CocoPi
  4346. _formdiv = new U.UF.UI.form(
  4347. "CocoPi",
  4348. $$("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" }), {
  4349. "id": "CocoPi",
  4350. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _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); } }
  4356. break;
  4357. case "Wood": //Wood
  4358. _formdiv = new U.UF.UI.form(
  4359. "海龟编程",
  4360. $$("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/" }), {
  4361. "id": "Wood",
  4362. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function () { }
  4364. }, {
  4365. closecallback: function () { }
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "car": //模拟驾驶
  4370. _formdiv = new U.UF.UI.form(
  4371. "模拟驾驶",
  4372. $$("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/" }), {
  4373. "id": "car",
  4374. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4380. break;
  4381. case "lineSearch": //路径搜索
  4382. _formdiv = new U.UF.UI.form(
  4383. "路径搜索",
  4384. $$("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/" }), {
  4385. "id": "lineSearch",
  4386. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "deepLearning": //深度学习
  4394. _formdiv = new U.UF.UI.form(
  4395. "深度学习",
  4396. $$("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/#" }), {
  4397. "id": "deepLearning",
  4398. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "allHistory": //深度学习
  4406. _formdiv = new U.UF.UI.form(
  4407. "全历史",
  4408. $$("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/" }), {
  4409. "id": "allHistory",
  4410. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () { }
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _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); } }
  4416. break;
  4417. case "chatPDF": //ai编程
  4418. _formdiv = new U.UF.UI.form(
  4419. "chatPDF",
  4420. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4421. "id": "chatPDF",
  4422. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "resources": //国家教育
  4430. _formdiv = new U.UF.UI.form(
  4431. "国家教育",
  4432. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4433. "id": "resources",
  4434. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "codeEdit": //源码编辑
  4442. _formdiv = new U.UF.UI.form(
  4443. "源码编辑",
  4444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4445. "id": "codeEdit",
  4446. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _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); } }
  4452. break; //
  4453. case "MindMap": //MindMap
  4454. _formdiv = new U.UF.UI.form(
  4455. "MindMap",
  4456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4457. "id": "MindMap",
  4458. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _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); } }
  4464. break;
  4465. case "netWorkPanel": //netWorkPanel
  4466. _formdiv = new U.UF.UI.form(
  4467. "netWorkPanel",
  4468. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4469. "id": "netWorkPanel",
  4470. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _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); } }
  4476. break;
  4477. case "GeoGebra": //GeoGebra
  4478. _formdiv = new U.UF.UI.form(
  4479. "GeoGebra",
  4480. $$("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" }), {
  4481. "id": "GeoGebra",
  4482. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "translation": //翻译
  4490. _formdiv = new U.UF.UI.form(
  4491. "翻译",
  4492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4493. "id": "translation",
  4494. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _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); } }
  4500. break;
  4501. case "mohe": //魔盒
  4502. _formdiv = new U.UF.UI.form(
  4503. "魔盒识字",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4505. "id": "mohe",
  4506. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _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); } }
  4512. break;
  4513. case "24game": //24点
  4514. _formdiv = new U.UF.UI.form(
  4515. "24点",
  4516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4517. "id": "24game",
  4518. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _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); } }
  4524. break;
  4525. case "case":
  4526. _formdiv = new U.UF.UI.form(
  4527. "课程进展",
  4528. $$("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 }), {
  4529. "id": "case",
  4530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4531. "onresize": function () { }
  4532. }, {
  4533. closecallback: function () { }
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _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); } }
  4536. break;
  4537. case "snf":
  4538. _formdiv = new U.UF.UI.form(
  4539. "赛诺梵",
  4540. $$("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" }), {
  4541. "id": "snf",
  4542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () { }
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _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); } }
  4548. break;
  4549. case "hanFamily":
  4550. _formdiv = new U.UF.UI.form(
  4551. "汉字家族",
  4552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4553. "id": "hanFamily",
  4554. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4555. "onresize": function () { }
  4556. }, {
  4557. closecallback: function () { }
  4558. }, { "style": { "height": "36px" } }).form; //创建窗体
  4559. _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); } }
  4560. break;
  4561. case "hanClassics":
  4562. _formdiv = new U.UF.UI.form(
  4563. "国学经典",
  4564. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4565. "id": "hanClassics",
  4566. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4567. "onresize": function () { }
  4568. }, {
  4569. closecallback: function () { }
  4570. }, { "style": { "height": "36px" } }).form; //创建窗体
  4571. _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); } }
  4572. break;
  4573. case "hanTraining":
  4574. _formdiv = new U.UF.UI.form(
  4575. "笔画训练",
  4576. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4577. "id": "hanTraining",
  4578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4579. "onresize": function () { }
  4580. }, {
  4581. closecallback: function () { }
  4582. }, { "style": { "height": "36px" } }).form; //创建窗体
  4583. _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); } }
  4584. break;
  4585. case "hanClass":
  4586. _formdiv = new U.UF.UI.form(
  4587. "书法课堂",
  4588. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4589. "id": "hanClass",
  4590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4591. "onresize": function () { }
  4592. }, {
  4593. closecallback: function () { }
  4594. }, { "style": { "height": "36px" } }).form; //创建窗体
  4595. _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); } }
  4596. break;
  4597. case "han":
  4598. _formdiv = new U.UF.UI.form(
  4599. "汉字宫",
  4600. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4601. "id": "han",
  4602. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4603. "onresize": function () { }
  4604. }, {
  4605. closecallback: function () { }
  4606. }, { "style": { "height": "36px" } }).form; //创建窗体
  4607. _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); } }
  4608. break;
  4609. case "projectGM": //课程管理
  4610. _formdiv = new U.UF.UI.form(
  4611. "课程管理",
  4612. $$("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 }), {
  4613. "id": "projectGM",
  4614. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4615. "onresize": function () { }
  4616. }, {
  4617. closecallback: function () { }
  4618. }, { "style": { "height": "36px" } }).form; //创建窗体
  4619. _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); } }
  4620. break;
  4621. case "studyGM": //课程中心
  4622. _formdiv = new U.UF.UI.form(
  4623. "课程中心",
  4624. $$("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
  4625. "id": "study",
  4626. "style": { "width": "100%", "height": "100%", "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/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4632. break;
  4633. // studentGM
  4634. case "studentGM": //学生管理
  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/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4638. "id": "studentGM",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "evaluateGM": //学生评价
  4647. _formdiv = new U.UF.UI.form(
  4648. "学生评价",
  4649. $$("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 }), {
  4650. "id": "evaluateGM",
  4651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _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); } }
  4657. break;
  4658. // classGM
  4659. case "classGM": //班级管理
  4660. _formdiv = new U.UF.UI.form(
  4661. "班级管理",
  4662. $$("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 }), {
  4663. "id": "classGM",
  4664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _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); } }
  4670. break;
  4671. // dataGM
  4672. case "dataGM":
  4673. _formdiv = new U.UF.UI.form(
  4674. "我的资料",
  4675. $$("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 }), {
  4676. "id": "dataGM",
  4677. "style": { "width": "42%", "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/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4683. break;
  4684. // caseGM
  4685. case "caseGM": //课程进展
  4686. _formdiv = new U.UF.UI.form(
  4687. "课程进展",
  4688. $$("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 }), {
  4689. "id": "caseGM",
  4690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _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); } }
  4696. break;
  4697. // meterialGM
  4698. case "meterialGM": //素材库
  4699. _formdiv = new U.UF.UI.form(
  4700. "素材库",
  4701. $$("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 }), {
  4702. "id": "meterialGM",
  4703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4704. "onresize": function () { }
  4705. }, {
  4706. closecallback: function () { }
  4707. }, { "style": { "height": "36px" } }).form; //创建窗体
  4708. _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); } }
  4709. break;
  4710. // evaluateSGM
  4711. case "evaluateSGM": //我的评价
  4712. _formdiv = new U.UF.UI.form(
  4713. "我的评价",
  4714. $$("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 }), {
  4715. "id": "evaluateSGM",
  4716. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4717. "onresize": function () { }
  4718. }, {
  4719. closecallback: function () { }
  4720. }, { "style": { "height": "36px" } }).form; //创建窗体
  4721. _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); } }
  4722. break;
  4723. case "jupyter": //jupyter
  4724. _formdiv = new U.UF.UI.form(
  4725. "jupyter",
  4726. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4727. "id": "jupyter",
  4728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4729. "onresize": function () { }
  4730. }, {
  4731. closecallback: function () { }
  4732. }, { "style": { "height": "36px" } }).form; //创建窗体
  4733. _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); } }
  4734. break;
  4735. case "number": //数字实验室
  4736. _formdiv = new U.UF.UI.form(
  4737. "数字实验室",
  4738. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4739. "id": "number",
  4740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4741. "onresize": function () { }
  4742. }, {
  4743. closecallback: function () { }
  4744. }, { "style": { "height": "36px" } }).form; //创建窗体
  4745. _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); } }
  4746. break;
  4747. case "studentCourse": //项目管理 学生
  4748. _formdiv = new U.UF.UI.form(
  4749. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4750. $$("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 }), {
  4751. "id": "studentCourse",
  4752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4753. "onresize": function () { }
  4754. }, {
  4755. closecallback: function () { }
  4756. }, { "style": { "height": "36px" } }).form; //创建窗体
  4757. _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); } }
  4758. break;
  4759. case "studentCourseS": //项目管理 老师
  4760. _formdiv = new U.UF.UI.form(
  4761. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4762. $$("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 }), {
  4763. "id": "studentCourseS",
  4764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4765. "onresize": function () { }
  4766. }, {
  4767. closecallback: function () { }
  4768. }, { "style": { "height": "36px" } }).form; //创建窗体
  4769. _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); } }
  4770. break;
  4771. case "studentIndex": //项目中心
  4772. _formdiv = new U.UF.UI.form(
  4773. "项目中心",
  4774. $$("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 }), {
  4775. "id": "studentIndex",
  4776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4777. "onresize": function () { }
  4778. }, {
  4779. closecallback: function () { }
  4780. }, { "style": { "height": "36px" } }).form; //创建窗体
  4781. _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); } }
  4782. break;
  4783. case "CaseDesignS":
  4784. _formdiv = new U.UF.UI.form(
  4785. "项目进展",
  4786. $$("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 }), {
  4787. "id": "case",
  4788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4789. "onresize": function () { }
  4790. }, {
  4791. closecallback: function () { }
  4792. }, { "style": { "height": "36px" } }).form; //创建窗体
  4793. _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); } }
  4794. break;
  4795. case "tcStudent": //腾讯学生管理
  4796. _formdiv = new U.UF.UI.form(
  4797. "学生管理",
  4798. $$("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 }), {
  4799. "id": "tcStudent",
  4800. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4801. "onresize": function () { }
  4802. }, {
  4803. closecallback: function () { }
  4804. }, { "style": { "height": "36px" } }).form; //创建窗体
  4805. _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); } }
  4806. break;
  4807. case "tcSchool": //腾讯学校管理
  4808. _formdiv = new U.UF.UI.form(
  4809. "学校管理",
  4810. $$("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 }), {
  4811. "id": "tcSchool",
  4812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4813. "onresize": function () { }
  4814. }, {
  4815. closecallback: function () { }
  4816. }, { "style": { "height": "36px" } }).form; //创建窗体
  4817. _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); } }
  4818. break;
  4819. case "tcTeacher": //腾讯学校管理
  4820. _formdiv = new U.UF.UI.form(
  4821. "教师管理",
  4822. $$("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 }), {
  4823. "id": "tcTeacher",
  4824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4825. "onresize": function () { }
  4826. }, {
  4827. closecallback: function () { }
  4828. }, { "style": { "height": "36px" } }).form; //创建窗体
  4829. _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); } }
  4830. break;
  4831. case "tcData": //腾讯我的资料
  4832. _formdiv = new U.UF.UI.form(
  4833. "我的资料",
  4834. $$("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 }), {
  4835. "id": "tcData",
  4836. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4837. "onresize": function () { }
  4838. }, {
  4839. closecallback: function () { }
  4840. }, { "style": { "height": "36px" } }).form; //创建窗体
  4841. _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); } }
  4842. break;
  4843. case "tcNotice": //腾讯消息通知
  4844. _formdiv = new U.UF.UI.form(
  4845. "消息通知",
  4846. $$("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 }), {
  4847. "id": "tcNotice",
  4848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4849. "onresize": function () { }
  4850. }, {
  4851. closecallback: function () { }
  4852. }, { "style": { "height": "36px" } }).form; //创建窗体
  4853. _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); } }
  4854. break;
  4855. case "myReport": //好友打开
  4856. _formdiv = new U.UF.UI.form(
  4857. "我的评价",
  4858. $$("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 }), {
  4859. "id": "myReport",
  4860. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4861. "onresize": function () { }
  4862. }, {
  4863. closecallback: function () { }
  4864. }, { "style": { "height": "36px" } }).form; //创建窗体
  4865. _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); } }
  4866. break;
  4867. case "learnAna": //好友打开
  4868. _formdiv = new U.UF.UI.form(
  4869. "学习分析",
  4870. $$("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 }), {
  4871. "id": "learnAna",
  4872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4873. "onresize": function () { }
  4874. }, {
  4875. closecallback: function () { }
  4876. }, { "style": { "height": "36px" } }).form; //创建窗体
  4877. _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); } }
  4878. break;
  4879. case "AIChat": //AI共创
  4880. _formdiv = new U.UF.UI.form(
  4881. "AI共创",
  4882. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4883. "id": "AIChat",
  4884. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4885. "onresize": function () { }
  4886. }, {
  4887. istop: true,
  4888. closecallback: function () { $("#aichat_icon").remove(); },
  4889. narrowcallback: function () {
  4890. if (!$("#aichat_icon")[0]) {
  4891. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4892. }
  4893. },
  4894. }, { "style": { "height": "36px" } }).form; //创建窗体
  4895. _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); } }
  4896. break;
  4897. case "ainew": //AI共创
  4898. _formdiv = new U.UF.UI.form(
  4899. "AI协同",
  4900. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4901. "id": "ainew",
  4902. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4903. "onresize": function () { }
  4904. }, {
  4905. closecallback: function () { }
  4906. }, { "style": { "height": "36px" } }).form; //创建窗体
  4907. _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); } }
  4908. break;
  4909. case "gpt4": //gpt4
  4910. _formdiv = new U.UF.UI.form(
  4911. "AI助手",
  4912. $$("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 }), {
  4913. "id": "gpt4",
  4914. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4915. "onresize": function () { }
  4916. }, {
  4917. closecallback: function () { }
  4918. }, { "style": { "height": "36px" } }).form; //创建窗体
  4919. _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); } }
  4920. break;
  4921. case "aigpt": //gpt4
  4922. _formdiv = new U.UF.UI.form(
  4923. "AI助手+",
  4924. $$("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 }), {
  4925. "id": "aigpt",
  4926. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4927. "onresize": function () { }
  4928. }, {
  4929. closecallback: function () { }
  4930. }, { "style": { "height": "36px" } }).form; //创建窗体
  4931. _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); } }
  4932. break;
  4933. case "futureClass": //AI共创
  4934. _formdiv = new U.UF.UI.form(
  4935. "协同建构",
  4936. $$("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
  4937. "id": "synergyCourse",
  4938. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4939. "onresize": function () { }
  4940. }, {
  4941. closecallback: function () {
  4942. $("iframe", _formdiv)[0].contentWindow.loginout();
  4943. }
  4944. }, { "style": { "height": "36px" } }).form; //创建窗体
  4945. _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); } }
  4946. break;
  4947. case "aiagent": //ai agent
  4948. _formdiv = new U.UF.UI.form(
  4949. "AI Agent",
  4950. $$("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" }), {
  4951. "id": "AIAgent",
  4952. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4953. "onresize": function () { }
  4954. }, {
  4955. closecallback: function () { }
  4956. }, { "style": { "height": "36px" } }).form; //创建窗体
  4957. _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); } }
  4958. break;
  4959. case "dataBoard": //数据看板
  4960. _formdiv = new U.UF.UI.form(
  4961. "数据看板",
  4962. $$("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 }), {
  4963. "id": "dataBoard",
  4964. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4965. "onresize": function () { }
  4966. }, {
  4967. closecallback: function () { }
  4968. }, { "style": { "height": "36px" } }).form; //创建窗体
  4969. _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); } }
  4970. break;
  4971. case "dataBoardSies": //数据融合
  4972. _formdiv = new U.UF.UI.form(
  4973. "数据融合",
  4974. $$("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 }), {
  4975. "id": "dataBoardSies",
  4976. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4977. "onresize": function () { }
  4978. }, {
  4979. closecallback: function () { }
  4980. }, { "style": { "height": "36px" } }).form; //创建窗体
  4981. _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); } }
  4982. break;
  4983. case "dataBoardNew": //数据看板
  4984. _formdiv = new U.UF.UI.form(
  4985. "综合看板",
  4986. $$("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 }), {
  4987. "id": "dataBoardNew",
  4988. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, { "style": { "height": "36px" } }).form; //创建窗体
  4993. _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); } }
  4994. break;
  4995. case "dataBoardTest": //数据看板
  4996. _formdiv = new U.UF.UI.form(
  4997. "评测看板",
  4998. $$("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 }), {
  4999. "id": "dataBoardTest",
  5000. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5001. "onresize": function () { }
  5002. }, {
  5003. closecallback: function () { }
  5004. }, { "style": { "height": "36px" } }).form; //创建窗体
  5005. _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); } }
  5006. break;
  5007. case "AIAnalyse": //AI共创
  5008. _formdiv = new U.UF.UI.form(
  5009. "AI分析",
  5010. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5011. "id": "AIAnalyse",
  5012. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5013. "onresize": function () { }
  5014. }, {
  5015. closecallback: function () { }
  5016. }, { "style": { "height": "36px" } }).form; //创建窗体
  5017. _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); } }
  5018. break;
  5019. case "studioCourse": //AI共创
  5020. _formdiv = new U.UF.UI.form(
  5021. "工作管理",
  5022. $$("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 }), {
  5023. "id": "studioCourse",
  5024. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5025. "onresize": function () { }
  5026. }, {
  5027. closecallback: function () { }
  5028. }, { "style": { "height": "36px" } }).form; //创建窗体
  5029. _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); } }
  5030. break;
  5031. case "studioIndex": //AI共创
  5032. _formdiv = new U.UF.UI.form(
  5033. "工作中心",
  5034. $$("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 }), {
  5035. "id": "studioIndex",
  5036. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5037. "onresize": function () { }
  5038. }, {
  5039. closecallback: function () { }
  5040. }, { "style": { "height": "36px" } }).form; //创建窗体
  5041. _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); } }
  5042. break;
  5043. case "source":
  5044. _formdiv = new U.UF.UI.form(
  5045. "教学资源",
  5046. $$("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 }), {
  5047. "id": "source",
  5048. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5049. "onresize": function () { }
  5050. }, {
  5051. closecallback: function () { }
  5052. }, { "style": { "height": "36px" } }).form; //创建窗体
  5053. _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); } }
  5054. break;
  5055. case "testTeacher":
  5056. _formdiv = new U.UF.UI.form(
  5057. "教师管理",
  5058. $$("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 }), {
  5059. "id": "testTeacher",
  5060. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5061. "onresize": function () { }
  5062. }, {
  5063. closecallback: function () { }
  5064. }, { "style": { "height": "36px" } }).form; //创建窗体
  5065. _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); } }
  5066. break;
  5067. case "testStudent":
  5068. _formdiv = new U.UF.UI.form(
  5069. "教师中心",
  5070. $$("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 }), {
  5071. "id": "testStudent",
  5072. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5073. "onresize": function () { }
  5074. }, {
  5075. closecallback: function () { }
  5076. }, { "style": { "height": "36px" } }).form; //创建窗体
  5077. _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); } }
  5078. break;
  5079. case "testTeacherSies":
  5080. _formdiv = new U.UF.UI.form(
  5081. "教师管理",
  5082. $$("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 }), {
  5083. "id": "testTeacherSies",
  5084. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5085. "onresize": function () { }
  5086. }, {
  5087. closecallback: function () { }
  5088. }, { "style": { "height": "36px" } }).form; //创建窗体
  5089. _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); } }
  5090. break;
  5091. case "testStudentSies":
  5092. _formdiv = new U.UF.UI.form(
  5093. "教师中心",
  5094. $$("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 }), {
  5095. "id": "testStudentSies",
  5096. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5097. "onresize": function () { }
  5098. }, {
  5099. closecallback: function () { }
  5100. }, { "style": { "height": "36px" } }).form; //创建窗体
  5101. _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); } }
  5102. break;
  5103. case "ytpbl": //消息通知
  5104. _formdiv = new U.UF.UI.form(
  5105. "案例征集",
  5106. $$("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 }), {
  5107. "id": "ytpbl",
  5108. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5109. "onresize": function () { }
  5110. }, {
  5111. closecallback: function () { }
  5112. }, { "style": { "height": "36px" } }).form; //创建窗体
  5113. _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); } }
  5114. // 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");
  5115. break;
  5116. case "aiCourseResource": //人工智能窗体
  5117. _formdiv = new U.UF.UI.form(
  5118. false,
  5119. $$("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 }), {
  5120. "id": "aiCourseResource",
  5121. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5122. "onresize": function () { },
  5123. "isdrag": false,
  5124. }, {
  5125. closecallback: function () { }
  5126. }, { "style": { "height": "36px" } }).form; //创建窗体
  5127. _taskbar = ''
  5128. break;
  5129. case "szdjgCocooroboX": //图形化编程
  5130. _formdiv = new U.UF.UI.form(
  5131. "图形化编程",
  5132. $$("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" }), {
  5133. "id": "szdjgCocooroboX",
  5134. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5135. "onresize": function () { }
  5136. }, {
  5137. closecallback: function () { }
  5138. }, { "style": { "height": "36px" } }).form; //创建窗体
  5139. _taskbar = ''
  5140. break;
  5141. case "szdjgPython": //python编程
  5142. _formdiv = new U.UF.UI.form(
  5143. "python编程",
  5144. $$("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" }), {
  5145. "id": "szdjgPython",
  5146. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5147. "onresize": function () { }
  5148. }, {
  5149. closecallback: function () { }
  5150. }, { "style": { "height": "36px" } }).form; //创建窗体
  5151. _taskbar = ''
  5152. break;
  5153. case "Record":
  5154. _formdiv = new U.UF.UI.form(
  5155. "观察记录",
  5156. $$("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 }), {
  5157. "id": "Record",
  5158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5159. "onresize": function () { }
  5160. }, {
  5161. closecallback: function () { }
  5162. }, { "style": { "height": "36px" } }).form; //创建窗体
  5163. _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); } }
  5164. break;
  5165. }
  5166. //U.MD.D.I.openClick(str);
  5167. //如果有任务栏信息
  5168. if (_taskbar) {
  5169. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5170. }
  5171. }
  5172. // U.MD.D.I.openClick = function(str){
  5173. // var click = '';
  5174. // switch(str){
  5175. // case 'friend':
  5176. // click = '我的好友';
  5177. // break;
  5178. // case 'domain':
  5179. // click = '域名管理';
  5180. // break;
  5181. // case 'disk':
  5182. // click = '我的云盘';
  5183. // break;
  5184. // case 'word':
  5185. // click = 'Word';
  5186. // break;
  5187. // case 'excel':
  5188. // click = 'Execl';
  5189. // break;
  5190. // case 'txt':
  5191. // click = '文本文件';
  5192. // break;
  5193. // case 'lookupFriend':
  5194. // click = '查找好友';
  5195. // break;
  5196. // case 'ftp':
  5197. // click = 'FTP';
  5198. // break;
  5199. // case 'group':
  5200. // click = '群组';
  5201. // break;
  5202. // case 'set':
  5203. // click = '我的设置';
  5204. // break;
  5205. // case 'systemSet':
  5206. // click = '系统设置';
  5207. // break;
  5208. // case 'boomYun':
  5209. // click = '互联办公';
  5210. // break;
  5211. // case 'xz':
  5212. // click = '云端下载';
  5213. // break;
  5214. // case 'client':
  5215. // click = '有思浏览器';
  5216. // break;
  5217. // case 'backEndProgramming':
  5218. // click = '在线后台编程';
  5219. // break;
  5220. // case 'frontEndProgramming':
  5221. // click = '在线前端编程';
  5222. // break;
  5223. // default: break;
  5224. // }
  5225. // if(U.MD.D.I.Ip && click){
  5226. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5227. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5228. // })
  5229. // }
  5230. // }
  5231. /**
  5232. *函数作用:ajax简易函数,使用post格式
  5233. *@param url {data} 后台地址
  5234. *@param data {data} 参数json
  5235. *@param fn {data} 回调函数
  5236. *
  5237. */
  5238. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5239. // var xhr = new XMLHttpRequest();
  5240. // xhr.open("GET",url,true);
  5241. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5242. // xhr.onreadystatechange = function(){
  5243. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5244. // fn.call(this,xhr.responseText);
  5245. // }
  5246. // };
  5247. // xhr.send();
  5248. // }
  5249. /*判断是否是内网IP*/
  5250. // U.MD.D.I.isInnerIPFn = function(str){
  5251. // var curPageUrl = str;
  5252. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5253. // curPageUrl =curPageUrl.replace(reg1,'');
  5254. // // console.log('curPageUrl-1 '+curPageUrl);
  5255. // var reg2 = /\:+/g;//替换冒号为一点
  5256. // curPageUrl =curPageUrl.replace(reg2,'.');
  5257. // // console.log('curPageUrl-2 '+curPageUrl);
  5258. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5259. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5260. // if(curPageUrl[2] != '16'){
  5261. // return ipAddress;
  5262. // }else{
  5263. // return false;
  5264. // }
  5265. // }
  5266. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5267. // //compatibility for firefox and chrome
  5268. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5269. // var pc = new myPeerConnection({
  5270. // iceServers: []
  5271. // }),
  5272. // noop = function() {},
  5273. // localIPs = {},
  5274. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5275. // key;
  5276. // function iterateIP(ip) {
  5277. // if (!localIPs[ip]) onNewIP(ip);
  5278. // localIPs[ip] = true;
  5279. // }
  5280. // //create a bogus data channel
  5281. // pc.createDataChannel("");
  5282. // // create offer and set local description
  5283. // pc.createOffer().then(function(sdp) {
  5284. // sdp.sdp.split('\n').forEach(function(line) {
  5285. // if (line.indexOf('candidate') < 0) return;
  5286. // line.match(ipRegex).forEach(iterateIP);
  5287. // });
  5288. // pc.setLocalDescription(sdp, noop, noop);
  5289. // }).catch(function(reason) {
  5290. // // An error occurred, so handle the failure to connect
  5291. // });
  5292. // //sten for candidate events
  5293. // pc.onicecandidate = function(ice) {
  5294. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5295. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5296. // };
  5297. // }
  5298. // U.MD.D.I.getUserIpBool = function(callback){
  5299. // U.MD.D.I.getUserIP(function(ip){
  5300. // alert("Got IP! :" + ip);
  5301. // });
  5302. //}
  5303. //#endregion
  5304. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5305. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5306. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5307. _userinfo = US.userInfo, //登录用户信息
  5308. _userid = US.userInfo.userid //登录用户id
  5309. let _iframe;
  5310. let _cid = cid,
  5311. _stage = stage,
  5312. _task = task,
  5313. _tool = tool;
  5314. var _jie = $$("div", {
  5315. "style": {
  5316. "position": "absolute",
  5317. "bottom": "50px",
  5318. "right": "50px",
  5319. "zIndex": "9999",
  5320. "backgroundColor": "#2268bc",
  5321. "color": "#fff",
  5322. "padding": "12px 20px",
  5323. "cursor": "pointer",
  5324. "borderRadius": "4px",
  5325. },
  5326. "innerHTML": "提交作业"
  5327. })
  5328. let aTool = ''
  5329. let _loading = document.createElement('div')
  5330. _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;"
  5331. // _loading.id = "";
  5332. let _lchild = document.createElement('div')
  5333. let _limg = document.createElement('img')
  5334. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5335. _limg.style = "width: 26px;margin-right: 10px;"
  5336. _lchild.appendChild(_limg)
  5337. let _lspan = document.createElement('span')
  5338. _lspan.innerHTML = "上传中..."
  5339. _lchild.appendChild(_lspan)
  5340. _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%);"
  5341. _loading.appendChild(_lchild)
  5342. var _box = $$('div', {
  5343. "style": {
  5344. "position": "relative",
  5345. "width": "100%",
  5346. "height": "100%",
  5347. },
  5348. })
  5349. _box.appendChild(_loading)
  5350. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5351. switch (str) {
  5352. case "whiteboard":
  5353. aTool = 1;
  5354. _iframe = $$("iframe", {
  5355. "frameborder": "no",
  5356. "border": "0",
  5357. "scrolling ": "no",
  5358. "style": {
  5359. "cssText": "border:0;width:100%;height:100%"
  5360. },
  5361. "src": "https://iwb.cocorobo.cn/"
  5362. })
  5363. _box.appendChild(_iframe);
  5364. _box.appendChild(_jie);
  5365. _formdiv = new U.UF.UI.form(
  5366. "电子白板",
  5367. _box, {
  5368. "id": "whiteboard" + cid + stage + task + tool,
  5369. "style": {
  5370. "width": "90%",
  5371. "height": "90%",
  5372. "overflow": 'hidden'
  5373. },
  5374. "onresize": function () { }
  5375. }, {
  5376. closecallback: function () { }
  5377. }, {
  5378. "style": {
  5379. "height": "36px"
  5380. }
  5381. }).form; //创建窗体
  5382. _taskbar = {
  5383. "id": str + _formdiv.id,
  5384. "style": {
  5385. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5386. },
  5387. "name": "电子白板",
  5388. "forms": _formdiv,
  5389. "click": function () {
  5390. U.MD.D.I.openApplication(str, obj, info);
  5391. }
  5392. }
  5393. break;
  5394. case "mind":
  5395. aTool = 3;
  5396. _iframe = $$("iframe", {
  5397. "frameborder": "no",
  5398. "border": "0",
  5399. "scrolling ": "no",
  5400. "style": {
  5401. "cssText": "border:0;width:100%;height:100%"
  5402. },
  5403. "src": "/kityminder-editor/dist/index.html"
  5404. })
  5405. _box.appendChild(_iframe);
  5406. _box.appendChild(_jie);
  5407. _formdiv = new U.UF.UI.form(
  5408. "思维导图",
  5409. _box, { //"/jsmind/example/demo.html"
  5410. "id": "mind" + cid + stage + task + tool,
  5411. "style": {
  5412. "width": "90%",
  5413. "height": "90%",
  5414. "overflow": 'hidden'
  5415. },
  5416. "onresize": function () { }
  5417. }, {
  5418. closecallback: function () { }
  5419. }, {
  5420. "style": {
  5421. "height": "36px"
  5422. }
  5423. }).form; //创建窗体
  5424. _taskbar = {
  5425. "id": str + _formdiv.id,
  5426. "style": {
  5427. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5428. },
  5429. "name": "思维导图",
  5430. "forms": _formdiv,
  5431. "click": function () {
  5432. U.MD.D.I.openApplication(str, obj, info);
  5433. }
  5434. }
  5435. break;
  5436. case "MindMap":
  5437. aTool = 3;
  5438. _iframe = $$("iframe", {
  5439. "frameborder": "no",
  5440. "border": "0",
  5441. "scrolling ": "no",
  5442. "style": {
  5443. "cssText": "border:0;width:100%;height:100%"
  5444. },
  5445. "src": "//cloud.cocorobo.cn/mind/"
  5446. })
  5447. _box.appendChild(_iframe);
  5448. _box.appendChild(_jie);
  5449. _formdiv = new U.UF.UI.form(
  5450. "思维导图",
  5451. _box, { //"/jsmind/example/demo.html"
  5452. "id": "mind" + cid + stage + task + tool,
  5453. "style": {
  5454. "width": "90%",
  5455. "height": "90%",
  5456. "overflow": 'hidden'
  5457. },
  5458. "onresize": function () { }
  5459. }, {
  5460. closecallback: function () { }
  5461. }, {
  5462. "style": {
  5463. "height": "36px"
  5464. }
  5465. }).form; //创建窗体
  5466. _taskbar = {
  5467. "id": str + _formdiv.id,
  5468. "style": {
  5469. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5470. },
  5471. "name": "思维导图",
  5472. "forms": _formdiv,
  5473. "click": function () {
  5474. U.MD.D.I.openApplication(str, obj, info);
  5475. }
  5476. }
  5477. break;
  5478. case "doc":
  5479. aTool = 6;
  5480. _iframe = $$("iframe", {
  5481. "frameborder": "no",
  5482. "border": "0",
  5483. "scrolling ": "no",
  5484. "style": {
  5485. "cssText": "border:0;width:100%;height:100%"
  5486. },
  5487. "src": "/Office/Word/WordEditArea.htm"
  5488. })
  5489. _box.appendChild(_iframe);
  5490. _box.appendChild(_jie);
  5491. _formdiv = new U.UF.UI.form(
  5492. "协同文档",
  5493. _box, {
  5494. "id": "doc" + cid + stage + task + tool,
  5495. "style": {
  5496. "width": "90%",
  5497. "height": "90%",
  5498. "overflow": 'hidden'
  5499. },
  5500. "onresize": function () { }
  5501. }, {
  5502. closecallback: function () { }
  5503. }, {
  5504. "style": {
  5505. "height": "36px"
  5506. }
  5507. }).form; //创建窗体
  5508. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5509. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5510. })
  5511. _taskbar = {
  5512. "id": str + _formdiv.id,
  5513. "style": {
  5514. "backgroundImage": "url(/img/icon/doc.png)"
  5515. },
  5516. "name": "协同文档",
  5517. "forms": _formdiv,
  5518. "click": function () {
  5519. U.MD.D.I.openApplication(str, obj, info);
  5520. }
  5521. }
  5522. break;
  5523. case "mindNetwork": //好友打开
  5524. aTool = 7;
  5525. _iframe = $$("iframe", {
  5526. "webkitallowfullscreen": "",
  5527. "mozallowfullscreen": "",
  5528. "allowfullscreen": "",
  5529. "frameborder": "no",
  5530. "border": "0",
  5531. "scrolling ": "no",
  5532. "style": {
  5533. "cssText": "border:0; width:100%; height:100%;"
  5534. },
  5535. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5536. })
  5537. _box.appendChild(_iframe);
  5538. _box.appendChild(_jie);
  5539. _formdiv = new U.UF.UI.form(
  5540. "思维网格",
  5541. _box, {
  5542. "id": "mindNetwork" + cid + stage + task + tool,
  5543. "style": {
  5544. "width": "90%",
  5545. "height": "90%",
  5546. "overflow": 'hidden'
  5547. },
  5548. "onresize": function () { }
  5549. }, {
  5550. closecallback: function () { }
  5551. }, {
  5552. "style": {
  5553. "height": "36px"
  5554. }
  5555. }).form; //创建窗体
  5556. _taskbar = {
  5557. "id": str + _formdiv.id,
  5558. "style": {
  5559. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5560. },
  5561. "name": "思维网格",
  5562. "forms": _formdiv,
  5563. "click": function () {
  5564. U.MD.D.I.openApplication(str, obj, info);
  5565. }
  5566. }
  5567. break;
  5568. case "courseDesign":
  5569. _iframe = $$("iframe", {
  5570. "webkitallowfullscreen": "",
  5571. "mozallowfullscreen": "",
  5572. "allowfullscreen": "",
  5573. "frameborder": "no",
  5574. "border": "0",
  5575. "scrolling ": "no",
  5576. "style": {
  5577. "cssText": "border:0; width:100%; height:100%;"
  5578. },
  5579. "src": "/course-design-vue"
  5580. })
  5581. _box.appendChild(_iframe);
  5582. _box.appendChild(_jie);
  5583. _formdiv = new U.UF.UI.form(
  5584. "项目设计",
  5585. _box, {
  5586. "id": "courseDesign" + cid + stage + task + tool,
  5587. "style": {
  5588. "width": "90%",
  5589. "height": "90%",
  5590. "overflow": 'hidden'
  5591. },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, {
  5596. "style": {
  5597. "height": "36px"
  5598. }
  5599. }).form; //创建窗体
  5600. _taskbar = {
  5601. "id": str + _formdiv.id,
  5602. "style": {
  5603. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5604. },
  5605. "name": "项目设计",
  5606. "forms": _formdiv,
  5607. "click": function () {
  5608. U.MD.D.I.openApplication(str, obj, info);
  5609. }
  5610. }
  5611. break;
  5612. }
  5613. const script1 = document.createElement("script");
  5614. script1.type = "text/javascript";
  5615. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5616. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5617. const script2 = document.createElement("script");
  5618. script2.type = "text/javascript";
  5619. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5620. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5621. const script3 = document.createElement("script");
  5622. script3.type = "text/javascript";
  5623. script3.charset = "UTF-8";
  5624. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5625. const script4 = document.createElement("script");
  5626. script4.type = "text/javascript";
  5627. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5628. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5629. if (_iframe) {
  5630. if (str == 'doc') {
  5631. _iframe = _formdiv.querySelector('iframe')
  5632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5633. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5634. _iframe.contentWindow.document.body.appendChild(script1);
  5635. _iframe.contentWindow.document.body.appendChild(script2);
  5636. // _iframe.contentWindow.document.body.appendChild(script3);
  5637. _iframe.contentWindow.document.body.appendChild(script4);
  5638. })
  5639. if (onloadListener) {
  5640. _iframe.contentDocument.location.reload()
  5641. } else {
  5642. _iframe.contentDocument.location.reload()
  5643. }
  5644. } else if (str == 'courseDesign') {
  5645. U.UF.DL.iframeLoad(_iframe, function () {
  5646. // _iframe.contentWindow.U.MD.O.W.load();
  5647. // _iframe.contentWindow.document.body.appendChild(script1);
  5648. _iframe.contentWindow.document.body.appendChild(script2);
  5649. _iframe.contentWindow.document.body.appendChild(script4);
  5650. })
  5651. } else if (str == 'mind') {
  5652. _iframe = _formdiv.querySelector('iframe')
  5653. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5654. //
  5655. _iframe.contentWindow.document.body.appendChild(script1);
  5656. _iframe.contentWindow.document.body.appendChild(script2);
  5657. _iframe.contentWindow.document.body.appendChild(script4);
  5658. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5659. })
  5660. if (onloadListener) {
  5661. _iframe.contentDocument.location.reload()
  5662. } else {
  5663. _iframe.contentDocument.location.reload()
  5664. }
  5665. } else if (str == 'whiteboard') {
  5666. _iframe = _formdiv.querySelector('iframe')
  5667. let onloadListener = _iframe.onload = () => {
  5668. _iframe.contentWindow.document.body.appendChild(script1);
  5669. _iframe.contentWindow.document.body.appendChild(script2);
  5670. _iframe.contentWindow.document.body.appendChild(script4);
  5671. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5672. };
  5673. if (onloadListener) {
  5674. _iframe.contentDocument.location.reload()
  5675. } else {
  5676. _iframe.contentDocument.location.reload()
  5677. }
  5678. } else {
  5679. _iframe.onload = () => {
  5680. _iframe.contentWindow.document.body.appendChild(script1);
  5681. _iframe.contentWindow.document.body.appendChild(script2);
  5682. // _iframe.contentWindow.document.body.appendChild(script3);
  5683. _iframe.contentWindow.document.body.appendChild(script4);
  5684. };
  5685. }
  5686. _jie.onclick = async () => {
  5687. let text = ''
  5688. if (aTool == 1) {
  5689. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5690. } else if (aTool == 6) {
  5691. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5692. } else if (aTool == 3) {
  5693. text = await U.MD.D.I.getEditorContent(_iframe);
  5694. }
  5695. _loading.style.display = 'flex'
  5696. console.log(_loading);
  5697. var _ajs = _iframe.contentWindow.document.createElement("script");
  5698. _ajs.type = "text/javascript";
  5699. _ajs.innerHTML =
  5700. // 'console.log(' + _loading + ');\n' +
  5701. 'var _js = document.createElement("script");\n' +
  5702. '_js.type="text/javascript";\n' +
  5703. '_js.charset="UTF-8";\n' +
  5704. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5705. "_js.onload = function(){\n" +
  5706. ' var a = document.getElementsByTagName("img")\n' +
  5707. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5708. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5709. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5710. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5711. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5712. "beforeUpload_shishi(file," +
  5713. "'" +
  5714. _userid +
  5715. "'" +
  5716. ", " +
  5717. "'" +
  5718. _cid +
  5719. "'" +
  5720. ", " +
  5721. "'" +
  5722. _stage +
  5723. "'" +
  5724. ", " +
  5725. "'" +
  5726. _task +
  5727. "'" +
  5728. ", " +
  5729. "'" +
  5730. _tool +
  5731. "'" +
  5732. ", " +
  5733. "'" +
  5734. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5735. "'" +
  5736. ", " +
  5737. "'" +
  5738. aTool +
  5739. "'" +
  5740. ", " +
  5741. "`" +
  5742. text +
  5743. "`" +
  5744. ")\n" +
  5745. " });\n" +
  5746. "}\n" +
  5747. "document.head.appendChild(_js);\n";
  5748. _iframe.contentWindow.document.head.appendChild(_ajs);
  5749. }
  5750. }
  5751. //U.MD.D.I.openClick(str);
  5752. //如果有任务栏信息
  5753. // if (_taskbar) {
  5754. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5755. // }
  5756. }
  5757. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5758. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5759. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5760. _userinfo = US.userInfo, //登录用户信息
  5761. _userid = US.userInfo.userid //登录用户id
  5762. let _iframe;
  5763. let _cid = cid,
  5764. _stage = stage,
  5765. _task = task,
  5766. _tool = tool;
  5767. var _jie = $$("div", {
  5768. "style": {
  5769. "position": "absolute",
  5770. "bottom": "50px",
  5771. "right": "50px",
  5772. "zIndex": "9999",
  5773. "backgroundColor": "#2268bc",
  5774. "color": "#fff",
  5775. "padding": "12px 20px",
  5776. "cursor": "pointer",
  5777. "borderRadius": "4px",
  5778. },
  5779. "innerHTML": "提交作业"
  5780. })
  5781. let aTool = ''
  5782. let _loading = document.createElement('div')
  5783. _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;"
  5784. // _loading.id = "";
  5785. let _lchild = document.createElement('div')
  5786. let _limg = document.createElement('img')
  5787. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5788. _limg.style = "width: 26px;margin-right: 10px;"
  5789. _lchild.appendChild(_limg)
  5790. let _lspan = document.createElement('span')
  5791. _lspan.innerHTML = "上传中..."
  5792. _lchild.appendChild(_lspan)
  5793. _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%);"
  5794. _loading.appendChild(_lchild)
  5795. var _box = $$('div', {
  5796. "style": {
  5797. "position": "relative",
  5798. "width": "100%",
  5799. "height": "100%",
  5800. },
  5801. })
  5802. _box.appendChild(_loading)
  5803. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5804. switch (str) {
  5805. case "whiteboard":
  5806. aTool = 1;
  5807. _iframe = $$("iframe", {
  5808. "frameborder": "no",
  5809. "border": "0",
  5810. "scrolling ": "no",
  5811. "style": {
  5812. "cssText": "border:0;width:100%;height:100%"
  5813. },
  5814. "src": "https://iwb.cocorobo.cn/"
  5815. })
  5816. _box.appendChild(_iframe);
  5817. _box.appendChild(_jie);
  5818. _formdiv = new U.UF.UI.form(
  5819. "电子白板",
  5820. _box, {
  5821. "id": "whiteboard" + cid + stage + task + tool,
  5822. "style": {
  5823. "width": "90%",
  5824. "height": "90%",
  5825. "overflow": 'hidden'
  5826. },
  5827. "onresize": function () { }
  5828. }, {
  5829. closecallback: function () { }
  5830. }, {
  5831. "style": {
  5832. "height": "36px"
  5833. }
  5834. }).form; //创建窗体
  5835. _taskbar = {
  5836. "id": str + _formdiv.id,
  5837. "style": {
  5838. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5839. },
  5840. "name": "电子白板",
  5841. "forms": _formdiv,
  5842. "click": function () {
  5843. U.MD.D.I.openApplication(str, obj, info);
  5844. }
  5845. }
  5846. break;
  5847. case "mind":
  5848. aTool = 3;
  5849. _iframe = $$("iframe", {
  5850. "frameborder": "no",
  5851. "border": "0",
  5852. "scrolling ": "no",
  5853. "style": {
  5854. "cssText": "border:0;width:100%;height:100%"
  5855. },
  5856. "src": "/kityminder-editor/dist/index.html"
  5857. })
  5858. _box.appendChild(_iframe);
  5859. _box.appendChild(_jie);
  5860. _formdiv = new U.UF.UI.form(
  5861. "思维导图",
  5862. _box, { //"/jsmind/example/demo.html"
  5863. "id": "mind" + cid + stage + task + tool,
  5864. "style": {
  5865. "width": "90%",
  5866. "height": "90%",
  5867. "overflow": 'hidden'
  5868. },
  5869. "onresize": function () { }
  5870. }, {
  5871. closecallback: function () { }
  5872. }, {
  5873. "style": {
  5874. "height": "36px"
  5875. }
  5876. }).form; //创建窗体
  5877. _taskbar = {
  5878. "id": str + _formdiv.id,
  5879. "style": {
  5880. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5881. },
  5882. "name": "思维导图",
  5883. "forms": _formdiv,
  5884. "click": function () {
  5885. U.MD.D.I.openApplication(str, obj, info);
  5886. }
  5887. }
  5888. break;
  5889. case "MindMap":
  5890. aTool = 3;
  5891. _iframe = $$("iframe", {
  5892. "frameborder": "no",
  5893. "border": "0",
  5894. "scrolling ": "no",
  5895. "style": {
  5896. "cssText": "border:0;width:100%;height:100%"
  5897. },
  5898. "src": "//cloud.cocorobo.cn/mind/"
  5899. })
  5900. _box.appendChild(_iframe);
  5901. _box.appendChild(_jie);
  5902. _formdiv = new U.UF.UI.form(
  5903. "思维导图",
  5904. _box, { //"/jsmind/example/demo.html"
  5905. "id": "mind" + cid + stage + task + tool,
  5906. "style": {
  5907. "width": "90%",
  5908. "height": "90%",
  5909. "overflow": 'hidden'
  5910. },
  5911. "onresize": function () { }
  5912. }, {
  5913. closecallback: function () { }
  5914. }, {
  5915. "style": {
  5916. "height": "36px"
  5917. }
  5918. }).form; //创建窗体
  5919. _taskbar = {
  5920. "id": str + _formdiv.id,
  5921. "style": {
  5922. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5923. },
  5924. "name": "思维导图",
  5925. "forms": _formdiv,
  5926. "click": function () {
  5927. U.MD.D.I.openApplication(str, obj, info);
  5928. }
  5929. }
  5930. break;
  5931. case "doc":
  5932. aTool = 6;
  5933. _iframe = $$("iframe", {
  5934. "frameborder": "no",
  5935. "border": "0",
  5936. "scrolling ": "no",
  5937. "style": {
  5938. "cssText": "border:0;width:100%;height:100%"
  5939. },
  5940. "src": "/Office/Word/WordEditArea.htm"
  5941. })
  5942. _box.appendChild(_iframe);
  5943. _box.appendChild(_jie);
  5944. _formdiv = new U.UF.UI.form(
  5945. "协同文档",
  5946. _box, {
  5947. "id": "doc" + cid + stage + task + tool,
  5948. "style": {
  5949. "width": "90%",
  5950. "height": "90%",
  5951. "overflow": 'hidden'
  5952. },
  5953. "onresize": function () { }
  5954. }, {
  5955. closecallback: function () { }
  5956. }, {
  5957. "style": {
  5958. "height": "36px"
  5959. }
  5960. }).form; //创建窗体
  5961. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5962. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5963. })
  5964. _taskbar = {
  5965. "id": str + _formdiv.id,
  5966. "style": {
  5967. "backgroundImage": "url(/img/icon/doc.png)"
  5968. },
  5969. "name": "协同文档",
  5970. "forms": _formdiv,
  5971. "click": function () {
  5972. U.MD.D.I.openApplication(str, obj, info);
  5973. }
  5974. }
  5975. break;
  5976. case "mindNetwork": //好友打开
  5977. aTool = 7;
  5978. _iframe = $$("iframe", {
  5979. "webkitallowfullscreen": "",
  5980. "mozallowfullscreen": "",
  5981. "allowfullscreen": "",
  5982. "frameborder": "no",
  5983. "border": "0",
  5984. "scrolling ": "no",
  5985. "style": {
  5986. "cssText": "border:0; width:100%; height:100%;"
  5987. },
  5988. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5989. })
  5990. _box.appendChild(_iframe);
  5991. _box.appendChild(_jie);
  5992. _formdiv = new U.UF.UI.form(
  5993. "思维网格",
  5994. _box, {
  5995. "id": "mindNetwork" + cid + stage + task + tool,
  5996. "style": {
  5997. "width": "90%",
  5998. "height": "90%",
  5999. "overflow": 'hidden'
  6000. },
  6001. "onresize": function () { }
  6002. }, {
  6003. closecallback: function () { }
  6004. }, {
  6005. "style": {
  6006. "height": "36px"
  6007. }
  6008. }).form; //创建窗体
  6009. _taskbar = {
  6010. "id": str + _formdiv.id,
  6011. "style": {
  6012. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6013. },
  6014. "name": "思维网格",
  6015. "forms": _formdiv,
  6016. "click": function () {
  6017. U.MD.D.I.openApplication(str, obj, info);
  6018. }
  6019. }
  6020. break;
  6021. case "courseDesign":
  6022. _iframe = $$("iframe", {
  6023. "webkitallowfullscreen": "",
  6024. "mozallowfullscreen": "",
  6025. "allowfullscreen": "",
  6026. "frameborder": "no",
  6027. "border": "0",
  6028. "scrolling ": "no",
  6029. "style": {
  6030. "cssText": "border:0; width:100%; height:100%;"
  6031. },
  6032. "src": "/course-design-vue"
  6033. })
  6034. _box.appendChild(_iframe);
  6035. _box.appendChild(_jie);
  6036. _formdiv = new U.UF.UI.form(
  6037. "项目设计",
  6038. _box, {
  6039. "id": "courseDesign" + cid + stage + task + tool,
  6040. "style": {
  6041. "width": "90%",
  6042. "height": "90%",
  6043. "overflow": 'hidden'
  6044. },
  6045. "onresize": function () { }
  6046. }, {
  6047. closecallback: function () { }
  6048. }, {
  6049. "style": {
  6050. "height": "36px"
  6051. }
  6052. }).form; //创建窗体
  6053. _taskbar = {
  6054. "id": str + _formdiv.id,
  6055. "style": {
  6056. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6057. },
  6058. "name": "项目设计",
  6059. "forms": _formdiv,
  6060. "click": function () {
  6061. U.MD.D.I.openApplication(str, obj, info);
  6062. }
  6063. }
  6064. break;
  6065. }
  6066. const script1 = document.createElement("script");
  6067. script1.type = "text/javascript";
  6068. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6069. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6070. const script2 = document.createElement("script");
  6071. script2.type = "text/javascript";
  6072. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6073. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6074. const script3 = document.createElement("script");
  6075. script3.type = "text/javascript";
  6076. script3.charset = "UTF-8";
  6077. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6078. const script4 = document.createElement("script");
  6079. script4.type = "text/javascript";
  6080. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6081. script4.src = window.origin + "/js/Common/jietu2E.js";
  6082. if (_iframe) {
  6083. if (str == 'doc') {
  6084. _iframe = _formdiv.querySelector('iframe')
  6085. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6086. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6087. _iframe.contentWindow.document.body.appendChild(script1);
  6088. _iframe.contentWindow.document.body.appendChild(script2);
  6089. // _iframe.contentWindow.document.body.appendChild(script3);
  6090. _iframe.contentWindow.document.body.appendChild(script4);
  6091. })
  6092. if (onloadListener) {
  6093. _iframe.contentDocument.location.reload()
  6094. } else {
  6095. _iframe.contentDocument.location.reload()
  6096. }
  6097. } else if (str == 'courseDesign') {
  6098. U.UF.DL.iframeLoad(_iframe, function () {
  6099. // _iframe.contentWindow.U.MD.O.W.load();
  6100. // _iframe.contentWindow.document.body.appendChild(script1);
  6101. _iframe.contentWindow.document.body.appendChild(script2);
  6102. _iframe.contentWindow.document.body.appendChild(script4);
  6103. })
  6104. } else if (str == 'mind') {
  6105. _iframe = _formdiv.querySelector('iframe')
  6106. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6107. //
  6108. _iframe.contentWindow.document.body.appendChild(script1);
  6109. _iframe.contentWindow.document.body.appendChild(script2);
  6110. _iframe.contentWindow.document.body.appendChild(script4);
  6111. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6112. })
  6113. if (onloadListener) {
  6114. _iframe.contentDocument.location.reload()
  6115. } else {
  6116. _iframe.contentDocument.location.reload()
  6117. }
  6118. } else if (str == 'whiteboard') {
  6119. _iframe = _formdiv.querySelector('iframe')
  6120. let onloadListener = _iframe.onload = () => {
  6121. _iframe.contentWindow.document.body.appendChild(script1);
  6122. _iframe.contentWindow.document.body.appendChild(script2);
  6123. _iframe.contentWindow.document.body.appendChild(script4);
  6124. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6125. };
  6126. if (onloadListener) {
  6127. _iframe.contentDocument.location.reload()
  6128. } else {
  6129. _iframe.contentDocument.location.reload()
  6130. }
  6131. } else {
  6132. _iframe.onload = () => {
  6133. _iframe.contentWindow.document.body.appendChild(script1);
  6134. _iframe.contentWindow.document.body.appendChild(script2);
  6135. // _iframe.contentWindow.document.body.appendChild(script3);
  6136. _iframe.contentWindow.document.body.appendChild(script4);
  6137. };
  6138. }
  6139. _jie.onclick = async () => {
  6140. let text = ''
  6141. if (aTool == 1) {
  6142. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6143. } else if (aTool == 6) {
  6144. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6145. } else if (aTool == 3) {
  6146. text = await U.MD.D.I.getEditorContent(_iframe);
  6147. }
  6148. _loading.style.display = 'flex'
  6149. console.log(_loading);
  6150. var _ajs = _iframe.contentWindow.document.createElement("script");
  6151. _ajs.type = "text/javascript";
  6152. _ajs.innerHTML =
  6153. // 'console.log(' + _loading + ');\n' +
  6154. 'var _js = document.createElement("script");\n' +
  6155. '_js.type="text/javascript";\n' +
  6156. '_js.charset="UTF-8";\n' +
  6157. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6158. "_js.onload = function(){\n" +
  6159. ' var a = document.getElementsByTagName("img")\n' +
  6160. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6161. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6162. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6163. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6164. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6165. "beforeUpload_shishi(file," +
  6166. "'" +
  6167. _userid +
  6168. "'" +
  6169. ", " +
  6170. "'" +
  6171. _cid +
  6172. "'" +
  6173. ", " +
  6174. "'" +
  6175. _stage +
  6176. "'" +
  6177. ", " +
  6178. "'" +
  6179. _task +
  6180. "'" +
  6181. ", " +
  6182. "'" +
  6183. _tool +
  6184. "'" +
  6185. ", " +
  6186. "'" +
  6187. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6188. "'" +
  6189. ", " +
  6190. "'" +
  6191. aTool +
  6192. "'" +
  6193. ", " +
  6194. "`" +
  6195. text +
  6196. "`" +
  6197. ")\n" +
  6198. " });\n" +
  6199. "}\n" +
  6200. "document.head.appendChild(_js);\n";
  6201. _iframe.contentWindow.document.head.appendChild(_ajs);
  6202. }
  6203. }
  6204. //U.MD.D.I.openClick(str);
  6205. //如果有任务栏信息
  6206. // if (_taskbar) {
  6207. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6208. // }
  6209. }
  6210. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6211. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6212. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6213. _userid = student.userid, //登录用户id
  6214. _username = student.student //用户名字
  6215. let _iframe;
  6216. let _cid = cid,
  6217. _stage = stage,
  6218. _task = task,
  6219. _tool = tool;
  6220. var _jie = $$("div", {
  6221. "style": {
  6222. "position": "absolute",
  6223. "bottom": "50px",
  6224. "right": "50px",
  6225. "zIndex": "9999",
  6226. "backgroundColor": "#2268bc",
  6227. "color": "#fff",
  6228. "padding": "12px 20px",
  6229. "cursor": "pointer",
  6230. "borderRadius": "4px",
  6231. },
  6232. "innerHTML": "提交作业"
  6233. })
  6234. let aTool = ''
  6235. let _loading = document.createElement('div')
  6236. _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;"
  6237. // _loading.id = "";
  6238. let _lchild = document.createElement('div')
  6239. let _limg = document.createElement('img')
  6240. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6241. _limg.style = "width: 26px;margin-right: 10px;"
  6242. _lchild.appendChild(_limg)
  6243. let _lspan = document.createElement('span')
  6244. _lspan.innerHTML = "上传中..."
  6245. _lchild.appendChild(_lspan)
  6246. _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%);"
  6247. _loading.appendChild(_lchild)
  6248. var _box = $$('div', {
  6249. "style": {
  6250. "position": "relative",
  6251. "width": "100%",
  6252. "height": "100%",
  6253. },
  6254. })
  6255. _box.appendChild(_loading)
  6256. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6257. switch (str) {
  6258. case "whiteboard":
  6259. aTool = 1;
  6260. _iframe = $$("iframe", {
  6261. "frameborder": "no",
  6262. "border": "0",
  6263. "scrolling ": "no",
  6264. "style": {
  6265. "cssText": "border:0;width:100%;height:100%"
  6266. },
  6267. "src": "https://iwb.cocorobo.cn/"
  6268. })
  6269. _box.appendChild(_iframe);
  6270. _box.appendChild(_jie);
  6271. _formdiv = new U.UF.UI.form(
  6272. "电子白板-" + _username,
  6273. _box, {
  6274. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6275. "style": {
  6276. "width": "90%",
  6277. "height": "90%",
  6278. "overflow": 'hidden'
  6279. },
  6280. "onresize": function () { }
  6281. }, {
  6282. closecallback: function () { }
  6283. }, {
  6284. "style": {
  6285. "height": "36px"
  6286. }
  6287. }).form; //创建窗体
  6288. _taskbar = {
  6289. "id": str + _formdiv.id,
  6290. "style": {
  6291. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6292. },
  6293. "name": "电子白板",
  6294. "forms": _formdiv,
  6295. "click": function () {
  6296. U.MD.D.I.openApplication(str, obj, info);
  6297. }
  6298. }
  6299. break;
  6300. case "mind":
  6301. aTool = 3;
  6302. _iframe = $$("iframe", {
  6303. "frameborder": "no",
  6304. "border": "0",
  6305. "scrolling ": "no",
  6306. "style": {
  6307. "cssText": "border:0;width:100%;height:100%"
  6308. },
  6309. "src": "/kityminder-editor/dist/index.html"
  6310. })
  6311. _box.appendChild(_iframe);
  6312. _box.appendChild(_jie);
  6313. _formdiv = new U.UF.UI.form(
  6314. "思维导图-" + _username,
  6315. _box, { //"/jsmind/example/demo.html"
  6316. "id": "mind" + cid + stage + task + tool + _userid,
  6317. "style": {
  6318. "width": "90%",
  6319. "height": "90%",
  6320. "overflow": 'hidden'
  6321. },
  6322. "onresize": function () { }
  6323. }, {
  6324. closecallback: function () { }
  6325. }, {
  6326. "style": {
  6327. "height": "36px"
  6328. }
  6329. }).form; //创建窗体
  6330. _taskbar = {
  6331. "id": str + _formdiv.id,
  6332. "style": {
  6333. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6334. },
  6335. "name": "思维导图",
  6336. "forms": _formdiv,
  6337. "click": function () {
  6338. U.MD.D.I.openApplication(str, obj, info);
  6339. }
  6340. }
  6341. break;
  6342. case "MindMap":
  6343. aTool = 3;
  6344. _iframe = $$("iframe", {
  6345. "frameborder": "no",
  6346. "border": "0",
  6347. "scrolling ": "no",
  6348. "style": {
  6349. "cssText": "border:0;width:100%;height:100%"
  6350. },
  6351. "src": "//cloud.cocorobo.cn/mind/"
  6352. })
  6353. _box.appendChild(_iframe);
  6354. _box.appendChild(_jie);
  6355. _formdiv = new U.UF.UI.form(
  6356. "思维导图-" + _username,
  6357. _box, { //"/jsmind/example/demo.html"
  6358. "id": "mind" + cid + stage + task + tool + _userid,
  6359. "style": {
  6360. "width": "90%",
  6361. "height": "90%",
  6362. "overflow": 'hidden'
  6363. },
  6364. "onresize": function () { }
  6365. }, {
  6366. closecallback: function () { }
  6367. }, {
  6368. "style": {
  6369. "height": "36px"
  6370. }
  6371. }).form; //创建窗体
  6372. _taskbar = {
  6373. "id": str + _formdiv.id,
  6374. "style": {
  6375. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6376. },
  6377. "name": "思维导图",
  6378. "forms": _formdiv,
  6379. "click": function () {
  6380. U.MD.D.I.openApplication(str, obj, info);
  6381. }
  6382. }
  6383. break;
  6384. case "doc":
  6385. aTool = 6;
  6386. _iframe = $$("iframe", {
  6387. "frameborder": "no",
  6388. "border": "0",
  6389. "scrolling ": "no",
  6390. "style": {
  6391. "cssText": "border:0;width:100%;height:100%"
  6392. },
  6393. "src": "/Office/Word/WordEditArea.htm"
  6394. })
  6395. _box.appendChild(_iframe);
  6396. _box.appendChild(_jie);
  6397. _formdiv = new U.UF.UI.form(
  6398. "协同文档-" + _username,
  6399. _box, {
  6400. "id": "doc" + cid + stage + task + tool + _userid,
  6401. "style": {
  6402. "width": "90%",
  6403. "height": "90%",
  6404. "overflow": 'hidden'
  6405. },
  6406. "onresize": function () { }
  6407. }, {
  6408. closecallback: function () { }
  6409. }, {
  6410. "style": {
  6411. "height": "36px"
  6412. }
  6413. }).form; //创建窗体
  6414. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6415. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6416. })
  6417. _taskbar = {
  6418. "id": str + _formdiv.id,
  6419. "style": {
  6420. "backgroundImage": "url(/img/icon/doc.png)"
  6421. },
  6422. "name": "协同文档",
  6423. "forms": _formdiv,
  6424. "click": function () {
  6425. U.MD.D.I.openApplication(str, obj, info);
  6426. }
  6427. }
  6428. break;
  6429. case "mindNetwork": //好友打开
  6430. aTool = 7;
  6431. _iframe = $$("iframe", {
  6432. "webkitallowfullscreen": "",
  6433. "mozallowfullscreen": "",
  6434. "allowfullscreen": "",
  6435. "frameborder": "no",
  6436. "border": "0",
  6437. "scrolling ": "no",
  6438. "style": {
  6439. "cssText": "border:0; width:100%; height:100%;"
  6440. },
  6441. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6442. })
  6443. _box.appendChild(_iframe);
  6444. _box.appendChild(_jie);
  6445. _formdiv = new U.UF.UI.form(
  6446. "思维网格-" + _username,
  6447. _box, {
  6448. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6449. "style": {
  6450. "width": "90%",
  6451. "height": "90%",
  6452. "overflow": 'hidden'
  6453. },
  6454. "onresize": function () { }
  6455. }, {
  6456. closecallback: function () { }
  6457. }, {
  6458. "style": {
  6459. "height": "36px"
  6460. }
  6461. }).form; //创建窗体
  6462. _taskbar = {
  6463. "id": str + _formdiv.id,
  6464. "style": {
  6465. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6466. },
  6467. "name": "思维网格",
  6468. "forms": _formdiv,
  6469. "click": function () {
  6470. U.MD.D.I.openApplication(str, obj, info);
  6471. }
  6472. }
  6473. break;
  6474. case "courseDesign":
  6475. _iframe = $$("iframe", {
  6476. "webkitallowfullscreen": "",
  6477. "mozallowfullscreen": "",
  6478. "allowfullscreen": "",
  6479. "frameborder": "no",
  6480. "border": "0",
  6481. "scrolling ": "no",
  6482. "style": {
  6483. "cssText": "border:0; width:100%; height:100%;"
  6484. },
  6485. "src": "/course-design-vue"
  6486. })
  6487. _box.appendChild(_iframe);
  6488. _box.appendChild(_jie);
  6489. _formdiv = new U.UF.UI.form(
  6490. "项目设计-" + _username,
  6491. _box, {
  6492. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6493. "style": {
  6494. "width": "90%",
  6495. "height": "90%",
  6496. "overflow": 'hidden'
  6497. },
  6498. "onresize": function () { }
  6499. }, {
  6500. closecallback: function () { }
  6501. }, {
  6502. "style": {
  6503. "height": "36px"
  6504. }
  6505. }).form; //创建窗体
  6506. _taskbar = {
  6507. "id": str + _formdiv.id,
  6508. "style": {
  6509. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6510. },
  6511. "name": "项目设计",
  6512. "forms": _formdiv,
  6513. "click": function () {
  6514. U.MD.D.I.openApplication(str, obj, info);
  6515. }
  6516. }
  6517. break;
  6518. }
  6519. const script1 = document.createElement("script");
  6520. script1.type = "text/javascript";
  6521. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6522. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6523. const script2 = document.createElement("script");
  6524. script2.type = "text/javascript";
  6525. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6526. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6527. const script3 = document.createElement("script");
  6528. script3.type = "text/javascript";
  6529. script3.charset = "UTF-8";
  6530. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6531. const script4 = document.createElement("script");
  6532. script4.type = "text/javascript";
  6533. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6534. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6535. if (_iframe) {
  6536. if (str == 'doc') {
  6537. _iframe = _formdiv.querySelector('iframe')
  6538. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6539. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6540. _iframe.contentWindow.document.body.appendChild(script1);
  6541. _iframe.contentWindow.document.body.appendChild(script2);
  6542. // _iframe.contentWindow.document.body.appendChild(script3);
  6543. _iframe.contentWindow.document.body.appendChild(script4);
  6544. })
  6545. if (onloadListener) {
  6546. _iframe.contentDocument.location.reload()
  6547. } else {
  6548. _iframe.contentDocument.location.reload()
  6549. }
  6550. } else if (str == 'courseDesign') {
  6551. U.UF.DL.iframeLoad(_iframe, function () {
  6552. // _iframe.contentWindow.U.MD.O.W.load();
  6553. // _iframe.contentWindow.document.body.appendChild(script1);
  6554. _iframe.contentWindow.document.body.appendChild(script2);
  6555. _iframe.contentWindow.document.body.appendChild(script4);
  6556. })
  6557. } else if (str == 'mind') {
  6558. _iframe = _formdiv.querySelector('iframe')
  6559. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6560. //
  6561. _iframe.contentWindow.document.body.appendChild(script1);
  6562. _iframe.contentWindow.document.body.appendChild(script2);
  6563. _iframe.contentWindow.document.body.appendChild(script4);
  6564. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6565. })
  6566. if (onloadListener) {
  6567. _iframe.contentDocument.location.reload()
  6568. } else {
  6569. _iframe.contentDocument.location.reload()
  6570. }
  6571. } else if (str == 'whiteboard') {
  6572. _iframe = _formdiv.querySelector('iframe')
  6573. let onloadListener = _iframe.onload = () => {
  6574. _iframe.contentWindow.document.body.appendChild(script1);
  6575. _iframe.contentWindow.document.body.appendChild(script2);
  6576. _iframe.contentWindow.document.body.appendChild(script4);
  6577. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6578. };
  6579. if (onloadListener) {
  6580. _iframe.contentDocument.location.reload()
  6581. } else {
  6582. _iframe.contentDocument.location.reload()
  6583. }
  6584. } else {
  6585. _iframe.onload = () => {
  6586. _iframe.contentWindow.document.body.appendChild(script1);
  6587. _iframe.contentWindow.document.body.appendChild(script2);
  6588. // _iframe.contentWindow.document.body.appendChild(script3);
  6589. _iframe.contentWindow.document.body.appendChild(script4);
  6590. };
  6591. }
  6592. _jie.onclick = async () => {
  6593. let text = ''
  6594. if (aTool == 1) {
  6595. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6596. } else if (aTool == 6) {
  6597. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6598. } else if (aTool == 3) {
  6599. text = await U.MD.D.I.getEditorContent(_iframe);
  6600. }
  6601. _loading.style.display = 'flex'
  6602. console.log(_loading);
  6603. var _ajs = _iframe.contentWindow.document.createElement("script");
  6604. _ajs.type = "text/javascript";
  6605. _ajs.innerHTML =
  6606. // 'console.log(' + _loading + ');\n' +
  6607. 'var _js = document.createElement("script");\n' +
  6608. '_js.type="text/javascript";\n' +
  6609. '_js.charset="UTF-8";\n' +
  6610. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6611. "_js.onload = function(){\n" +
  6612. ' var a = document.getElementsByTagName("img")\n' +
  6613. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6614. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6615. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6616. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6617. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6618. "beforeUpload_shishi(file," +
  6619. "'" +
  6620. _userid +
  6621. "'" +
  6622. ", " +
  6623. "'" +
  6624. _cid +
  6625. "'" +
  6626. ", " +
  6627. "'" +
  6628. _stage +
  6629. "'" +
  6630. ", " +
  6631. "'" +
  6632. _task +
  6633. "'" +
  6634. ", " +
  6635. "'" +
  6636. _tool +
  6637. "'" +
  6638. ", " +
  6639. "'" +
  6640. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6641. "'" +
  6642. ", " +
  6643. "'" +
  6644. aTool +
  6645. "'" +
  6646. ", " +
  6647. "`" +
  6648. text +
  6649. "`" +
  6650. ")\n" +
  6651. " });\n" +
  6652. "}\n" +
  6653. "document.head.appendChild(_js);\n";
  6654. _iframe.contentWindow.document.head.appendChild(_ajs);
  6655. }
  6656. }
  6657. }
  6658. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6659. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6660. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6661. _userid = student.userid, //登录用户id
  6662. _username = student.student //用户名字
  6663. let _iframe;
  6664. let _cid = cid,
  6665. _stage = stage,
  6666. _task = task,
  6667. _tool = tool;
  6668. var _jie = $$("div", {
  6669. "style": {
  6670. "position": "absolute",
  6671. "bottom": "50px",
  6672. "right": "50px",
  6673. "zIndex": "9999",
  6674. "backgroundColor": "#2268bc",
  6675. "color": "#fff",
  6676. "padding": "12px 20px",
  6677. "cursor": "pointer",
  6678. "borderRadius": "4px",
  6679. },
  6680. "innerHTML": "提交作业"
  6681. })
  6682. let aTool = ''
  6683. let _loading = document.createElement('div')
  6684. _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;"
  6685. // _loading.id = "";
  6686. let _lchild = document.createElement('div')
  6687. let _limg = document.createElement('img')
  6688. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6689. _limg.style = "width: 26px;margin-right: 10px;"
  6690. _lchild.appendChild(_limg)
  6691. let _lspan = document.createElement('span')
  6692. _lspan.innerHTML = "上传中..."
  6693. _lchild.appendChild(_lspan)
  6694. _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%);"
  6695. _loading.appendChild(_lchild)
  6696. var _box = $$('div', {
  6697. "style": {
  6698. "position": "relative",
  6699. "width": "100%",
  6700. "height": "100%",
  6701. },
  6702. })
  6703. _box.appendChild(_loading)
  6704. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6705. switch (str) {
  6706. case "whiteboard":
  6707. aTool = 1;
  6708. _iframe = $$("iframe", {
  6709. "frameborder": "no",
  6710. "border": "0",
  6711. "scrolling ": "no",
  6712. "style": {
  6713. "cssText": "border:0;width:100%;height:100%"
  6714. },
  6715. "src": "https://iwb.cocorobo.cn/"
  6716. })
  6717. _box.appendChild(_iframe);
  6718. _box.appendChild(_jie);
  6719. _formdiv = new U.UF.UI.form(
  6720. "电子白板-" + _username,
  6721. _box, {
  6722. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6723. "style": {
  6724. "width": "90%",
  6725. "height": "90%",
  6726. "overflow": 'hidden'
  6727. },
  6728. "onresize": function () { }
  6729. }, {
  6730. closecallback: function () { }
  6731. }, {
  6732. "style": {
  6733. "height": "36px"
  6734. }
  6735. }).form; //创建窗体
  6736. _taskbar = {
  6737. "id": str + _formdiv.id,
  6738. "style": {
  6739. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6740. },
  6741. "name": "电子白板",
  6742. "forms": _formdiv,
  6743. "click": function () {
  6744. U.MD.D.I.openApplication(str, obj, info);
  6745. }
  6746. }
  6747. break;
  6748. case "mind":
  6749. aTool = 3;
  6750. _iframe = $$("iframe", {
  6751. "frameborder": "no",
  6752. "border": "0",
  6753. "scrolling ": "no",
  6754. "style": {
  6755. "cssText": "border:0;width:100%;height:100%"
  6756. },
  6757. "src": "/kityminder-editor/dist/index.html"
  6758. })
  6759. _box.appendChild(_iframe);
  6760. _box.appendChild(_jie);
  6761. _formdiv = new U.UF.UI.form(
  6762. "思维导图-" + _username,
  6763. _box, { //"/jsmind/example/demo.html"
  6764. "id": "mind" + cid + stage + task + tool + _userid,
  6765. "style": {
  6766. "width": "90%",
  6767. "height": "90%",
  6768. "overflow": 'hidden'
  6769. },
  6770. "onresize": function () { }
  6771. }, {
  6772. closecallback: function () { }
  6773. }, {
  6774. "style": {
  6775. "height": "36px"
  6776. }
  6777. }).form; //创建窗体
  6778. _taskbar = {
  6779. "id": str + _formdiv.id,
  6780. "style": {
  6781. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6782. },
  6783. "name": "思维导图",
  6784. "forms": _formdiv,
  6785. "click": function () {
  6786. U.MD.D.I.openApplication(str, obj, info);
  6787. }
  6788. }
  6789. break;
  6790. case "MindMap":
  6791. aTool = 3;
  6792. _iframe = $$("iframe", {
  6793. "frameborder": "no",
  6794. "border": "0",
  6795. "scrolling ": "no",
  6796. "style": {
  6797. "cssText": "border:0;width:100%;height:100%"
  6798. },
  6799. "src": "//cloud.cocorobo.cn/mind/"
  6800. })
  6801. _box.appendChild(_iframe);
  6802. _box.appendChild(_jie);
  6803. _formdiv = new U.UF.UI.form(
  6804. "思维导图-" + _username,
  6805. _box, { //"/jsmind/example/demo.html"
  6806. "id": "mind" + cid + stage + task + tool + _userid,
  6807. "style": {
  6808. "width": "90%",
  6809. "height": "90%",
  6810. "overflow": 'hidden'
  6811. },
  6812. "onresize": function () { }
  6813. }, {
  6814. closecallback: function () { }
  6815. }, {
  6816. "style": {
  6817. "height": "36px"
  6818. }
  6819. }).form; //创建窗体
  6820. _taskbar = {
  6821. "id": str + _formdiv.id,
  6822. "style": {
  6823. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6824. },
  6825. "name": "思维导图",
  6826. "forms": _formdiv,
  6827. "click": function () {
  6828. U.MD.D.I.openApplication(str, obj, info);
  6829. }
  6830. }
  6831. break;
  6832. case "doc":
  6833. aTool = 6;
  6834. _iframe = $$("iframe", {
  6835. "frameborder": "no",
  6836. "border": "0",
  6837. "scrolling ": "no",
  6838. "style": {
  6839. "cssText": "border:0;width:100%;height:100%"
  6840. },
  6841. "src": "/Office/Word/WordEditArea.htm"
  6842. })
  6843. _box.appendChild(_iframe);
  6844. _box.appendChild(_jie);
  6845. _formdiv = new U.UF.UI.form(
  6846. "协同文档-" + _username,
  6847. _box, {
  6848. "id": "doc" + cid + stage + task + tool + _userid,
  6849. "style": {
  6850. "width": "90%",
  6851. "height": "90%",
  6852. "overflow": 'hidden'
  6853. },
  6854. "onresize": function () { }
  6855. }, {
  6856. closecallback: function () { }
  6857. }, {
  6858. "style": {
  6859. "height": "36px"
  6860. }
  6861. }).form; //创建窗体
  6862. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6863. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6864. })
  6865. _taskbar = {
  6866. "id": str + _formdiv.id,
  6867. "style": {
  6868. "backgroundImage": "url(/img/icon/doc.png)"
  6869. },
  6870. "name": "协同文档",
  6871. "forms": _formdiv,
  6872. "click": function () {
  6873. U.MD.D.I.openApplication(str, obj, info);
  6874. }
  6875. }
  6876. break;
  6877. case "mindNetwork": //好友打开
  6878. aTool = 7;
  6879. _iframe = $$("iframe", {
  6880. "webkitallowfullscreen": "",
  6881. "mozallowfullscreen": "",
  6882. "allowfullscreen": "",
  6883. "frameborder": "no",
  6884. "border": "0",
  6885. "scrolling ": "no",
  6886. "style": {
  6887. "cssText": "border:0; width:100%; height:100%;"
  6888. },
  6889. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6890. })
  6891. _box.appendChild(_iframe);
  6892. _box.appendChild(_jie);
  6893. _formdiv = new U.UF.UI.form(
  6894. "思维网格-" + _username,
  6895. _box, {
  6896. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6897. "style": {
  6898. "width": "90%",
  6899. "height": "90%",
  6900. "overflow": 'hidden'
  6901. },
  6902. "onresize": function () { }
  6903. }, {
  6904. closecallback: function () { }
  6905. }, {
  6906. "style": {
  6907. "height": "36px"
  6908. }
  6909. }).form; //创建窗体
  6910. _taskbar = {
  6911. "id": str + _formdiv.id,
  6912. "style": {
  6913. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6914. },
  6915. "name": "思维网格",
  6916. "forms": _formdiv,
  6917. "click": function () {
  6918. U.MD.D.I.openApplication(str, obj, info);
  6919. }
  6920. }
  6921. break;
  6922. case "courseDesign":
  6923. _iframe = $$("iframe", {
  6924. "webkitallowfullscreen": "",
  6925. "mozallowfullscreen": "",
  6926. "allowfullscreen": "",
  6927. "frameborder": "no",
  6928. "border": "0",
  6929. "scrolling ": "no",
  6930. "style": {
  6931. "cssText": "border:0; width:100%; height:100%;"
  6932. },
  6933. "src": "/course-design-vue"
  6934. })
  6935. _box.appendChild(_iframe);
  6936. _box.appendChild(_jie);
  6937. _formdiv = new U.UF.UI.form(
  6938. "项目设计-" + _username,
  6939. _box, {
  6940. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6941. "style": {
  6942. "width": "90%",
  6943. "height": "90%",
  6944. "overflow": 'hidden'
  6945. },
  6946. "onresize": function () { }
  6947. }, {
  6948. closecallback: function () { }
  6949. }, {
  6950. "style": {
  6951. "height": "36px"
  6952. }
  6953. }).form; //创建窗体
  6954. _taskbar = {
  6955. "id": str + _formdiv.id,
  6956. "style": {
  6957. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6958. },
  6959. "name": "项目设计",
  6960. "forms": _formdiv,
  6961. "click": function () {
  6962. U.MD.D.I.openApplication(str, obj, info);
  6963. }
  6964. }
  6965. break;
  6966. }
  6967. const script1 = document.createElement("script");
  6968. script1.type = "text/javascript";
  6969. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6970. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6971. const script2 = document.createElement("script");
  6972. script2.type = "text/javascript";
  6973. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6974. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6975. const script3 = document.createElement("script");
  6976. script3.type = "text/javascript";
  6977. script3.charset = "UTF-8";
  6978. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6979. const script4 = document.createElement("script");
  6980. script4.type = "text/javascript";
  6981. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6982. script4.src = window.origin + "/js/Common/jietu2E.js";
  6983. if (_iframe) {
  6984. if (str == 'doc') {
  6985. _iframe = _formdiv.querySelector('iframe')
  6986. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6987. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6988. _iframe.contentWindow.document.body.appendChild(script1);
  6989. _iframe.contentWindow.document.body.appendChild(script2);
  6990. // _iframe.contentWindow.document.body.appendChild(script3);
  6991. _iframe.contentWindow.document.body.appendChild(script4);
  6992. })
  6993. if (onloadListener) {
  6994. _iframe.contentDocument.location.reload()
  6995. } else {
  6996. _iframe.contentDocument.location.reload()
  6997. }
  6998. } else if (str == 'courseDesign') {
  6999. U.UF.DL.iframeLoad(_iframe, function () {
  7000. // _iframe.contentWindow.U.MD.O.W.load();
  7001. // _iframe.contentWindow.document.body.appendChild(script1);
  7002. _iframe.contentWindow.document.body.appendChild(script2);
  7003. _iframe.contentWindow.document.body.appendChild(script4);
  7004. })
  7005. } else if (str == 'mind') {
  7006. _iframe = _formdiv.querySelector('iframe')
  7007. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7008. //
  7009. _iframe.contentWindow.document.body.appendChild(script1);
  7010. _iframe.contentWindow.document.body.appendChild(script2);
  7011. _iframe.contentWindow.document.body.appendChild(script4);
  7012. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7013. })
  7014. if (onloadListener) {
  7015. _iframe.contentDocument.location.reload()
  7016. } else {
  7017. _iframe.contentDocument.location.reload()
  7018. }
  7019. } else if (str == 'whiteboard') {
  7020. _iframe = _formdiv.querySelector('iframe')
  7021. let onloadListener = _iframe.onload = () => {
  7022. _iframe.contentWindow.document.body.appendChild(script1);
  7023. _iframe.contentWindow.document.body.appendChild(script2);
  7024. _iframe.contentWindow.document.body.appendChild(script4);
  7025. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7026. };
  7027. if (onloadListener) {
  7028. _iframe.contentDocument.location.reload()
  7029. } else {
  7030. _iframe.contentDocument.location.reload()
  7031. }
  7032. } else {
  7033. _iframe.onload = () => {
  7034. _iframe.contentWindow.document.body.appendChild(script1);
  7035. _iframe.contentWindow.document.body.appendChild(script2);
  7036. // _iframe.contentWindow.document.body.appendChild(script3);
  7037. _iframe.contentWindow.document.body.appendChild(script4);
  7038. };
  7039. }
  7040. _jie.onclick = async () => {
  7041. let text = ''
  7042. if (aTool == 1) {
  7043. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7044. } else if (aTool == 6) {
  7045. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7046. } else if (aTool == 3) {
  7047. text = await U.MD.D.I.getEditorContent(_iframe);
  7048. }
  7049. _loading.style.display = 'flex'
  7050. console.log(_loading);
  7051. var _ajs = _iframe.contentWindow.document.createElement("script");
  7052. _ajs.type = "text/javascript";
  7053. _ajs.innerHTML =
  7054. // 'console.log(' + _loading + ');\n' +
  7055. 'var _js = document.createElement("script");\n' +
  7056. '_js.type="text/javascript";\n' +
  7057. '_js.charset="UTF-8";\n' +
  7058. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7059. "_js.onload = function(){\n" +
  7060. ' var a = document.getElementsByTagName("img")\n' +
  7061. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7062. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7063. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7064. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7065. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7066. "beforeUpload_shishi(file," +
  7067. "'" +
  7068. _userid +
  7069. "'" +
  7070. ", " +
  7071. "'" +
  7072. _cid +
  7073. "'" +
  7074. ", " +
  7075. "'" +
  7076. _stage +
  7077. "'" +
  7078. ", " +
  7079. "'" +
  7080. _task +
  7081. "'" +
  7082. ", " +
  7083. "'" +
  7084. _tool +
  7085. "'" +
  7086. ", " +
  7087. "'" +
  7088. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7089. "'" +
  7090. ", " +
  7091. "'" +
  7092. aTool +
  7093. "'" +
  7094. ", " +
  7095. "`" +
  7096. text +
  7097. "`" +
  7098. ")\n" +
  7099. " });\n" +
  7100. "}\n" +
  7101. "document.head.appendChild(_js);\n";
  7102. _iframe.contentWindow.document.head.appendChild(_ajs);
  7103. }
  7104. }
  7105. }
  7106. U.MD.D.I.getEditorContent = function (iframe) {
  7107. return new Promise((resolve, reject) => {
  7108. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7109. console.log(content);
  7110. resolve(content)
  7111. });
  7112. });
  7113. }
  7114. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7115. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7116. // if (res.value[0].length > 0) {
  7117. // // resolve(res.value[0][0].text);
  7118. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7119. // $(fileInput).val('');
  7120. // });
  7121. // }
  7122. // }, [], { "type": "GET", "withCredentials": true });
  7123. var xmlhttp;
  7124. var Mac, Sn, DeviceId
  7125. if (window.XMLHttpRequest) {
  7126. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7127. xmlhttp = new XMLHttpRequest();
  7128. } else {
  7129. // IE6, IE5 浏览器执行代码
  7130. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7131. }
  7132. xmlhttp.onreadystatechange = function () {
  7133. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7134. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7135. // resolve(res.value[0][0].text);
  7136. if (type == '2') {
  7137. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7138. } else if (type == '3') {
  7139. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7140. }
  7141. } else {
  7142. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7143. }
  7144. }
  7145. }
  7146. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7147. xmlhttp.send();
  7148. }
  7149. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7150. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7151. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7152. _userinfo = US.userInfo, //登录用户信息
  7153. _userid = US.userInfo.userid //登录用户id
  7154. let _iframe;
  7155. let _cid = cid,
  7156. _stage = stage,
  7157. _task = task,
  7158. _tool = tool;
  7159. var _jie = $$("div", {
  7160. "style": {
  7161. "position": "absolute",
  7162. "bottom": "50px",
  7163. "right": "50px",
  7164. "zIndex": "9999",
  7165. "backgroundColor": "#2268bc",
  7166. "color": "#fff",
  7167. "padding": "12px 20px",
  7168. "cursor": "pointer",
  7169. "borderRadius": "4px",
  7170. },
  7171. "innerHTML": "确认并提交"
  7172. })
  7173. let aTool = ''
  7174. let _loading = document.createElement('div')
  7175. _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;"
  7176. // _loading.id = "";
  7177. let _lchild = document.createElement('div')
  7178. let _limg = document.createElement('img')
  7179. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7180. _limg.style = "width: 26px;margin-right: 10px;"
  7181. _lchild.appendChild(_limg)
  7182. let _lspan = document.createElement('span')
  7183. _lspan.innerHTML = "上传中..."
  7184. _lchild.appendChild(_lspan)
  7185. _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%);"
  7186. _loading.appendChild(_lchild)
  7187. var _box = $$('div', {
  7188. "style": {
  7189. "position": "relative",
  7190. "width": "100%",
  7191. "height": "100%",
  7192. },
  7193. })
  7194. _box.appendChild(_loading)
  7195. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7196. switch (str) {
  7197. case "whiteboard":
  7198. aTool = 1;
  7199. _iframe = $$("iframe", {
  7200. "frameborder": "no",
  7201. "border": "0",
  7202. "scrolling ": "no",
  7203. "style": {
  7204. "cssText": "border:0;width:100%;height:100%"
  7205. },
  7206. "src": "https://iwb.cocorobo.cn/"
  7207. })
  7208. _box.appendChild(_iframe);
  7209. _box.appendChild(_jie);
  7210. _formdiv = new U.UF.UI.form(
  7211. "电子白板",
  7212. _box, {
  7213. "id": "whiteboards" + cid + stage + task + tool,
  7214. "style": {
  7215. "width": "90%",
  7216. "height": "90%",
  7217. "overflow": 'hidden'
  7218. },
  7219. "onresize": function () { }
  7220. }, {
  7221. closecallback: function () { }
  7222. }, {
  7223. "style": {
  7224. "height": "36px"
  7225. }
  7226. }).form; //创建窗体
  7227. _taskbar = {
  7228. "id": str + _formdiv.id,
  7229. "style": {
  7230. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7231. },
  7232. "name": "电子白板",
  7233. "forms": _formdiv,
  7234. "click": function () {
  7235. U.MD.D.I.openApplication(str, obj, info);
  7236. }
  7237. }
  7238. break;
  7239. case "mind":
  7240. aTool = 3;
  7241. _iframe = $$("iframe", {
  7242. "frameborder": "no",
  7243. "border": "0",
  7244. "scrolling ": "no",
  7245. "style": {
  7246. "cssText": "border:0;width:100%;height:100%"
  7247. },
  7248. "src": "/kityminder-editor/dist/index.html"
  7249. });
  7250. _box.appendChild(_iframe);
  7251. _box.appendChild(_jie);
  7252. _formdiv = new U.UF.UI.form(
  7253. "思维导图",
  7254. _box, { //"/jsmind/example/demo.html"
  7255. "id": "minds" + cid + stage + task + tool,
  7256. "style": {
  7257. "width": "90%",
  7258. "height": "90%",
  7259. "overflow": 'hidden'
  7260. },
  7261. "onresize": function () { }
  7262. }, {
  7263. closecallback: function () { }
  7264. }, {
  7265. "style": {
  7266. "height": "36px"
  7267. }
  7268. }).form; //创建窗体
  7269. _taskbar = {
  7270. "id": str + _formdiv.id,
  7271. "style": {
  7272. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7273. },
  7274. "name": "思维导图",
  7275. "forms": _formdiv,
  7276. "click": function () {
  7277. U.MD.D.I.openApplication(str, obj, info);
  7278. }
  7279. }
  7280. break;
  7281. case "doc":
  7282. aTool = 6;
  7283. _iframe = $$("iframe", {
  7284. "frameborder": "no",
  7285. "border": "0",
  7286. "scrolling ": "no",
  7287. "style": {
  7288. "cssText": "border:0;width:100%;height:100%"
  7289. },
  7290. "src": "/Office/Word/WordEditArea.htm"
  7291. })
  7292. _box.appendChild(_iframe);
  7293. _box.appendChild(_jie);
  7294. _formdiv = new U.UF.UI.form(
  7295. "协同文档",
  7296. _box, {
  7297. "id": "docs" + cid + stage + task + tool,
  7298. "style": {
  7299. "width": "90%",
  7300. "height": "90%",
  7301. "overflow": 'hidden'
  7302. },
  7303. "onresize": function () { }
  7304. }, {
  7305. closecallback: function () { }
  7306. }, {
  7307. "style": {
  7308. "height": "36px"
  7309. }
  7310. }).form; //创建窗体
  7311. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7312. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7313. })
  7314. _taskbar = {
  7315. "id": str + _formdiv.id,
  7316. "style": {
  7317. "backgroundImage": "url(/img/icon/doc.png)"
  7318. },
  7319. "name": "协同文档",
  7320. "forms": _formdiv,
  7321. "click": function () {
  7322. U.MD.D.I.openApplication(str, obj, info);
  7323. }
  7324. }
  7325. break;
  7326. }
  7327. const script1 = document.createElement("script");
  7328. script1.type = "text/javascript";
  7329. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7330. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7331. const script2 = document.createElement("script");
  7332. script2.type = "text/javascript";
  7333. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7334. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7335. const script3 = document.createElement("script");
  7336. script3.type = "text/javascript";
  7337. script3.charset = "UTF-8";
  7338. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7339. const script4 = document.createElement("script");
  7340. script4.type = "text/javascript";
  7341. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7342. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7343. if (_iframe) {
  7344. if (str == 'doc') {
  7345. _iframe = _formdiv.querySelector('iframe')
  7346. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7347. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7348. _iframe.contentWindow.document.body.appendChild(script1);
  7349. _iframe.contentWindow.document.body.appendChild(script2);
  7350. // _iframe.contentWindow.document.body.appendChild(script3);
  7351. _iframe.contentWindow.document.body.appendChild(script4);
  7352. })
  7353. if (onloadListener) {
  7354. _iframe.contentDocument.location.reload()
  7355. } else {
  7356. _iframe.contentDocument.location.reload()
  7357. }
  7358. } else if (str == 'mind') {
  7359. _iframe = _formdiv.querySelector('iframe')
  7360. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7361. _iframe.contentWindow.document.body.appendChild(script1);
  7362. _iframe.contentWindow.document.body.appendChild(script2);
  7363. _iframe.contentWindow.document.body.appendChild(script4);
  7364. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7365. })
  7366. if (onloadListener) {
  7367. _iframe.contentDocument.location.reload()
  7368. } else {
  7369. _iframe.contentDocument.location.reload()
  7370. }
  7371. } else {
  7372. _iframe.onload = () => {
  7373. _iframe.contentWindow.document.body.appendChild(script1);
  7374. _iframe.contentWindow.document.body.appendChild(script2);
  7375. // _iframe.contentWindow.document.body.appendChild(script3);
  7376. _iframe.contentWindow.document.body.appendChild(script4);
  7377. };
  7378. }
  7379. _jie.onclick = async () => {
  7380. let text = ''
  7381. if (aTool == 6) {
  7382. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7383. } else if (aTool == 3) {
  7384. text = await U.MD.D.I.getEditorContent(_iframe);
  7385. }
  7386. _loading.style.display = 'flex'
  7387. console.log(_loading);
  7388. var _ajs = _iframe.contentWindow.document.createElement("script");
  7389. _ajs.type = "text/javascript";
  7390. _ajs.innerHTML =
  7391. // 'console.log(' + _loading + ');\n' +
  7392. 'var _js = document.createElement("script");\n' +
  7393. '_js.type="text/javascript";\n' +
  7394. '_js.charset="UTF-8";\n' +
  7395. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7396. "_js.onload = function(){\n" +
  7397. ' var a = document.getElementsByTagName("img")\n' +
  7398. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7399. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7400. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7401. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7402. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7403. "beforeUpload_shishi(file," +
  7404. "'" +
  7405. _userid +
  7406. "'" +
  7407. ", " +
  7408. "'" +
  7409. _cid +
  7410. "'" +
  7411. ", " +
  7412. "'" +
  7413. _stage +
  7414. "'" +
  7415. ", " +
  7416. "'" +
  7417. _task +
  7418. "'" +
  7419. ", " +
  7420. "'" +
  7421. _tool +
  7422. "'" +
  7423. ", " +
  7424. "'" +
  7425. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7426. "'" +
  7427. ", " +
  7428. "'" +
  7429. aTool +
  7430. "'" +
  7431. ", " +
  7432. "`" +
  7433. text +
  7434. "`" +
  7435. ")\n" +
  7436. " });\n" +
  7437. "}\n" +
  7438. "document.head.appendChild(_js);\n";
  7439. _iframe.contentWindow.document.head.appendChild(_ajs);
  7440. }
  7441. }
  7442. //U.MD.D.I.openClick(str);
  7443. //如果有任务栏信息
  7444. // if (_taskbar) {
  7445. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7446. // }
  7447. }
  7448. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7449. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7450. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7451. _userinfo = US.userInfo, //登录用户信息
  7452. _userid = US.userInfo.userid //登录用户id
  7453. let _iframe;
  7454. let _cid = cid,
  7455. _stage = stage,
  7456. _task = task,
  7457. _tool = tool;
  7458. var _jie = $$("div", {
  7459. "style": {
  7460. "position": "absolute",
  7461. "bottom": "50px",
  7462. "right": "50px",
  7463. "zIndex": "9999",
  7464. "backgroundColor": "#2268bc",
  7465. "color": "#fff",
  7466. "padding": "12px 20px",
  7467. "cursor": "pointer",
  7468. "borderRadius": "4px",
  7469. },
  7470. "innerHTML": "确认并提交"
  7471. })
  7472. let aTool = ''
  7473. let _loading = document.createElement('div')
  7474. _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;"
  7475. // _loading.id = "";
  7476. let _lchild = document.createElement('div')
  7477. let _limg = document.createElement('img')
  7478. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7479. _limg.style = "width: 26px;margin-right: 10px;"
  7480. _lchild.appendChild(_limg)
  7481. let _lspan = document.createElement('span')
  7482. _lspan.innerHTML = "上传中..."
  7483. _lchild.appendChild(_lspan)
  7484. _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%);"
  7485. _loading.appendChild(_lchild)
  7486. var _box = $$('div', {
  7487. "style": {
  7488. "position": "relative",
  7489. "width": "100%",
  7490. "height": "100%",
  7491. },
  7492. })
  7493. _box.appendChild(_loading)
  7494. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7495. switch (str) {
  7496. case "whiteboard":
  7497. aTool = 1;
  7498. _iframe = $$("iframe", {
  7499. "frameborder": "no",
  7500. "border": "0",
  7501. "scrolling ": "no",
  7502. "style": {
  7503. "cssText": "border:0;width:100%;height:100%"
  7504. },
  7505. "src": "https://iwb.cocorobo.cn/"
  7506. })
  7507. _box.appendChild(_iframe);
  7508. _box.appendChild(_jie);
  7509. _formdiv = new U.UF.UI.form(
  7510. "电子白板",
  7511. _box, {
  7512. "id": "whiteboards" + cid + stage + task + tool,
  7513. "style": {
  7514. "width": "90%",
  7515. "height": "90%",
  7516. "overflow": 'hidden'
  7517. },
  7518. "onresize": function () { }
  7519. }, {
  7520. closecallback: function () { }
  7521. }, {
  7522. "style": {
  7523. "height": "36px"
  7524. }
  7525. }).form; //创建窗体
  7526. _taskbar = {
  7527. "id": str + _formdiv.id,
  7528. "style": {
  7529. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7530. },
  7531. "name": "电子白板",
  7532. "forms": _formdiv,
  7533. "click": function () {
  7534. U.MD.D.I.openApplication(str, obj, info);
  7535. }
  7536. }
  7537. break;
  7538. case "mind":
  7539. aTool = 3;
  7540. _iframe = $$("iframe", {
  7541. "frameborder": "no",
  7542. "border": "0",
  7543. "scrolling ": "no",
  7544. "style": {
  7545. "cssText": "border:0;width:100%;height:100%"
  7546. },
  7547. "src": "/kityminder-editor/dist/index.html"
  7548. });
  7549. _box.appendChild(_iframe);
  7550. _box.appendChild(_jie);
  7551. _formdiv = new U.UF.UI.form(
  7552. "思维导图",
  7553. _box, { //"/jsmind/example/demo.html"
  7554. "id": "minds" + cid + stage + task + tool,
  7555. "style": {
  7556. "width": "90%",
  7557. "height": "90%",
  7558. "overflow": 'hidden'
  7559. },
  7560. "onresize": function () { }
  7561. }, {
  7562. closecallback: function () { }
  7563. }, {
  7564. "style": {
  7565. "height": "36px"
  7566. }
  7567. }).form; //创建窗体
  7568. _taskbar = {
  7569. "id": str + _formdiv.id,
  7570. "style": {
  7571. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7572. },
  7573. "name": "思维导图",
  7574. "forms": _formdiv,
  7575. "click": function () {
  7576. U.MD.D.I.openApplication(str, obj, info);
  7577. }
  7578. }
  7579. break;
  7580. case "doc":
  7581. aTool = 6;
  7582. _iframe = $$("iframe", {
  7583. "frameborder": "no",
  7584. "border": "0",
  7585. "scrolling ": "no",
  7586. "style": {
  7587. "cssText": "border:0;width:100%;height:100%"
  7588. },
  7589. "src": "/Office/Word/WordEditArea.htm"
  7590. })
  7591. _box.appendChild(_iframe);
  7592. _box.appendChild(_jie);
  7593. _formdiv = new U.UF.UI.form(
  7594. "协同文档",
  7595. _box, {
  7596. "id": "docs" + cid + stage + task + tool,
  7597. "style": {
  7598. "width": "90%",
  7599. "height": "90%",
  7600. "overflow": 'hidden'
  7601. },
  7602. "onresize": function () { }
  7603. }, {
  7604. closecallback: function () { }
  7605. }, {
  7606. "style": {
  7607. "height": "36px"
  7608. }
  7609. }).form; //创建窗体
  7610. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7611. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7612. })
  7613. _taskbar = {
  7614. "id": str + _formdiv.id,
  7615. "style": {
  7616. "backgroundImage": "url(/img/icon/doc.png)"
  7617. },
  7618. "name": "协同文档",
  7619. "forms": _formdiv,
  7620. "click": function () {
  7621. U.MD.D.I.openApplication(str, obj, info);
  7622. }
  7623. }
  7624. break;
  7625. }
  7626. const script1 = document.createElement("script");
  7627. script1.type = "text/javascript";
  7628. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7629. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7630. const script2 = document.createElement("script");
  7631. script2.type = "text/javascript";
  7632. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7633. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7634. const script3 = document.createElement("script");
  7635. script3.type = "text/javascript";
  7636. script3.charset = "UTF-8";
  7637. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7638. const script4 = document.createElement("script");
  7639. script4.type = "text/javascript";
  7640. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7641. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7642. if (_iframe) {
  7643. if (str == 'doc') {
  7644. _iframe = _formdiv.querySelector('iframe')
  7645. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7646. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7647. _iframe.contentWindow.document.body.appendChild(script1);
  7648. _iframe.contentWindow.document.body.appendChild(script2);
  7649. // _iframe.contentWindow.document.body.appendChild(script3);
  7650. _iframe.contentWindow.document.body.appendChild(script4);
  7651. })
  7652. if (onloadListener) {
  7653. _iframe.contentDocument.location.reload()
  7654. } else {
  7655. _iframe.contentDocument.location.reload()
  7656. }
  7657. } else if (str == 'mind') {
  7658. _iframe = _formdiv.querySelector('iframe')
  7659. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7660. _iframe.contentWindow.document.body.appendChild(script1);
  7661. _iframe.contentWindow.document.body.appendChild(script2);
  7662. _iframe.contentWindow.document.body.appendChild(script4);
  7663. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7664. })
  7665. if (onloadListener) {
  7666. _iframe.contentDocument.location.reload()
  7667. } else {
  7668. _iframe.contentDocument.location.reload()
  7669. }
  7670. } else {
  7671. _iframe.onload = () => {
  7672. _iframe.contentWindow.document.body.appendChild(script1);
  7673. _iframe.contentWindow.document.body.appendChild(script2);
  7674. // _iframe.contentWindow.document.body.appendChild(script3);
  7675. _iframe.contentWindow.document.body.appendChild(script4);
  7676. };
  7677. }
  7678. _jie.onclick = async () => {
  7679. let text = ''
  7680. if (aTool == 6) {
  7681. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7682. } else if (aTool == 3) {
  7683. text = await U.MD.D.I.getEditorContent(_iframe);
  7684. }
  7685. _loading.style.display = 'flex'
  7686. console.log(_loading);
  7687. var _ajs = _iframe.contentWindow.document.createElement("script");
  7688. _ajs.type = "text/javascript";
  7689. _ajs.innerHTML =
  7690. // 'console.log(' + _loading + ');\n' +
  7691. 'var _js = document.createElement("script");\n' +
  7692. '_js.type="text/javascript";\n' +
  7693. '_js.charset="UTF-8";\n' +
  7694. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7695. "_js.onload = function(){\n" +
  7696. ' var a = document.getElementsByTagName("img")\n' +
  7697. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7698. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7699. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7700. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7701. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7702. "beforeUpload_shishi(file," +
  7703. "'" +
  7704. _userid +
  7705. "'" +
  7706. ", " +
  7707. "'" +
  7708. _cid +
  7709. "'" +
  7710. ", " +
  7711. "'" +
  7712. _stage +
  7713. "'" +
  7714. ", " +
  7715. "'" +
  7716. _task +
  7717. "'" +
  7718. ", " +
  7719. "'" +
  7720. _tool +
  7721. "'" +
  7722. ", " +
  7723. "'" +
  7724. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7725. "'" +
  7726. ", " +
  7727. "'" +
  7728. aTool +
  7729. "'" +
  7730. ", " +
  7731. "`" +
  7732. text +
  7733. "`" +
  7734. ")\n" +
  7735. " });\n" +
  7736. "}\n" +
  7737. "document.head.appendChild(_js);\n";
  7738. _iframe.contentWindow.document.head.appendChild(_ajs);
  7739. }
  7740. }
  7741. //U.MD.D.I.openClick(str);
  7742. //如果有任务栏信息
  7743. // if (_taskbar) {
  7744. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7745. // }
  7746. }
  7747. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7748. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7749. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7750. _userinfo = US.userInfo, //登录用户信息
  7751. _userid = US.userInfo.userid //登录用户id
  7752. let _iframe;
  7753. let _cid = cid,
  7754. _stage = stage,
  7755. _task = task,
  7756. _tool = tool;
  7757. var _jie = $$("div", {
  7758. "style": {
  7759. "position": "absolute",
  7760. "bottom": "50px",
  7761. "right": "50px",
  7762. "zIndex": "9999",
  7763. "backgroundColor": "#2268bc",
  7764. "color": "#fff",
  7765. "padding": "12px 20px",
  7766. "cursor": "pointer",
  7767. "borderRadius": "4px",
  7768. },
  7769. "innerHTML": "上传模板"
  7770. })
  7771. let aTool = ''
  7772. let _loading = document.createElement('div')
  7773. _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;"
  7774. // _loading.id = "";
  7775. let _lchild = document.createElement('div')
  7776. let _limg = document.createElement('img')
  7777. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7778. _limg.style = "width: 26px;margin-right: 10px;"
  7779. _lchild.appendChild(_limg)
  7780. let _lspan = document.createElement('span')
  7781. _lspan.innerHTML = "上传中..."
  7782. _lchild.appendChild(_lspan)
  7783. _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%);"
  7784. _loading.appendChild(_lchild)
  7785. var _box = $$('div', {
  7786. "style": {
  7787. "position": "relative",
  7788. "width": "100%",
  7789. "height": "100%",
  7790. },
  7791. })
  7792. _box.appendChild(_loading)
  7793. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7794. switch (str) {
  7795. case "whiteboard":
  7796. aTool = 1;
  7797. _iframe = $$("iframe", {
  7798. "frameborder": "no",
  7799. "border": "0",
  7800. "scrolling ": "no",
  7801. "style": {
  7802. "cssText": "border:0;width:100%;height:100%"
  7803. },
  7804. "src": "https://iwb.cocorobo.cn/"
  7805. })
  7806. _box.appendChild(_iframe);
  7807. _box.appendChild(_jie);
  7808. _formdiv = new U.UF.UI.form(
  7809. "电子白板",
  7810. _box, {
  7811. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7812. "style": {
  7813. "width": "90%",
  7814. "height": "90%",
  7815. "overflow": 'hidden'
  7816. },
  7817. "onresize": function () { }
  7818. }, {
  7819. closecallback: function () { }
  7820. }, {
  7821. "style": {
  7822. "height": "36px"
  7823. }
  7824. }).form; //创建窗体
  7825. _taskbar = {
  7826. "id": str + _formdiv.id,
  7827. "style": {
  7828. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7829. },
  7830. "name": "电子白板",
  7831. "forms": _formdiv,
  7832. "click": function () {
  7833. U.MD.D.I.openApplication(str, obj, info);
  7834. }
  7835. }
  7836. break;
  7837. case "mind":
  7838. aTool = 3;
  7839. _iframe = $$("iframe", {
  7840. "frameborder": "no",
  7841. "border": "0",
  7842. "scrolling ": "no",
  7843. "style": {
  7844. "cssText": "border:0;width:100%;height:100%"
  7845. },
  7846. "src": "/kityminder-editor/dist/index.html"
  7847. });
  7848. _box.appendChild(_iframe);
  7849. _box.appendChild(_jie);
  7850. _formdiv = new U.UF.UI.form(
  7851. "思维导图",
  7852. _box, { //"/jsmind/example/demo.html"
  7853. "id": "minds_Yu" + cid + stage + task + tool,
  7854. "style": {
  7855. "width": "90%",
  7856. "height": "90%",
  7857. "overflow": 'hidden'
  7858. },
  7859. "onresize": function () { }
  7860. }, {
  7861. closecallback: function () { }
  7862. }, {
  7863. "style": {
  7864. "height": "36px"
  7865. }
  7866. }).form; //创建窗体
  7867. _taskbar = {
  7868. "id": str + _formdiv.id,
  7869. "style": {
  7870. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7871. },
  7872. "name": "思维导图",
  7873. "forms": _formdiv,
  7874. "click": function () {
  7875. U.MD.D.I.openApplication(str, obj, info);
  7876. }
  7877. }
  7878. break;
  7879. case "doc":
  7880. aTool = 6;
  7881. _iframe = $$("iframe", {
  7882. "frameborder": "no",
  7883. "border": "0",
  7884. "scrolling ": "no",
  7885. "style": {
  7886. "cssText": "border:0;width:100%;height:100%"
  7887. },
  7888. "src": "/Office/Word/WordEditArea.htm"
  7889. })
  7890. _box.appendChild(_iframe);
  7891. _box.appendChild(_jie);
  7892. _formdiv = new U.UF.UI.form(
  7893. "协同文档",
  7894. _box, {
  7895. "id": "docs_Yu" + cid + stage + task + tool,
  7896. "style": {
  7897. "width": "90%",
  7898. "height": "90%",
  7899. "overflow": 'hidden'
  7900. },
  7901. "onresize": function () { }
  7902. }, {
  7903. closecallback: function () { }
  7904. }, {
  7905. "style": {
  7906. "height": "36px"
  7907. }
  7908. }).form; //创建窗体
  7909. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7910. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7911. })
  7912. _taskbar = {
  7913. "id": str + _formdiv.id,
  7914. "style": {
  7915. "backgroundImage": "url(/img/icon/doc.png)"
  7916. },
  7917. "name": "协同文档",
  7918. "forms": _formdiv,
  7919. "click": function () {
  7920. U.MD.D.I.openApplication(str, obj, info);
  7921. }
  7922. }
  7923. break;
  7924. case "CocoPi":
  7925. aTool = 57;
  7926. _iframe = $$("iframe", {
  7927. "allowpaymentrequest": "allowpaymentrequest",
  7928. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7929. "webkitallowfullscreen": "",
  7930. "mozallowfullscreen": "",
  7931. "frameborder": "no",
  7932. "border": "0",
  7933. "scrolling ": "no",
  7934. "style": {
  7935. "cssText": "border:0;width:100%;height:100%"
  7936. },
  7937. "src": "https://pi.cocorobo.cn/"
  7938. })
  7939. _box.appendChild(_iframe);
  7940. _box.appendChild(_jie);
  7941. _formdiv = new U.UF.UI.form(
  7942. "CocoPi",
  7943. _box, {
  7944. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7945. "style": {
  7946. "width": "90%",
  7947. "height": "90%",
  7948. "overflow": 'hidden'
  7949. },
  7950. "onresize": function () { }
  7951. }, {
  7952. closecallback: function () { }
  7953. }, {
  7954. "style": {
  7955. "height": "36px"
  7956. }
  7957. }).form; //创建窗体
  7958. _taskbar = {
  7959. "id": str + _formdiv.id,
  7960. "style": {
  7961. "backgroundImage": "url(/img/icon/cocopi.png)"
  7962. },
  7963. "name": "CocoPi",
  7964. "forms": _formdiv,
  7965. "click": function () {
  7966. U.MD.D.I.openApplication(str, obj, info);
  7967. }
  7968. }
  7969. break;
  7970. }
  7971. if (_iframe) {
  7972. if (str == 'doc') {
  7973. _iframe = _formdiv.querySelector('iframe')
  7974. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7975. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7976. })
  7977. if (onloadListener) {
  7978. _iframe.contentDocument.location.reload()
  7979. } else {
  7980. _iframe.contentDocument.location.reload()
  7981. }
  7982. } else if (str == 'mind') {
  7983. _iframe = _formdiv.querySelector('iframe')
  7984. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7985. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7986. })
  7987. if (onloadListener) {
  7988. _iframe.contentDocument.location.reload()
  7989. } else {
  7990. _iframe.contentDocument.location.reload()
  7991. }
  7992. } else if (str == 'whiteboard') {
  7993. _iframe = _formdiv.querySelector('iframe')
  7994. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7995. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7996. })
  7997. if (onloadListener) {
  7998. _iframe.contentDocument.location.reload()
  7999. } else {
  8000. _iframe.contentDocument.location.reload()
  8001. }
  8002. } else if (str == 'CocoPi') {
  8003. _iframe = _formdiv.querySelector('iframe')
  8004. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8005. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8006. })
  8007. if (onloadListener) {
  8008. _iframe.contentDocument.location.reload()
  8009. } else {
  8010. _iframe.contentDocument.location.reload()
  8011. }
  8012. } else {
  8013. _iframe.onload = () => { };
  8014. }
  8015. _jie.onclick = async () => {
  8016. let text = ''
  8017. let type = '2'
  8018. if (aTool == 1) {
  8019. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8020. type = '3'
  8021. } else if (aTool == 6) {
  8022. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8023. type = '1'
  8024. } else if (aTool == 3) {
  8025. text = await U.MD.D.I.getEditorContent(_iframe);
  8026. type = '2'
  8027. } else if (aTool == 57) {
  8028. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8029. type = '4'
  8030. }
  8031. _loading.style.display = 'flex'
  8032. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8033. }
  8034. }
  8035. //U.MD.D.I.openClick(str);
  8036. //如果有任务栏信息
  8037. // if (_taskbar) {
  8038. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8039. // }
  8040. }
  8041. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8042. var xmlhttp;
  8043. var Mac, Sn, DeviceId
  8044. if (window.XMLHttpRequest) {
  8045. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8046. xmlhttp = new XMLHttpRequest();
  8047. } else {
  8048. // IE6, IE5 浏览器执行代码
  8049. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8050. }
  8051. xmlhttp.onreadystatechange = function () {
  8052. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8053. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8054. // resolve(res.value[0][0].text);
  8055. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8056. }
  8057. }
  8058. }
  8059. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8060. xmlhttp.send();
  8061. }
  8062. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8063. var xmlhttp;
  8064. var Mac, Sn, DeviceId
  8065. if (window.XMLHttpRequest) {
  8066. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8067. xmlhttp = new XMLHttpRequest();
  8068. } else {
  8069. // IE6, IE5 浏览器执行代码
  8070. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8071. }
  8072. xmlhttp.onreadystatechange = function () {
  8073. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8074. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8075. // resolve(res.value[0][0].text);
  8076. if (type == '2') {
  8077. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8078. } else if (type == '3') {
  8079. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8080. } else if (type == '4') {
  8081. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8082. }
  8083. } else {
  8084. if (type == '2') {
  8085. iframe.contentWindow.editor.minder.importData('json', '')
  8086. } else if (type == '3') {
  8087. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8088. } else if (type == '4') {
  8089. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8090. }
  8091. }
  8092. }
  8093. }
  8094. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8095. xmlhttp.send();
  8096. }
  8097. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8098. var xmlhttp;
  8099. var Mac, Sn, DeviceId
  8100. if (window.XMLHttpRequest) {
  8101. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8102. xmlhttp = new XMLHttpRequest();
  8103. } else {
  8104. // IE6, IE5 浏览器执行代码
  8105. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8106. }
  8107. xmlhttp.onreadystatechange = function () {
  8108. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8109. if (xmlhttp.response) {
  8110. // resolve(res.value[0][0].text);
  8111. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8112. // $(fileInput).val('');
  8113. // });
  8114. span.innerHTML = '上传成功'
  8115. setTimeout(() => {
  8116. loading.style.display = 'none'
  8117. }, 1000);
  8118. }
  8119. }
  8120. }
  8121. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8122. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8123. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8124. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8125. // 设置请求头,表示请求体的编码格式
  8126. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8127. // 设置请求体,使用url-encoded格式的数据
  8128. }
  8129. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8130. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8131. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8132. _userinfo = US.userInfo, //登录用户信息
  8133. _userid = US.userInfo.userid //登录用户id
  8134. let _iframe;
  8135. let _cid = cid,
  8136. _stage = stage,
  8137. _task = task,
  8138. _tool = tool;
  8139. var _jie = $$("div", {
  8140. "style": {
  8141. "position": "absolute",
  8142. "bottom": "50px",
  8143. "right": "50px",
  8144. "zIndex": "9999",
  8145. "backgroundColor": "#2268bc",
  8146. "color": "#fff",
  8147. "padding": "12px 20px",
  8148. "cursor": "pointer",
  8149. "borderRadius": "4px",
  8150. },
  8151. "innerHTML": "提交作业"
  8152. })
  8153. let aTool = ''
  8154. let _loading = document.createElement('div')
  8155. _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;"
  8156. // _loading.id = "";
  8157. let _lchild = document.createElement('div')
  8158. let _limg = document.createElement('img')
  8159. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8160. _limg.style = "width: 26px;margin-right: 10px;"
  8161. _lchild.appendChild(_limg)
  8162. let _lspan = document.createElement('span')
  8163. _lspan.innerHTML = "上传中..."
  8164. _lchild.appendChild(_lspan)
  8165. _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%);"
  8166. _loading.appendChild(_lchild)
  8167. var _box = $$('div', {
  8168. "style": {
  8169. "position": "relative",
  8170. "width": "100%",
  8171. "height": "100%",
  8172. },
  8173. })
  8174. _box.appendChild(_loading)
  8175. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8176. switch (str) {
  8177. case "CocoPi":
  8178. aTool = 57;
  8179. _iframe = $$("iframe", {
  8180. "allowpaymentrequest": "allowpaymentrequest",
  8181. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8182. "webkitallowfullscreen": "",
  8183. "mozallowfullscreen": "",
  8184. "frameborder": "no",
  8185. "border": "0",
  8186. "scrolling ": "no",
  8187. "style": {
  8188. "cssText": "border:0;width:100%;height:100%"
  8189. },
  8190. "src": "https://pi.cocorobo.cn/"
  8191. })
  8192. _box.appendChild(_iframe);
  8193. _box.appendChild(_jie);
  8194. _formdiv = new U.UF.UI.form(
  8195. "CocoPi",
  8196. _box, {
  8197. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8198. "style": {
  8199. "width": "90%",
  8200. "height": "90%",
  8201. "overflow": 'hidden'
  8202. },
  8203. "onresize": function () { }
  8204. }, {
  8205. closecallback: function () { }
  8206. }, {
  8207. "style": {
  8208. "height": "36px"
  8209. }
  8210. }).form; //创建窗体
  8211. _taskbar = {
  8212. "id": str + _formdiv.id,
  8213. "style": {
  8214. "backgroundImage": "url(/img/icon/cocopi.png)"
  8215. },
  8216. "name": "CocoPi",
  8217. "forms": _formdiv,
  8218. "click": function () {
  8219. U.MD.D.I.openApplication(str, obj, info);
  8220. }
  8221. }
  8222. break;
  8223. }
  8224. if (_iframe) {
  8225. if (str == 'CocoPi') {
  8226. _iframe = _formdiv.querySelector('iframe')
  8227. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8228. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8229. })
  8230. if (onloadListener) {
  8231. _iframe.contentDocument.location.reload()
  8232. } else {
  8233. _iframe.contentDocument.location.reload()
  8234. }
  8235. }
  8236. _jie.onclick = async () => {
  8237. let text = ''
  8238. if (aTool == 57) {
  8239. text = _iframe.contentWindow.getLoadXmlStr()
  8240. }
  8241. _loading.style.display = 'flex'
  8242. console.log(_loading);
  8243. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8244. _loading.style.display = 'none'
  8245. let _div = document.createElement('div')
  8246. _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;"
  8247. let _inner = document.createElement('div')
  8248. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8249. _inner.innerHTML = "上传成功"
  8250. _div.appendChild(_inner)
  8251. _iframe.contentWindow.window.document.body.appendChild(_div)
  8252. _div.onclick = () => {
  8253. _iframe.contentWindow.window.document.body.removeChild(_div)
  8254. }
  8255. setTimeout(() => {
  8256. _iframe.contentWindow.window.document.body.removeChild(_div)
  8257. }, 1000);
  8258. }, [], { "type": "POST", "withCredentials": true });
  8259. }
  8260. }
  8261. }
  8262. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8263. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8264. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8265. _userid = student.userid, //登录用户id
  8266. _username = student.student //用户名字
  8267. let _iframe;
  8268. let _cid = cid,
  8269. _stage = stage,
  8270. _task = task,
  8271. _tool = tool;
  8272. var _jie = $$("div", {
  8273. "style": {
  8274. "position": "absolute",
  8275. "bottom": "50px",
  8276. "right": "50px",
  8277. "zIndex": "9999",
  8278. "backgroundColor": "#2268bc",
  8279. "color": "#fff",
  8280. "padding": "12px 20px",
  8281. "cursor": "pointer",
  8282. "borderRadius": "4px",
  8283. },
  8284. "innerHTML": "提交作业"
  8285. })
  8286. let aTool = ''
  8287. let _loading = document.createElement('div')
  8288. _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;"
  8289. // _loading.id = "";
  8290. let _lchild = document.createElement('div')
  8291. let _limg = document.createElement('img')
  8292. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8293. _limg.style = "width: 26px;margin-right: 10px;"
  8294. _lchild.appendChild(_limg)
  8295. let _lspan = document.createElement('span')
  8296. _lspan.innerHTML = "上传中..."
  8297. _lchild.appendChild(_lspan)
  8298. _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%);"
  8299. _loading.appendChild(_lchild)
  8300. var _box = $$('div', {
  8301. "style": {
  8302. "position": "relative",
  8303. "width": "100%",
  8304. "height": "100%",
  8305. },
  8306. })
  8307. _box.appendChild(_loading)
  8308. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8309. switch (str) {
  8310. case "CocoPi":
  8311. aTool = 57;
  8312. _iframe = $$("iframe", {
  8313. "allowpaymentrequest": "allowpaymentrequest",
  8314. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8315. "webkitallowfullscreen": "",
  8316. "mozallowfullscreen": "",
  8317. "frameborder": "no",
  8318. "border": "0",
  8319. "scrolling ": "no",
  8320. "style": {
  8321. "cssText": "border:0;width:100%;height:100%"
  8322. },
  8323. "src": "https://pi.cocorobo.cn/"
  8324. })
  8325. _box.appendChild(_iframe);
  8326. _box.appendChild(_jie);
  8327. _formdiv = new U.UF.UI.form(
  8328. "CocoPi-" + _username,
  8329. _box, {
  8330. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8331. "style": {
  8332. "width": "90%",
  8333. "height": "90%",
  8334. "overflow": 'hidden'
  8335. },
  8336. "onresize": function () { }
  8337. }, {
  8338. closecallback: function () { }
  8339. }, {
  8340. "style": {
  8341. "height": "36px"
  8342. }
  8343. }).form; //创建窗体
  8344. _taskbar = {
  8345. "id": str + _formdiv.id,
  8346. "style": {
  8347. "backgroundImage": "url(/img/icon/cocopi.png)"
  8348. },
  8349. "name": "CocoPi",
  8350. "forms": _formdiv,
  8351. "click": function () {
  8352. U.MD.D.I.openApplication(str, obj, info);
  8353. }
  8354. }
  8355. break;
  8356. }
  8357. if (_iframe) {
  8358. if (str == 'CocoPi') {
  8359. _iframe = _formdiv.querySelector('iframe')
  8360. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8361. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8362. })
  8363. if (onloadListener) {
  8364. _iframe.contentDocument.location.reload()
  8365. } else {
  8366. _iframe.contentDocument.location.reload()
  8367. }
  8368. }
  8369. _jie.onclick = async () => {
  8370. let text = ''
  8371. if (aTool == 57) {
  8372. text = _iframe.contentWindow.getLoadXmlStr()
  8373. }
  8374. _loading.style.display = 'flex'
  8375. console.log(_loading);
  8376. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8377. _loading.style.display = 'none'
  8378. let _div = document.createElement('div')
  8379. _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;"
  8380. let _inner = document.createElement('div')
  8381. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8382. _inner.innerHTML = "上传成功"
  8383. _div.appendChild(_inner)
  8384. _iframe.contentWindow.window.document.body.appendChild(_div)
  8385. _div.onclick = () => {
  8386. _iframe.contentWindow.window.document.body.removeChild(_div)
  8387. }
  8388. setTimeout(() => {
  8389. _iframe.contentWindow.window.document.body.removeChild(_div)
  8390. }, 1000);
  8391. }, [], { "type": "POST", "withCredentials": true });
  8392. }
  8393. }
  8394. }
  8395. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8396. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8397. if (res.value[0].length > 0) {
  8398. if (atool == 57) {
  8399. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8400. }
  8401. } else {
  8402. if (atool == 57) {
  8403. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8404. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8405. }
  8406. }
  8407. }, [], { "type": "POST", "withCredentials": true });
  8408. }