DeskTop.js 488 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  186. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  188. ];
  189. U.MD.D.I.orgStemDeskIcon = [
  190. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  191. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  192. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  193. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  194. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  195. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  196. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  197. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  198. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  199. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  200. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  201. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  202. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  203. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  204. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  205. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  210. ];
  211. U.MD.D.I.szulsDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  215. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  216. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  217. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  218. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  219. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  220. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  224. ];
  225. U.MD.D.I.hanDeskIcon = [
  226. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  227. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  228. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  229. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  230. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  231. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  232. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  235. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  238. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  239. ];
  240. U.MD.D.I.GMteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  242. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  243. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  248. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  249. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  250. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  251. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  252. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  253. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  254. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  255. ];
  256. U.MD.D.I.GMstudentDeskIcon = [
  257. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  258. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  259. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  260. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  261. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  262. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  263. ];
  264. //北师大
  265. U.MD.D.I.BSDNSteacherDeskIcon = [
  266. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  267. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  268. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  269. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  270. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  271. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  272. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  273. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  274. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  275. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  276. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  277. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  278. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  279. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  280. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  281. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  282. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  283. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  284. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  285. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  286. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  287. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  288. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  289. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  290. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  291. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  292. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  293. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  294. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  295. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  296. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  297. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  298. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  299. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  300. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  301. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  302. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  303. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  304. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  305. ];
  306. //松山湖
  307. U.MD.D.I.SONGteacherDeskIcon = [
  308. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  309. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  310. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  311. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  312. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  313. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  314. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  317. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  318. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  319. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  320. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  321. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  322. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  323. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  324. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  325. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  326. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  327. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  328. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  329. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  330. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  331. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  332. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  333. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  334. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  335. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  336. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  337. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  338. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  340. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  341. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  342. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  343. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  344. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  345. ];
  346. U.MD.D.I.tcStudentDeskIcon = [
  347. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.tcTeacherDeskIcon = [
  353. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  354. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  355. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  364. ];
  365. U.MD.D.I.tcOrganizerDeskIcon = [
  366. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  369. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  372. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  377. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  378. ];
  379. U.MD.D.I.szscStudentDeskIcon = [
  380. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  383. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  384. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.szscTeacherDeskIcon = [
  387. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  399. ];
  400. U.MD.D.I.szscOrganizerDeskIcon = [
  401. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  406. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  407. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  411. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  412. ];
  413. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  424. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  425. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  426. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  427. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  429. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  431. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  432. ];
  433. U.MD.D.I.wankeAdminDeskIcon = [
  434. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  445. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  446. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  449. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  452. ];
  453. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  469. ];
  470. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  481. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  484. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  485. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  486. ];
  487. //明德教师桌面图标的全局变量
  488. U.MD.D.I.MingdeTeacherDeskIcon = [
  489. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  492. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  493. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  494. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  495. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  496. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  497. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  498. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  499. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  500. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  501. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  502. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  503. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  504. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  505. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  506. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  507. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  508. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  509. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  510. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  511. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  512. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  513. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  514. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  515. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  516. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  517. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  521. ];
  522. //97c4ee8b-d010-4042-986d-e9d3c217264f
  523. //教师桌面图标的全局变量
  524. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  525. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  532. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  533. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  536. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  537. ];
  538. //福田
  539. U.MD.D.I.futianTeacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  545. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  546. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  548. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  552. ];
  553. //福田
  554. U.MD.D.I.futianAdminDeskIcon = [
  555. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  564. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //lotech
  567. U.MD.D.I.lotechTeacherDeskIcon = [
  568. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  584. ];
  585. //龙华中心小学教师桌面图标的全局变量
  586. U.MD.D.I.longhuateacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  594. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  595. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  596. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  597. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  598. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesteacherDeskIcon = [
  604. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  605. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  607. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  614. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  615. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  619. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  623. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  624. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  625. ];
  626. //教科院实小教师桌面图标的全局变量
  627. U.MD.D.I.siesStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  632. ];
  633. //福田
  634. U.MD.D.I.gdjgTeacherDeskIcon = [
  635. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  640. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  641. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  642. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  644. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  646. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  647. ];
  648. //gdjg
  649. U.MD.D.I.gdjgAdminDeskIcon = [
  650. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  651. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  653. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  654. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  655. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  656. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  657. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  658. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  660. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  661. ];
  662. //hk
  663. U.MD.D.I.hkteacherDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  667. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  668. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  671. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  672. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  673. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  674. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  675. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  677. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  679. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  681. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  682. ];
  683. //hk
  684. U.MD.D.I.hkStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkaceteacherDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  697. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  703. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  704. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  705. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  706. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  707. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  708. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  709. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  710. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  711. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  712. ];
  713. //hk
  714. U.MD.D.I.hkaceStudentDeskIcon = [
  715. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  716. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  717. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  718. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  721. ];
  722. //香海正覺蓮社佛教正覺中學
  723. U.MD.D.I.hkZJLSteacherDeskIcon = [
  724. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  725. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  726. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  727. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  733. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  734. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  735. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  736. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  740. ];
  741. //香海正覺蓮社佛教正覺中學
  742. U.MD.D.I.hkZJLSStudentDeskIcon = [
  743. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. ];
  748. //云海
  749. U.MD.D.I.yunhaiTeacherDeskIcon = [
  750. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  751. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  752. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  753. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  754. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  755. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  756. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  757. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  758. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  759. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  760. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  761. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  762. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  763. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  764. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  765. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  766. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  767. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  768. ];
  769. //福田
  770. U.MD.D.I.heyuanTeacherDeskIcon = [
  771. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  772. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  773. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  774. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  775. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  776. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  777. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  778. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  779. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanAdminDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  794. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  799. U.MD.D.I.szherTeacherDeskIcon = [
  800. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //dsei
  813. U.MD.D.I.dseiTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  817. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  823. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  824. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  825. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  826. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  827. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  828. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  829. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  830. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  831. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  832. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  833. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  834. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  835. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  836. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  837. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  838. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  839. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  840. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  841. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  842. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  843. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  844. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  845. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  846. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  847. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  848. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  849. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  850. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  851. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  853. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  854. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  855. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  856. ];
  857. //dsei
  858. U.MD.D.I.dseiAdminDeskIcon = [
  859. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  860. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  861. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  862. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  863. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  864. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  865. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  866. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  867. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  868. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  869. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  870. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  871. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  872. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  873. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  874. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  875. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  876. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  877. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  878. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  879. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  880. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  881. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  882. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  883. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  884. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  885. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  886. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  887. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  888. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  889. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  890. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  891. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  892. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  893. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  894. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  895. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  896. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  898. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  899. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  900. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  901. ];
  902. //dsei
  903. U.MD.D.I.dseiStudentDeskIcon = [
  904. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  908. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  910. ];
  911. //未来教育基地
  912. U.MD.D.I.szjkyTeacherDeskIcon = [
  913. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  914. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  915. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  916. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  917. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  918. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  919. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  920. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  921. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  922. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  923. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  924. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  925. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  927. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  928. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  929. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  930. ];
  931. //未来教育基地
  932. U.MD.D.I.szjkyAdminDeskIcon = [
  933. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  934. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  935. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  936. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  937. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  938. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  939. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  940. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  941. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  942. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  943. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  944. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  945. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  946. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  947. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  949. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyStudentDeskIcon = [
  953. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  957. ];
  958. //成华教育局
  959. U.MD.D.I.chjyjTeacherDeskIcon = [
  960. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  961. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  962. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  963. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  964. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  965. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  969. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  970. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  972. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  973. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. ];
  975. //成华教育局chjyj
  976. U.MD.D.I.chjyjAdminDeskIcon = [
  977. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  978. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  979. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  980. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  981. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  982. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  983. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  984. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  985. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  986. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  987. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  988. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  989. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  990. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  991. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  992. ];
  993. //成华教育局chjyj
  994. U.MD.D.I.chjyjStudentDeskIcon = [
  995. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  996. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  997. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  998. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  999. ];
  1000. //tpc
  1001. U.MD.D.I.tpcStudentDeskIcon = [
  1002. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1006. ];
  1007. //tpc
  1008. U.MD.D.I.tpcTeacherDeskIcon = [
  1009. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1010. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //tpc
  1018. U.MD.D.I.tpcAdminDeskIcon = [
  1019. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1020. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1021. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1022. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1023. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1024. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1025. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1026. ];
  1027. //THU-IOE
  1028. U.MD.D.I.thuioeTeacherDeskIcon = [
  1029. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1030. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1031. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1032. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1036. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1037. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1038. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1039. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1040. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1041. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1042. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1043. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1044. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1045. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1046. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1047. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1048. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1049. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1050. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1051. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1052. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1053. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1054. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1055. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1056. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1057. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1058. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1059. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1060. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1061. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1062. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1063. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1064. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1065. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1066. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1067. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1068. ];
  1069. //THU-IOE
  1070. U.MD.D.I.thuioeStudentDeskIcon = [
  1071. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1072. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1073. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1074. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. ];
  1076. //jccssyl
  1077. U.MD.D.I.jccssylTeacherDeskIcon = [
  1078. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1079. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1080. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1081. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1082. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1083. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1084. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1085. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1086. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1087. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1088. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1089. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1090. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1091. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1092. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1093. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1094. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1095. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylStudentDeskIcon = [
  1099. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1100. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1101. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1103. ];
  1104. //#region 桌面初始化a
  1105. /**
  1106. * 初始化桌面的起始函数
  1107. *
  1108. */
  1109. U.MD.D.I.init = function () {
  1110. if ($("#U_MD_D_K")[0]) {
  1111. //初始化桌面图标
  1112. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1113. // var clickUrl = ':12588/requestIp.php';
  1114. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1115. // U.MD.D.I.Ip = data;
  1116. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1117. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1118. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1119. // })
  1120. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1121. // })
  1122. }
  1123. }
  1124. /**
  1125. * 模式切换
  1126. *
  1127. */
  1128. U.MD.D.I.ModeCheck = function (type) {
  1129. if (US.Config.type == type) {
  1130. return
  1131. }
  1132. US.Config.type = type
  1133. $('.U_PBL_Check .active')[0].className = ''
  1134. if (type == 1) {
  1135. $('.U_PBL_Check div')[0].className = 'active'
  1136. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1137. } else {
  1138. $('.U_PBL_Check div')[1].className = 'active'
  1139. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1140. }
  1141. //初始化桌面图标
  1142. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1143. if (type == 2) {
  1144. U.MD.D.I.openApplication("project")
  1145. }
  1146. }
  1147. /**
  1148. * 隐藏任务栏
  1149. *
  1150. * @param {element} 桌面元素
  1151. */
  1152. U.MD.D.I.hiddenTaskbar = function (el) {
  1153. //任务栏位置变小
  1154. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1155. //桌面的位置变大
  1156. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1157. }
  1158. /**
  1159. * 隐藏任务栏
  1160. *
  1161. * @param {element} 桌面元素
  1162. */
  1163. U.MD.D.I.hiddenTaskbarout = function (el) {
  1164. //任务栏位置变小
  1165. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1166. //任务栏位置变化
  1167. U.selectEl(el).css({ "bottom": "-60px" });
  1168. //桌面的位置变大
  1169. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1170. }
  1171. }
  1172. /**
  1173. * 初始化打印桌面图标
  1174. *
  1175. * @param {element} 桌面元素
  1176. */
  1177. U.MD.D.I.initDesktopIcons = function (el, type) {
  1178. var i, //用于循环
  1179. _content, //桌面图标元素
  1180. _iconcontent, //桌面图标元素
  1181. _frag = $$("frag"), //定义一个碎片元素
  1182. _type = US.userInfo.type,
  1183. _org = US.userInfo.org,
  1184. _oid = US.userInfo.organizeid,
  1185. _role = US.userInfo.role,
  1186. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1187. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1188. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1189. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1190. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1191. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1192. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1193. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1194. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1195. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1196. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1197. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1198. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1199. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1200. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1201. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1202. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1203. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1204. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1205. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1206. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1207. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1208. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1209. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1210. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1211. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1212. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1213. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1214. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1215. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1216. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1217. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1218. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1219. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1220. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1221. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1222. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1223. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1224. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1225. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1226. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1227. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1228. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1229. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1230. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1231. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1232. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1233. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1234. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1235. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1236. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1237. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1238. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1239. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1240. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1241. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1242. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1243. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1244. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1245. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1246. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1247. 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'];
  1248. 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'];
  1249. //清楚桌面图标
  1250. el.innerHTML = "";
  1251. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1252. _teacherDesktopIconInfo.push(
  1253. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1254. { "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)" } },
  1255. )
  1256. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1257. }
  1258. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1259. _teacherDesktopIconInfo.push(
  1260. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1261. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1262. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1263. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1264. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1265. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1266. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1267. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1268. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1269. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1270. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1271. )
  1272. }
  1273. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1274. // _teacherDesktopIconInfo.push(
  1275. // )
  1276. // }
  1277. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1278. _teacherDesktopIconInfo.push(
  1279. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1280. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1281. )
  1282. }
  1283. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1284. _teacherDesktopIconInfo.push(
  1285. )
  1286. }
  1287. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1288. _teacherDesktopIconInfo.push(
  1289. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1290. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1291. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1292. )
  1293. _studentDesktopIconInfo.push(
  1294. )
  1295. }
  1296. //麒麟二中 和 民新小学
  1297. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1298. _teacherDesktopIconInfo.push(
  1299. )
  1300. }
  1301. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1302. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1303. _teacherDesktopIconInfo.push(
  1304. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1305. )
  1306. }
  1307. //麒麟二中
  1308. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1309. _studentDesktopIconInfo.push(
  1310. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1311. )
  1312. }
  1313. //万科双语
  1314. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1315. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1316. if (el.Name == '项目管理') {
  1317. el.Name = 'PBL项目'
  1318. }
  1319. return el
  1320. })
  1321. _studentDesktopIconInfo3.push(
  1322. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1323. )
  1324. }
  1325. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1326. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1327. return el.Name != '魔盒识字' && el.Name != '24点'
  1328. })
  1329. }
  1330. 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) {
  1331. _studentDesktopIconInfo.push(
  1332. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1333. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1334. )
  1335. }
  1336. //循环创建桌面图标
  1337. if (type == 1) {
  1338. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1339. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_studentDesktopIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_studentDesktopIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hkZJLSStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. } //
  1372. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1373. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_jccssylStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_jccssylStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1390. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_thuioeStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_thuioeStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1407. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_tpcStudentDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_tpcStudentDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1422. } //
  1423. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1424. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_chjyjStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_chjyjStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1441. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_szjkyStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szjkyStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1458. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_dseiStudentDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_dseiStudentDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1475. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_siesStudentDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_siesStudentDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1492. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_hkStudentDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_hkStudentDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1509. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkaceStudentDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkaceStudentDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1526. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_studentDesktopIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_studentDesktopIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1543. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_tcStudentDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tcStudentDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1560. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_szscStudentDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_szscStudentDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1577. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_studentDesktopIconInfo3[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_studentDesktopIconInfo3[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1592. }
  1593. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1594. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_studentDesktopIconInfo2[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_studentDesktopIconInfo2[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1611. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_wanketeacherDesktopIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_wanketeacherDesktopIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1628. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_wankeAdminDesktopIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_wankeAdminDesktopIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1645. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_jccssylTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_jccssylTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1662. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_tpcOrganizerDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_tpcOrganizerDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1679. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_tpcTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_tpcTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1696. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_teacherDesktopIconInfo2[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_teacherDesktopIconInfo2[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1713. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_thuioeTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_thuioeTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1730. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_lotechTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_lotechTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. }//
  1746. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1747. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_siesTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_siesTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1764. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_longhuaTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_longhuaTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1781. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_yunhaiTeacherDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1796. } //_hkStudentDeskIconInfo
  1797. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1798. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1815. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_hkTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_hkTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1832. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hkaceTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hkaceTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1849. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_gdjgAdminDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_gdjgAdminDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1866. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_gdjgTeacherDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_gdjgTeacherDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1883. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szherTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szherTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1900. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_heyuannAdminDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_heyuannAdminDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1917. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_heyuanTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_heyuanTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. } //
  1933. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1934. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_dseiAdminDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_dseiAdminDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1951. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_dseiTeacherDeskIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_dseiTeacherDeskIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1966. } //
  1967. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1968. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_chjyjAdminDeskIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_chjyjAdminDeskIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1983. }//
  1984. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1985. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_chjyjTeacherDeskIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_chjyjTeacherDeskIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2002. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_szjkyAdminDeskIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_szjkyAdminDeskIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2017. }//
  2018. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2019. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szjkyTeacherDeskIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szjkyTeacherDeskIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2036. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_futianAdminDeskIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_futianAdminDeskIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2053. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_futianTeacherDeskIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_futianTeacherDeskIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2070. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_MingdeTeacherDeskIcon[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_MingdeTeacherDeskIcon[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2087. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_lhsAdminDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_lhsAdminDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2104. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_lhsteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_lhsteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2121. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_zhoujiateacherDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2138. for (i = 0; i < _hanDeskIcon.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_hanDeskIcon[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_hanDeskIcon[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2155. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_orgStemDeskIcon[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_orgStemDeskIcon[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2172. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_szulsDeskIcon[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szulsDeskIcon[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2189. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_orgDesktopIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_orgDesktopIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2206. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_schoolDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_schoolDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2223. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_GMteacherDesktopIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function (obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_GMteacherDesktopIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2240. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2241. _content = $$("div", {
  2242. className: "U_MD_D_KO",
  2243. "onmousedown": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_SONGteacherDesktopIconInfo[i]]),
  2247. "onclick": U.UF.C.closure(function (obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_SONGteacherDesktopIconInfo[i]])
  2251. }, _frag); //
  2252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2255. }
  2256. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2257. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2258. _content = $$("div", {
  2259. className: "U_MD_D_KO",
  2260. "onmousedown": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_GMstudentDesktopIconInfo[i]]),
  2264. "onclick": U.UF.C.closure(function (obj) {
  2265. //防止拖动图标即打开了桌面应用
  2266. U.MD.D.click(this, obj);
  2267. }, [_GMstudentDesktopIconInfo[i]])
  2268. }, _frag); //
  2269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2272. }
  2273. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2274. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2275. _content = $$("div", {
  2276. className: "U_MD_D_KO",
  2277. "onmousedown": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_tcTeacherDeskIconInfo[i]]),
  2281. "onclick": U.UF.C.closure(function (obj) {
  2282. //防止拖动图标即打开了桌面应用
  2283. U.MD.D.click(this, obj);
  2284. }, [_tcTeacherDeskIconInfo[i]])
  2285. }, _frag); //
  2286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2289. }
  2290. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2291. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2292. _content = $$("div", {
  2293. className: "U_MD_D_KO",
  2294. "onmousedown": U.UF.C.closure(function (obj) {
  2295. //防止拖动图标即打开了桌面应用
  2296. U.MD.D.click(this, obj);
  2297. }, [_tcOrganizerDeskIconInfo[i]]),
  2298. "onclick": U.UF.C.closure(function (obj) {
  2299. //防止拖动图标即打开了桌面应用
  2300. U.MD.D.click(this, obj);
  2301. }, [_tcOrganizerDeskIconInfo[i]])
  2302. }, _frag); //
  2303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2306. }
  2307. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2308. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2309. _content = $$("div", {
  2310. className: "U_MD_D_KO",
  2311. "onmousedown": U.UF.C.closure(function (obj) {
  2312. //防止拖动图标即打开了桌面应用
  2313. U.MD.D.click(this, obj);
  2314. }, [_szscTeacherDeskIconInfo[i]]),
  2315. "onclick": U.UF.C.closure(function (obj) {
  2316. //防止拖动图标即打开了桌面应用
  2317. U.MD.D.click(this, obj);
  2318. }, [_szscTeacherDeskIconInfo[i]])
  2319. }, _frag); //
  2320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2323. }
  2324. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2325. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2326. _content = $$("div", {
  2327. className: "U_MD_D_KO",
  2328. "onmousedown": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szscOrganizerDeskIconInfo[i]]),
  2332. "onclick": U.UF.C.closure(function (obj) {
  2333. //防止拖动图标即打开了桌面应用
  2334. U.MD.D.click(this, obj);
  2335. }, [_szscOrganizerDeskIconInfo[i]])
  2336. }, _frag); //
  2337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2340. }
  2341. } else {
  2342. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2343. _content = $$("div", {
  2344. className: "U_MD_D_KO",
  2345. "onmousedown": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_teacherDesktopIconInfo[i]]),
  2349. "onclick": U.UF.C.closure(function (obj) {
  2350. //防止拖动图标即打开了桌面应用
  2351. U.MD.D.click(this, obj);
  2352. }, [_teacherDesktopIconInfo[i]])
  2353. }, _frag); //
  2354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2357. }
  2358. }
  2359. } else {
  2360. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2361. _content = $$("div", {
  2362. className: "U_MD_D_KO",
  2363. style: { 'width': '124px', 'height': '145px' },
  2364. "onmousedown": U.UF.C.closure(function (obj) {
  2365. //防止拖动图标即打开了桌面应用
  2366. U.MD.D.click(this, obj);
  2367. }, [_easyDesktopIconInfo[i]]),
  2368. "onclick": U.UF.C.closure(function (obj) {
  2369. //防止拖动图标即打开了桌面应用
  2370. U.MD.D.click(this, obj);
  2371. }, [_easyDesktopIconInfo[i]])
  2372. }, _frag); //
  2373. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2376. }
  2377. }
  2378. if (type == 1) {
  2379. //加载好后给图标定位
  2380. U.MD.D.iconPostion($(_frag).Child());
  2381. } else {
  2382. //加载好后给图标定位
  2383. U.MD.D.iconPostion2($(_frag).Child());
  2384. }
  2385. //把图标加载到页面
  2386. el.appendChild(_frag);
  2387. }
  2388. /**
  2389. * 显示任务栏
  2390. *
  2391. * @param {element} 桌面元素
  2392. */
  2393. U.MD.D.I.displayTaskbar = function (el) {
  2394. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2395. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2396. //任务栏位置变化
  2397. U.selectEl(el).css({ "bottom": "0px" });
  2398. //桌面位置变话
  2399. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2400. }
  2401. }
  2402. //#region 桌面图标拖动逻辑
  2403. /**
  2404. * 桌面排列图标
  2405. *
  2406. * @param {element} 桌面元素
  2407. * @param {object} 上下相距的距离
  2408. * @param {object} 左右相距的距离
  2409. * @return {object} 命名空间
  2410. */
  2411. U.MD.D.iconPostion = function (childs, top, left) {
  2412. var i; //用于循环处理
  2413. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2414. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2415. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2416. for (i = 0; i < childs.length; i++) {
  2417. //如果竖排top超过了范围处理
  2418. if (top + 95 > US.height - 10) {
  2419. //left超过了页面范围处理,则向上重叠打印处理
  2420. if ((left + 180) > US.width) {
  2421. top -= 110;
  2422. left -= 90;
  2423. }
  2424. //没有超过范围,那么left+90添加到下一个竖排打印
  2425. else {
  2426. left += 90;
  2427. top = 15;
  2428. };
  2429. }
  2430. //给图标的位置赋值
  2431. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2432. if (i < childs.length - 1) {
  2433. //页面图标每次向下加95
  2434. top += 95;
  2435. }
  2436. }
  2437. //返回最后调用的图标的位置
  2438. return [top, left];
  2439. }
  2440. /**
  2441. * 桌面排列图标
  2442. *
  2443. * @param {element} 桌面元素
  2444. * @param {object} 上下相距的距离
  2445. * @param {object} 左右相距的距离
  2446. * @return {object} 命名空间
  2447. */
  2448. U.MD.D.iconPostion2 = function (childs, top, left) {
  2449. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2450. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2451. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2452. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2453. for (i = 0; i < childs.length; i++) {
  2454. //如果竖排top超过了范围处理
  2455. if (left + 150 > US.width - 10) {
  2456. //left超过了页面范围处理,则向上重叠打印处理
  2457. if ((top + 180) > US.Height) {
  2458. top -= 150;
  2459. left -= 150;
  2460. }
  2461. //没有超过范围,那么left+90添加到下一个竖排打印
  2462. else {
  2463. top += 150;
  2464. left = ol;
  2465. };
  2466. }
  2467. //给图标的位置赋值
  2468. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2469. if (i < childs.length - 1) {
  2470. //页面图标每次向下加95
  2471. left += 150;
  2472. }
  2473. }
  2474. //返回最后调用的图标的位置
  2475. return [top, left];
  2476. }
  2477. /**
  2478. * 桌面点击事件逻辑
  2479. *
  2480. * @param {element} 桌面元素
  2481. * @param {object} 上下相距的距离
  2482. * @param {object} 左右相距的距离
  2483. * @return {object} 命名空间
  2484. */
  2485. U.MD.D.click = function (el, obj) {
  2486. var _buttonnumber = event.button; //点击的按钮的事件值
  2487. var _userinfo = US.userInfo;
  2488. U.UF.EV.stopBubble(); //阻止向上冒泡
  2489. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2490. if (_buttonnumber < 2) {
  2491. //如果是click事件的处理
  2492. if (event.type == "click") {
  2493. //如果元素在mousemove事件中没有移动则出发click事件
  2494. if (!U.MD.D.I.IsDrag) {
  2495. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2496. U.alert("请先登录您的账号!");
  2497. setTimeout(() => {
  2498. U.MD.U.L.login();
  2499. }, 2000);
  2500. } else {
  2501. //打开应用处理
  2502. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2503. }
  2504. }
  2505. }
  2506. //如果是mouse事件的处理
  2507. else {
  2508. if (US.Config.type == '1') {
  2509. //拖动处理,添加拖动和拖动结束事件
  2510. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2511. }
  2512. }
  2513. U.MD.D.I.IsDrag = false;
  2514. }
  2515. }
  2516. /**
  2517. * 拖动的处理
  2518. *
  2519. */
  2520. U.MD.D.iconMove = function () {
  2521. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2522. U.MD.D.I.IsDrag = true;
  2523. }
  2524. /**
  2525. * 拖动结束后,这里是定位处理,以网状的形式定位
  2526. *
  2527. * @param {element} 拖动的元素
  2528. * @return {object} 命名空间
  2529. */
  2530. U.MD.D.iconUp = function (el) {
  2531. var _top = 15,
  2532. _left = 20,
  2533. _margin,
  2534. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2535. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2536. if (_positioninfo["OT"] > 15) {
  2537. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2538. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2539. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2540. }
  2541. if (_positioninfo["OL"] > 20) {
  2542. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2543. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2544. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2545. }
  2546. //while循环判断么一个重叠的元素
  2547. do {
  2548. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2549. _top = _positioninfo[0] + 95; //得到定位后的top
  2550. _left = _positioninfo[1]; //得到定位后的left
  2551. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2552. }
  2553. /**
  2554. * 判断拖动后图标是否重叠
  2555. *
  2556. * @param {element} 拖动的元素
  2557. * @param {element} 桌面所有的元素
  2558. * @param {array} 拖动元素的位置
  2559. ----------[0] 上 top
  2560. ----------[1] 左 left
  2561. * @return {object} 命名空间
  2562. */
  2563. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2564. //循环所有的图标
  2565. for (var i = 0; i < childs.length; i++) {
  2566. //判断有没有和该图标诶子重叠的元素
  2567. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2568. return childs[i]; //如果有返回
  2569. }
  2570. }
  2571. }
  2572. //#endregion
  2573. //#endregion
  2574. //#region 桌面应用
  2575. /**
  2576. * 打开应用
  2577. *
  2578. * @param {string} 类型
  2579. -----------------Disk 网盘系统
  2580. -----------------PDisk 学习系统网盘
  2581. -----------------Poto 图片
  2582. -----------------Video 视频
  2583. -----------------Music 音乐
  2584. -----------------Word word
  2585. -----------------Excel excel
  2586. -----------------Txt 记事本
  2587. -----------------PB 学习系统
  2588. -----------------Blog 朋友圈系统
  2589. -----------------FTP ftp系统
  2590. -----------------Group 好友群
  2591. -----------------SY 首页系统
  2592. -----------------Set 个人设置
  2593. -----------------XSet 系统设置
  2594. -----------------App 我们所有的app
  2595. -----------------BC c.1473.cn 平台
  2596. -----------------CWeb d.1473.cn 变成平台
  2597. -----------------其他的外联系统 我们统一用iframe打开
  2598. * @param {array} 类型
  2599. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2600. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2601. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2602. 如果第一个参数为其他,则无第二个参数
  2603. * @returns {array}
  2604. */
  2605. window.addEventListener('message', function (e) { // 监听 message 事件
  2606. // alert(e.data.type);
  2607. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2608. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2609. //3是展示全部阶段 2学生 1老师 4专家
  2610. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2611. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2612. //3是展示全部阶段 2学生 1老师 4专家
  2613. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2614. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2615. //3是展示全部阶段 2学生 1老师 4专家
  2616. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2617. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2618. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2619. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2620. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2622. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2624. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2625. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2626. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2628. //3是展示全部阶段 2学生 1老师 4专家
  2629. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2631. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2632. U.MD.D.I.selectUser();
  2633. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2634. var _formel = document.getElementById("study");
  2635. U.UF.F.windowZooming(_formel);
  2636. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2637. var _formel = document.getElementById("studyDetail");
  2638. U.UF.F.windowZooming(_formel);
  2639. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2640. var _formel = document.getElementById("studyDetail");
  2641. U.UF.F.windowZooming(_formel);
  2642. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2643. var _formel = document.getElementById("studentStudy");
  2644. U.UF.F.windowZooming(_formel);
  2645. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2646. // var _formel = document.getElementById("study");
  2647. //如果最大化了,那么就把他缩小
  2648. // if (_formel.ismaximize) {
  2649. // return;
  2650. // }
  2651. // U.UF.F.windowZooming(_formel);
  2652. // U.UF.F.topWindow(_formel);
  2653. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2654. // var _formel = document.getElementById("studyDetail");
  2655. //如果最大化了,那么就把他缩小
  2656. // if (_formel.ismaximize) {
  2657. // return;
  2658. // }
  2659. // U.UF.F.windowZooming(_formel);
  2660. // U.UF.F.topWindow(_formel);
  2661. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2662. // var _formel = document.getElementById("studentStudy");
  2663. // if (_formel.ismaximize) {
  2664. // return;
  2665. // }
  2666. // U.UF.F.windowZooming(_formel);
  2667. // U.UF.F.topWindow(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2669. var _formel = document.getElementById("study");
  2670. // if (_formel.ismaximize) {
  2671. // return;
  2672. // }
  2673. // U.UF.F.windowZooming(_formel);
  2674. U.UF.F.topWindow(_formel);
  2675. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2676. var _formel = document.getElementById("studentIndex");
  2677. U.UF.F.windowZooming(_formel);
  2678. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2679. var _formel = document.getElementById("studyDetailS");
  2680. U.UF.F.windowZooming(_formel);
  2681. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2682. var _formel = document.getElementById("studioIndex");
  2683. U.UF.F.windowZooming(_formel);
  2684. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2685. var _formel = document.getElementById("studyDetailStudio");
  2686. U.UF.F.windowZooming(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2688. var _formel = document.getElementById("studyDetailStudio");
  2689. U.UF.F.windowZooming(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2691. var _formel = document.getElementById("studyDetailNT");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2694. var _formel = document.getElementById("studyDetailS");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2697. var _formel = document.getElementById("studyDetailS");
  2698. U.UF.F.topWindow(_formel);
  2699. } else if (e.data.tools && e.data.tools == "1") {
  2700. // U.MD.D.I.openApplication("whiteboard")
  2701. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2702. } else if (e.data.tools && e.data.tools == "2") {
  2703. U.MD.D.I.openApplication("note")
  2704. } else if (e.data.tools && e.data.tools == "3") {
  2705. // U.MD.D.I.openApplication("mind")
  2706. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2707. } else if (e.data.tools && e.data.tools == "4") {
  2708. U.MD.D.I.openApplication("investigation")
  2709. } else if (e.data.tools && e.data.tools == "6") {
  2710. // U.MD.D.I.openApplication("doc")
  2711. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "7") {
  2713. // U.MD.D.I.openApplication("mindNetwork")
  2714. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2715. } else if (e.data.tools && e.data.tools == "8") {
  2716. U.MD.D.I.openApplication("library")
  2717. } else if (e.data.tools && e.data.tools == "17") {
  2718. U.MD.D.I.openApplication("stuLibrary")
  2719. } else if (e.data.tools && e.data.tools == "18") {
  2720. U.MD.D.I.openApplication("train")
  2721. } else if (e.data.tools && e.data.tools == "21") {
  2722. U.MD.D.I.openApplication("program")
  2723. } else if (e.data.tools && e.data.tools == "22") {
  2724. U.MD.D.I.openApplication("AIprogram2")
  2725. } else if (e.data.tools && e.data.tools == "23") {
  2726. U.MD.D.I.openApplication("Pythonprogram")
  2727. } else if (e.data.tools && e.data.tools == "24") {
  2728. U.MD.D.I.openApplication("AIprogram")
  2729. } else if (e.data.tools && e.data.tools == "25") {
  2730. U.MD.D.I.openApplication("sys")
  2731. } else if (e.data.tools && e.data.tools == "26") {
  2732. // U.MD.D.I.openApplication("courseDesign")
  2733. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "31") {
  2735. U.MD.D.I.openApplication("netWorkPanel")
  2736. } else if (e.data.tools && e.data.tools == "32") {
  2737. U.MD.D.I.openApplication("codeEdit")
  2738. } else if (e.data.tools && e.data.tools == "57") {
  2739. U.MD.D.I.openApplication("CocoPi")
  2740. } else if (e.data.tools && e.data.tools == "63") {
  2741. U.MD.D.I.openApplication("Wood")
  2742. } else if (e.data.tools && e.data.tools == "58") {
  2743. U.MD.D.I.openApplication("car")
  2744. } else if (e.data.tools && e.data.tools == "59") {
  2745. U.MD.D.I.openApplication("lineSearch")
  2746. } else if (e.data.tools && e.data.tools == "60") {
  2747. U.MD.D.I.openApplication("deepLearning")
  2748. } else if (e.data.tools && e.data.tools == "61") {
  2749. U.MD.D.I.openApplication("allHistory")
  2750. } else if (e.data.tools && e.data.tools == "28") {
  2751. U.MD.D.I.openApplication("translation")
  2752. } else if (e.data.tools && e.data.tools == "37") {
  2753. U.MD.D.I.openApplication("mohe")
  2754. } else if (e.data.tools && e.data.tools == "38") {
  2755. U.MD.D.I.openApplication("24game")
  2756. } else if (e.data.tools && e.data.tools == "39") {
  2757. U.MD.D.I.openApplication("GeoGebra")
  2758. } else if (e.data.tools && e.data.tools == "43") {
  2759. U.MD.D.I.openApplication("studentEvaluate")
  2760. } else if (e.data.tools && e.data.tools == "44") {
  2761. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2762. } else if (e.data.tools && e.data.tools == "46") {
  2763. U.MD.D.I.openApplication("project")
  2764. } else if (e.data.tools && e.data.tools == "1s") {
  2765. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2766. } else if (e.data.tools && e.data.tools == "3s") {
  2767. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2768. } else if (e.data.tools && e.data.tools == "6s") {
  2769. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2770. } else if (e.data.tools && e.data.tools == "1studio") {
  2771. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2772. } else if (e.data.tools && e.data.tools == "3studio") {
  2773. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2774. } else if (e.data.tools && e.data.tools == "6studio") {
  2775. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2776. } else if (e.data.tools && e.data.tools == "3y") {
  2777. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "1y") {
  2779. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2781. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2782. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2783. U.MD.D.I.openApplication("AIAnalyse")
  2784. } else if (e.data.tools && e.data.tools == "1teacher") {
  2785. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2786. } else if (e.data.tools && e.data.tools == "3teacher") {
  2787. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2788. } else if (e.data.tools && e.data.tools == "7teacher") {
  2789. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2790. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2791. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2792. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2793. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2794. } else if (e.data.tools && e.data.tools == "1E") {
  2795. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "3E") {
  2797. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "57y") {
  2799. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "57u") {
  2801. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "57teacher") {
  2803. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2804. } else if (e.data.tools && e.data.tools == "64") {
  2805. U.MD.D.I.openApplication("AIChat")
  2806. } else if (e.data.tools && e.data.tools == "66") {
  2807. U.MD.D.I.openApplication("formulaEdi")
  2808. } else if (e.data.tools && e.data.tools == "67") {
  2809. U.MD.D.I.openApplication("molStr")
  2810. } else if (e.data.tools && e.data.tools == "68") {
  2811. U.MD.D.I.openApplication("timeAxis")
  2812. } else if (e.data.tools && e.data.tools == "openCourse") {
  2813. let _data = {
  2814. typea: e.data.typea || '',
  2815. typeb: e.data.typeb || '',
  2816. typed: e.data.typed || '',
  2817. }
  2818. U.MD.D.I.openInApplication("index", _data)
  2819. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2820. let _data = {
  2821. classid: e.data.classid || '',
  2822. }
  2823. U.MD.D.I.openInApplication("dataClass", _data)
  2824. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2825. let _data = {
  2826. cid: e.data.cid || '',
  2827. gid: e.data.gid || '',
  2828. }
  2829. U.MD.D.I.openInApplication("opencCscl", _data)
  2830. }
  2831. });
  2832. U.MD.D.I.selectUser = function () {
  2833. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2834. if (res.value[0].length > 0) {
  2835. US.userInfo = res.value[0][0];
  2836. $(".userName")[0].innerHTML = US.userInfo.username;
  2837. }
  2838. }, [], { "type": "GET", "withCredentials": true });
  2839. }
  2840. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2841. var _userinfo = US.userInfo, //登录用户信息
  2842. _userid = US.userInfo.userid, //登录用户id
  2843. _oid = _userinfo.organizeid,
  2844. _type = US.userInfo.type,
  2845. _org = US.userInfo.org,
  2846. _role = US.userInfo.role,
  2847. _classId = US.userInfo.classid;
  2848. if (_type == 4) {
  2849. tType = 4
  2850. }
  2851. switch (str) {
  2852. case "studyDetailNT": //无终端模式
  2853. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2854. setTimeout(() => {
  2855. U.MD.U.L.login();
  2856. }, 2000);
  2857. } else {
  2858. _formdiv = new U.UF.UI.form(
  2859. "课程详情",
  2860. $$("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 }), {
  2861. "id": "studyDetailNT",
  2862. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2863. "onresize": function () { }
  2864. }, {
  2865. closecallback: function () { }
  2866. }, { "style": { "height": "36px" } }).form; //创建窗体
  2867. _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); } }
  2868. break;
  2869. }
  2870. case "studyDetail":
  2871. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2872. setTimeout(() => {
  2873. U.MD.U.L.login();
  2874. }, 2000);
  2875. } else {
  2876. _formdiv = new U.UF.UI.form(
  2877. "课程详情",
  2878. $$("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 }), {
  2879. "id": "studyDetail",
  2880. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2881. "onresize": function () { }
  2882. }, {
  2883. closecallback: function () { }
  2884. }, { "style": { "height": "36px" } }).form; //创建窗体
  2885. _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); } }
  2886. break;
  2887. }
  2888. case "studyDetailS":
  2889. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2890. setTimeout(() => {
  2891. U.MD.U.L.login();
  2892. }, 2000);
  2893. } else {
  2894. _formdiv = new U.UF.UI.form(
  2895. "项目详情",
  2896. $$("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 }), {
  2897. "id": "studyDetailS",
  2898. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2899. "onresize": function () { }
  2900. }, {
  2901. closecallback: function () { }
  2902. }, { "style": { "height": "36px" } }).form; //创建窗体
  2903. _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); } }
  2904. break;
  2905. }
  2906. case "studyDetailStudio":
  2907. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2908. setTimeout(() => {
  2909. U.MD.U.L.login();
  2910. }, 2000);
  2911. } else {
  2912. _formdiv = new U.UF.UI.form(
  2913. "工作详情",
  2914. $$("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 }), {
  2915. "id": "studyDetailStudio",
  2916. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2917. "onresize": function () { }
  2918. }, {
  2919. closecallback: function () { }
  2920. }, { "style": { "height": "36px" } }).form; //创建窗体
  2921. _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); } }
  2922. break;
  2923. }
  2924. case "studyDetailS5":
  2925. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2926. setTimeout(() => {
  2927. U.MD.U.L.login();
  2928. }, 2000);
  2929. } else {
  2930. _formdiv = new U.UF.UI.form(
  2931. "项目详情",
  2932. $$("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 }), {
  2933. "id": "studyDetailS",
  2934. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2935. "onresize": function () { }
  2936. }, {
  2937. closecallback: function () { }
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2940. break;
  2941. }
  2942. case "studyDetailGM":
  2943. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2944. setTimeout(() => {
  2945. U.MD.U.L.login();
  2946. }, 2000);
  2947. } else {
  2948. _formdiv = new U.UF.UI.form(
  2949. "课程详情",
  2950. $$("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 }), {
  2951. "id": "studyDetail",
  2952. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2953. "onresize": function () { }
  2954. }, {
  2955. closecallback: function () { }
  2956. }, { "style": { "height": "36px" } }).form; //创建窗体
  2957. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2958. break;
  2959. }
  2960. case "hanUrl":
  2961. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2962. setTimeout(() => {
  2963. U.MD.U.L.login();
  2964. }, 2000);
  2965. } else {
  2966. _formdiv = new U.UF.UI.form(
  2967. "汉字宫",
  2968. $$("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" }), {
  2969. "id": "hanUrl",
  2970. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function () { }
  2972. }, {
  2973. closecallback: function () { }
  2974. }, { "style": { "height": "36px" } }).form; //创建窗体
  2975. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2976. break;
  2977. }
  2978. case "index":
  2979. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2980. setTimeout(() => {
  2981. U.MD.U.L.login();
  2982. }, 2000);
  2983. } else {
  2984. _formdiv = new U.UF.UI.form(
  2985. "课程中心",
  2986. $$("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 }), {
  2987. "id": "study",
  2988. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2989. "onresize": function () { }
  2990. }, {
  2991. closecallback: function () { }
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2994. break;
  2995. }
  2996. case "dataClass":
  2997. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2998. setTimeout(() => {
  2999. U.MD.U.L.login();
  3000. }, 2000);
  3001. } else {
  3002. _formdiv = new U.UF.UI.form(
  3003. "数据报告",
  3004. $$("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 }), {
  3005. "id": "dataClass",
  3006. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function () { }
  3008. }, {
  3009. closecallback: function () { }
  3010. }, { "style": { "height": "36px" } }).form; //创建窗体
  3011. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3012. break;
  3013. }
  3014. case "opencCscl":
  3015. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3016. setTimeout(() => {
  3017. U.MD.U.L.login();
  3018. }, 2000);
  3019. } else {
  3020. _formdiv = new U.UF.UI.form(
  3021. "协同建构",
  3022. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3023. "id": "futureClass",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function () { }
  3026. }, {
  3027. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. _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); } }
  3030. break;
  3031. }
  3032. }
  3033. }
  3034. U.MD.D.I.openApplication = function (str, obj, info) {
  3035. obj = obj || {};
  3036. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3037. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3038. _userinfo = US.userInfo, //登录用户信息
  3039. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3040. _oid = obj.organizeid || _userinfo.organizeid,
  3041. _type = US.userInfo.type,
  3042. _org = US.userInfo.org,
  3043. _role = US.userInfo.role,
  3044. _classId = US.userInfo.classid,
  3045. _TscreenType = 1
  3046. _screenType = 2,
  3047. _SscreenType = 3;
  3048. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3049. return;
  3050. }
  3051. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3052. switch (str) {
  3053. case "studnetProject": //好友打开
  3054. _formdiv = new U.UF.UI.form(
  3055. "我的项目",
  3056. $$("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 }), {
  3057. "id": "studnetProject",
  3058. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3064. break;
  3065. case "studentEvaluate": //好友打开
  3066. _formdiv = new U.UF.UI.form(
  3067. "我的评价",
  3068. $$("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 }), {
  3069. "id": "studentEvaluate",
  3070. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3076. break;
  3077. case "my":
  3078. _formdiv = new U.UF.UI.form(
  3079. "我的资料",
  3080. $$("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 }), {
  3081. "id": "my",
  3082. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3088. break;
  3089. case "program":
  3090. _formdiv = new U.UF.UI.form(
  3091. "编程平台",
  3092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3093. "id": "program",
  3094. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3100. break;
  3101. case "library":
  3102. _formdiv = new U.UF.UI.form(
  3103. "素材库",
  3104. $$("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 }), {
  3105. "id": "library",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "whiteboard":
  3114. _formdiv = new U.UF.UI.form(
  3115. "电子白板",
  3116. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3117. "id": "whiteboard",
  3118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _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); } }
  3124. break;
  3125. case "investigation":
  3126. _formdiv = new U.UF.UI.form(
  3127. "问卷调查",
  3128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3129. "id": "investigation",
  3130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3136. break;
  3137. case "note":
  3138. _formdiv = new U.UF.UI.form(
  3139. "便签分类",
  3140. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3141. "id": "note",
  3142. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3148. break;
  3149. // case "score":
  3150. // _formdiv = new U.UF.UI.form(
  3151. // "量规评分",
  3152. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3153. // "id": "score",
  3154. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. // "onresize": function() {}
  3156. // }, {
  3157. // closecallback: function() {}
  3158. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3160. // break;
  3161. case "mind":
  3162. _formdiv = new U.UF.UI.form(
  3163. "思维导图",
  3164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3165. "id": "mind",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3172. break;
  3173. case "doc":
  3174. // U.MD.D.I.isRoom();
  3175. _formdiv = new U.UF.UI.form(
  3176. "协同文档",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3178. "id": "doc",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3185. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3186. // })
  3187. _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); } }
  3188. break;
  3189. case "studentStudy":
  3190. _formdiv = new U.UF.UI.form(
  3191. "课程中心",
  3192. $$("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
  3193. "id": "studentStudy",
  3194. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3195. "onresize": function () { }
  3196. }, {
  3197. closecallback: function () { }
  3198. }, { "style": { "height": "36px" } }).form; //创建窗体
  3199. _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); } }
  3200. break;
  3201. case "train": //好友打开
  3202. _formdiv = new U.UF.UI.form(
  3203. "训练平台",
  3204. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3205. "id": "train",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _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); } }
  3212. break;
  3213. case "mindNetwork": //好友打开
  3214. _formdiv = new U.UF.UI.form(
  3215. "思维网格",
  3216. $$("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 }), {
  3217. "id": "mindNetwork",
  3218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _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); } }
  3224. break;
  3225. case "studentClassRoom": //好友打开
  3226. _formdiv = new U.UF.UI.form(
  3227. "实时课堂",
  3228. $$("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 }), {
  3229. "id": "studentClassRoom",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. setTimeout(() => {
  3237. U.UF.F.windowZooming(_formdiv)
  3238. }, 0);
  3239. break;
  3240. }
  3241. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3242. switch (str) {
  3243. case "studnetProject": //好友打开
  3244. _formdiv = new U.UF.UI.form(
  3245. "我的项目",
  3246. $$("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 }), {
  3247. "id": "studnetProject",
  3248. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function () { }
  3250. }, {
  3251. closecallback: function () { }
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3254. break;
  3255. case "studentEvaluate": //好友打开
  3256. _formdiv = new U.UF.UI.form(
  3257. "我的评价",
  3258. $$("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 }), {
  3259. "id": "studentEvaluate",
  3260. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "my":
  3268. _formdiv = new U.UF.UI.form(
  3269. "我的资料",
  3270. $$("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 }), {
  3271. "id": "my",
  3272. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3278. break;
  3279. case "program":
  3280. _formdiv = new U.UF.UI.form(
  3281. "编程平台",
  3282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3283. "id": "program",
  3284. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3290. break;
  3291. case "library":
  3292. _formdiv = new U.UF.UI.form(
  3293. "素材库",
  3294. $$("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 }), {
  3295. "id": "library",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. case "whiteboard":
  3304. _formdiv = new U.UF.UI.form(
  3305. "电子白板",
  3306. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3307. "id": "whiteboard",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _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); } }
  3314. break;
  3315. case "investigation":
  3316. _formdiv = new U.UF.UI.form(
  3317. "问卷调查",
  3318. $$("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 }), {
  3319. "id": "investigation",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _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); } }
  3326. break;
  3327. case "note":
  3328. _formdiv = new U.UF.UI.form(
  3329. "便签分类",
  3330. $$("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 }), {
  3331. "id": "note",
  3332. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. // case "score":
  3340. // _formdiv = new U.UF.UI.form(
  3341. // "量规评分",
  3342. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3343. // "id": "score",
  3344. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. // "onresize": function() {}
  3346. // }, {
  3347. // closecallback: function() {}
  3348. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. // _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); } }
  3350. // break;
  3351. case "mind":
  3352. _formdiv = new U.UF.UI.form(
  3353. "思维导图",
  3354. $$("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"
  3355. "id": "mind",
  3356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3357. "onresize": function () { }
  3358. }, {
  3359. closecallback: function () { }
  3360. }, { "style": { "height": "36px" } }).form; //创建窗体
  3361. _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); } }
  3362. break;
  3363. case "doc":
  3364. // U.MD.D.I.isRoom();
  3365. _formdiv = new U.UF.UI.form(
  3366. "协同文档",
  3367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3368. "id": "doc",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3375. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3376. })
  3377. _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); } }
  3378. break;
  3379. case "train": //好友打开
  3380. _formdiv = new U.UF.UI.form(
  3381. "训练平台",
  3382. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3383. "id": "train",
  3384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3385. "onresize": function () { }
  3386. }, {
  3387. closecallback: function () { }
  3388. }, { "style": { "height": "36px" } }).form; //创建窗体
  3389. _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); } }
  3390. break;
  3391. case "studentStudy":
  3392. _formdiv = new U.UF.UI.form(
  3393. "课程中心",
  3394. $$("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
  3395. "id": "studentStudy",
  3396. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. case "mindNetwork": //好友打开
  3404. _formdiv = new U.UF.UI.form(
  3405. "思维网格",
  3406. $$("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 }), {
  3407. "id": "mindNetwork",
  3408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. case "studentClassRoom": //好友打开
  3416. _formdiv = new U.UF.UI.form(
  3417. "实时课堂",
  3418. $$("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 }), {
  3419. "id": "studentClassRoom",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _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); } }
  3426. setTimeout(() => {
  3427. U.UF.F.windowZooming(_formdiv)
  3428. }, 0);
  3429. break;
  3430. }
  3431. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3432. //选择应用处理
  3433. switch (str) {
  3434. case "project": //好友打开
  3435. _formdiv = new U.UF.UI.form(
  3436. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3437. $$("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 }), {
  3438. "id": "project",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "student":
  3447. _formdiv = new U.UF.UI.form(
  3448. "学生管理",
  3449. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3450. "id": "student",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. case "evaluate":
  3459. _formdiv = new U.UF.UI.form(
  3460. "学生评价",
  3461. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3462. "id": "evaluate",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3469. break;
  3470. case "sys":
  3471. _formdiv = new U.UF.UI.form(
  3472. "目标管理",
  3473. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3474. "id": "sys",
  3475. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3481. break;
  3482. case "courseDesign":
  3483. _formdiv = new U.UF.UI.form(
  3484. "项目设计",
  3485. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3486. "id": "courseDesign",
  3487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function () { }
  3489. }, {
  3490. closecallback: function () { }
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3493. break;
  3494. case "program":
  3495. _formdiv = new U.UF.UI.form(
  3496. "编程平台",
  3497. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3498. "id": "program",
  3499. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function () { }
  3501. }, {
  3502. closecallback: function () { }
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _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); } }
  3505. break;
  3506. case "class":
  3507. _formdiv = new U.UF.UI.form(
  3508. "班级管理",
  3509. $$("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 }), {
  3510. "id": "class",
  3511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function () { }
  3513. }, {
  3514. closecallback: function () { }
  3515. }, { "style": { "height": "36px" } }).form; //创建窗体
  3516. _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); } }
  3517. break;
  3518. case "Grade":
  3519. _formdiv = new U.UF.UI.form(
  3520. "年级管理",
  3521. $$("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 }), {
  3522. "id": "Grade",
  3523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3529. break;
  3530. case "teacherOffice":
  3531. _formdiv = new U.UF.UI.form(
  3532. "教研室",
  3533. $$("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 }), {
  3534. "id": "teacherOffice",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3541. break;
  3542. case "my":
  3543. _formdiv = new U.UF.UI.form(
  3544. "我的资料",
  3545. $$("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 }), {
  3546. "id": "my",
  3547. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3553. break;
  3554. case "notice":
  3555. _formdiv = new U.UF.UI.form(
  3556. "通知公告",
  3557. $$("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 }), {
  3558. "id": "notice",
  3559. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3565. break;
  3566. case "library":
  3567. _formdiv = new U.UF.UI.form(
  3568. "素材库",
  3569. $$("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 }), {
  3570. "id": "library",
  3571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function () { }
  3573. }, {
  3574. closecallback: function () { }
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _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); } }
  3577. break;
  3578. case "whiteboard":
  3579. _formdiv = new U.UF.UI.form(
  3580. "电子白板",
  3581. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3582. "id": "whiteboard",
  3583. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function () { }
  3585. }, {
  3586. closecallback: function () { }
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _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); } }
  3589. break;
  3590. case "investigation":
  3591. _formdiv = new U.UF.UI.form(
  3592. "问卷调查",
  3593. $$("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 }), {
  3594. "id": "investigation",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3601. break;
  3602. case "note":
  3603. _formdiv = new U.UF.UI.form(
  3604. "便签分类",
  3605. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3606. "id": "note",
  3607. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. // case "score":
  3615. // _formdiv = new U.UF.UI.form(
  3616. // "量规评分",
  3617. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3618. // "id": "score",
  3619. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. // "onresize": function() {}
  3621. // }, {
  3622. // closecallback: function() {}
  3623. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3625. // break;
  3626. case "mind":
  3627. _formdiv = new U.UF.UI.form(
  3628. "思维导图",
  3629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3630. "id": "mind",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function () { }
  3633. }, {
  3634. closecallback: function () { }
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3637. break;
  3638. case "doc":
  3639. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), {
  3643. "id": "doc",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3650. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3651. })
  3652. _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); } }
  3653. break;
  3654. case "study":
  3655. _formdiv = new U.UF.UI.form(
  3656. "课程中心",
  3657. $$("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
  3658. "id": "study",
  3659. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "mindNetwork": //好友打开
  3667. _formdiv = new U.UF.UI.form(
  3668. "思维网格",
  3669. $$("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 }), {
  3670. "id": "mindNetwork",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "train": //好友打开
  3679. _formdiv = new U.UF.UI.form(
  3680. "训练平台",
  3681. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3682. "id": "mindNetwork",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "teacherClassRoom": //好友打开
  3691. _formdiv = new U.UF.UI.form(
  3692. "实时课堂",
  3693. $$("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 }), {
  3694. "id": "teacherClassRoom",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. setTimeout(() => {
  3702. U.UF.F.windowZooming(_formdiv)
  3703. }, 0);
  3704. break;
  3705. }
  3706. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3707. switch (str) {
  3708. case "project": //好友打开
  3709. _formdiv = new U.UF.UI.form(
  3710. "课程管理",
  3711. $$("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 }), {
  3712. "id": "project",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "evaluate":
  3721. _formdiv = new U.UF.UI.form(
  3722. "学生评价",
  3723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3724. "id": "evaluate",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. case "notice":
  3733. _formdiv = new U.UF.UI.form(
  3734. "通知公告",
  3735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3736. "id": "notice",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3743. break;
  3744. case "stuLibrary":
  3745. _formdiv = new U.UF.UI.form(
  3746. "学习资料",
  3747. $$("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 }), {
  3748. "id": "stuLibrary",
  3749. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. closecallback: function () { }
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. case "program":
  3757. _formdiv = new U.UF.UI.form(
  3758. "编程平台",
  3759. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3760. "id": "program",
  3761. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _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); } }
  3767. break;
  3768. case "whiteboard":
  3769. _formdiv = new U.UF.UI.form(
  3770. "电子白板",
  3771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3772. "id": "whiteboard",
  3773. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function () { }
  3775. }, {
  3776. closecallback: function () { }
  3777. }, { "style": { "height": "36px" } }).form; //创建窗体
  3778. _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); } }
  3779. break;
  3780. case "investigation":
  3781. _formdiv = new U.UF.UI.form(
  3782. "问卷调查",
  3783. $$("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 }), {
  3784. "id": "investigation",
  3785. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3786. "onresize": function () { }
  3787. }, {
  3788. closecallback: function () { }
  3789. }, { "style": { "height": "36px" } }).form; //创建窗体
  3790. _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); } }
  3791. break;
  3792. case "mind":
  3793. _formdiv = new U.UF.UI.form(
  3794. "思维导图",
  3795. $$("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"
  3796. "id": "mind",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _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); } }
  3803. break;
  3804. case "doc":
  3805. // U.MD.D.I.isRoom();
  3806. _formdiv = new U.UF.UI.form(
  3807. "协同文档",
  3808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3809. "id": "doc",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3816. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3817. })
  3818. _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); } }
  3819. break;
  3820. case "study":
  3821. _formdiv = new U.UF.UI.form(
  3822. "课程中心",
  3823. $$("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
  3824. "id": "study",
  3825. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _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); } }
  3831. break;
  3832. case "mindNetwork": //好友打开
  3833. _formdiv = new U.UF.UI.form(
  3834. "思维网格",
  3835. $$("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 }), {
  3836. "id": "mindNetwork",
  3837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _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); } }
  3843. break;
  3844. case "train": //好友打开
  3845. _formdiv = new U.UF.UI.form(
  3846. "训练平台",
  3847. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3848. "id": "train",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _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); } }
  3855. break;
  3856. case "sys":
  3857. _formdiv = new U.UF.UI.form(
  3858. "目标管理",
  3859. $$("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 }), {
  3860. "id": "sys",
  3861. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _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); } }
  3867. break;
  3868. case "courseDesign":
  3869. _formdiv = new U.UF.UI.form(
  3870. "项目设计",
  3871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3872. "id": "courseDesign",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _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); } }
  3879. break;
  3880. }
  3881. } else if (!_type) {
  3882. switch (str) {
  3883. case "my":
  3884. _formdiv = new U.UF.UI.form(
  3885. "我的资料",
  3886. $$("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 }), {
  3887. "id": "my",
  3888. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _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); } }
  3894. break;
  3895. }
  3896. }
  3897. switch (str) {
  3898. // AIprogram2 AI体验 aihub.cocorobo.cn
  3899. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3900. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3901. case "formulaEdi": //公式编辑
  3902. _formdiv = new U.UF.UI.form(
  3903. "公式编辑",
  3904. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3905. "id": "formulaEdi",
  3906. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. case "molStr": //分子结构
  3914. _formdiv = new U.UF.UI.form(
  3915. "分子结构",
  3916. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3917. "id": "molStr",
  3918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _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); } }
  3924. break;
  3925. case "timeAxis": //时间轴
  3926. _formdiv = new U.UF.UI.form(
  3927. "时间轴",
  3928. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3929. "id": "timeAxis",
  3930. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. case "AIprogram2": //AI体验
  3938. _formdiv = new U.UF.UI.form(
  3939. "AI体验",
  3940. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3941. "id": "AIprogram2",
  3942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _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); } }
  3948. break;
  3949. case "Pythonprogram": //python编程
  3950. _formdiv = new U.UF.UI.form(
  3951. "Python编程",
  3952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3953. "id": "Pythonprogram",
  3954. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. case "AIprogram": //ai编程
  3962. _formdiv = new U.UF.UI.form(
  3963. "AI编程平台",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3965. "id": "AIprogram",
  3966. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "CocoPi": //CocoPi
  3974. _formdiv = new U.UF.UI.form(
  3975. "CocoPi",
  3976. $$("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" }), {
  3977. "id": "CocoPi",
  3978. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "Wood": //Wood
  3986. _formdiv = new U.UF.UI.form(
  3987. "海龟编程",
  3988. $$("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/" }), {
  3989. "id": "Wood",
  3990. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _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); } }
  3996. break;
  3997. case "car": //模拟驾驶
  3998. _formdiv = new U.UF.UI.form(
  3999. "模拟驾驶",
  4000. $$("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/" }), {
  4001. "id": "car",
  4002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _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); } }
  4008. break;
  4009. case "lineSearch": //路径搜索
  4010. _formdiv = new U.UF.UI.form(
  4011. "路径搜索",
  4012. $$("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/" }), {
  4013. "id": "lineSearch",
  4014. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4020. break;
  4021. case "deepLearning": //深度学习
  4022. _formdiv = new U.UF.UI.form(
  4023. "深度学习",
  4024. $$("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/#" }), {
  4025. "id": "deepLearning",
  4026. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "allHistory": //深度学习
  4034. _formdiv = new U.UF.UI.form(
  4035. "全历史",
  4036. $$("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/" }), {
  4037. "id": "allHistory",
  4038. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "chatPDF": //ai编程
  4046. _formdiv = new U.UF.UI.form(
  4047. "chatPDF",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4049. "id": "chatPDF",
  4050. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "resources": //国家教育
  4058. _formdiv = new U.UF.UI.form(
  4059. "国家教育",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4061. "id": "resources",
  4062. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "codeEdit": //源码编辑
  4070. _formdiv = new U.UF.UI.form(
  4071. "源码编辑",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4073. "id": "codeEdit",
  4074. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break; //
  4081. case "MindMap": //MindMap
  4082. _formdiv = new U.UF.UI.form(
  4083. "MindMap",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4085. "id": "MindMap",
  4086. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4092. break;
  4093. case "netWorkPanel": //netWorkPanel
  4094. _formdiv = new U.UF.UI.form(
  4095. "netWorkPanel",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4097. "id": "netWorkPanel",
  4098. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. case "GeoGebra": //GeoGebra
  4106. _formdiv = new U.UF.UI.form(
  4107. "GeoGebra",
  4108. $$("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" }), {
  4109. "id": "GeoGebra",
  4110. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _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); } }
  4116. break;
  4117. case "translation": //翻译
  4118. _formdiv = new U.UF.UI.form(
  4119. "翻译",
  4120. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4121. "id": "translation",
  4122. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _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); } }
  4128. break;
  4129. case "mohe": //魔盒
  4130. _formdiv = new U.UF.UI.form(
  4131. "魔盒识字",
  4132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4133. "id": "mohe",
  4134. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //创建窗体
  4139. _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); } }
  4140. break;
  4141. case "24game": //24点
  4142. _formdiv = new U.UF.UI.form(
  4143. "24点",
  4144. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4145. "id": "24game",
  4146. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4152. break;
  4153. case "case":
  4154. _formdiv = new U.UF.UI.form(
  4155. "课程进展",
  4156. $$("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 }), {
  4157. "id": "case",
  4158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4164. break;
  4165. case "snf":
  4166. _formdiv = new U.UF.UI.form(
  4167. "赛诺梵",
  4168. $$("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" }), {
  4169. "id": "snf",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4176. break;
  4177. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4181. "id": "hanFamily",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4188. break;
  4189. case "hanClassics":
  4190. _formdiv = new U.UF.UI.form(
  4191. "国学经典",
  4192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4193. "id": "hanClassics",
  4194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //创建窗体
  4199. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4200. break;
  4201. case "hanTraining":
  4202. _formdiv = new U.UF.UI.form(
  4203. "笔画训练",
  4204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4205. "id": "hanTraining",
  4206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4207. "onresize": function () { }
  4208. }, {
  4209. closecallback: function () { }
  4210. }, { "style": { "height": "36px" } }).form; //创建窗体
  4211. _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); } }
  4212. break;
  4213. case "hanClass":
  4214. _formdiv = new U.UF.UI.form(
  4215. "书法课堂",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4217. "id": "hanClass",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //创建窗体
  4223. _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); } }
  4224. break;
  4225. case "han":
  4226. _formdiv = new U.UF.UI.form(
  4227. "汉字宫",
  4228. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4229. "id": "han",
  4230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //创建窗体
  4235. _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); } }
  4236. break;
  4237. case "projectGM": //课程管理
  4238. _formdiv = new U.UF.UI.form(
  4239. "课程管理",
  4240. $$("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 }), {
  4241. "id": "projectGM",
  4242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4243. "onresize": function () { }
  4244. }, {
  4245. closecallback: function () { }
  4246. }, { "style": { "height": "36px" } }).form; //创建窗体
  4247. _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); } }
  4248. break;
  4249. case "studyGM": //课程中心
  4250. _formdiv = new U.UF.UI.form(
  4251. "课程中心",
  4252. $$("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
  4253. "id": "study",
  4254. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4255. "onresize": function () { }
  4256. }, {
  4257. closecallback: function () { }
  4258. }, { "style": { "height": "36px" } }).form; //创建窗体
  4259. _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); } }
  4260. break;
  4261. // studentGM
  4262. case "studentGM": //学生管理
  4263. _formdiv = new U.UF.UI.form(
  4264. "学生管理",
  4265. $$("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 }), {
  4266. "id": "studentGM",
  4267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4273. break;
  4274. case "evaluateGM": //学生评价
  4275. _formdiv = new U.UF.UI.form(
  4276. "学生评价",
  4277. $$("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 }), {
  4278. "id": "evaluateGM",
  4279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4285. break;
  4286. // classGM
  4287. case "classGM": //班级管理
  4288. _formdiv = new U.UF.UI.form(
  4289. "班级管理",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4291. "id": "classGM",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. // dataGM
  4300. case "dataGM":
  4301. _formdiv = new U.UF.UI.form(
  4302. "我的资料",
  4303. $$("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 }), {
  4304. "id": "dataGM",
  4305. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4306. "onresize": function () { }
  4307. }, {
  4308. closecallback: function () { }
  4309. }, { "style": { "height": "36px" } }).form; //创建窗体
  4310. _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); } }
  4311. break;
  4312. // caseGM
  4313. case "caseGM": //课程进展
  4314. _formdiv = new U.UF.UI.form(
  4315. "课程进展",
  4316. $$("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 }), {
  4317. "id": "caseGM",
  4318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function () { }
  4320. }, {
  4321. closecallback: function () { }
  4322. }, { "style": { "height": "36px" } }).form; //创建窗体
  4323. _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); } }
  4324. break;
  4325. // meterialGM
  4326. case "meterialGM": //素材库
  4327. _formdiv = new U.UF.UI.form(
  4328. "素材库",
  4329. $$("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 }), {
  4330. "id": "meterialGM",
  4331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4332. "onresize": function () { }
  4333. }, {
  4334. closecallback: function () { }
  4335. }, { "style": { "height": "36px" } }).form; //创建窗体
  4336. _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); } }
  4337. break;
  4338. // evaluateSGM
  4339. case "evaluateSGM": //我的评价
  4340. _formdiv = new U.UF.UI.form(
  4341. "我的评价",
  4342. $$("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 }), {
  4343. "id": "evaluateSGM",
  4344. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, { "style": { "height": "36px" } }).form; //创建窗体
  4349. _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); } }
  4350. break;
  4351. case "jupyter": //jupyter
  4352. _formdiv = new U.UF.UI.form(
  4353. "jupyter",
  4354. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4355. "id": "jupyter",
  4356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //创建窗体
  4361. _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); } }
  4362. break;
  4363. case "number": //数字实验室
  4364. _formdiv = new U.UF.UI.form(
  4365. "数字实验室",
  4366. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4367. "id": "number",
  4368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4369. "onresize": function () { }
  4370. }, {
  4371. closecallback: function () { }
  4372. }, { "style": { "height": "36px" } }).form; //创建窗体
  4373. _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); } }
  4374. break;
  4375. case "studentCourse": //项目管理 学生
  4376. _formdiv = new U.UF.UI.form(
  4377. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4378. $$("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 }), {
  4379. "id": "studentCourse",
  4380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. closecallback: function () { }
  4384. }, { "style": { "height": "36px" } }).form; //创建窗体
  4385. _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); } }
  4386. break;
  4387. case "studentCourseS": //项目管理 老师
  4388. _formdiv = new U.UF.UI.form(
  4389. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4390. $$("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 }), {
  4391. "id": "studentCourseS",
  4392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4393. "onresize": function () { }
  4394. }, {
  4395. closecallback: function () { }
  4396. }, { "style": { "height": "36px" } }).form; //创建窗体
  4397. _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); } }
  4398. break;
  4399. case "studentIndex": //项目中心
  4400. _formdiv = new U.UF.UI.form(
  4401. "项目中心",
  4402. $$("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 }), {
  4403. "id": "studentIndex",
  4404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4405. "onresize": function () { }
  4406. }, {
  4407. closecallback: function () { }
  4408. }, { "style": { "height": "36px" } }).form; //创建窗体
  4409. _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); } }
  4410. break;
  4411. case "CaseDesignS":
  4412. _formdiv = new U.UF.UI.form(
  4413. "项目进展",
  4414. $$("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 }), {
  4415. "id": "case",
  4416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //创建窗体
  4421. _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); } }
  4422. break;
  4423. case "tcStudent": //腾讯学生管理
  4424. _formdiv = new U.UF.UI.form(
  4425. "学生管理",
  4426. $$("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 }), {
  4427. "id": "tcStudent",
  4428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //创建窗体
  4433. _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); } }
  4434. break;
  4435. case "tcSchool": //腾讯学校管理
  4436. _formdiv = new U.UF.UI.form(
  4437. "学校管理",
  4438. $$("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 }), {
  4439. "id": "tcSchool",
  4440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4441. "onresize": function () { }
  4442. }, {
  4443. closecallback: function () { }
  4444. }, { "style": { "height": "36px" } }).form; //创建窗体
  4445. _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); } }
  4446. break;
  4447. case "tcTeacher": //腾讯学校管理
  4448. _formdiv = new U.UF.UI.form(
  4449. "教师管理",
  4450. $$("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 }), {
  4451. "id": "tcTeacher",
  4452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4453. "onresize": function () { }
  4454. }, {
  4455. closecallback: function () { }
  4456. }, { "style": { "height": "36px" } }).form; //创建窗体
  4457. _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); } }
  4458. break;
  4459. case "tcData": //腾讯我的资料
  4460. _formdiv = new U.UF.UI.form(
  4461. "我的资料",
  4462. $$("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 }), {
  4463. "id": "tcData",
  4464. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4465. "onresize": function () { }
  4466. }, {
  4467. closecallback: function () { }
  4468. }, { "style": { "height": "36px" } }).form; //创建窗体
  4469. _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); } }
  4470. break;
  4471. case "tcNotice": //腾讯消息通知
  4472. _formdiv = new U.UF.UI.form(
  4473. "消息通知",
  4474. $$("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 }), {
  4475. "id": "tcNotice",
  4476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () { }
  4480. }, { "style": { "height": "36px" } }).form; //创建窗体
  4481. _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); } }
  4482. break;
  4483. case "myReport": //好友打开
  4484. _formdiv = new U.UF.UI.form(
  4485. "我的评价",
  4486. $$("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 }), {
  4487. "id": "myReport",
  4488. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4489. "onresize": function () { }
  4490. }, {
  4491. closecallback: function () { }
  4492. }, { "style": { "height": "36px" } }).form; //创建窗体
  4493. _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); } }
  4494. break;
  4495. case "learnAna": //好友打开
  4496. _formdiv = new U.UF.UI.form(
  4497. "学习分析",
  4498. $$("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 }), {
  4499. "id": "learnAna",
  4500. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4501. "onresize": function () { }
  4502. }, {
  4503. closecallback: function () { }
  4504. }, { "style": { "height": "36px" } }).form; //创建窗体
  4505. _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); } }
  4506. break;
  4507. case "AIChat": //AI共创
  4508. _formdiv = new U.UF.UI.form(
  4509. "AI共创",
  4510. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4511. "id": "AIChat",
  4512. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4513. "onresize": function () { }
  4514. }, {
  4515. istop: true,
  4516. closecallback: function () { $("#aichat_icon").remove(); },
  4517. narrowcallback: function () {
  4518. if (!$("#aichat_icon")[0]) {
  4519. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4520. }
  4521. },
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _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); } }
  4524. break;
  4525. case "ainew": //AI共创
  4526. _formdiv = new U.UF.UI.form(
  4527. "AI协同",
  4528. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4529. "id": "ainew",
  4530. "style": { "width": "100%", "height": "100%", "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/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4536. break;
  4537. case "futureClass": //AI共创
  4538. _formdiv = new U.UF.UI.form(
  4539. "协同建构",
  4540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4541. "id": "synergyCourse",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () {
  4546. $("iframe", _formdiv)[0].contentWindow.loginout();
  4547. }
  4548. }, { "style": { "height": "36px" } }).form; //创建窗体
  4549. _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); } }
  4550. break;
  4551. case "aiagent": //ai agent
  4552. _formdiv = new U.UF.UI.form(
  4553. "AI Agent",
  4554. $$("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" }), {
  4555. "id": "AIAgent",
  4556. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. case "dataBoard": //数据看板
  4564. _formdiv = new U.UF.UI.form(
  4565. "数据看板",
  4566. $$("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 }), {
  4567. "id": "dataBoard",
  4568. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4574. break;
  4575. case "dataBoardSies": //数据融合
  4576. _formdiv = new U.UF.UI.form(
  4577. "数据融合",
  4578. $$("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 }), {
  4579. "id": "dataBoardSies",
  4580. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4586. break;
  4587. case "dataBoardNew": //数据看板
  4588. _formdiv = new U.UF.UI.form(
  4589. "综合看板",
  4590. $$("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 }), {
  4591. "id": "dataBoardNew",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _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); } }
  4598. break;
  4599. case "AIAnalyse": //AI共创
  4600. _formdiv = new U.UF.UI.form(
  4601. "AI分析",
  4602. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4603. "id": "AIAnalyse",
  4604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () { }
  4608. }, { "style": { "height": "36px" } }).form; //创建窗体
  4609. _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); } }
  4610. break;
  4611. case "studioCourse": //AI共创
  4612. _formdiv = new U.UF.UI.form(
  4613. "工作管理",
  4614. $$("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 }), {
  4615. "id": "studioCourse",
  4616. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4617. "onresize": function () { }
  4618. }, {
  4619. closecallback: function () { }
  4620. }, { "style": { "height": "36px" } }).form; //创建窗体
  4621. _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); } }
  4622. break;
  4623. case "studioIndex": //AI共创
  4624. _formdiv = new U.UF.UI.form(
  4625. "工作中心",
  4626. $$("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 }), {
  4627. "id": "studioIndex",
  4628. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4629. "onresize": function () { }
  4630. }, {
  4631. closecallback: function () { }
  4632. }, { "style": { "height": "36px" } }).form; //创建窗体
  4633. _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); } }
  4634. break;
  4635. case "source":
  4636. _formdiv = new U.UF.UI.form(
  4637. "教学资源",
  4638. $$("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 }), {
  4639. "id": "source",
  4640. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _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); } }
  4646. break;
  4647. case "testTeacher":
  4648. _formdiv = new U.UF.UI.form(
  4649. "评测管理",
  4650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4651. "id": "testTeacher",
  4652. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4658. break;
  4659. case "testStudent":
  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/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4663. "id": "testStudent",
  4664. "style": { "width": "80%", "height": "80%", "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/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. }
  4672. //U.MD.D.I.openClick(str);
  4673. //如果有任务栏信息
  4674. if (_taskbar) {
  4675. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4676. }
  4677. }
  4678. // U.MD.D.I.openClick = function(str){
  4679. // var click = '';
  4680. // switch(str){
  4681. // case 'friend':
  4682. // click = '我的好友';
  4683. // break;
  4684. // case 'domain':
  4685. // click = '域名管理';
  4686. // break;
  4687. // case 'disk':
  4688. // click = '我的云盘';
  4689. // break;
  4690. // case 'word':
  4691. // click = 'Word';
  4692. // break;
  4693. // case 'excel':
  4694. // click = 'Execl';
  4695. // break;
  4696. // case 'txt':
  4697. // click = '文本文件';
  4698. // break;
  4699. // case 'lookupFriend':
  4700. // click = '查找好友';
  4701. // break;
  4702. // case 'ftp':
  4703. // click = 'FTP';
  4704. // break;
  4705. // case 'group':
  4706. // click = '群组';
  4707. // break;
  4708. // case 'set':
  4709. // click = '我的设置';
  4710. // break;
  4711. // case 'systemSet':
  4712. // click = '系统设置';
  4713. // break;
  4714. // case 'boomYun':
  4715. // click = '互联办公';
  4716. // break;
  4717. // case 'xz':
  4718. // click = '云端下载';
  4719. // break;
  4720. // case 'client':
  4721. // click = '有思浏览器';
  4722. // break;
  4723. // case 'backEndProgramming':
  4724. // click = '在线后台编程';
  4725. // break;
  4726. // case 'frontEndProgramming':
  4727. // click = '在线前端编程';
  4728. // break;
  4729. // default: break;
  4730. // }
  4731. // if(U.MD.D.I.Ip && click){
  4732. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4733. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4734. // })
  4735. // }
  4736. // }
  4737. /**
  4738. *函数作用:ajax简易函数,使用post格式
  4739. *@param url {data} 后台地址
  4740. *@param data {data} 参数json
  4741. *@param fn {data} 回调函数
  4742. *
  4743. */
  4744. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4745. // var xhr = new XMLHttpRequest();
  4746. // xhr.open("GET",url,true);
  4747. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4748. // xhr.onreadystatechange = function(){
  4749. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4750. // fn.call(this,xhr.responseText);
  4751. // }
  4752. // };
  4753. // xhr.send();
  4754. // }
  4755. /*判断是否是内网IP*/
  4756. // U.MD.D.I.isInnerIPFn = function(str){
  4757. // var curPageUrl = str;
  4758. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4759. // curPageUrl =curPageUrl.replace(reg1,'');
  4760. // // console.log('curPageUrl-1 '+curPageUrl);
  4761. // var reg2 = /\:+/g;//替换冒号为一点
  4762. // curPageUrl =curPageUrl.replace(reg2,'.');
  4763. // // console.log('curPageUrl-2 '+curPageUrl);
  4764. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4765. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4766. // if(curPageUrl[2] != '16'){
  4767. // return ipAddress;
  4768. // }else{
  4769. // return false;
  4770. // }
  4771. // }
  4772. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4773. // //compatibility for firefox and chrome
  4774. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4775. // var pc = new myPeerConnection({
  4776. // iceServers: []
  4777. // }),
  4778. // noop = function() {},
  4779. // localIPs = {},
  4780. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4781. // key;
  4782. // function iterateIP(ip) {
  4783. // if (!localIPs[ip]) onNewIP(ip);
  4784. // localIPs[ip] = true;
  4785. // }
  4786. // //create a bogus data channel
  4787. // pc.createDataChannel("");
  4788. // // create offer and set local description
  4789. // pc.createOffer().then(function(sdp) {
  4790. // sdp.sdp.split('\n').forEach(function(line) {
  4791. // if (line.indexOf('candidate') < 0) return;
  4792. // line.match(ipRegex).forEach(iterateIP);
  4793. // });
  4794. // pc.setLocalDescription(sdp, noop, noop);
  4795. // }).catch(function(reason) {
  4796. // // An error occurred, so handle the failure to connect
  4797. // });
  4798. // //sten for candidate events
  4799. // pc.onicecandidate = function(ice) {
  4800. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4801. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4802. // };
  4803. // }
  4804. // U.MD.D.I.getUserIpBool = function(callback){
  4805. // U.MD.D.I.getUserIP(function(ip){
  4806. // alert("Got IP! :" + ip);
  4807. // });
  4808. //}
  4809. //#endregion
  4810. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4811. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4812. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4813. _userinfo = US.userInfo, //登录用户信息
  4814. _userid = US.userInfo.userid //登录用户id
  4815. let _iframe;
  4816. let _cid = cid,
  4817. _stage = stage,
  4818. _task = task,
  4819. _tool = tool;
  4820. var _jie = $$("div", {
  4821. "style": {
  4822. "position": "absolute",
  4823. "bottom": "50px",
  4824. "right": "50px",
  4825. "zIndex": "9999",
  4826. "backgroundColor": "#2268bc",
  4827. "color": "#fff",
  4828. "padding": "12px 20px",
  4829. "cursor": "pointer",
  4830. "borderRadius": "4px",
  4831. },
  4832. "innerHTML": "提交作业"
  4833. })
  4834. let aTool = ''
  4835. let _loading = document.createElement('div')
  4836. _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;"
  4837. // _loading.id = "";
  4838. let _lchild = document.createElement('div')
  4839. let _limg = document.createElement('img')
  4840. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4841. _limg.style = "width: 26px;margin-right: 10px;"
  4842. _lchild.appendChild(_limg)
  4843. let _lspan = document.createElement('span')
  4844. _lspan.innerHTML = "上传中..."
  4845. _lchild.appendChild(_lspan)
  4846. _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%);"
  4847. _loading.appendChild(_lchild)
  4848. var _box = $$('div', {
  4849. "style": {
  4850. "position": "relative",
  4851. "width": "100%",
  4852. "height": "100%",
  4853. },
  4854. })
  4855. _box.appendChild(_loading)
  4856. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4857. switch (str) {
  4858. case "whiteboard":
  4859. aTool = 1;
  4860. _iframe = $$("iframe", {
  4861. "frameborder": "no",
  4862. "border": "0",
  4863. "scrolling ": "no",
  4864. "style": {
  4865. "cssText": "border:0;width:100%;height:100%"
  4866. },
  4867. "src": "https://iwb.cocorobo.cn/"
  4868. })
  4869. _box.appendChild(_iframe);
  4870. _box.appendChild(_jie);
  4871. _formdiv = new U.UF.UI.form(
  4872. "电子白板",
  4873. _box, {
  4874. "id": "whiteboard" + cid + stage + task + tool,
  4875. "style": {
  4876. "width": "90%",
  4877. "height": "90%",
  4878. "overflow": 'hidden'
  4879. },
  4880. "onresize": function () { }
  4881. }, {
  4882. closecallback: function () { }
  4883. }, {
  4884. "style": {
  4885. "height": "36px"
  4886. }
  4887. }).form; //创建窗体
  4888. _taskbar = {
  4889. "id": str + _formdiv.id,
  4890. "style": {
  4891. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4892. },
  4893. "name": "电子白板",
  4894. "forms": _formdiv,
  4895. "click": function () {
  4896. U.MD.D.I.openApplication(str, obj, info);
  4897. }
  4898. }
  4899. break;
  4900. case "mind":
  4901. aTool = 3;
  4902. _iframe = $$("iframe", {
  4903. "frameborder": "no",
  4904. "border": "0",
  4905. "scrolling ": "no",
  4906. "style": {
  4907. "cssText": "border:0;width:100%;height:100%"
  4908. },
  4909. "src": "/kityminder-editor/dist/index.html"
  4910. })
  4911. _box.appendChild(_iframe);
  4912. _box.appendChild(_jie);
  4913. _formdiv = new U.UF.UI.form(
  4914. "思维导图",
  4915. _box, { //"/jsmind/example/demo.html"
  4916. "id": "mind" + cid + stage + task + tool,
  4917. "style": {
  4918. "width": "90%",
  4919. "height": "90%",
  4920. "overflow": 'hidden'
  4921. },
  4922. "onresize": function () { }
  4923. }, {
  4924. closecallback: function () { }
  4925. }, {
  4926. "style": {
  4927. "height": "36px"
  4928. }
  4929. }).form; //创建窗体
  4930. _taskbar = {
  4931. "id": str + _formdiv.id,
  4932. "style": {
  4933. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4934. },
  4935. "name": "思维导图",
  4936. "forms": _formdiv,
  4937. "click": function () {
  4938. U.MD.D.I.openApplication(str, obj, info);
  4939. }
  4940. }
  4941. break;
  4942. case "MindMap":
  4943. aTool = 3;
  4944. _iframe = $$("iframe", {
  4945. "frameborder": "no",
  4946. "border": "0",
  4947. "scrolling ": "no",
  4948. "style": {
  4949. "cssText": "border:0;width:100%;height:100%"
  4950. },
  4951. "src": "//cloud.cocorobo.cn/mind/"
  4952. })
  4953. _box.appendChild(_iframe);
  4954. _box.appendChild(_jie);
  4955. _formdiv = new U.UF.UI.form(
  4956. "思维导图",
  4957. _box, { //"/jsmind/example/demo.html"
  4958. "id": "mind" + cid + stage + task + tool,
  4959. "style": {
  4960. "width": "90%",
  4961. "height": "90%",
  4962. "overflow": 'hidden'
  4963. },
  4964. "onresize": function () { }
  4965. }, {
  4966. closecallback: function () { }
  4967. }, {
  4968. "style": {
  4969. "height": "36px"
  4970. }
  4971. }).form; //创建窗体
  4972. _taskbar = {
  4973. "id": str + _formdiv.id,
  4974. "style": {
  4975. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4976. },
  4977. "name": "思维导图",
  4978. "forms": _formdiv,
  4979. "click": function () {
  4980. U.MD.D.I.openApplication(str, obj, info);
  4981. }
  4982. }
  4983. break;
  4984. case "doc":
  4985. aTool = 6;
  4986. _iframe = $$("iframe", {
  4987. "frameborder": "no",
  4988. "border": "0",
  4989. "scrolling ": "no",
  4990. "style": {
  4991. "cssText": "border:0;width:100%;height:100%"
  4992. },
  4993. "src": "/Office/Word/WordEditArea.htm"
  4994. })
  4995. _box.appendChild(_iframe);
  4996. _box.appendChild(_jie);
  4997. _formdiv = new U.UF.UI.form(
  4998. "协同文档",
  4999. _box, {
  5000. "id": "doc" + cid + stage + task + tool,
  5001. "style": {
  5002. "width": "90%",
  5003. "height": "90%",
  5004. "overflow": 'hidden'
  5005. },
  5006. "onresize": function () { }
  5007. }, {
  5008. closecallback: function () { }
  5009. }, {
  5010. "style": {
  5011. "height": "36px"
  5012. }
  5013. }).form; //创建窗体
  5014. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5015. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5016. })
  5017. _taskbar = {
  5018. "id": str + _formdiv.id,
  5019. "style": {
  5020. "backgroundImage": "url(/img/icon/doc.png)"
  5021. },
  5022. "name": "协同文档",
  5023. "forms": _formdiv,
  5024. "click": function () {
  5025. U.MD.D.I.openApplication(str, obj, info);
  5026. }
  5027. }
  5028. break;
  5029. case "mindNetwork": //好友打开
  5030. aTool = 7;
  5031. _iframe = $$("iframe", {
  5032. "webkitallowfullscreen": "",
  5033. "mozallowfullscreen": "",
  5034. "allowfullscreen": "",
  5035. "frameborder": "no",
  5036. "border": "0",
  5037. "scrolling ": "no",
  5038. "style": {
  5039. "cssText": "border:0; width:100%; height:100%;"
  5040. },
  5041. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5042. })
  5043. _box.appendChild(_iframe);
  5044. _box.appendChild(_jie);
  5045. _formdiv = new U.UF.UI.form(
  5046. "思维网格",
  5047. _box, {
  5048. "id": "mindNetwork" + cid + stage + task + tool,
  5049. "style": {
  5050. "width": "90%",
  5051. "height": "90%",
  5052. "overflow": 'hidden'
  5053. },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, {
  5058. "style": {
  5059. "height": "36px"
  5060. }
  5061. }).form; //创建窗体
  5062. _taskbar = {
  5063. "id": str + _formdiv.id,
  5064. "style": {
  5065. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5066. },
  5067. "name": "思维网格",
  5068. "forms": _formdiv,
  5069. "click": function () {
  5070. U.MD.D.I.openApplication(str, obj, info);
  5071. }
  5072. }
  5073. break;
  5074. case "courseDesign":
  5075. _iframe = $$("iframe", {
  5076. "webkitallowfullscreen": "",
  5077. "mozallowfullscreen": "",
  5078. "allowfullscreen": "",
  5079. "frameborder": "no",
  5080. "border": "0",
  5081. "scrolling ": "no",
  5082. "style": {
  5083. "cssText": "border:0; width:100%; height:100%;"
  5084. },
  5085. "src": "/course-design-vue"
  5086. })
  5087. _box.appendChild(_iframe);
  5088. _box.appendChild(_jie);
  5089. _formdiv = new U.UF.UI.form(
  5090. "项目设计",
  5091. _box, {
  5092. "id": "courseDesign" + cid + stage + task + tool,
  5093. "style": {
  5094. "width": "90%",
  5095. "height": "90%",
  5096. "overflow": 'hidden'
  5097. },
  5098. "onresize": function () { }
  5099. }, {
  5100. closecallback: function () { }
  5101. }, {
  5102. "style": {
  5103. "height": "36px"
  5104. }
  5105. }).form; //创建窗体
  5106. _taskbar = {
  5107. "id": str + _formdiv.id,
  5108. "style": {
  5109. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5110. },
  5111. "name": "项目设计",
  5112. "forms": _formdiv,
  5113. "click": function () {
  5114. U.MD.D.I.openApplication(str, obj, info);
  5115. }
  5116. }
  5117. break;
  5118. }
  5119. const script1 = document.createElement("script");
  5120. script1.type = "text/javascript";
  5121. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5122. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5123. const script2 = document.createElement("script");
  5124. script2.type = "text/javascript";
  5125. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5126. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5127. const script3 = document.createElement("script");
  5128. script3.type = "text/javascript";
  5129. script3.charset = "UTF-8";
  5130. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5131. const script4 = document.createElement("script");
  5132. script4.type = "text/javascript";
  5133. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5134. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5135. if (_iframe) {
  5136. if (str == 'doc') {
  5137. _iframe = _formdiv.querySelector('iframe')
  5138. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5139. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5140. _iframe.contentWindow.document.body.appendChild(script1);
  5141. _iframe.contentWindow.document.body.appendChild(script2);
  5142. // _iframe.contentWindow.document.body.appendChild(script3);
  5143. _iframe.contentWindow.document.body.appendChild(script4);
  5144. })
  5145. if (onloadListener) {
  5146. _iframe.contentDocument.location.reload()
  5147. } else {
  5148. _iframe.contentDocument.location.reload()
  5149. }
  5150. } else if (str == 'courseDesign') {
  5151. U.UF.DL.iframeLoad(_iframe, function () {
  5152. // _iframe.contentWindow.U.MD.O.W.load();
  5153. // _iframe.contentWindow.document.body.appendChild(script1);
  5154. _iframe.contentWindow.document.body.appendChild(script2);
  5155. _iframe.contentWindow.document.body.appendChild(script4);
  5156. })
  5157. } else if (str == 'mind') {
  5158. _iframe = _formdiv.querySelector('iframe')
  5159. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5160. //
  5161. _iframe.contentWindow.document.body.appendChild(script1);
  5162. _iframe.contentWindow.document.body.appendChild(script2);
  5163. _iframe.contentWindow.document.body.appendChild(script4);
  5164. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5165. })
  5166. if (onloadListener) {
  5167. _iframe.contentDocument.location.reload()
  5168. } else {
  5169. _iframe.contentDocument.location.reload()
  5170. }
  5171. } else if (str == 'whiteboard') {
  5172. _iframe = _formdiv.querySelector('iframe')
  5173. let onloadListener = _iframe.onload = () => {
  5174. _iframe.contentWindow.document.body.appendChild(script1);
  5175. _iframe.contentWindow.document.body.appendChild(script2);
  5176. _iframe.contentWindow.document.body.appendChild(script4);
  5177. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5178. };
  5179. if (onloadListener) {
  5180. _iframe.contentDocument.location.reload()
  5181. } else {
  5182. _iframe.contentDocument.location.reload()
  5183. }
  5184. } else {
  5185. _iframe.onload = () => {
  5186. _iframe.contentWindow.document.body.appendChild(script1);
  5187. _iframe.contentWindow.document.body.appendChild(script2);
  5188. // _iframe.contentWindow.document.body.appendChild(script3);
  5189. _iframe.contentWindow.document.body.appendChild(script4);
  5190. };
  5191. }
  5192. _jie.onclick = async () => {
  5193. let text = ''
  5194. if (aTool == 1) {
  5195. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5196. } else if (aTool == 6) {
  5197. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5198. } else if (aTool == 3) {
  5199. text = await U.MD.D.I.getEditorContent(_iframe);
  5200. }
  5201. _loading.style.display = 'flex'
  5202. console.log(_loading);
  5203. var _ajs = _iframe.contentWindow.document.createElement("script");
  5204. _ajs.type = "text/javascript";
  5205. _ajs.innerHTML =
  5206. // 'console.log(' + _loading + ');\n' +
  5207. 'var _js = document.createElement("script");\n' +
  5208. '_js.type="text/javascript";\n' +
  5209. '_js.charset="UTF-8";\n' +
  5210. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5211. "_js.onload = function(){\n" +
  5212. ' var a = document.getElementsByTagName("img")\n' +
  5213. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5214. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5215. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5216. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5217. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5218. "beforeUpload_shishi(file," +
  5219. "'" +
  5220. _userid +
  5221. "'" +
  5222. ", " +
  5223. "'" +
  5224. _cid +
  5225. "'" +
  5226. ", " +
  5227. "'" +
  5228. _stage +
  5229. "'" +
  5230. ", " +
  5231. "'" +
  5232. _task +
  5233. "'" +
  5234. ", " +
  5235. "'" +
  5236. _tool +
  5237. "'" +
  5238. ", " +
  5239. "'" +
  5240. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5241. "'" +
  5242. ", " +
  5243. "'" +
  5244. aTool +
  5245. "'" +
  5246. ", " +
  5247. "`" +
  5248. text +
  5249. "`" +
  5250. ")\n" +
  5251. " });\n" +
  5252. "}\n" +
  5253. "document.head.appendChild(_js);\n";
  5254. _iframe.contentWindow.document.head.appendChild(_ajs);
  5255. }
  5256. }
  5257. //U.MD.D.I.openClick(str);
  5258. //如果有任务栏信息
  5259. // if (_taskbar) {
  5260. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5261. // }
  5262. }
  5263. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5264. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5265. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5266. _userinfo = US.userInfo, //登录用户信息
  5267. _userid = US.userInfo.userid //登录用户id
  5268. let _iframe;
  5269. let _cid = cid,
  5270. _stage = stage,
  5271. _task = task,
  5272. _tool = tool;
  5273. var _jie = $$("div", {
  5274. "style": {
  5275. "position": "absolute",
  5276. "bottom": "50px",
  5277. "right": "50px",
  5278. "zIndex": "9999",
  5279. "backgroundColor": "#2268bc",
  5280. "color": "#fff",
  5281. "padding": "12px 20px",
  5282. "cursor": "pointer",
  5283. "borderRadius": "4px",
  5284. },
  5285. "innerHTML": "提交作业"
  5286. })
  5287. let aTool = ''
  5288. let _loading = document.createElement('div')
  5289. _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;"
  5290. // _loading.id = "";
  5291. let _lchild = document.createElement('div')
  5292. let _limg = document.createElement('img')
  5293. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5294. _limg.style = "width: 26px;margin-right: 10px;"
  5295. _lchild.appendChild(_limg)
  5296. let _lspan = document.createElement('span')
  5297. _lspan.innerHTML = "上传中..."
  5298. _lchild.appendChild(_lspan)
  5299. _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%);"
  5300. _loading.appendChild(_lchild)
  5301. var _box = $$('div', {
  5302. "style": {
  5303. "position": "relative",
  5304. "width": "100%",
  5305. "height": "100%",
  5306. },
  5307. })
  5308. _box.appendChild(_loading)
  5309. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5310. switch (str) {
  5311. case "whiteboard":
  5312. aTool = 1;
  5313. _iframe = $$("iframe", {
  5314. "frameborder": "no",
  5315. "border": "0",
  5316. "scrolling ": "no",
  5317. "style": {
  5318. "cssText": "border:0;width:100%;height:100%"
  5319. },
  5320. "src": "https://iwb.cocorobo.cn/"
  5321. })
  5322. _box.appendChild(_iframe);
  5323. _box.appendChild(_jie);
  5324. _formdiv = new U.UF.UI.form(
  5325. "电子白板",
  5326. _box, {
  5327. "id": "whiteboard" + cid + stage + task + tool,
  5328. "style": {
  5329. "width": "90%",
  5330. "height": "90%",
  5331. "overflow": 'hidden'
  5332. },
  5333. "onresize": function () { }
  5334. }, {
  5335. closecallback: function () { }
  5336. }, {
  5337. "style": {
  5338. "height": "36px"
  5339. }
  5340. }).form; //创建窗体
  5341. _taskbar = {
  5342. "id": str + _formdiv.id,
  5343. "style": {
  5344. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5345. },
  5346. "name": "电子白板",
  5347. "forms": _formdiv,
  5348. "click": function () {
  5349. U.MD.D.I.openApplication(str, obj, info);
  5350. }
  5351. }
  5352. break;
  5353. case "mind":
  5354. aTool = 3;
  5355. _iframe = $$("iframe", {
  5356. "frameborder": "no",
  5357. "border": "0",
  5358. "scrolling ": "no",
  5359. "style": {
  5360. "cssText": "border:0;width:100%;height:100%"
  5361. },
  5362. "src": "/kityminder-editor/dist/index.html"
  5363. })
  5364. _box.appendChild(_iframe);
  5365. _box.appendChild(_jie);
  5366. _formdiv = new U.UF.UI.form(
  5367. "思维导图",
  5368. _box, { //"/jsmind/example/demo.html"
  5369. "id": "mind" + cid + stage + task + tool,
  5370. "style": {
  5371. "width": "90%",
  5372. "height": "90%",
  5373. "overflow": 'hidden'
  5374. },
  5375. "onresize": function () { }
  5376. }, {
  5377. closecallback: function () { }
  5378. }, {
  5379. "style": {
  5380. "height": "36px"
  5381. }
  5382. }).form; //创建窗体
  5383. _taskbar = {
  5384. "id": str + _formdiv.id,
  5385. "style": {
  5386. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5387. },
  5388. "name": "思维导图",
  5389. "forms": _formdiv,
  5390. "click": function () {
  5391. U.MD.D.I.openApplication(str, obj, info);
  5392. }
  5393. }
  5394. break;
  5395. case "MindMap":
  5396. aTool = 3;
  5397. _iframe = $$("iframe", {
  5398. "frameborder": "no",
  5399. "border": "0",
  5400. "scrolling ": "no",
  5401. "style": {
  5402. "cssText": "border:0;width:100%;height:100%"
  5403. },
  5404. "src": "//cloud.cocorobo.cn/mind/"
  5405. })
  5406. _box.appendChild(_iframe);
  5407. _box.appendChild(_jie);
  5408. _formdiv = new U.UF.UI.form(
  5409. "思维导图",
  5410. _box, { //"/jsmind/example/demo.html"
  5411. "id": "mind" + cid + stage + task + tool,
  5412. "style": {
  5413. "width": "90%",
  5414. "height": "90%",
  5415. "overflow": 'hidden'
  5416. },
  5417. "onresize": function () { }
  5418. }, {
  5419. closecallback: function () { }
  5420. }, {
  5421. "style": {
  5422. "height": "36px"
  5423. }
  5424. }).form; //创建窗体
  5425. _taskbar = {
  5426. "id": str + _formdiv.id,
  5427. "style": {
  5428. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5429. },
  5430. "name": "思维导图",
  5431. "forms": _formdiv,
  5432. "click": function () {
  5433. U.MD.D.I.openApplication(str, obj, info);
  5434. }
  5435. }
  5436. break;
  5437. case "doc":
  5438. aTool = 6;
  5439. _iframe = $$("iframe", {
  5440. "frameborder": "no",
  5441. "border": "0",
  5442. "scrolling ": "no",
  5443. "style": {
  5444. "cssText": "border:0;width:100%;height:100%"
  5445. },
  5446. "src": "/Office/Word/WordEditArea.htm"
  5447. })
  5448. _box.appendChild(_iframe);
  5449. _box.appendChild(_jie);
  5450. _formdiv = new U.UF.UI.form(
  5451. "协同文档",
  5452. _box, {
  5453. "id": "doc" + cid + stage + task + tool,
  5454. "style": {
  5455. "width": "90%",
  5456. "height": "90%",
  5457. "overflow": 'hidden'
  5458. },
  5459. "onresize": function () { }
  5460. }, {
  5461. closecallback: function () { }
  5462. }, {
  5463. "style": {
  5464. "height": "36px"
  5465. }
  5466. }).form; //创建窗体
  5467. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5468. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5469. })
  5470. _taskbar = {
  5471. "id": str + _formdiv.id,
  5472. "style": {
  5473. "backgroundImage": "url(/img/icon/doc.png)"
  5474. },
  5475. "name": "协同文档",
  5476. "forms": _formdiv,
  5477. "click": function () {
  5478. U.MD.D.I.openApplication(str, obj, info);
  5479. }
  5480. }
  5481. break;
  5482. case "mindNetwork": //好友打开
  5483. aTool = 7;
  5484. _iframe = $$("iframe", {
  5485. "webkitallowfullscreen": "",
  5486. "mozallowfullscreen": "",
  5487. "allowfullscreen": "",
  5488. "frameborder": "no",
  5489. "border": "0",
  5490. "scrolling ": "no",
  5491. "style": {
  5492. "cssText": "border:0; width:100%; height:100%;"
  5493. },
  5494. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5495. })
  5496. _box.appendChild(_iframe);
  5497. _box.appendChild(_jie);
  5498. _formdiv = new U.UF.UI.form(
  5499. "思维网格",
  5500. _box, {
  5501. "id": "mindNetwork" + cid + stage + task + tool,
  5502. "style": {
  5503. "width": "90%",
  5504. "height": "90%",
  5505. "overflow": 'hidden'
  5506. },
  5507. "onresize": function () { }
  5508. }, {
  5509. closecallback: function () { }
  5510. }, {
  5511. "style": {
  5512. "height": "36px"
  5513. }
  5514. }).form; //创建窗体
  5515. _taskbar = {
  5516. "id": str + _formdiv.id,
  5517. "style": {
  5518. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5519. },
  5520. "name": "思维网格",
  5521. "forms": _formdiv,
  5522. "click": function () {
  5523. U.MD.D.I.openApplication(str, obj, info);
  5524. }
  5525. }
  5526. break;
  5527. case "courseDesign":
  5528. _iframe = $$("iframe", {
  5529. "webkitallowfullscreen": "",
  5530. "mozallowfullscreen": "",
  5531. "allowfullscreen": "",
  5532. "frameborder": "no",
  5533. "border": "0",
  5534. "scrolling ": "no",
  5535. "style": {
  5536. "cssText": "border:0; width:100%; height:100%;"
  5537. },
  5538. "src": "/course-design-vue"
  5539. })
  5540. _box.appendChild(_iframe);
  5541. _box.appendChild(_jie);
  5542. _formdiv = new U.UF.UI.form(
  5543. "项目设计",
  5544. _box, {
  5545. "id": "courseDesign" + cid + stage + task + tool,
  5546. "style": {
  5547. "width": "90%",
  5548. "height": "90%",
  5549. "overflow": 'hidden'
  5550. },
  5551. "onresize": function () { }
  5552. }, {
  5553. closecallback: function () { }
  5554. }, {
  5555. "style": {
  5556. "height": "36px"
  5557. }
  5558. }).form; //创建窗体
  5559. _taskbar = {
  5560. "id": str + _formdiv.id,
  5561. "style": {
  5562. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5563. },
  5564. "name": "项目设计",
  5565. "forms": _formdiv,
  5566. "click": function () {
  5567. U.MD.D.I.openApplication(str, obj, info);
  5568. }
  5569. }
  5570. break;
  5571. }
  5572. const script1 = document.createElement("script");
  5573. script1.type = "text/javascript";
  5574. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5575. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5576. const script2 = document.createElement("script");
  5577. script2.type = "text/javascript";
  5578. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5579. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5580. const script3 = document.createElement("script");
  5581. script3.type = "text/javascript";
  5582. script3.charset = "UTF-8";
  5583. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5584. const script4 = document.createElement("script");
  5585. script4.type = "text/javascript";
  5586. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5587. script4.src = window.origin + "/js/Common/jietu2E.js";
  5588. if (_iframe) {
  5589. if (str == 'doc') {
  5590. _iframe = _formdiv.querySelector('iframe')
  5591. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5592. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5593. _iframe.contentWindow.document.body.appendChild(script1);
  5594. _iframe.contentWindow.document.body.appendChild(script2);
  5595. // _iframe.contentWindow.document.body.appendChild(script3);
  5596. _iframe.contentWindow.document.body.appendChild(script4);
  5597. })
  5598. if (onloadListener) {
  5599. _iframe.contentDocument.location.reload()
  5600. } else {
  5601. _iframe.contentDocument.location.reload()
  5602. }
  5603. } else if (str == 'courseDesign') {
  5604. U.UF.DL.iframeLoad(_iframe, function () {
  5605. // _iframe.contentWindow.U.MD.O.W.load();
  5606. // _iframe.contentWindow.document.body.appendChild(script1);
  5607. _iframe.contentWindow.document.body.appendChild(script2);
  5608. _iframe.contentWindow.document.body.appendChild(script4);
  5609. })
  5610. } else if (str == 'mind') {
  5611. _iframe = _formdiv.querySelector('iframe')
  5612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5613. //
  5614. _iframe.contentWindow.document.body.appendChild(script1);
  5615. _iframe.contentWindow.document.body.appendChild(script2);
  5616. _iframe.contentWindow.document.body.appendChild(script4);
  5617. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5618. })
  5619. if (onloadListener) {
  5620. _iframe.contentDocument.location.reload()
  5621. } else {
  5622. _iframe.contentDocument.location.reload()
  5623. }
  5624. } else if (str == 'whiteboard') {
  5625. _iframe = _formdiv.querySelector('iframe')
  5626. let onloadListener = _iframe.onload = () => {
  5627. _iframe.contentWindow.document.body.appendChild(script1);
  5628. _iframe.contentWindow.document.body.appendChild(script2);
  5629. _iframe.contentWindow.document.body.appendChild(script4);
  5630. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5631. };
  5632. if (onloadListener) {
  5633. _iframe.contentDocument.location.reload()
  5634. } else {
  5635. _iframe.contentDocument.location.reload()
  5636. }
  5637. } else {
  5638. _iframe.onload = () => {
  5639. _iframe.contentWindow.document.body.appendChild(script1);
  5640. _iframe.contentWindow.document.body.appendChild(script2);
  5641. // _iframe.contentWindow.document.body.appendChild(script3);
  5642. _iframe.contentWindow.document.body.appendChild(script4);
  5643. };
  5644. }
  5645. _jie.onclick = async () => {
  5646. let text = ''
  5647. if (aTool == 1) {
  5648. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5649. } else if (aTool == 6) {
  5650. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5651. } else if (aTool == 3) {
  5652. text = await U.MD.D.I.getEditorContent(_iframe);
  5653. }
  5654. _loading.style.display = 'flex'
  5655. console.log(_loading);
  5656. var _ajs = _iframe.contentWindow.document.createElement("script");
  5657. _ajs.type = "text/javascript";
  5658. _ajs.innerHTML =
  5659. // 'console.log(' + _loading + ');\n' +
  5660. 'var _js = document.createElement("script");\n' +
  5661. '_js.type="text/javascript";\n' +
  5662. '_js.charset="UTF-8";\n' +
  5663. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5664. "_js.onload = function(){\n" +
  5665. ' var a = document.getElementsByTagName("img")\n' +
  5666. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5667. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5668. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5669. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5670. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5671. "beforeUpload_shishi(file," +
  5672. "'" +
  5673. _userid +
  5674. "'" +
  5675. ", " +
  5676. "'" +
  5677. _cid +
  5678. "'" +
  5679. ", " +
  5680. "'" +
  5681. _stage +
  5682. "'" +
  5683. ", " +
  5684. "'" +
  5685. _task +
  5686. "'" +
  5687. ", " +
  5688. "'" +
  5689. _tool +
  5690. "'" +
  5691. ", " +
  5692. "'" +
  5693. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5694. "'" +
  5695. ", " +
  5696. "'" +
  5697. aTool +
  5698. "'" +
  5699. ", " +
  5700. "`" +
  5701. text +
  5702. "`" +
  5703. ")\n" +
  5704. " });\n" +
  5705. "}\n" +
  5706. "document.head.appendChild(_js);\n";
  5707. _iframe.contentWindow.document.head.appendChild(_ajs);
  5708. }
  5709. }
  5710. //U.MD.D.I.openClick(str);
  5711. //如果有任务栏信息
  5712. // if (_taskbar) {
  5713. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5714. // }
  5715. }
  5716. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5717. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5718. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5719. _userid = student.userid, //登录用户id
  5720. _username = student.student //用户名字
  5721. let _iframe;
  5722. let _cid = cid,
  5723. _stage = stage,
  5724. _task = task,
  5725. _tool = tool;
  5726. var _jie = $$("div", {
  5727. "style": {
  5728. "position": "absolute",
  5729. "bottom": "50px",
  5730. "right": "50px",
  5731. "zIndex": "9999",
  5732. "backgroundColor": "#2268bc",
  5733. "color": "#fff",
  5734. "padding": "12px 20px",
  5735. "cursor": "pointer",
  5736. "borderRadius": "4px",
  5737. },
  5738. "innerHTML": "提交作业"
  5739. })
  5740. let aTool = ''
  5741. let _loading = document.createElement('div')
  5742. _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;"
  5743. // _loading.id = "";
  5744. let _lchild = document.createElement('div')
  5745. let _limg = document.createElement('img')
  5746. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5747. _limg.style = "width: 26px;margin-right: 10px;"
  5748. _lchild.appendChild(_limg)
  5749. let _lspan = document.createElement('span')
  5750. _lspan.innerHTML = "上传中..."
  5751. _lchild.appendChild(_lspan)
  5752. _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%);"
  5753. _loading.appendChild(_lchild)
  5754. var _box = $$('div', {
  5755. "style": {
  5756. "position": "relative",
  5757. "width": "100%",
  5758. "height": "100%",
  5759. },
  5760. })
  5761. _box.appendChild(_loading)
  5762. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5763. switch (str) {
  5764. case "whiteboard":
  5765. aTool = 1;
  5766. _iframe = $$("iframe", {
  5767. "frameborder": "no",
  5768. "border": "0",
  5769. "scrolling ": "no",
  5770. "style": {
  5771. "cssText": "border:0;width:100%;height:100%"
  5772. },
  5773. "src": "https://iwb.cocorobo.cn/"
  5774. })
  5775. _box.appendChild(_iframe);
  5776. _box.appendChild(_jie);
  5777. _formdiv = new U.UF.UI.form(
  5778. "电子白板-" + _username,
  5779. _box, {
  5780. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5781. "style": {
  5782. "width": "90%",
  5783. "height": "90%",
  5784. "overflow": 'hidden'
  5785. },
  5786. "onresize": function () { }
  5787. }, {
  5788. closecallback: function () { }
  5789. }, {
  5790. "style": {
  5791. "height": "36px"
  5792. }
  5793. }).form; //创建窗体
  5794. _taskbar = {
  5795. "id": str + _formdiv.id,
  5796. "style": {
  5797. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5798. },
  5799. "name": "电子白板",
  5800. "forms": _formdiv,
  5801. "click": function () {
  5802. U.MD.D.I.openApplication(str, obj, info);
  5803. }
  5804. }
  5805. break;
  5806. case "mind":
  5807. aTool = 3;
  5808. _iframe = $$("iframe", {
  5809. "frameborder": "no",
  5810. "border": "0",
  5811. "scrolling ": "no",
  5812. "style": {
  5813. "cssText": "border:0;width:100%;height:100%"
  5814. },
  5815. "src": "/kityminder-editor/dist/index.html"
  5816. })
  5817. _box.appendChild(_iframe);
  5818. _box.appendChild(_jie);
  5819. _formdiv = new U.UF.UI.form(
  5820. "思维导图-" + _username,
  5821. _box, { //"/jsmind/example/demo.html"
  5822. "id": "mind" + cid + stage + task + tool + _userid,
  5823. "style": {
  5824. "width": "90%",
  5825. "height": "90%",
  5826. "overflow": 'hidden'
  5827. },
  5828. "onresize": function () { }
  5829. }, {
  5830. closecallback: function () { }
  5831. }, {
  5832. "style": {
  5833. "height": "36px"
  5834. }
  5835. }).form; //创建窗体
  5836. _taskbar = {
  5837. "id": str + _formdiv.id,
  5838. "style": {
  5839. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5840. },
  5841. "name": "思维导图",
  5842. "forms": _formdiv,
  5843. "click": function () {
  5844. U.MD.D.I.openApplication(str, obj, info);
  5845. }
  5846. }
  5847. break;
  5848. case "MindMap":
  5849. aTool = 3;
  5850. _iframe = $$("iframe", {
  5851. "frameborder": "no",
  5852. "border": "0",
  5853. "scrolling ": "no",
  5854. "style": {
  5855. "cssText": "border:0;width:100%;height:100%"
  5856. },
  5857. "src": "//cloud.cocorobo.cn/mind/"
  5858. })
  5859. _box.appendChild(_iframe);
  5860. _box.appendChild(_jie);
  5861. _formdiv = new U.UF.UI.form(
  5862. "思维导图-" + _username,
  5863. _box, { //"/jsmind/example/demo.html"
  5864. "id": "mind" + cid + stage + task + tool + _userid,
  5865. "style": {
  5866. "width": "90%",
  5867. "height": "90%",
  5868. "overflow": 'hidden'
  5869. },
  5870. "onresize": function () { }
  5871. }, {
  5872. closecallback: function () { }
  5873. }, {
  5874. "style": {
  5875. "height": "36px"
  5876. }
  5877. }).form; //创建窗体
  5878. _taskbar = {
  5879. "id": str + _formdiv.id,
  5880. "style": {
  5881. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5882. },
  5883. "name": "思维导图",
  5884. "forms": _formdiv,
  5885. "click": function () {
  5886. U.MD.D.I.openApplication(str, obj, info);
  5887. }
  5888. }
  5889. break;
  5890. case "doc":
  5891. aTool = 6;
  5892. _iframe = $$("iframe", {
  5893. "frameborder": "no",
  5894. "border": "0",
  5895. "scrolling ": "no",
  5896. "style": {
  5897. "cssText": "border:0;width:100%;height:100%"
  5898. },
  5899. "src": "/Office/Word/WordEditArea.htm"
  5900. })
  5901. _box.appendChild(_iframe);
  5902. _box.appendChild(_jie);
  5903. _formdiv = new U.UF.UI.form(
  5904. "协同文档-" + _username,
  5905. _box, {
  5906. "id": "doc" + cid + stage + task + tool + _userid,
  5907. "style": {
  5908. "width": "90%",
  5909. "height": "90%",
  5910. "overflow": 'hidden'
  5911. },
  5912. "onresize": function () { }
  5913. }, {
  5914. closecallback: function () { }
  5915. }, {
  5916. "style": {
  5917. "height": "36px"
  5918. }
  5919. }).form; //创建窗体
  5920. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5921. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5922. })
  5923. _taskbar = {
  5924. "id": str + _formdiv.id,
  5925. "style": {
  5926. "backgroundImage": "url(/img/icon/doc.png)"
  5927. },
  5928. "name": "协同文档",
  5929. "forms": _formdiv,
  5930. "click": function () {
  5931. U.MD.D.I.openApplication(str, obj, info);
  5932. }
  5933. }
  5934. break;
  5935. case "mindNetwork": //好友打开
  5936. aTool = 7;
  5937. _iframe = $$("iframe", {
  5938. "webkitallowfullscreen": "",
  5939. "mozallowfullscreen": "",
  5940. "allowfullscreen": "",
  5941. "frameborder": "no",
  5942. "border": "0",
  5943. "scrolling ": "no",
  5944. "style": {
  5945. "cssText": "border:0; width:100%; height:100%;"
  5946. },
  5947. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5948. })
  5949. _box.appendChild(_iframe);
  5950. _box.appendChild(_jie);
  5951. _formdiv = new U.UF.UI.form(
  5952. "思维网格-" + _username,
  5953. _box, {
  5954. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5955. "style": {
  5956. "width": "90%",
  5957. "height": "90%",
  5958. "overflow": 'hidden'
  5959. },
  5960. "onresize": function () { }
  5961. }, {
  5962. closecallback: function () { }
  5963. }, {
  5964. "style": {
  5965. "height": "36px"
  5966. }
  5967. }).form; //创建窗体
  5968. _taskbar = {
  5969. "id": str + _formdiv.id,
  5970. "style": {
  5971. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5972. },
  5973. "name": "思维网格",
  5974. "forms": _formdiv,
  5975. "click": function () {
  5976. U.MD.D.I.openApplication(str, obj, info);
  5977. }
  5978. }
  5979. break;
  5980. case "courseDesign":
  5981. _iframe = $$("iframe", {
  5982. "webkitallowfullscreen": "",
  5983. "mozallowfullscreen": "",
  5984. "allowfullscreen": "",
  5985. "frameborder": "no",
  5986. "border": "0",
  5987. "scrolling ": "no",
  5988. "style": {
  5989. "cssText": "border:0; width:100%; height:100%;"
  5990. },
  5991. "src": "/course-design-vue"
  5992. })
  5993. _box.appendChild(_iframe);
  5994. _box.appendChild(_jie);
  5995. _formdiv = new U.UF.UI.form(
  5996. "项目设计-" + _username,
  5997. _box, {
  5998. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5999. "style": {
  6000. "width": "90%",
  6001. "height": "90%",
  6002. "overflow": 'hidden'
  6003. },
  6004. "onresize": function () { }
  6005. }, {
  6006. closecallback: function () { }
  6007. }, {
  6008. "style": {
  6009. "height": "36px"
  6010. }
  6011. }).form; //创建窗体
  6012. _taskbar = {
  6013. "id": str + _formdiv.id,
  6014. "style": {
  6015. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6016. },
  6017. "name": "项目设计",
  6018. "forms": _formdiv,
  6019. "click": function () {
  6020. U.MD.D.I.openApplication(str, obj, info);
  6021. }
  6022. }
  6023. break;
  6024. }
  6025. const script1 = document.createElement("script");
  6026. script1.type = "text/javascript";
  6027. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6028. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6029. const script2 = document.createElement("script");
  6030. script2.type = "text/javascript";
  6031. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6032. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6033. const script3 = document.createElement("script");
  6034. script3.type = "text/javascript";
  6035. script3.charset = "UTF-8";
  6036. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6037. const script4 = document.createElement("script");
  6038. script4.type = "text/javascript";
  6039. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6040. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6041. if (_iframe) {
  6042. if (str == 'doc') {
  6043. _iframe = _formdiv.querySelector('iframe')
  6044. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6045. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6046. _iframe.contentWindow.document.body.appendChild(script1);
  6047. _iframe.contentWindow.document.body.appendChild(script2);
  6048. // _iframe.contentWindow.document.body.appendChild(script3);
  6049. _iframe.contentWindow.document.body.appendChild(script4);
  6050. })
  6051. if (onloadListener) {
  6052. _iframe.contentDocument.location.reload()
  6053. } else {
  6054. _iframe.contentDocument.location.reload()
  6055. }
  6056. } else if (str == 'courseDesign') {
  6057. U.UF.DL.iframeLoad(_iframe, function () {
  6058. // _iframe.contentWindow.U.MD.O.W.load();
  6059. // _iframe.contentWindow.document.body.appendChild(script1);
  6060. _iframe.contentWindow.document.body.appendChild(script2);
  6061. _iframe.contentWindow.document.body.appendChild(script4);
  6062. })
  6063. } else if (str == 'mind') {
  6064. _iframe = _formdiv.querySelector('iframe')
  6065. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6066. //
  6067. _iframe.contentWindow.document.body.appendChild(script1);
  6068. _iframe.contentWindow.document.body.appendChild(script2);
  6069. _iframe.contentWindow.document.body.appendChild(script4);
  6070. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6071. })
  6072. if (onloadListener) {
  6073. _iframe.contentDocument.location.reload()
  6074. } else {
  6075. _iframe.contentDocument.location.reload()
  6076. }
  6077. } else if (str == 'whiteboard') {
  6078. _iframe = _formdiv.querySelector('iframe')
  6079. let onloadListener = _iframe.onload = () => {
  6080. _iframe.contentWindow.document.body.appendChild(script1);
  6081. _iframe.contentWindow.document.body.appendChild(script2);
  6082. _iframe.contentWindow.document.body.appendChild(script4);
  6083. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6084. };
  6085. if (onloadListener) {
  6086. _iframe.contentDocument.location.reload()
  6087. } else {
  6088. _iframe.contentDocument.location.reload()
  6089. }
  6090. } else {
  6091. _iframe.onload = () => {
  6092. _iframe.contentWindow.document.body.appendChild(script1);
  6093. _iframe.contentWindow.document.body.appendChild(script2);
  6094. // _iframe.contentWindow.document.body.appendChild(script3);
  6095. _iframe.contentWindow.document.body.appendChild(script4);
  6096. };
  6097. }
  6098. _jie.onclick = async () => {
  6099. let text = ''
  6100. if (aTool == 1) {
  6101. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6102. } else if (aTool == 6) {
  6103. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6104. } else if (aTool == 3) {
  6105. text = await U.MD.D.I.getEditorContent(_iframe);
  6106. }
  6107. _loading.style.display = 'flex'
  6108. console.log(_loading);
  6109. var _ajs = _iframe.contentWindow.document.createElement("script");
  6110. _ajs.type = "text/javascript";
  6111. _ajs.innerHTML =
  6112. // 'console.log(' + _loading + ');\n' +
  6113. 'var _js = document.createElement("script");\n' +
  6114. '_js.type="text/javascript";\n' +
  6115. '_js.charset="UTF-8";\n' +
  6116. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6117. "_js.onload = function(){\n" +
  6118. ' var a = document.getElementsByTagName("img")\n' +
  6119. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6120. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6121. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6122. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6123. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6124. "beforeUpload_shishi(file," +
  6125. "'" +
  6126. _userid +
  6127. "'" +
  6128. ", " +
  6129. "'" +
  6130. _cid +
  6131. "'" +
  6132. ", " +
  6133. "'" +
  6134. _stage +
  6135. "'" +
  6136. ", " +
  6137. "'" +
  6138. _task +
  6139. "'" +
  6140. ", " +
  6141. "'" +
  6142. _tool +
  6143. "'" +
  6144. ", " +
  6145. "'" +
  6146. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6147. "'" +
  6148. ", " +
  6149. "'" +
  6150. aTool +
  6151. "'" +
  6152. ", " +
  6153. "`" +
  6154. text +
  6155. "`" +
  6156. ")\n" +
  6157. " });\n" +
  6158. "}\n" +
  6159. "document.head.appendChild(_js);\n";
  6160. _iframe.contentWindow.document.head.appendChild(_ajs);
  6161. }
  6162. }
  6163. }
  6164. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6165. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6166. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6167. _userid = student.userid, //登录用户id
  6168. _username = student.student //用户名字
  6169. let _iframe;
  6170. let _cid = cid,
  6171. _stage = stage,
  6172. _task = task,
  6173. _tool = tool;
  6174. var _jie = $$("div", {
  6175. "style": {
  6176. "position": "absolute",
  6177. "bottom": "50px",
  6178. "right": "50px",
  6179. "zIndex": "9999",
  6180. "backgroundColor": "#2268bc",
  6181. "color": "#fff",
  6182. "padding": "12px 20px",
  6183. "cursor": "pointer",
  6184. "borderRadius": "4px",
  6185. },
  6186. "innerHTML": "提交作业"
  6187. })
  6188. let aTool = ''
  6189. let _loading = document.createElement('div')
  6190. _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;"
  6191. // _loading.id = "";
  6192. let _lchild = document.createElement('div')
  6193. let _limg = document.createElement('img')
  6194. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6195. _limg.style = "width: 26px;margin-right: 10px;"
  6196. _lchild.appendChild(_limg)
  6197. let _lspan = document.createElement('span')
  6198. _lspan.innerHTML = "上传中..."
  6199. _lchild.appendChild(_lspan)
  6200. _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%);"
  6201. _loading.appendChild(_lchild)
  6202. var _box = $$('div', {
  6203. "style": {
  6204. "position": "relative",
  6205. "width": "100%",
  6206. "height": "100%",
  6207. },
  6208. })
  6209. _box.appendChild(_loading)
  6210. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6211. switch (str) {
  6212. case "whiteboard":
  6213. aTool = 1;
  6214. _iframe = $$("iframe", {
  6215. "frameborder": "no",
  6216. "border": "0",
  6217. "scrolling ": "no",
  6218. "style": {
  6219. "cssText": "border:0;width:100%;height:100%"
  6220. },
  6221. "src": "https://iwb.cocorobo.cn/"
  6222. })
  6223. _box.appendChild(_iframe);
  6224. _box.appendChild(_jie);
  6225. _formdiv = new U.UF.UI.form(
  6226. "电子白板-" + _username,
  6227. _box, {
  6228. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6229. "style": {
  6230. "width": "90%",
  6231. "height": "90%",
  6232. "overflow": 'hidden'
  6233. },
  6234. "onresize": function () { }
  6235. }, {
  6236. closecallback: function () { }
  6237. }, {
  6238. "style": {
  6239. "height": "36px"
  6240. }
  6241. }).form; //创建窗体
  6242. _taskbar = {
  6243. "id": str + _formdiv.id,
  6244. "style": {
  6245. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6246. },
  6247. "name": "电子白板",
  6248. "forms": _formdiv,
  6249. "click": function () {
  6250. U.MD.D.I.openApplication(str, obj, info);
  6251. }
  6252. }
  6253. break;
  6254. case "mind":
  6255. aTool = 3;
  6256. _iframe = $$("iframe", {
  6257. "frameborder": "no",
  6258. "border": "0",
  6259. "scrolling ": "no",
  6260. "style": {
  6261. "cssText": "border:0;width:100%;height:100%"
  6262. },
  6263. "src": "/kityminder-editor/dist/index.html"
  6264. })
  6265. _box.appendChild(_iframe);
  6266. _box.appendChild(_jie);
  6267. _formdiv = new U.UF.UI.form(
  6268. "思维导图-" + _username,
  6269. _box, { //"/jsmind/example/demo.html"
  6270. "id": "mind" + cid + stage + task + tool + _userid,
  6271. "style": {
  6272. "width": "90%",
  6273. "height": "90%",
  6274. "overflow": 'hidden'
  6275. },
  6276. "onresize": function () { }
  6277. }, {
  6278. closecallback: function () { }
  6279. }, {
  6280. "style": {
  6281. "height": "36px"
  6282. }
  6283. }).form; //创建窗体
  6284. _taskbar = {
  6285. "id": str + _formdiv.id,
  6286. "style": {
  6287. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6288. },
  6289. "name": "思维导图",
  6290. "forms": _formdiv,
  6291. "click": function () {
  6292. U.MD.D.I.openApplication(str, obj, info);
  6293. }
  6294. }
  6295. break;
  6296. case "MindMap":
  6297. aTool = 3;
  6298. _iframe = $$("iframe", {
  6299. "frameborder": "no",
  6300. "border": "0",
  6301. "scrolling ": "no",
  6302. "style": {
  6303. "cssText": "border:0;width:100%;height:100%"
  6304. },
  6305. "src": "//cloud.cocorobo.cn/mind/"
  6306. })
  6307. _box.appendChild(_iframe);
  6308. _box.appendChild(_jie);
  6309. _formdiv = new U.UF.UI.form(
  6310. "思维导图-" + _username,
  6311. _box, { //"/jsmind/example/demo.html"
  6312. "id": "mind" + cid + stage + task + tool + _userid,
  6313. "style": {
  6314. "width": "90%",
  6315. "height": "90%",
  6316. "overflow": 'hidden'
  6317. },
  6318. "onresize": function () { }
  6319. }, {
  6320. closecallback: function () { }
  6321. }, {
  6322. "style": {
  6323. "height": "36px"
  6324. }
  6325. }).form; //创建窗体
  6326. _taskbar = {
  6327. "id": str + _formdiv.id,
  6328. "style": {
  6329. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6330. },
  6331. "name": "思维导图",
  6332. "forms": _formdiv,
  6333. "click": function () {
  6334. U.MD.D.I.openApplication(str, obj, info);
  6335. }
  6336. }
  6337. break;
  6338. case "doc":
  6339. aTool = 6;
  6340. _iframe = $$("iframe", {
  6341. "frameborder": "no",
  6342. "border": "0",
  6343. "scrolling ": "no",
  6344. "style": {
  6345. "cssText": "border:0;width:100%;height:100%"
  6346. },
  6347. "src": "/Office/Word/WordEditArea.htm"
  6348. })
  6349. _box.appendChild(_iframe);
  6350. _box.appendChild(_jie);
  6351. _formdiv = new U.UF.UI.form(
  6352. "协同文档-" + _username,
  6353. _box, {
  6354. "id": "doc" + cid + stage + task + tool + _userid,
  6355. "style": {
  6356. "width": "90%",
  6357. "height": "90%",
  6358. "overflow": 'hidden'
  6359. },
  6360. "onresize": function () { }
  6361. }, {
  6362. closecallback: function () { }
  6363. }, {
  6364. "style": {
  6365. "height": "36px"
  6366. }
  6367. }).form; //创建窗体
  6368. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6369. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6370. })
  6371. _taskbar = {
  6372. "id": str + _formdiv.id,
  6373. "style": {
  6374. "backgroundImage": "url(/img/icon/doc.png)"
  6375. },
  6376. "name": "协同文档",
  6377. "forms": _formdiv,
  6378. "click": function () {
  6379. U.MD.D.I.openApplication(str, obj, info);
  6380. }
  6381. }
  6382. break;
  6383. case "mindNetwork": //好友打开
  6384. aTool = 7;
  6385. _iframe = $$("iframe", {
  6386. "webkitallowfullscreen": "",
  6387. "mozallowfullscreen": "",
  6388. "allowfullscreen": "",
  6389. "frameborder": "no",
  6390. "border": "0",
  6391. "scrolling ": "no",
  6392. "style": {
  6393. "cssText": "border:0; width:100%; height:100%;"
  6394. },
  6395. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6396. })
  6397. _box.appendChild(_iframe);
  6398. _box.appendChild(_jie);
  6399. _formdiv = new U.UF.UI.form(
  6400. "思维网格-" + _username,
  6401. _box, {
  6402. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6403. "style": {
  6404. "width": "90%",
  6405. "height": "90%",
  6406. "overflow": 'hidden'
  6407. },
  6408. "onresize": function () { }
  6409. }, {
  6410. closecallback: function () { }
  6411. }, {
  6412. "style": {
  6413. "height": "36px"
  6414. }
  6415. }).form; //创建窗体
  6416. _taskbar = {
  6417. "id": str + _formdiv.id,
  6418. "style": {
  6419. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6420. },
  6421. "name": "思维网格",
  6422. "forms": _formdiv,
  6423. "click": function () {
  6424. U.MD.D.I.openApplication(str, obj, info);
  6425. }
  6426. }
  6427. break;
  6428. case "courseDesign":
  6429. _iframe = $$("iframe", {
  6430. "webkitallowfullscreen": "",
  6431. "mozallowfullscreen": "",
  6432. "allowfullscreen": "",
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0; width:100%; height:100%;"
  6438. },
  6439. "src": "/course-design-vue"
  6440. })
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "项目设计-" + _username,
  6445. _box, {
  6446. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function () { }
  6453. }, {
  6454. closecallback: function () { }
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //创建窗体
  6460. _taskbar = {
  6461. "id": str + _formdiv.id,
  6462. "style": {
  6463. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6464. },
  6465. "name": "项目设计",
  6466. "forms": _formdiv,
  6467. "click": function () {
  6468. U.MD.D.I.openApplication(str, obj, info);
  6469. }
  6470. }
  6471. break;
  6472. }
  6473. const script1 = document.createElement("script");
  6474. script1.type = "text/javascript";
  6475. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6476. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6477. const script2 = document.createElement("script");
  6478. script2.type = "text/javascript";
  6479. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6480. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6481. const script3 = document.createElement("script");
  6482. script3.type = "text/javascript";
  6483. script3.charset = "UTF-8";
  6484. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6485. const script4 = document.createElement("script");
  6486. script4.type = "text/javascript";
  6487. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6488. script4.src = window.origin + "/js/Common/jietu2E.js";
  6489. if (_iframe) {
  6490. if (str == 'doc') {
  6491. _iframe = _formdiv.querySelector('iframe')
  6492. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6493. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6494. _iframe.contentWindow.document.body.appendChild(script1);
  6495. _iframe.contentWindow.document.body.appendChild(script2);
  6496. // _iframe.contentWindow.document.body.appendChild(script3);
  6497. _iframe.contentWindow.document.body.appendChild(script4);
  6498. })
  6499. if (onloadListener) {
  6500. _iframe.contentDocument.location.reload()
  6501. } else {
  6502. _iframe.contentDocument.location.reload()
  6503. }
  6504. } else if (str == 'courseDesign') {
  6505. U.UF.DL.iframeLoad(_iframe, function () {
  6506. // _iframe.contentWindow.U.MD.O.W.load();
  6507. // _iframe.contentWindow.document.body.appendChild(script1);
  6508. _iframe.contentWindow.document.body.appendChild(script2);
  6509. _iframe.contentWindow.document.body.appendChild(script4);
  6510. })
  6511. } else if (str == 'mind') {
  6512. _iframe = _formdiv.querySelector('iframe')
  6513. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6514. //
  6515. _iframe.contentWindow.document.body.appendChild(script1);
  6516. _iframe.contentWindow.document.body.appendChild(script2);
  6517. _iframe.contentWindow.document.body.appendChild(script4);
  6518. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6519. })
  6520. if (onloadListener) {
  6521. _iframe.contentDocument.location.reload()
  6522. } else {
  6523. _iframe.contentDocument.location.reload()
  6524. }
  6525. } else if (str == 'whiteboard') {
  6526. _iframe = _formdiv.querySelector('iframe')
  6527. let onloadListener = _iframe.onload = () => {
  6528. _iframe.contentWindow.document.body.appendChild(script1);
  6529. _iframe.contentWindow.document.body.appendChild(script2);
  6530. _iframe.contentWindow.document.body.appendChild(script4);
  6531. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6532. };
  6533. if (onloadListener) {
  6534. _iframe.contentDocument.location.reload()
  6535. } else {
  6536. _iframe.contentDocument.location.reload()
  6537. }
  6538. } else {
  6539. _iframe.onload = () => {
  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. }
  6546. _jie.onclick = async () => {
  6547. let text = ''
  6548. if (aTool == 1) {
  6549. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6550. } else if (aTool == 6) {
  6551. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6552. } else if (aTool == 3) {
  6553. text = await U.MD.D.I.getEditorContent(_iframe);
  6554. }
  6555. _loading.style.display = 'flex'
  6556. console.log(_loading);
  6557. var _ajs = _iframe.contentWindow.document.createElement("script");
  6558. _ajs.type = "text/javascript";
  6559. _ajs.innerHTML =
  6560. // 'console.log(' + _loading + ');\n' +
  6561. 'var _js = document.createElement("script");\n' +
  6562. '_js.type="text/javascript";\n' +
  6563. '_js.charset="UTF-8";\n' +
  6564. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6565. "_js.onload = function(){\n" +
  6566. ' var a = document.getElementsByTagName("img")\n' +
  6567. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6568. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6569. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6570. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6571. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6572. "beforeUpload_shishi(file," +
  6573. "'" +
  6574. _userid +
  6575. "'" +
  6576. ", " +
  6577. "'" +
  6578. _cid +
  6579. "'" +
  6580. ", " +
  6581. "'" +
  6582. _stage +
  6583. "'" +
  6584. ", " +
  6585. "'" +
  6586. _task +
  6587. "'" +
  6588. ", " +
  6589. "'" +
  6590. _tool +
  6591. "'" +
  6592. ", " +
  6593. "'" +
  6594. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. aTool +
  6599. "'" +
  6600. ", " +
  6601. "`" +
  6602. text +
  6603. "`" +
  6604. ")\n" +
  6605. " });\n" +
  6606. "}\n" +
  6607. "document.head.appendChild(_js);\n";
  6608. _iframe.contentWindow.document.head.appendChild(_ajs);
  6609. }
  6610. }
  6611. }
  6612. U.MD.D.I.getEditorContent = function (iframe) {
  6613. return new Promise((resolve, reject) => {
  6614. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6615. console.log(content);
  6616. resolve(content)
  6617. });
  6618. });
  6619. }
  6620. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6621. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6622. // if (res.value[0].length > 0) {
  6623. // // resolve(res.value[0][0].text);
  6624. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6625. // $(fileInput).val('');
  6626. // });
  6627. // }
  6628. // }, [], { "type": "GET", "withCredentials": true });
  6629. var xmlhttp;
  6630. var Mac, Sn, DeviceId
  6631. if (window.XMLHttpRequest) {
  6632. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6633. xmlhttp = new XMLHttpRequest();
  6634. } else {
  6635. // IE6, IE5 浏览器执行代码
  6636. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6637. }
  6638. xmlhttp.onreadystatechange = function () {
  6639. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6640. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6641. // resolve(res.value[0][0].text);
  6642. if (type == '2') {
  6643. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6644. } else if (type == '3') {
  6645. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6646. }
  6647. } else {
  6648. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6649. }
  6650. }
  6651. }
  6652. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6653. xmlhttp.send();
  6654. }
  6655. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6656. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6657. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6658. _userinfo = US.userInfo, //登录用户信息
  6659. _userid = US.userInfo.userid //登录用户id
  6660. let _iframe;
  6661. let _cid = cid,
  6662. _stage = stage,
  6663. _task = task,
  6664. _tool = tool;
  6665. var _jie = $$("div", {
  6666. "style": {
  6667. "position": "absolute",
  6668. "bottom": "50px",
  6669. "right": "50px",
  6670. "zIndex": "9999",
  6671. "backgroundColor": "#2268bc",
  6672. "color": "#fff",
  6673. "padding": "12px 20px",
  6674. "cursor": "pointer",
  6675. "borderRadius": "4px",
  6676. },
  6677. "innerHTML": "确认并提交"
  6678. })
  6679. let aTool = ''
  6680. let _loading = document.createElement('div')
  6681. _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;"
  6682. // _loading.id = "";
  6683. let _lchild = document.createElement('div')
  6684. let _limg = document.createElement('img')
  6685. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6686. _limg.style = "width: 26px;margin-right: 10px;"
  6687. _lchild.appendChild(_limg)
  6688. let _lspan = document.createElement('span')
  6689. _lspan.innerHTML = "上传中..."
  6690. _lchild.appendChild(_lspan)
  6691. _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%);"
  6692. _loading.appendChild(_lchild)
  6693. var _box = $$('div', {
  6694. "style": {
  6695. "position": "relative",
  6696. "width": "100%",
  6697. "height": "100%",
  6698. },
  6699. })
  6700. _box.appendChild(_loading)
  6701. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6702. switch (str) {
  6703. case "whiteboard":
  6704. aTool = 1;
  6705. _iframe = $$("iframe", {
  6706. "frameborder": "no",
  6707. "border": "0",
  6708. "scrolling ": "no",
  6709. "style": {
  6710. "cssText": "border:0;width:100%;height:100%"
  6711. },
  6712. "src": "https://iwb.cocorobo.cn/"
  6713. })
  6714. _box.appendChild(_iframe);
  6715. _box.appendChild(_jie);
  6716. _formdiv = new U.UF.UI.form(
  6717. "电子白板",
  6718. _box, {
  6719. "id": "whiteboards" + cid + stage + task + tool,
  6720. "style": {
  6721. "width": "90%",
  6722. "height": "90%",
  6723. "overflow": 'hidden'
  6724. },
  6725. "onresize": function () { }
  6726. }, {
  6727. closecallback: function () { }
  6728. }, {
  6729. "style": {
  6730. "height": "36px"
  6731. }
  6732. }).form; //创建窗体
  6733. _taskbar = {
  6734. "id": str + _formdiv.id,
  6735. "style": {
  6736. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6737. },
  6738. "name": "电子白板",
  6739. "forms": _formdiv,
  6740. "click": function () {
  6741. U.MD.D.I.openApplication(str, obj, info);
  6742. }
  6743. }
  6744. break;
  6745. case "mind":
  6746. aTool = 3;
  6747. _iframe = $$("iframe", {
  6748. "frameborder": "no",
  6749. "border": "0",
  6750. "scrolling ": "no",
  6751. "style": {
  6752. "cssText": "border:0;width:100%;height:100%"
  6753. },
  6754. "src": "/kityminder-editor/dist/index.html"
  6755. });
  6756. _box.appendChild(_iframe);
  6757. _box.appendChild(_jie);
  6758. _formdiv = new U.UF.UI.form(
  6759. "思维导图",
  6760. _box, { //"/jsmind/example/demo.html"
  6761. "id": "minds" + cid + stage + task + tool,
  6762. "style": {
  6763. "width": "90%",
  6764. "height": "90%",
  6765. "overflow": 'hidden'
  6766. },
  6767. "onresize": function () { }
  6768. }, {
  6769. closecallback: function () { }
  6770. }, {
  6771. "style": {
  6772. "height": "36px"
  6773. }
  6774. }).form; //创建窗体
  6775. _taskbar = {
  6776. "id": str + _formdiv.id,
  6777. "style": {
  6778. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6779. },
  6780. "name": "思维导图",
  6781. "forms": _formdiv,
  6782. "click": function () {
  6783. U.MD.D.I.openApplication(str, obj, info);
  6784. }
  6785. }
  6786. break;
  6787. case "doc":
  6788. aTool = 6;
  6789. _iframe = $$("iframe", {
  6790. "frameborder": "no",
  6791. "border": "0",
  6792. "scrolling ": "no",
  6793. "style": {
  6794. "cssText": "border:0;width:100%;height:100%"
  6795. },
  6796. "src": "/Office/Word/WordEditArea.htm"
  6797. })
  6798. _box.appendChild(_iframe);
  6799. _box.appendChild(_jie);
  6800. _formdiv = new U.UF.UI.form(
  6801. "协同文档",
  6802. _box, {
  6803. "id": "docs" + cid + stage + task + tool,
  6804. "style": {
  6805. "width": "90%",
  6806. "height": "90%",
  6807. "overflow": 'hidden'
  6808. },
  6809. "onresize": function () { }
  6810. }, {
  6811. closecallback: function () { }
  6812. }, {
  6813. "style": {
  6814. "height": "36px"
  6815. }
  6816. }).form; //创建窗体
  6817. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6818. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6819. })
  6820. _taskbar = {
  6821. "id": str + _formdiv.id,
  6822. "style": {
  6823. "backgroundImage": "url(/img/icon/doc.png)"
  6824. },
  6825. "name": "协同文档",
  6826. "forms": _formdiv,
  6827. "click": function () {
  6828. U.MD.D.I.openApplication(str, obj, info);
  6829. }
  6830. }
  6831. break;
  6832. }
  6833. const script1 = document.createElement("script");
  6834. script1.type = "text/javascript";
  6835. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6836. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6837. const script2 = document.createElement("script");
  6838. script2.type = "text/javascript";
  6839. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6840. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6841. const script3 = document.createElement("script");
  6842. script3.type = "text/javascript";
  6843. script3.charset = "UTF-8";
  6844. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6845. const script4 = document.createElement("script");
  6846. script4.type = "text/javascript";
  6847. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6848. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6849. if (_iframe) {
  6850. if (str == 'doc') {
  6851. _iframe = _formdiv.querySelector('iframe')
  6852. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6853. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6854. _iframe.contentWindow.document.body.appendChild(script1);
  6855. _iframe.contentWindow.document.body.appendChild(script2);
  6856. // _iframe.contentWindow.document.body.appendChild(script3);
  6857. _iframe.contentWindow.document.body.appendChild(script4);
  6858. })
  6859. if (onloadListener) {
  6860. _iframe.contentDocument.location.reload()
  6861. } else {
  6862. _iframe.contentDocument.location.reload()
  6863. }
  6864. } else if (str == 'mind') {
  6865. _iframe = _formdiv.querySelector('iframe')
  6866. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6867. _iframe.contentWindow.document.body.appendChild(script1);
  6868. _iframe.contentWindow.document.body.appendChild(script2);
  6869. _iframe.contentWindow.document.body.appendChild(script4);
  6870. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6871. })
  6872. if (onloadListener) {
  6873. _iframe.contentDocument.location.reload()
  6874. } else {
  6875. _iframe.contentDocument.location.reload()
  6876. }
  6877. } else {
  6878. _iframe.onload = () => {
  6879. _iframe.contentWindow.document.body.appendChild(script1);
  6880. _iframe.contentWindow.document.body.appendChild(script2);
  6881. // _iframe.contentWindow.document.body.appendChild(script3);
  6882. _iframe.contentWindow.document.body.appendChild(script4);
  6883. };
  6884. }
  6885. _jie.onclick = async () => {
  6886. let text = ''
  6887. if (aTool == 6) {
  6888. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6889. } else if (aTool == 3) {
  6890. text = await U.MD.D.I.getEditorContent(_iframe);
  6891. }
  6892. _loading.style.display = 'flex'
  6893. console.log(_loading);
  6894. var _ajs = _iframe.contentWindow.document.createElement("script");
  6895. _ajs.type = "text/javascript";
  6896. _ajs.innerHTML =
  6897. // 'console.log(' + _loading + ');\n' +
  6898. 'var _js = document.createElement("script");\n' +
  6899. '_js.type="text/javascript";\n' +
  6900. '_js.charset="UTF-8";\n' +
  6901. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6902. "_js.onload = function(){\n" +
  6903. ' var a = document.getElementsByTagName("img")\n' +
  6904. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6905. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6906. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6907. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6908. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6909. "beforeUpload_shishi(file," +
  6910. "'" +
  6911. _userid +
  6912. "'" +
  6913. ", " +
  6914. "'" +
  6915. _cid +
  6916. "'" +
  6917. ", " +
  6918. "'" +
  6919. _stage +
  6920. "'" +
  6921. ", " +
  6922. "'" +
  6923. _task +
  6924. "'" +
  6925. ", " +
  6926. "'" +
  6927. _tool +
  6928. "'" +
  6929. ", " +
  6930. "'" +
  6931. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6932. "'" +
  6933. ", " +
  6934. "'" +
  6935. aTool +
  6936. "'" +
  6937. ", " +
  6938. "`" +
  6939. text +
  6940. "`" +
  6941. ")\n" +
  6942. " });\n" +
  6943. "}\n" +
  6944. "document.head.appendChild(_js);\n";
  6945. _iframe.contentWindow.document.head.appendChild(_ajs);
  6946. }
  6947. }
  6948. //U.MD.D.I.openClick(str);
  6949. //如果有任务栏信息
  6950. // if (_taskbar) {
  6951. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6952. // }
  6953. }
  6954. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6955. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6956. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6957. _userinfo = US.userInfo, //登录用户信息
  6958. _userid = US.userInfo.userid //登录用户id
  6959. let _iframe;
  6960. let _cid = cid,
  6961. _stage = stage,
  6962. _task = task,
  6963. _tool = tool;
  6964. var _jie = $$("div", {
  6965. "style": {
  6966. "position": "absolute",
  6967. "bottom": "50px",
  6968. "right": "50px",
  6969. "zIndex": "9999",
  6970. "backgroundColor": "#2268bc",
  6971. "color": "#fff",
  6972. "padding": "12px 20px",
  6973. "cursor": "pointer",
  6974. "borderRadius": "4px",
  6975. },
  6976. "innerHTML": "确认并提交"
  6977. })
  6978. let aTool = ''
  6979. let _loading = document.createElement('div')
  6980. _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;"
  6981. // _loading.id = "";
  6982. let _lchild = document.createElement('div')
  6983. let _limg = document.createElement('img')
  6984. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6985. _limg.style = "width: 26px;margin-right: 10px;"
  6986. _lchild.appendChild(_limg)
  6987. let _lspan = document.createElement('span')
  6988. _lspan.innerHTML = "上传中..."
  6989. _lchild.appendChild(_lspan)
  6990. _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%);"
  6991. _loading.appendChild(_lchild)
  6992. var _box = $$('div', {
  6993. "style": {
  6994. "position": "relative",
  6995. "width": "100%",
  6996. "height": "100%",
  6997. },
  6998. })
  6999. _box.appendChild(_loading)
  7000. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7001. switch (str) {
  7002. case "whiteboard":
  7003. aTool = 1;
  7004. _iframe = $$("iframe", {
  7005. "frameborder": "no",
  7006. "border": "0",
  7007. "scrolling ": "no",
  7008. "style": {
  7009. "cssText": "border:0;width:100%;height:100%"
  7010. },
  7011. "src": "https://iwb.cocorobo.cn/"
  7012. })
  7013. _box.appendChild(_iframe);
  7014. _box.appendChild(_jie);
  7015. _formdiv = new U.UF.UI.form(
  7016. "电子白板",
  7017. _box, {
  7018. "id": "whiteboards" + cid + stage + task + tool,
  7019. "style": {
  7020. "width": "90%",
  7021. "height": "90%",
  7022. "overflow": 'hidden'
  7023. },
  7024. "onresize": function () { }
  7025. }, {
  7026. closecallback: function () { }
  7027. }, {
  7028. "style": {
  7029. "height": "36px"
  7030. }
  7031. }).form; //创建窗体
  7032. _taskbar = {
  7033. "id": str + _formdiv.id,
  7034. "style": {
  7035. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7036. },
  7037. "name": "电子白板",
  7038. "forms": _formdiv,
  7039. "click": function () {
  7040. U.MD.D.I.openApplication(str, obj, info);
  7041. }
  7042. }
  7043. break;
  7044. case "mind":
  7045. aTool = 3;
  7046. _iframe = $$("iframe", {
  7047. "frameborder": "no",
  7048. "border": "0",
  7049. "scrolling ": "no",
  7050. "style": {
  7051. "cssText": "border:0;width:100%;height:100%"
  7052. },
  7053. "src": "/kityminder-editor/dist/index.html"
  7054. });
  7055. _box.appendChild(_iframe);
  7056. _box.appendChild(_jie);
  7057. _formdiv = new U.UF.UI.form(
  7058. "思维导图",
  7059. _box, { //"/jsmind/example/demo.html"
  7060. "id": "minds" + cid + stage + task + tool,
  7061. "style": {
  7062. "width": "90%",
  7063. "height": "90%",
  7064. "overflow": 'hidden'
  7065. },
  7066. "onresize": function () { }
  7067. }, {
  7068. closecallback: function () { }
  7069. }, {
  7070. "style": {
  7071. "height": "36px"
  7072. }
  7073. }).form; //创建窗体
  7074. _taskbar = {
  7075. "id": str + _formdiv.id,
  7076. "style": {
  7077. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7078. },
  7079. "name": "思维导图",
  7080. "forms": _formdiv,
  7081. "click": function () {
  7082. U.MD.D.I.openApplication(str, obj, info);
  7083. }
  7084. }
  7085. break;
  7086. case "doc":
  7087. aTool = 6;
  7088. _iframe = $$("iframe", {
  7089. "frameborder": "no",
  7090. "border": "0",
  7091. "scrolling ": "no",
  7092. "style": {
  7093. "cssText": "border:0;width:100%;height:100%"
  7094. },
  7095. "src": "/Office/Word/WordEditArea.htm"
  7096. })
  7097. _box.appendChild(_iframe);
  7098. _box.appendChild(_jie);
  7099. _formdiv = new U.UF.UI.form(
  7100. "协同文档",
  7101. _box, {
  7102. "id": "docs" + cid + stage + task + tool,
  7103. "style": {
  7104. "width": "90%",
  7105. "height": "90%",
  7106. "overflow": 'hidden'
  7107. },
  7108. "onresize": function () { }
  7109. }, {
  7110. closecallback: function () { }
  7111. }, {
  7112. "style": {
  7113. "height": "36px"
  7114. }
  7115. }).form; //创建窗体
  7116. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7117. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7118. })
  7119. _taskbar = {
  7120. "id": str + _formdiv.id,
  7121. "style": {
  7122. "backgroundImage": "url(/img/icon/doc.png)"
  7123. },
  7124. "name": "协同文档",
  7125. "forms": _formdiv,
  7126. "click": function () {
  7127. U.MD.D.I.openApplication(str, obj, info);
  7128. }
  7129. }
  7130. break;
  7131. }
  7132. const script1 = document.createElement("script");
  7133. script1.type = "text/javascript";
  7134. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7135. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7136. const script2 = document.createElement("script");
  7137. script2.type = "text/javascript";
  7138. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7139. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7140. const script3 = document.createElement("script");
  7141. script3.type = "text/javascript";
  7142. script3.charset = "UTF-8";
  7143. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7144. const script4 = document.createElement("script");
  7145. script4.type = "text/javascript";
  7146. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7147. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7148. if (_iframe) {
  7149. if (str == 'doc') {
  7150. _iframe = _formdiv.querySelector('iframe')
  7151. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7152. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7153. _iframe.contentWindow.document.body.appendChild(script1);
  7154. _iframe.contentWindow.document.body.appendChild(script2);
  7155. // _iframe.contentWindow.document.body.appendChild(script3);
  7156. _iframe.contentWindow.document.body.appendChild(script4);
  7157. })
  7158. if (onloadListener) {
  7159. _iframe.contentDocument.location.reload()
  7160. } else {
  7161. _iframe.contentDocument.location.reload()
  7162. }
  7163. } else if (str == 'mind') {
  7164. _iframe = _formdiv.querySelector('iframe')
  7165. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7166. _iframe.contentWindow.document.body.appendChild(script1);
  7167. _iframe.contentWindow.document.body.appendChild(script2);
  7168. _iframe.contentWindow.document.body.appendChild(script4);
  7169. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7170. })
  7171. if (onloadListener) {
  7172. _iframe.contentDocument.location.reload()
  7173. } else {
  7174. _iframe.contentDocument.location.reload()
  7175. }
  7176. } else {
  7177. _iframe.onload = () => {
  7178. _iframe.contentWindow.document.body.appendChild(script1);
  7179. _iframe.contentWindow.document.body.appendChild(script2);
  7180. // _iframe.contentWindow.document.body.appendChild(script3);
  7181. _iframe.contentWindow.document.body.appendChild(script4);
  7182. };
  7183. }
  7184. _jie.onclick = async () => {
  7185. let text = ''
  7186. if (aTool == 6) {
  7187. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7188. } else if (aTool == 3) {
  7189. text = await U.MD.D.I.getEditorContent(_iframe);
  7190. }
  7191. _loading.style.display = 'flex'
  7192. console.log(_loading);
  7193. var _ajs = _iframe.contentWindow.document.createElement("script");
  7194. _ajs.type = "text/javascript";
  7195. _ajs.innerHTML =
  7196. // 'console.log(' + _loading + ');\n' +
  7197. 'var _js = document.createElement("script");\n' +
  7198. '_js.type="text/javascript";\n' +
  7199. '_js.charset="UTF-8";\n' +
  7200. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7201. "_js.onload = function(){\n" +
  7202. ' var a = document.getElementsByTagName("img")\n' +
  7203. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7204. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7205. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7206. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7207. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7208. "beforeUpload_shishi(file," +
  7209. "'" +
  7210. _userid +
  7211. "'" +
  7212. ", " +
  7213. "'" +
  7214. _cid +
  7215. "'" +
  7216. ", " +
  7217. "'" +
  7218. _stage +
  7219. "'" +
  7220. ", " +
  7221. "'" +
  7222. _task +
  7223. "'" +
  7224. ", " +
  7225. "'" +
  7226. _tool +
  7227. "'" +
  7228. ", " +
  7229. "'" +
  7230. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7231. "'" +
  7232. ", " +
  7233. "'" +
  7234. aTool +
  7235. "'" +
  7236. ", " +
  7237. "`" +
  7238. text +
  7239. "`" +
  7240. ")\n" +
  7241. " });\n" +
  7242. "}\n" +
  7243. "document.head.appendChild(_js);\n";
  7244. _iframe.contentWindow.document.head.appendChild(_ajs);
  7245. }
  7246. }
  7247. //U.MD.D.I.openClick(str);
  7248. //如果有任务栏信息
  7249. // if (_taskbar) {
  7250. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7251. // }
  7252. }
  7253. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7254. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7255. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7256. _userinfo = US.userInfo, //登录用户信息
  7257. _userid = US.userInfo.userid //登录用户id
  7258. let _iframe;
  7259. let _cid = cid,
  7260. _stage = stage,
  7261. _task = task,
  7262. _tool = tool;
  7263. var _jie = $$("div", {
  7264. "style": {
  7265. "position": "absolute",
  7266. "bottom": "50px",
  7267. "right": "50px",
  7268. "zIndex": "9999",
  7269. "backgroundColor": "#2268bc",
  7270. "color": "#fff",
  7271. "padding": "12px 20px",
  7272. "cursor": "pointer",
  7273. "borderRadius": "4px",
  7274. },
  7275. "innerHTML": "上传模板"
  7276. })
  7277. let aTool = ''
  7278. let _loading = document.createElement('div')
  7279. _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;"
  7280. // _loading.id = "";
  7281. let _lchild = document.createElement('div')
  7282. let _limg = document.createElement('img')
  7283. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7284. _limg.style = "width: 26px;margin-right: 10px;"
  7285. _lchild.appendChild(_limg)
  7286. let _lspan = document.createElement('span')
  7287. _lspan.innerHTML = "上传中..."
  7288. _lchild.appendChild(_lspan)
  7289. _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%);"
  7290. _loading.appendChild(_lchild)
  7291. var _box = $$('div', {
  7292. "style": {
  7293. "position": "relative",
  7294. "width": "100%",
  7295. "height": "100%",
  7296. },
  7297. })
  7298. _box.appendChild(_loading)
  7299. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7300. switch (str) {
  7301. case "whiteboard":
  7302. aTool = 1;
  7303. _iframe = $$("iframe", {
  7304. "frameborder": "no",
  7305. "border": "0",
  7306. "scrolling ": "no",
  7307. "style": {
  7308. "cssText": "border:0;width:100%;height:100%"
  7309. },
  7310. "src": "https://iwb.cocorobo.cn/"
  7311. })
  7312. _box.appendChild(_iframe);
  7313. _box.appendChild(_jie);
  7314. _formdiv = new U.UF.UI.form(
  7315. "电子白板",
  7316. _box, {
  7317. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7318. "style": {
  7319. "width": "90%",
  7320. "height": "90%",
  7321. "overflow": 'hidden'
  7322. },
  7323. "onresize": function () { }
  7324. }, {
  7325. closecallback: function () { }
  7326. }, {
  7327. "style": {
  7328. "height": "36px"
  7329. }
  7330. }).form; //创建窗体
  7331. _taskbar = {
  7332. "id": str + _formdiv.id,
  7333. "style": {
  7334. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7335. },
  7336. "name": "电子白板",
  7337. "forms": _formdiv,
  7338. "click": function () {
  7339. U.MD.D.I.openApplication(str, obj, info);
  7340. }
  7341. }
  7342. break;
  7343. case "mind":
  7344. aTool = 3;
  7345. _iframe = $$("iframe", {
  7346. "frameborder": "no",
  7347. "border": "0",
  7348. "scrolling ": "no",
  7349. "style": {
  7350. "cssText": "border:0;width:100%;height:100%"
  7351. },
  7352. "src": "/kityminder-editor/dist/index.html"
  7353. });
  7354. _box.appendChild(_iframe);
  7355. _box.appendChild(_jie);
  7356. _formdiv = new U.UF.UI.form(
  7357. "思维导图",
  7358. _box, { //"/jsmind/example/demo.html"
  7359. "id": "minds_Yu" + cid + stage + task + tool,
  7360. "style": {
  7361. "width": "90%",
  7362. "height": "90%",
  7363. "overflow": 'hidden'
  7364. },
  7365. "onresize": function () { }
  7366. }, {
  7367. closecallback: function () { }
  7368. }, {
  7369. "style": {
  7370. "height": "36px"
  7371. }
  7372. }).form; //创建窗体
  7373. _taskbar = {
  7374. "id": str + _formdiv.id,
  7375. "style": {
  7376. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7377. },
  7378. "name": "思维导图",
  7379. "forms": _formdiv,
  7380. "click": function () {
  7381. U.MD.D.I.openApplication(str, obj, info);
  7382. }
  7383. }
  7384. break;
  7385. case "doc":
  7386. aTool = 6;
  7387. _iframe = $$("iframe", {
  7388. "frameborder": "no",
  7389. "border": "0",
  7390. "scrolling ": "no",
  7391. "style": {
  7392. "cssText": "border:0;width:100%;height:100%"
  7393. },
  7394. "src": "/Office/Word/WordEditArea.htm"
  7395. })
  7396. _box.appendChild(_iframe);
  7397. _box.appendChild(_jie);
  7398. _formdiv = new U.UF.UI.form(
  7399. "协同文档",
  7400. _box, {
  7401. "id": "docs_Yu" + cid + stage + task + tool,
  7402. "style": {
  7403. "width": "90%",
  7404. "height": "90%",
  7405. "overflow": 'hidden'
  7406. },
  7407. "onresize": function () { }
  7408. }, {
  7409. closecallback: function () { }
  7410. }, {
  7411. "style": {
  7412. "height": "36px"
  7413. }
  7414. }).form; //创建窗体
  7415. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7416. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7417. })
  7418. _taskbar = {
  7419. "id": str + _formdiv.id,
  7420. "style": {
  7421. "backgroundImage": "url(/img/icon/doc.png)"
  7422. },
  7423. "name": "协同文档",
  7424. "forms": _formdiv,
  7425. "click": function () {
  7426. U.MD.D.I.openApplication(str, obj, info);
  7427. }
  7428. }
  7429. break;
  7430. case "CocoPi":
  7431. aTool = 57;
  7432. _iframe = $$("iframe", {
  7433. "allowpaymentrequest": "allowpaymentrequest",
  7434. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7435. "webkitallowfullscreen": "",
  7436. "mozallowfullscreen": "",
  7437. "frameborder": "no",
  7438. "border": "0",
  7439. "scrolling ": "no",
  7440. "style": {
  7441. "cssText": "border:0;width:100%;height:100%"
  7442. },
  7443. "src": "https://pi.cocorobo.cn/"
  7444. })
  7445. _box.appendChild(_iframe);
  7446. _box.appendChild(_jie);
  7447. _formdiv = new U.UF.UI.form(
  7448. "CocoPi",
  7449. _box, {
  7450. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7451. "style": {
  7452. "width": "90%",
  7453. "height": "90%",
  7454. "overflow": 'hidden'
  7455. },
  7456. "onresize": function () { }
  7457. }, {
  7458. closecallback: function () { }
  7459. }, {
  7460. "style": {
  7461. "height": "36px"
  7462. }
  7463. }).form; //创建窗体
  7464. _taskbar = {
  7465. "id": str + _formdiv.id,
  7466. "style": {
  7467. "backgroundImage": "url(/img/icon/cocopi.png)"
  7468. },
  7469. "name": "CocoPi",
  7470. "forms": _formdiv,
  7471. "click": function () {
  7472. U.MD.D.I.openApplication(str, obj, info);
  7473. }
  7474. }
  7475. break;
  7476. }
  7477. if (_iframe) {
  7478. if (str == 'doc') {
  7479. _iframe = _formdiv.querySelector('iframe')
  7480. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7481. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7482. })
  7483. if (onloadListener) {
  7484. _iframe.contentDocument.location.reload()
  7485. } else {
  7486. _iframe.contentDocument.location.reload()
  7487. }
  7488. } else if (str == 'mind') {
  7489. _iframe = _formdiv.querySelector('iframe')
  7490. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7491. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7492. })
  7493. if (onloadListener) {
  7494. _iframe.contentDocument.location.reload()
  7495. } else {
  7496. _iframe.contentDocument.location.reload()
  7497. }
  7498. } else if (str == 'whiteboard') {
  7499. _iframe = _formdiv.querySelector('iframe')
  7500. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7501. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7502. })
  7503. if (onloadListener) {
  7504. _iframe.contentDocument.location.reload()
  7505. } else {
  7506. _iframe.contentDocument.location.reload()
  7507. }
  7508. } else if (str == 'CocoPi') {
  7509. _iframe = _formdiv.querySelector('iframe')
  7510. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7511. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7512. })
  7513. if (onloadListener) {
  7514. _iframe.contentDocument.location.reload()
  7515. } else {
  7516. _iframe.contentDocument.location.reload()
  7517. }
  7518. } else {
  7519. _iframe.onload = () => { };
  7520. }
  7521. _jie.onclick = async () => {
  7522. let text = ''
  7523. let type = '2'
  7524. if (aTool == 1) {
  7525. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7526. type = '3'
  7527. } else if (aTool == 6) {
  7528. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7529. type = '1'
  7530. } else if (aTool == 3) {
  7531. text = await U.MD.D.I.getEditorContent(_iframe);
  7532. type = '2'
  7533. } else if (aTool == 57) {
  7534. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7535. type = '4'
  7536. }
  7537. _loading.style.display = 'flex'
  7538. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7539. }
  7540. }
  7541. //U.MD.D.I.openClick(str);
  7542. //如果有任务栏信息
  7543. // if (_taskbar) {
  7544. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7545. // }
  7546. }
  7547. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7548. var xmlhttp;
  7549. var Mac, Sn, DeviceId
  7550. if (window.XMLHttpRequest) {
  7551. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7552. xmlhttp = new XMLHttpRequest();
  7553. } else {
  7554. // IE6, IE5 浏览器执行代码
  7555. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7556. }
  7557. xmlhttp.onreadystatechange = function () {
  7558. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7559. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7560. // resolve(res.value[0][0].text);
  7561. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7562. }
  7563. }
  7564. }
  7565. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7566. xmlhttp.send();
  7567. }
  7568. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7569. var xmlhttp;
  7570. var Mac, Sn, DeviceId
  7571. if (window.XMLHttpRequest) {
  7572. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7573. xmlhttp = new XMLHttpRequest();
  7574. } else {
  7575. // IE6, IE5 浏览器执行代码
  7576. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7577. }
  7578. xmlhttp.onreadystatechange = function () {
  7579. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7580. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7581. // resolve(res.value[0][0].text);
  7582. if (type == '2') {
  7583. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7584. } else if (type == '3') {
  7585. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7586. } else if (type == '4') {
  7587. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7588. }
  7589. } else {
  7590. if (type == '2') {
  7591. iframe.contentWindow.editor.minder.importData('json', '')
  7592. } else if (type == '3') {
  7593. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7594. } else if (type == '4') {
  7595. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7596. }
  7597. }
  7598. }
  7599. }
  7600. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7601. xmlhttp.send();
  7602. }
  7603. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7604. var xmlhttp;
  7605. var Mac, Sn, DeviceId
  7606. if (window.XMLHttpRequest) {
  7607. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7608. xmlhttp = new XMLHttpRequest();
  7609. } else {
  7610. // IE6, IE5 浏览器执行代码
  7611. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7612. }
  7613. xmlhttp.onreadystatechange = function () {
  7614. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7615. if (xmlhttp.response) {
  7616. // resolve(res.value[0][0].text);
  7617. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7618. // $(fileInput).val('');
  7619. // });
  7620. span.innerHTML = '上传成功'
  7621. setTimeout(() => {
  7622. loading.style.display = 'none'
  7623. }, 1000);
  7624. }
  7625. }
  7626. }
  7627. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7628. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7629. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7630. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7631. // 设置请求头,表示请求体的编码格式
  7632. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7633. // 设置请求体,使用url-encoded格式的数据
  7634. }
  7635. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7636. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7637. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7638. _userinfo = US.userInfo, //登录用户信息
  7639. _userid = US.userInfo.userid //登录用户id
  7640. let _iframe;
  7641. let _cid = cid,
  7642. _stage = stage,
  7643. _task = task,
  7644. _tool = tool;
  7645. var _jie = $$("div", {
  7646. "style": {
  7647. "position": "absolute",
  7648. "bottom": "50px",
  7649. "right": "50px",
  7650. "zIndex": "9999",
  7651. "backgroundColor": "#2268bc",
  7652. "color": "#fff",
  7653. "padding": "12px 20px",
  7654. "cursor": "pointer",
  7655. "borderRadius": "4px",
  7656. },
  7657. "innerHTML": "提交作业"
  7658. })
  7659. let aTool = ''
  7660. let _loading = document.createElement('div')
  7661. _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;"
  7662. // _loading.id = "";
  7663. let _lchild = document.createElement('div')
  7664. let _limg = document.createElement('img')
  7665. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7666. _limg.style = "width: 26px;margin-right: 10px;"
  7667. _lchild.appendChild(_limg)
  7668. let _lspan = document.createElement('span')
  7669. _lspan.innerHTML = "上传中..."
  7670. _lchild.appendChild(_lspan)
  7671. _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%);"
  7672. _loading.appendChild(_lchild)
  7673. var _box = $$('div', {
  7674. "style": {
  7675. "position": "relative",
  7676. "width": "100%",
  7677. "height": "100%",
  7678. },
  7679. })
  7680. _box.appendChild(_loading)
  7681. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7682. switch (str) {
  7683. case "CocoPi":
  7684. aTool = 57;
  7685. _iframe = $$("iframe", {
  7686. "allowpaymentrequest": "allowpaymentrequest",
  7687. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7688. "webkitallowfullscreen": "",
  7689. "mozallowfullscreen": "",
  7690. "frameborder": "no",
  7691. "border": "0",
  7692. "scrolling ": "no",
  7693. "style": {
  7694. "cssText": "border:0;width:100%;height:100%"
  7695. },
  7696. "src": "https://pi.cocorobo.cn/"
  7697. })
  7698. _box.appendChild(_iframe);
  7699. _box.appendChild(_jie);
  7700. _formdiv = new U.UF.UI.form(
  7701. "CocoPi",
  7702. _box, {
  7703. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7704. "style": {
  7705. "width": "90%",
  7706. "height": "90%",
  7707. "overflow": 'hidden'
  7708. },
  7709. "onresize": function () { }
  7710. }, {
  7711. closecallback: function () { }
  7712. }, {
  7713. "style": {
  7714. "height": "36px"
  7715. }
  7716. }).form; //创建窗体
  7717. _taskbar = {
  7718. "id": str + _formdiv.id,
  7719. "style": {
  7720. "backgroundImage": "url(/img/icon/cocopi.png)"
  7721. },
  7722. "name": "CocoPi",
  7723. "forms": _formdiv,
  7724. "click": function () {
  7725. U.MD.D.I.openApplication(str, obj, info);
  7726. }
  7727. }
  7728. break;
  7729. }
  7730. if (_iframe) {
  7731. if (str == 'CocoPi') {
  7732. _iframe = _formdiv.querySelector('iframe')
  7733. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7734. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7735. })
  7736. if (onloadListener) {
  7737. _iframe.contentDocument.location.reload()
  7738. } else {
  7739. _iframe.contentDocument.location.reload()
  7740. }
  7741. }
  7742. _jie.onclick = async () => {
  7743. let text = ''
  7744. if (aTool == 57) {
  7745. text = _iframe.contentWindow.getLoadXmlStr()
  7746. }
  7747. _loading.style.display = 'flex'
  7748. console.log(_loading);
  7749. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7750. _loading.style.display = 'none'
  7751. let _div = document.createElement('div')
  7752. _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;"
  7753. let _inner = document.createElement('div')
  7754. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7755. _inner.innerHTML = "上传成功"
  7756. _div.appendChild(_inner)
  7757. _iframe.contentWindow.window.document.body.appendChild(_div)
  7758. _div.onclick = () => {
  7759. _iframe.contentWindow.window.document.body.removeChild(_div)
  7760. }
  7761. setTimeout(() => {
  7762. _iframe.contentWindow.window.document.body.removeChild(_div)
  7763. }, 1000);
  7764. }, [], { "type": "POST", "withCredentials": true });
  7765. }
  7766. }
  7767. }
  7768. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7769. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7770. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7771. _userid = student.userid, //登录用户id
  7772. _username = student.student //用户名字
  7773. let _iframe;
  7774. let _cid = cid,
  7775. _stage = stage,
  7776. _task = task,
  7777. _tool = tool;
  7778. var _jie = $$("div", {
  7779. "style": {
  7780. "position": "absolute",
  7781. "bottom": "50px",
  7782. "right": "50px",
  7783. "zIndex": "9999",
  7784. "backgroundColor": "#2268bc",
  7785. "color": "#fff",
  7786. "padding": "12px 20px",
  7787. "cursor": "pointer",
  7788. "borderRadius": "4px",
  7789. },
  7790. "innerHTML": "提交作业"
  7791. })
  7792. let aTool = ''
  7793. let _loading = document.createElement('div')
  7794. _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;"
  7795. // _loading.id = "";
  7796. let _lchild = document.createElement('div')
  7797. let _limg = document.createElement('img')
  7798. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7799. _limg.style = "width: 26px;margin-right: 10px;"
  7800. _lchild.appendChild(_limg)
  7801. let _lspan = document.createElement('span')
  7802. _lspan.innerHTML = "上传中..."
  7803. _lchild.appendChild(_lspan)
  7804. _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%);"
  7805. _loading.appendChild(_lchild)
  7806. var _box = $$('div', {
  7807. "style": {
  7808. "position": "relative",
  7809. "width": "100%",
  7810. "height": "100%",
  7811. },
  7812. })
  7813. _box.appendChild(_loading)
  7814. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7815. switch (str) {
  7816. case "CocoPi":
  7817. aTool = 57;
  7818. _iframe = $$("iframe", {
  7819. "allowpaymentrequest": "allowpaymentrequest",
  7820. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7821. "webkitallowfullscreen": "",
  7822. "mozallowfullscreen": "",
  7823. "frameborder": "no",
  7824. "border": "0",
  7825. "scrolling ": "no",
  7826. "style": {
  7827. "cssText": "border:0;width:100%;height:100%"
  7828. },
  7829. "src": "https://pi.cocorobo.cn/"
  7830. })
  7831. _box.appendChild(_iframe);
  7832. _box.appendChild(_jie);
  7833. _formdiv = new U.UF.UI.form(
  7834. "CocoPi-" + _username,
  7835. _box, {
  7836. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7837. "style": {
  7838. "width": "90%",
  7839. "height": "90%",
  7840. "overflow": 'hidden'
  7841. },
  7842. "onresize": function () { }
  7843. }, {
  7844. closecallback: function () { }
  7845. }, {
  7846. "style": {
  7847. "height": "36px"
  7848. }
  7849. }).form; //创建窗体
  7850. _taskbar = {
  7851. "id": str + _formdiv.id,
  7852. "style": {
  7853. "backgroundImage": "url(/img/icon/cocopi.png)"
  7854. },
  7855. "name": "CocoPi",
  7856. "forms": _formdiv,
  7857. "click": function () {
  7858. U.MD.D.I.openApplication(str, obj, info);
  7859. }
  7860. }
  7861. break;
  7862. }
  7863. if (_iframe) {
  7864. if (str == 'CocoPi') {
  7865. _iframe = _formdiv.querySelector('iframe')
  7866. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7867. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7868. })
  7869. if (onloadListener) {
  7870. _iframe.contentDocument.location.reload()
  7871. } else {
  7872. _iframe.contentDocument.location.reload()
  7873. }
  7874. }
  7875. _jie.onclick = async () => {
  7876. let text = ''
  7877. if (aTool == 57) {
  7878. text = _iframe.contentWindow.getLoadXmlStr()
  7879. }
  7880. _loading.style.display = 'flex'
  7881. console.log(_loading);
  7882. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7883. _loading.style.display = 'none'
  7884. let _div = document.createElement('div')
  7885. _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;"
  7886. let _inner = document.createElement('div')
  7887. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7888. _inner.innerHTML = "上传成功"
  7889. _div.appendChild(_inner)
  7890. _iframe.contentWindow.window.document.body.appendChild(_div)
  7891. _div.onclick = () => {
  7892. _iframe.contentWindow.window.document.body.removeChild(_div)
  7893. }
  7894. setTimeout(() => {
  7895. _iframe.contentWindow.window.document.body.removeChild(_div)
  7896. }, 1000);
  7897. }, [], { "type": "POST", "withCredentials": true });
  7898. }
  7899. }
  7900. }
  7901. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7902. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7903. if (res.value[0].length > 0) {
  7904. if (atool == 57) {
  7905. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7906. }
  7907. } else {
  7908. if (atool == 57) {
  7909. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7910. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7911. }
  7912. }
  7913. }, [], { "type": "POST", "withCredentials": true });
  7914. }