DeskTop.js 530 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //云海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未来教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未来教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成华教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成华教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //盐田区幼儿园
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //盐田区幼儿园
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函数
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面图标
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切换
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面图标
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隐藏任务栏
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任务栏位置变小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置变大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隐藏任务栏
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任务栏位置变小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任务栏位置变化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置变大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面图标
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用于循环
  1301. _content, //桌面图标元素
  1302. _iconcontent, //桌面图标元素
  1303. _frag = $$("frag"), //定义一个碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1375. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1376. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1377. //清楚桌面图标
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. )
  1402. }
  1403. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1404. // _teacherDesktopIconInfo.push(
  1405. // )
  1406. // }
  1407. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1408. _teacherDesktopIconInfo.push(
  1409. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. )
  1412. }
  1413. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1414. _teacherDesktopIconInfo.push(
  1415. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1416. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1417. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1418. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1419. )
  1420. _studentDesktopIconInfo.push(
  1421. )
  1422. }
  1423. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1424. _teacherDesktopIconInfo.push(
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. )
  1427. _studentDesktopIconInfo.push(
  1428. )
  1429. }
  1430. //麒麟二中 和 民新小学
  1431. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1432. _teacherDesktopIconInfo.push(
  1433. )
  1434. }
  1435. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1436. _teacherDesktopIconInfo.push(
  1437. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1438. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1439. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1440. )
  1441. }
  1442. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1443. _teacherDesktopIconInfo.push(
  1444. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1445. )
  1446. }
  1447. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1448. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1449. _teacherDesktopIconInfo.push(
  1450. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1452. )
  1453. }
  1454. //麒麟二中
  1455. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1456. _studentDesktopIconInfo.push(
  1457. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1458. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1459. )
  1460. }
  1461. //万科双语
  1462. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1463. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1464. if (el.Name == '项目管理') {
  1465. el.Name = 'PBL项目'
  1466. }
  1467. return el
  1468. })
  1469. _studentDesktopIconInfo3.push(
  1470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1471. )
  1472. }
  1473. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1474. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1475. return el.Name != '魔盒识字' && el.Name != '24点'
  1476. })
  1477. }
  1478. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1479. _studentDesktopIconInfo.push(
  1480. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1481. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1482. )
  1483. }
  1484. //循环创建桌面图标
  1485. if (type == 1) {
  1486. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1487. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1488. _content = $$("div", {
  1489. className: "U_MD_D_KO",
  1490. "onmousedown": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_studentDesktopIconInfo[i]]),
  1494. "onclick": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_studentDesktopIconInfo[i]])
  1498. }, _frag); //
  1499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1502. }
  1503. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1504. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1505. _content = $$("div", {
  1506. className: "U_MD_D_KO",
  1507. "onmousedown": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1511. "onclick": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_hkZJLSStudentDeskIconInfo[i]])
  1515. }, _frag); //
  1516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1519. } //
  1520. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1521. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1522. _content = $$("div", {
  1523. className: "U_MD_D_KO",
  1524. "onmousedown": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_ytyStudentDeskIconInfo[i]]),
  1528. "onclick": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_ytyStudentDeskIconInfo[i]])
  1532. }, _frag); //
  1533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1536. } //
  1537. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1538. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1539. _content = $$("div", {
  1540. className: "U_MD_D_KO",
  1541. "onmousedown": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_jccssylStudentDeskIconInfo[i]]),
  1545. "onclick": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_jccssylStudentDeskIconInfo[i]])
  1549. }, _frag); //
  1550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1553. }
  1554. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1555. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1556. _content = $$("div", {
  1557. className: "U_MD_D_KO",
  1558. "onmousedown": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_caleStudentDeskIconInfo[i]]),
  1562. "onclick": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_caleStudentDeskIconInfo[i]])
  1566. }, _frag); //
  1567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1570. }
  1571. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1572. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1573. _content = $$("div", {
  1574. className: "U_MD_D_KO",
  1575. "onmousedown": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_thuioeStudentDeskIconInfo[i]]),
  1579. "onclick": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_thuioeStudentDeskIconInfo[i]])
  1583. }, _frag); //
  1584. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1585. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1586. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1587. }
  1588. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1589. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1590. _content = $$("div", {
  1591. className: "U_MD_D_KO",
  1592. "onmousedown": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_tpcStudentDeskIconInfo[i]]),
  1596. "onclick": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_tpcStudentDeskIconInfo[i]])
  1600. }, _frag); //
  1601. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1602. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1603. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1604. } //
  1605. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1606. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1607. _content = $$("div", {
  1608. className: "U_MD_D_KO",
  1609. "onmousedown": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_chjyjStudentDeskIconInfo[i]]),
  1613. "onclick": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_chjyjStudentDeskIconInfo[i]])
  1617. }, _frag); //
  1618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1621. }
  1622. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1623. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1624. _content = $$("div", {
  1625. className: "U_MD_D_KO",
  1626. "onmousedown": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_szjkyStudentDeskIconInfo[i]]),
  1630. "onclick": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_szjkyStudentDeskIconInfo[i]])
  1634. }, _frag); //
  1635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1638. }
  1639. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1640. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1641. _content = $$("div", {
  1642. className: "U_MD_D_KO",
  1643. "onmousedown": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_dseiStudentDeskIconInfo[i]]),
  1647. "onclick": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_dseiStudentDeskIconInfo[i]])
  1651. }, _frag); //
  1652. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1655. }
  1656. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1657. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1658. _content = $$("div", {
  1659. className: "U_MD_D_KO",
  1660. "onmousedown": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1664. "onclick": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1668. }, _frag); //
  1669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1672. }
  1673. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1674. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1675. _content = $$("div", {
  1676. className: "U_MD_D_KO",
  1677. "onmousedown": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_siesStudentDeskIconInfo[i]]),
  1681. "onclick": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_siesStudentDeskIconInfo[i]])
  1685. }, _frag); //
  1686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1689. }
  1690. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1691. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1692. _content = $$("div", {
  1693. className: "U_MD_D_KO",
  1694. "onmousedown": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_hkStudentDeskIconInfo[i]]),
  1698. "onclick": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_hkStudentDeskIconInfo[i]])
  1702. }, _frag); //
  1703. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1704. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1705. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1706. }
  1707. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1708. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1709. _content = $$("div", {
  1710. className: "U_MD_D_KO",
  1711. "onmousedown": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_hkaceStudentDeskIconInfo[i]]),
  1715. "onclick": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_hkaceStudentDeskIconInfo[i]])
  1719. }, _frag); //
  1720. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1721. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1722. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1723. }
  1724. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1725. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1742. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_tcStudentDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_tcStudentDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1757. }
  1758. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1759. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_szscStudentDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_szscStudentDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1774. }
  1775. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1776. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_studentDesktopIconInfo3[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_studentDesktopIconInfo3[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1791. }
  1792. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1793. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_studentDesktopIconInfo2[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_studentDesktopIconInfo2[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1808. }
  1809. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1810. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_wanketeacherDesktopIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_wanketeacherDesktopIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1827. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_wankeAdminDesktopIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_wankeAdminDesktopIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1844. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_jccssylTeacherDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_jccssylTeacherDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1859. }
  1860. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1861. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_caleTeacherDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_caleTeacherDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1878. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_tpcOrganizerDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_tpcOrganizerDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1895. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_tpcTeacherDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_tpcTeacherDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1912. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_teacherDesktopIconInfo2[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_teacherDesktopIconInfo2[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1927. }
  1928. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1929. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_thuioeTeacherDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_thuioeTeacherDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1944. }
  1945. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1946. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_lotechTeacherDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_lotechTeacherDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1961. }//
  1962. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1963. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1980. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_siesTeacherDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_siesTeacherDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1997. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_longhuaTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_longhuaTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2014. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_ytyTeacherDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_ytyTeacherDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2031. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_yunhaiTeacherDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2046. } //_hkStudentDeskIconInfo
  2047. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2048. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2065. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_hkTeacherDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_hkTeacherDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2082. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_hkaceTeacherDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_hkaceTeacherDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2099. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_gdjgAdminDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_gdjgAdminDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2116. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_gdjgTeacherDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_gdjgTeacherDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2133. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_szherTeacherDeskIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_szherTeacherDeskIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2150. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_heyuannAdminDeskIconInfo[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_heyuannAdminDeskIconInfo[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2165. }
  2166. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2167. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_heyuanTeacherDeskIconInfo[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_heyuanTeacherDeskIconInfo[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2182. } //
  2183. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2184. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_dseiAdminDeskIconInfo[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_dseiAdminDeskIconInfo[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2199. }
  2200. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2201. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_dseiTeacherDeskIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_dseiTeacherDeskIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2216. } //
  2217. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2218. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_chjyjAdminDeskIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_chjyjAdminDeskIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2233. }//
  2234. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2235. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_chjyjTeacherDeskIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_chjyjTeacherDeskIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2252. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_szjkyAdminDeskIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_szjkyAdminDeskIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2267. }//
  2268. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2269. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_szjkyTeacherDeskIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_szjkyTeacherDeskIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2286. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_futianAdminDeskIconInfo[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖动图标即打开了桌面应用
  2295. U.MD.D.click(this, obj);
  2296. }, [_futianAdminDeskIconInfo[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2301. }
  2302. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2303. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_futianTeacherDeskIconInfo[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖动图标即打开了桌面应用
  2312. U.MD.D.click(this, obj);
  2313. }, [_futianTeacherDeskIconInfo[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2320. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2321. _content = $$("div", {
  2322. className: "U_MD_D_KO",
  2323. "onmousedown": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_MingdeTeacherDeskIcon[i]]),
  2327. "onclick": U.UF.C.closure(function (obj) {
  2328. //防止拖动图标即打开了桌面应用
  2329. U.MD.D.click(this, obj);
  2330. }, [_MingdeTeacherDeskIcon[i]])
  2331. }, _frag); //
  2332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2335. }
  2336. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2337. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2338. _content = $$("div", {
  2339. className: "U_MD_D_KO",
  2340. "onmousedown": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_lhsAdminDesktopIconInfo[i]]),
  2344. "onclick": U.UF.C.closure(function (obj) {
  2345. //防止拖动图标即打开了桌面应用
  2346. U.MD.D.click(this, obj);
  2347. }, [_lhsAdminDesktopIconInfo[i]])
  2348. }, _frag); //
  2349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2352. }
  2353. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2354. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2355. _content = $$("div", {
  2356. className: "U_MD_D_KO",
  2357. "onmousedown": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_lhsteacherDesktopIconInfo[i]]),
  2361. "onclick": U.UF.C.closure(function (obj) {
  2362. //防止拖动图标即打开了桌面应用
  2363. U.MD.D.click(this, obj);
  2364. }, [_lhsteacherDesktopIconInfo[i]])
  2365. }, _frag); //
  2366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2369. }
  2370. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2371. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2372. _content = $$("div", {
  2373. className: "U_MD_D_KO",
  2374. "onmousedown": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2378. "onclick": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_zhoujiateacherDesktopIconInfo[i]])
  2382. }, _frag); //
  2383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2386. }
  2387. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2388. for (i = 0; i < _hanDeskIcon.length; i++) {
  2389. _content = $$("div", {
  2390. className: "U_MD_D_KO",
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖动图标即打开了桌面应用
  2393. U.MD.D.click(this, obj);
  2394. }, [_hanDeskIcon[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖动图标即打开了桌面应用
  2397. U.MD.D.click(this, obj);
  2398. }, [_hanDeskIcon[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2403. }
  2404. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2405. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2406. _content = $$("div", {
  2407. className: "U_MD_D_KO",
  2408. "onmousedown": U.UF.C.closure(function (obj) {
  2409. //防止拖动图标即打开了桌面应用
  2410. U.MD.D.click(this, obj);
  2411. }, [_orgStemDeskIcon[i]]),
  2412. "onclick": U.UF.C.closure(function (obj) {
  2413. //防止拖动图标即打开了桌面应用
  2414. U.MD.D.click(this, obj);
  2415. }, [_orgStemDeskIcon[i]])
  2416. }, _frag); //
  2417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2420. }
  2421. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2422. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2423. _content = $$("div", {
  2424. className: "U_MD_D_KO",
  2425. "onmousedown": U.UF.C.closure(function (obj) {
  2426. //防止拖动图标即打开了桌面应用
  2427. U.MD.D.click(this, obj);
  2428. }, [_szulsDeskIcon[i]]),
  2429. "onclick": U.UF.C.closure(function (obj) {
  2430. //防止拖动图标即打开了桌面应用
  2431. U.MD.D.click(this, obj);
  2432. }, [_szulsDeskIcon[i]])
  2433. }, _frag); //
  2434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2437. }
  2438. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2439. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2440. _content = $$("div", {
  2441. className: "U_MD_D_KO",
  2442. "onmousedown": U.UF.C.closure(function (obj) {
  2443. //防止拖动图标即打开了桌面应用
  2444. U.MD.D.click(this, obj);
  2445. }, [_orgDesktopIconInfo[i]]),
  2446. "onclick": U.UF.C.closure(function (obj) {
  2447. //防止拖动图标即打开了桌面应用
  2448. U.MD.D.click(this, obj);
  2449. }, [_orgDesktopIconInfo[i]])
  2450. }, _frag); //
  2451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2454. }
  2455. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2456. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2457. _content = $$("div", {
  2458. className: "U_MD_D_KO",
  2459. "onmousedown": U.UF.C.closure(function (obj) {
  2460. //防止拖动图标即打开了桌面应用
  2461. U.MD.D.click(this, obj);
  2462. }, [_schoolDesktopIconInfo[i]]),
  2463. "onclick": U.UF.C.closure(function (obj) {
  2464. //防止拖动图标即打开了桌面应用
  2465. U.MD.D.click(this, obj);
  2466. }, [_schoolDesktopIconInfo[i]])
  2467. }, _frag); //
  2468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2471. }
  2472. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2473. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2474. _content = $$("div", {
  2475. className: "U_MD_D_KO",
  2476. "onmousedown": U.UF.C.closure(function (obj) {
  2477. //防止拖动图标即打开了桌面应用
  2478. U.MD.D.click(this, obj);
  2479. }, [_GMteacherDesktopIconInfo[i]]),
  2480. "onclick": U.UF.C.closure(function (obj) {
  2481. //防止拖动图标即打开了桌面应用
  2482. U.MD.D.click(this, obj);
  2483. }, [_GMteacherDesktopIconInfo[i]])
  2484. }, _frag); //
  2485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2488. }
  2489. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2490. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2491. _content = $$("div", {
  2492. className: "U_MD_D_KO",
  2493. "onmousedown": U.UF.C.closure(function (obj) {
  2494. //防止拖动图标即打开了桌面应用
  2495. U.MD.D.click(this, obj);
  2496. }, [_SONGteacherDesktopIconInfo[i]]),
  2497. "onclick": U.UF.C.closure(function (obj) {
  2498. //防止拖动图标即打开了桌面应用
  2499. U.MD.D.click(this, obj);
  2500. }, [_SONGteacherDesktopIconInfo[i]])
  2501. }, _frag); //
  2502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2505. }
  2506. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2507. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2508. _content = $$("div", {
  2509. className: "U_MD_D_KO",
  2510. "onmousedown": U.UF.C.closure(function (obj) {
  2511. //防止拖动图标即打开了桌面应用
  2512. U.MD.D.click(this, obj);
  2513. }, [_GMstudentDesktopIconInfo[i]]),
  2514. "onclick": U.UF.C.closure(function (obj) {
  2515. //防止拖动图标即打开了桌面应用
  2516. U.MD.D.click(this, obj);
  2517. }, [_GMstudentDesktopIconInfo[i]])
  2518. }, _frag); //
  2519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2522. }
  2523. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2524. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2525. _content = $$("div", {
  2526. className: "U_MD_D_KO",
  2527. "onmousedown": U.UF.C.closure(function (obj) {
  2528. //防止拖动图标即打开了桌面应用
  2529. U.MD.D.click(this, obj);
  2530. }, [_tcTeacherDeskIconInfo[i]]),
  2531. "onclick": U.UF.C.closure(function (obj) {
  2532. //防止拖动图标即打开了桌面应用
  2533. U.MD.D.click(this, obj);
  2534. }, [_tcTeacherDeskIconInfo[i]])
  2535. }, _frag); //
  2536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2539. }
  2540. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2541. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2542. _content = $$("div", {
  2543. className: "U_MD_D_KO",
  2544. "onmousedown": U.UF.C.closure(function (obj) {
  2545. //防止拖动图标即打开了桌面应用
  2546. U.MD.D.click(this, obj);
  2547. }, [_tcOrganizerDeskIconInfo[i]]),
  2548. "onclick": U.UF.C.closure(function (obj) {
  2549. //防止拖动图标即打开了桌面应用
  2550. U.MD.D.click(this, obj);
  2551. }, [_tcOrganizerDeskIconInfo[i]])
  2552. }, _frag); //
  2553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2556. }
  2557. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2558. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2559. _content = $$("div", {
  2560. className: "U_MD_D_KO",
  2561. "onmousedown": U.UF.C.closure(function (obj) {
  2562. //防止拖动图标即打开了桌面应用
  2563. U.MD.D.click(this, obj);
  2564. }, [_szscTeacherDeskIconInfo[i]]),
  2565. "onclick": U.UF.C.closure(function (obj) {
  2566. //防止拖动图标即打开了桌面应用
  2567. U.MD.D.click(this, obj);
  2568. }, [_szscTeacherDeskIconInfo[i]])
  2569. }, _frag); //
  2570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2573. }
  2574. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2575. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖动图标即打开了桌面应用
  2580. U.MD.D.click(this, obj);
  2581. }, [_szscOrganizerDeskIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖动图标即打开了桌面应用
  2584. U.MD.D.click(this, obj);
  2585. }, [_szscOrganizerDeskIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else {
  2592. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2593. _content = $$("div", {
  2594. className: "U_MD_D_KO",
  2595. "onmousedown": U.UF.C.closure(function (obj) {
  2596. //防止拖动图标即打开了桌面应用
  2597. U.MD.D.click(this, obj);
  2598. }, [_teacherDesktopIconInfo[i]]),
  2599. "onclick": U.UF.C.closure(function (obj) {
  2600. //防止拖动图标即打开了桌面应用
  2601. U.MD.D.click(this, obj);
  2602. }, [_teacherDesktopIconInfo[i]])
  2603. }, _frag); //
  2604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2607. }
  2608. }
  2609. } else {
  2610. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2611. _content = $$("div", {
  2612. className: "U_MD_D_KO",
  2613. style: { 'width': '124px', 'height': '145px' },
  2614. "onmousedown": U.UF.C.closure(function (obj) {
  2615. //防止拖动图标即打开了桌面应用
  2616. U.MD.D.click(this, obj);
  2617. }, [_easyDesktopIconInfo[i]]),
  2618. "onclick": U.UF.C.closure(function (obj) {
  2619. //防止拖动图标即打开了桌面应用
  2620. U.MD.D.click(this, obj);
  2621. }, [_easyDesktopIconInfo[i]])
  2622. }, _frag); //
  2623. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2626. }
  2627. }
  2628. if (type == 1) {
  2629. //加载好后给图标定位
  2630. U.MD.D.iconPostion($(_frag).Child());
  2631. } else {
  2632. //加载好后给图标定位
  2633. U.MD.D.iconPostion2($(_frag).Child());
  2634. }
  2635. //把图标加载到页面
  2636. el.appendChild(_frag);
  2637. }
  2638. /**
  2639. * 显示任务栏
  2640. *
  2641. * @param {element} 桌面元素
  2642. */
  2643. U.MD.D.I.displayTaskbar = function (el) {
  2644. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2645. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2646. //任务栏位置变化
  2647. U.selectEl(el).css({ "bottom": "0px" });
  2648. //桌面位置变话
  2649. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2650. }
  2651. }
  2652. //#region 桌面图标拖动逻辑
  2653. /**
  2654. * 桌面排列图标
  2655. *
  2656. * @param {element} 桌面元素
  2657. * @param {object} 上下相距的距离
  2658. * @param {object} 左右相距的距离
  2659. * @return {object} 命名空间
  2660. */
  2661. U.MD.D.iconPostion = function (childs, top, left) {
  2662. var i; //用于循环处理
  2663. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2664. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2665. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2666. for (i = 0; i < childs.length; i++) {
  2667. //如果竖排top超过了范围处理
  2668. if (top + 95 > US.height - 10) {
  2669. //left超过了页面范围处理,则向上重叠打印处理
  2670. if ((left + 180) > US.width) {
  2671. top -= 110;
  2672. left -= 90;
  2673. }
  2674. //没有超过范围,那么left+90添加到下一个竖排打印
  2675. else {
  2676. left += 90;
  2677. top = 15;
  2678. };
  2679. }
  2680. //给图标的位置赋值
  2681. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2682. if (i < childs.length - 1) {
  2683. //页面图标每次向下加95
  2684. top += 95;
  2685. }
  2686. }
  2687. //返回最后调用的图标的位置
  2688. return [top, left];
  2689. }
  2690. /**
  2691. * 桌面排列图标
  2692. *
  2693. * @param {element} 桌面元素
  2694. * @param {object} 上下相距的距离
  2695. * @param {object} 左右相距的距离
  2696. * @return {object} 命名空间
  2697. */
  2698. U.MD.D.iconPostion2 = function (childs, top, left) {
  2699. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2700. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2701. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2702. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2703. for (i = 0; i < childs.length; i++) {
  2704. //如果竖排top超过了范围处理
  2705. if (left + 150 > US.width - 10) {
  2706. //left超过了页面范围处理,则向上重叠打印处理
  2707. if ((top + 180) > US.Height) {
  2708. top -= 150;
  2709. left -= 150;
  2710. }
  2711. //没有超过范围,那么left+90添加到下一个竖排打印
  2712. else {
  2713. top += 150;
  2714. left = ol;
  2715. };
  2716. }
  2717. //给图标的位置赋值
  2718. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2719. if (i < childs.length - 1) {
  2720. //页面图标每次向下加95
  2721. left += 150;
  2722. }
  2723. }
  2724. //返回最后调用的图标的位置
  2725. return [top, left];
  2726. }
  2727. /**
  2728. * 桌面点击事件逻辑
  2729. *
  2730. * @param {element} 桌面元素
  2731. * @param {object} 上下相距的距离
  2732. * @param {object} 左右相距的距离
  2733. * @return {object} 命名空间
  2734. */
  2735. U.MD.D.click = function (el, obj) {
  2736. var _buttonnumber = event.button; //点击的按钮的事件值
  2737. var _userinfo = US.userInfo;
  2738. U.UF.EV.stopBubble(); //阻止向上冒泡
  2739. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2740. if (_buttonnumber < 2) {
  2741. //如果是click事件的处理
  2742. if (event.type == "click") {
  2743. //如果元素在mousemove事件中没有移动则出发click事件
  2744. if (!U.MD.D.I.IsDrag) {
  2745. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2746. U.alert("请先登录您的账号!");
  2747. setTimeout(() => {
  2748. U.MD.U.L.login();
  2749. }, 2000);
  2750. } else {
  2751. //打开应用处理
  2752. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2753. }
  2754. }
  2755. }
  2756. //如果是mouse事件的处理
  2757. else {
  2758. if (US.Config.type == '1') {
  2759. //拖动处理,添加拖动和拖动结束事件
  2760. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2761. }
  2762. }
  2763. U.MD.D.I.IsDrag = false;
  2764. }
  2765. }
  2766. /**
  2767. * 拖动的处理
  2768. *
  2769. */
  2770. U.MD.D.iconMove = function () {
  2771. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2772. U.MD.D.I.IsDrag = true;
  2773. }
  2774. /**
  2775. * 拖动结束后,这里是定位处理,以网状的形式定位
  2776. *
  2777. * @param {element} 拖动的元素
  2778. * @return {object} 命名空间
  2779. */
  2780. U.MD.D.iconUp = function (el) {
  2781. var _top = 15,
  2782. _left = 20,
  2783. _margin,
  2784. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2785. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2786. if (_positioninfo["OT"] > 15) {
  2787. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2788. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2789. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2790. }
  2791. if (_positioninfo["OL"] > 20) {
  2792. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2793. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2794. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2795. }
  2796. //while循环判断么一个重叠的元素
  2797. do {
  2798. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2799. _top = _positioninfo[0] + 95; //得到定位后的top
  2800. _left = _positioninfo[1]; //得到定位后的left
  2801. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2802. }
  2803. /**
  2804. * 判断拖动后图标是否重叠
  2805. *
  2806. * @param {element} 拖动的元素
  2807. * @param {element} 桌面所有的元素
  2808. * @param {array} 拖动元素的位置
  2809. ----------[0] 上 top
  2810. ----------[1] 左 left
  2811. * @return {object} 命名空间
  2812. */
  2813. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2814. //循环所有的图标
  2815. for (var i = 0; i < childs.length; i++) {
  2816. //判断有没有和该图标诶子重叠的元素
  2817. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2818. return childs[i]; //如果有返回
  2819. }
  2820. }
  2821. }
  2822. //#endregion
  2823. //#endregion
  2824. //#region 桌面应用
  2825. /**
  2826. * 打开应用
  2827. *
  2828. * @param {string} 类型
  2829. -----------------Disk 网盘系统
  2830. -----------------PDisk 学习系统网盘
  2831. -----------------Poto 图片
  2832. -----------------Video 视频
  2833. -----------------Music 音乐
  2834. -----------------Word word
  2835. -----------------Excel excel
  2836. -----------------Txt 记事本
  2837. -----------------PB 学习系统
  2838. -----------------Blog 朋友圈系统
  2839. -----------------FTP ftp系统
  2840. -----------------Group 好友群
  2841. -----------------SY 首页系统
  2842. -----------------Set 个人设置
  2843. -----------------XSet 系统设置
  2844. -----------------App 我们所有的app
  2845. -----------------BC c.1473.cn 平台
  2846. -----------------CWeb d.1473.cn 变成平台
  2847. -----------------其他的外联系统 我们统一用iframe打开
  2848. * @param {array} 类型
  2849. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2850. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2851. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2852. 如果第一个参数为其他,则无第二个参数
  2853. * @returns {array}
  2854. */
  2855. window.addEventListener('message', function (e) { // 监听 message 事件
  2856. // alert(e.data.type);
  2857. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2858. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2859. //3是展示全部阶段 2学生 1老师 4专家
  2860. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2861. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2862. //3是展示全部阶段 2学生 1老师 4专家
  2863. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2864. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2865. //3是展示全部阶段 2学生 1老师 4专家
  2866. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2867. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2868. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2869. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2871. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2873. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2875. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2877. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2878. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2879. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2880. //3是展示全部阶段 2学生 1老师 4专家
  2881. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2882. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2883. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2884. U.MD.D.I.selectUser();
  2885. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2886. var _formel = document.getElementById("study");
  2887. U.UF.F.windowZooming(_formel);
  2888. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2889. var _formel = document.getElementById("studyDetail");
  2890. U.UF.F.windowZooming(_formel);
  2891. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2892. var _formel = document.getElementById("studyDetail");
  2893. U.UF.F.windowZooming(_formel);
  2894. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2895. var _formel = document.getElementById("studentStudy");
  2896. U.UF.F.windowZooming(_formel);
  2897. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2898. // var _formel = document.getElementById("study");
  2899. //如果最大化了,那么就把他缩小
  2900. // if (_formel.ismaximize) {
  2901. // return;
  2902. // }
  2903. // U.UF.F.windowZooming(_formel);
  2904. // U.UF.F.topWindow(_formel);
  2905. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2906. // var _formel = document.getElementById("studyDetail");
  2907. //如果最大化了,那么就把他缩小
  2908. // if (_formel.ismaximize) {
  2909. // return;
  2910. // }
  2911. // U.UF.F.windowZooming(_formel);
  2912. // U.UF.F.topWindow(_formel);
  2913. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2914. // var _formel = document.getElementById("studentStudy");
  2915. // if (_formel.ismaximize) {
  2916. // return;
  2917. // }
  2918. // U.UF.F.windowZooming(_formel);
  2919. // U.UF.F.topWindow(_formel);
  2920. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2921. var _formel = document.getElementById("study");
  2922. // if (_formel.ismaximize) {
  2923. // return;
  2924. // }
  2925. // U.UF.F.windowZooming(_formel);
  2926. U.UF.F.topWindow(_formel);
  2927. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2928. var _formel = document.getElementById("studentIndex");
  2929. U.UF.F.windowZooming(_formel);
  2930. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2931. var _formel = document.getElementById("studyDetailS");
  2932. U.UF.F.windowZooming(_formel);
  2933. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2934. var _formel = document.getElementById("studioIndex");
  2935. U.UF.F.windowZooming(_formel);
  2936. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2937. var _formel = document.getElementById("studyDetailStudio");
  2938. U.UF.F.windowZooming(_formel);
  2939. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2940. var _formel = document.getElementById("studyDetailStudio");
  2941. U.UF.F.windowZooming(_formel);
  2942. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2943. var _formel = document.getElementById("studyDetailNT");
  2944. U.UF.F.windowZooming(_formel);
  2945. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2946. var _formel = document.getElementById("studyDetailS");
  2947. U.UF.F.windowZooming(_formel);
  2948. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2949. var _formel = document.getElementById("studyDetailS");
  2950. U.UF.F.topWindow(_formel);
  2951. } else if (e.data.tools && e.data.tools == "1") {
  2952. // U.MD.D.I.openApplication("whiteboard")
  2953. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "2") {
  2955. U.MD.D.I.openApplication("note")
  2956. } else if (e.data.tools && e.data.tools == "3") {
  2957. // U.MD.D.I.openApplication("mind")
  2958. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "4") {
  2960. U.MD.D.I.openApplication("investigation")
  2961. } else if (e.data.tools && e.data.tools == "6") {
  2962. // U.MD.D.I.openApplication("doc")
  2963. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2964. } else if (e.data.tools && e.data.tools == "7") {
  2965. // U.MD.D.I.openApplication("mindNetwork")
  2966. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2967. } else if (e.data.tools && e.data.tools == "8") {
  2968. U.MD.D.I.openApplication("library")
  2969. } else if (e.data.tools && e.data.tools == "17") {
  2970. U.MD.D.I.openApplication("stuLibrary")
  2971. } else if (e.data.tools && e.data.tools == "18") {
  2972. U.MD.D.I.openApplication("train")
  2973. } else if (e.data.tools && e.data.tools == "21") {
  2974. U.MD.D.I.openApplication("program")
  2975. } else if (e.data.tools && e.data.tools == "22") {
  2976. U.MD.D.I.openApplication("AIprogram2")
  2977. } else if (e.data.tools && e.data.tools == "23") {
  2978. U.MD.D.I.openApplication("Pythonprogram")
  2979. } else if (e.data.tools && e.data.tools == "24") {
  2980. U.MD.D.I.openApplication("AIprogram")
  2981. } else if (e.data.tools && e.data.tools == "25") {
  2982. U.MD.D.I.openApplication("sys")
  2983. } else if (e.data.tools && e.data.tools == "26") {
  2984. // U.MD.D.I.openApplication("courseDesign")
  2985. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2986. } else if (e.data.tools && e.data.tools == "31") {
  2987. U.MD.D.I.openApplication("netWorkPanel")
  2988. } else if (e.data.tools && e.data.tools == "32") {
  2989. U.MD.D.I.openApplication("codeEdit")
  2990. } else if (e.data.tools && e.data.tools == "57") {
  2991. U.MD.D.I.openApplication("CocoPi")
  2992. } else if (e.data.tools && e.data.tools == "63") {
  2993. U.MD.D.I.openApplication("Wood")
  2994. } else if (e.data.tools && e.data.tools == "58") {
  2995. U.MD.D.I.openApplication("car")
  2996. } else if (e.data.tools && e.data.tools == "59") {
  2997. U.MD.D.I.openApplication("lineSearch")
  2998. } else if (e.data.tools && e.data.tools == "60") {
  2999. U.MD.D.I.openApplication("deepLearning")
  3000. } else if (e.data.tools && e.data.tools == "61") {
  3001. U.MD.D.I.openApplication("allHistory")
  3002. } else if (e.data.tools && e.data.tools == "28") {
  3003. U.MD.D.I.openApplication("translation")
  3004. } else if (e.data.tools && e.data.tools == "37") {
  3005. U.MD.D.I.openApplication("mohe")
  3006. } else if (e.data.tools && e.data.tools == "38") {
  3007. U.MD.D.I.openApplication("24game")
  3008. } else if (e.data.tools && e.data.tools == "39") {
  3009. U.MD.D.I.openApplication("GeoGebra")
  3010. } else if (e.data.tools && e.data.tools == "43") {
  3011. U.MD.D.I.openApplication("studentEvaluate")
  3012. } else if (e.data.tools && e.data.tools == "44") {
  3013. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3014. } else if (e.data.tools && e.data.tools == "46") {
  3015. U.MD.D.I.openApplication("project")
  3016. } else if (e.data.tools && e.data.tools == "71") {
  3017. U.MD.D.I.openApplication("aigptCourse")
  3018. } else if (e.data.tools && e.data.tools == "1s") {
  3019. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3020. } else if (e.data.tools && e.data.tools == "3s") {
  3021. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "6s") {
  3023. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "1studio") {
  3025. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "3studio") {
  3027. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "6studio") {
  3029. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "3y") {
  3031. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "1y") {
  3033. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3034. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3035. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3036. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3037. U.MD.D.I.openApplication("AIAnalyse")
  3038. } else if (e.data.tools && e.data.tools == "1teacher") {
  3039. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3040. } else if (e.data.tools && e.data.tools == "3teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "7teacher") {
  3043. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3045. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3047. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3048. } else if (e.data.tools && e.data.tools == "1E") {
  3049. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3050. } else if (e.data.tools && e.data.tools == "3E") {
  3051. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "57y") {
  3053. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57u") {
  3055. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3056. } else if (e.data.tools && e.data.tools == "57teacher") {
  3057. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3058. } else if (e.data.tools && e.data.tools == "64") {
  3059. U.MD.D.I.openApplication("AIChat")
  3060. } else if (e.data.tools && e.data.tools == "66") {
  3061. U.MD.D.I.openApplication("formulaEdi")
  3062. } else if (e.data.tools && e.data.tools == "67") {
  3063. U.MD.D.I.openApplication("molStr")
  3064. } else if (e.data.tools && e.data.tools == "68") {
  3065. U.MD.D.I.openApplication("timeAxis")
  3066. } else if (e.data.tools && e.data.tools == "openCourse") {
  3067. let _data = {
  3068. typea: e.data.typea || '',
  3069. typeb: e.data.typeb || '',
  3070. typed: e.data.typed || '',
  3071. }
  3072. U.MD.D.I.openInApplication("index", _data)
  3073. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3074. let _data = {
  3075. classid: e.data.classid || '',
  3076. }
  3077. U.MD.D.I.openInApplication("dataClass", _data)
  3078. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3079. let _data = {
  3080. cid: e.data.cid || '',
  3081. gid: e.data.gid || '',
  3082. }
  3083. U.MD.D.I.openInApplication("opencCscl", _data)
  3084. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3085. U.MD.D.I.openApplication("dataBoardTest")
  3086. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3087. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3088. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3089. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3090. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3091. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3092. }else if (e.data.tools && e.data.tools == "loginSz") {
  3093. U.MD.D.I.openInApplication("loginSz")
  3094. }
  3095. });
  3096. U.MD.D.I.selectUser = function () {
  3097. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3098. if (res.value[0].length > 0) {
  3099. US.userInfo = res.value[0][0];
  3100. $(".userName")[0].innerHTML = US.userInfo.username;
  3101. }
  3102. }, [], { "type": "GET", "withCredentials": true });
  3103. }
  3104. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3105. var _userinfo = US.userInfo, //登录用户信息
  3106. _userid = US.userInfo.userid, //登录用户id
  3107. _oid = _userinfo.organizeid,
  3108. _type = US.userInfo.type,
  3109. _org = US.userInfo.org,
  3110. _role = US.userInfo.role,
  3111. _classId = US.userInfo.classid;
  3112. if (_type == 4) {
  3113. tType = 4
  3114. }
  3115. switch (str) {
  3116. case "studyDetailNT": //无终端模式
  3117. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3118. setTimeout(() => {
  3119. U.MD.U.L.login();
  3120. }, 2000);
  3121. } else {
  3122. _formdiv = new U.UF.UI.form(
  3123. "课程详情",
  3124. $$("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 }), {
  3125. "id": "studyDetailNT",
  3126. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3127. "onresize": function () { }
  3128. }, {
  3129. closecallback: function () { }
  3130. }, { "style": { "height": "36px" } }).form; //创建窗体
  3131. _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); } }
  3132. break;
  3133. }
  3134. case "studyDetail":
  3135. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3136. setTimeout(() => {
  3137. U.MD.U.L.login();
  3138. }, 2000);
  3139. } else {
  3140. _formdiv = new U.UF.UI.form(
  3141. "课程详情",
  3142. $$("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 }), {
  3143. "id": "studyDetail",
  3144. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3145. "onresize": function () { }
  3146. }, {
  3147. closecallback: function () { }
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _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); } }
  3150. break;
  3151. }
  3152. case "studyDetailTrain":
  3153. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3154. setTimeout(() => {
  3155. U.MD.U.L.login();
  3156. }, 2000);
  3157. } else {
  3158. _formdiv = new U.UF.UI.form(
  3159. "培训详情",
  3160. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3161. "id": "studyDetailTrain",
  3162. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3163. "onresize": function () { }
  3164. }, {
  3165. closecallback: function () { }
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _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); } }
  3168. break;
  3169. }
  3170. case "studyDetailS":
  3171. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3172. setTimeout(() => {
  3173. U.MD.U.L.login();
  3174. }, 2000);
  3175. } else {
  3176. _formdiv = new U.UF.UI.form(
  3177. "项目详情",
  3178. $$("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 }), {
  3179. "id": "studyDetailS",
  3180. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _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); } }
  3186. break;
  3187. }
  3188. case "studyDetailStudio":
  3189. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3190. setTimeout(() => {
  3191. U.MD.U.L.login();
  3192. }, 2000);
  3193. } else {
  3194. _formdiv = new U.UF.UI.form(
  3195. "工作详情",
  3196. $$("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 }), {
  3197. "id": "studyDetailStudio",
  3198. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3199. "onresize": function () { }
  3200. }, {
  3201. closecallback: function () { }
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _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); } }
  3204. break;
  3205. }
  3206. case "studyDetailS5":
  3207. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3208. setTimeout(() => {
  3209. U.MD.U.L.login();
  3210. }, 2000);
  3211. } else {
  3212. _formdiv = new U.UF.UI.form(
  3213. "项目详情",
  3214. $$("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 }), {
  3215. "id": "studyDetailS",
  3216. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _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); } }
  3222. break;
  3223. }
  3224. case "studyDetailGM":
  3225. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3226. setTimeout(() => {
  3227. U.MD.U.L.login();
  3228. }, 2000);
  3229. } else {
  3230. _formdiv = new U.UF.UI.form(
  3231. "课程详情",
  3232. $$("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 }), {
  3233. "id": "studyDetail",
  3234. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3235. "onresize": function () { }
  3236. }, {
  3237. closecallback: function () { }
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. }
  3242. case "hanUrl":
  3243. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3244. setTimeout(() => {
  3245. U.MD.U.L.login();
  3246. }, 2000);
  3247. } else {
  3248. _formdiv = new U.UF.UI.form(
  3249. "汉字宫",
  3250. $$("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" }), {
  3251. "id": "hanUrl",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _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); } }
  3258. break;
  3259. }
  3260. case "index":
  3261. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3262. setTimeout(() => {
  3263. U.MD.U.L.login();
  3264. }, 2000);
  3265. } else {
  3266. _formdiv = new U.UF.UI.form(
  3267. "课程中心",
  3268. $$("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 }), {
  3269. "id": "study",
  3270. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. break;
  3277. }
  3278. case "dataClass":
  3279. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3280. setTimeout(() => {
  3281. U.MD.U.L.login();
  3282. }, 2000);
  3283. } else {
  3284. _formdiv = new U.UF.UI.form(
  3285. "数据报告",
  3286. $$("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 }), {
  3287. "id": "dataClass",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. }
  3296. case "opencCscl":
  3297. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3298. setTimeout(() => {
  3299. U.MD.U.L.login();
  3300. }, 2000);
  3301. } else {
  3302. _formdiv = new U.UF.UI.form(
  3303. "协同建构",
  3304. $$("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 }), {
  3305. "id": "futureClass",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. }
  3314. case "openCourseUpdate":
  3315. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3316. setTimeout(() => {
  3317. U.MD.U.L.login();
  3318. }, 2000);
  3319. } else {
  3320. _formdiv = new U.UF.UI.form(
  3321. "课程管理",
  3322. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3323. "id": "openCourseUpdate",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function () { }
  3326. }, {
  3327. closecallback: function () { }
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. break;
  3330. }
  3331. case "openCourseEUpdate":
  3332. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3333. setTimeout(() => {
  3334. U.MD.U.L.login();
  3335. }, 2000);
  3336. } else {
  3337. _formdiv = new U.UF.UI.form(
  3338. "课程管理",
  3339. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3340. "id": "openCourseUpdate",
  3341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. break;
  3347. }
  3348. case "openCourseNewUpdate":
  3349. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3350. setTimeout(() => {
  3351. U.MD.U.L.login();
  3352. }, 2000);
  3353. } else {
  3354. _formdiv = new U.UF.UI.form(
  3355. "课程管理",
  3356. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3357. "id": "openCourseUpdate",
  3358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. break;
  3364. }
  3365. case "inviteLoginSz":
  3366. _formdiv = new U.UF.UI.form(
  3367. "随机码登录",
  3368. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
  3369. "id": "loginSz",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. break;
  3376. case "loginSz":
  3377. _formdiv = new U.UF.UI.form(
  3378. "教师登录",
  3379. $$("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://edu.cocorobo.cn/ResourcesLogin" }), {
  3380. "id": "loginSz",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. break;
  3387. case "teacher":
  3388. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3389. setTimeout(() => {
  3390. U.MD.U.L.login();
  3391. }, 2000);
  3392. } else {
  3393. _formdiv = new U.UF.UI.form(
  3394. "教师管理",
  3395. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3396. "id": "teacher",
  3397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. break;
  3403. }
  3404. case "dataBoardSZArea":
  3405. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3406. setTimeout(() => {
  3407. U.MD.U.L.login();
  3408. }, 2000);
  3409. } else {
  3410. _formdiv = new U.UF.UI.form(
  3411. "综合数据看板",
  3412. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3413. "id": "dataBoardSZArea",
  3414. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3415. "onresize": function () { }
  3416. }, {
  3417. closecallback: function () { }
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. break;
  3420. }
  3421. case "dataBoardSZCity":
  3422. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3423. setTimeout(() => {
  3424. U.MD.U.L.login();
  3425. }, 2000);
  3426. } else {
  3427. _formdiv = new U.UF.UI.form(
  3428. "综合数据看板",
  3429. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3430. "id": "dataBoardSZCity",
  3431. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. break;
  3437. }
  3438. }
  3439. }
  3440. U.MD.D.I.openApplication = function (str, obj, info) {
  3441. obj = obj || {};
  3442. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3443. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3444. _userinfo = US.userInfo, //登录用户信息
  3445. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3446. _oid = obj.organizeid || _userinfo.organizeid,
  3447. _type = US.userInfo.type,
  3448. _org = US.userInfo.org,
  3449. _role = US.userInfo.role,
  3450. _classId = US.userInfo.classid,
  3451. _TscreenType = 1
  3452. _screenType = 2,
  3453. _SscreenType = 3;
  3454. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3455. return;
  3456. }
  3457. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3458. switch (str) {
  3459. case "studnetProject": //好友打开
  3460. _formdiv = new U.UF.UI.form(
  3461. "我的项目",
  3462. $$("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 }), {
  3463. "id": "studnetProject",
  3464. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3465. "onresize": function () { }
  3466. }, {
  3467. closecallback: function () { }
  3468. }, { "style": { "height": "36px" } }).form; //创建窗体
  3469. _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); } }
  3470. break;
  3471. case "studentEvaluate": //好友打开
  3472. _formdiv = new U.UF.UI.form(
  3473. "我的评价",
  3474. $$("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 }), {
  3475. "id": "studentEvaluate",
  3476. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3477. "onresize": function () { }
  3478. }, {
  3479. closecallback: function () { }
  3480. }, { "style": { "height": "36px" } }).form; //创建窗体
  3481. _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); } }
  3482. break;
  3483. case "my":
  3484. _formdiv = new U.UF.UI.form(
  3485. "我的资料",
  3486. $$("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 }), {
  3487. "id": "my",
  3488. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. _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); } }
  3494. break;
  3495. case "program":
  3496. _formdiv = new U.UF.UI.form(
  3497. "编程平台",
  3498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3499. "id": "program",
  3500. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function () { }
  3502. }, {
  3503. closecallback: function () { }
  3504. }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. _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); } }
  3506. break;
  3507. case "library":
  3508. _formdiv = new U.UF.UI.form(
  3509. "素材库",
  3510. $$("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 }), {
  3511. "id": "library",
  3512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. _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); } }
  3518. break;
  3519. case "whiteboard":
  3520. _formdiv = new U.UF.UI.form(
  3521. "电子白板",
  3522. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3523. "id": "whiteboard",
  3524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. _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); } }
  3530. break;
  3531. case "investigation":
  3532. _formdiv = new U.UF.UI.form(
  3533. "问卷调查",
  3534. $$("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 }), {
  3535. "id": "investigation",
  3536. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3537. "onresize": function () { }
  3538. }, {
  3539. closecallback: function () { }
  3540. }, { "style": { "height": "36px" } }).form; //创建窗体
  3541. _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); } }
  3542. break;
  3543. case "note":
  3544. _formdiv = new U.UF.UI.form(
  3545. "便签分类",
  3546. $$("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 }), {
  3547. "id": "note",
  3548. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3549. "onresize": function () { }
  3550. }, {
  3551. closecallback: function () { }
  3552. }, { "style": { "height": "36px" } }).form; //创建窗体
  3553. _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); } }
  3554. break;
  3555. // case "score":
  3556. // _formdiv = new U.UF.UI.form(
  3557. // "量规评分",
  3558. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3559. // "id": "score",
  3560. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3561. // "onresize": function() {}
  3562. // }, {
  3563. // closecallback: function() {}
  3564. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3565. // _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); } }
  3566. // break;
  3567. case "mind":
  3568. _formdiv = new U.UF.UI.form(
  3569. "思维导图",
  3570. $$("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"
  3571. "id": "mind",
  3572. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function () { }
  3574. }, {
  3575. closecallback: function () { }
  3576. }, { "style": { "height": "36px" } }).form; //创建窗体
  3577. _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); } }
  3578. break;
  3579. case "doc":
  3580. // U.MD.D.I.isRoom();
  3581. _formdiv = new U.UF.UI.form(
  3582. "协同文档",
  3583. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3584. "id": "doc",
  3585. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3591. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3592. // })
  3593. _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); } }
  3594. break;
  3595. case "studentStudy":
  3596. _formdiv = new U.UF.UI.form(
  3597. "课程中心",
  3598. $$("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
  3599. "id": "studentStudy",
  3600. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3601. "onresize": function () { }
  3602. }, {
  3603. closecallback: function () { }
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _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); } }
  3606. break;
  3607. case "train": //好友打开
  3608. _formdiv = new U.UF.UI.form(
  3609. "训练平台",
  3610. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3611. "id": "train",
  3612. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _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); } }
  3618. break;
  3619. case "mindNetwork": //好友打开
  3620. _formdiv = new U.UF.UI.form(
  3621. "思维网格",
  3622. $$("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 }), {
  3623. "id": "mindNetwork",
  3624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function () { }
  3626. }, {
  3627. closecallback: function () { }
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. _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); } }
  3630. break;
  3631. case "studentClassRoom": //好友打开
  3632. _formdiv = new U.UF.UI.form(
  3633. "实时课堂",
  3634. $$("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 }), {
  3635. "id": "studentClassRoom",
  3636. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function () { }
  3638. }, {
  3639. closecallback: function () { }
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _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); } }
  3642. setTimeout(() => {
  3643. U.UF.F.windowZooming(_formdiv)
  3644. }, 0);
  3645. break;
  3646. }
  3647. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3648. switch (str) {
  3649. case "studnetProject": //好友打开
  3650. _formdiv = new U.UF.UI.form(
  3651. "我的项目",
  3652. $$("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 }), {
  3653. "id": "studnetProject",
  3654. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. _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); } }
  3660. break;
  3661. case "studentEvaluate": //好友打开
  3662. _formdiv = new U.UF.UI.form(
  3663. "我的评价",
  3664. $$("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 }), {
  3665. "id": "studentEvaluate",
  3666. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function () { }
  3668. }, {
  3669. closecallback: function () { }
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "my":
  3674. _formdiv = new U.UF.UI.form(
  3675. "我的资料",
  3676. $$("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 }), {
  3677. "id": "my",
  3678. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "program":
  3686. _formdiv = new U.UF.UI.form(
  3687. "编程平台",
  3688. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3689. "id": "program",
  3690. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function () { }
  3692. }, {
  3693. closecallback: function () { }
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. _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); } }
  3696. break;
  3697. case "library":
  3698. _formdiv = new U.UF.UI.form(
  3699. "素材库",
  3700. $$("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 }), {
  3701. "id": "library",
  3702. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3703. "onresize": function () { }
  3704. }, {
  3705. closecallback: function () { }
  3706. }, { "style": { "height": "36px" } }).form; //创建窗体
  3707. _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); } }
  3708. break;
  3709. case "whiteboard":
  3710. _formdiv = new U.UF.UI.form(
  3711. "电子白板",
  3712. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3713. "id": "whiteboard",
  3714. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3715. "onresize": function () { }
  3716. }, {
  3717. closecallback: function () { }
  3718. }, { "style": { "height": "36px" } }).form; //创建窗体
  3719. _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); } }
  3720. break;
  3721. case "investigation":
  3722. _formdiv = new U.UF.UI.form(
  3723. "问卷调查",
  3724. $$("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 }), {
  3725. "id": "investigation",
  3726. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3727. "onresize": function () { }
  3728. }, {
  3729. closecallback: function () { }
  3730. }, { "style": { "height": "36px" } }).form; //创建窗体
  3731. _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); } }
  3732. break;
  3733. case "note":
  3734. _formdiv = new U.UF.UI.form(
  3735. "便签分类",
  3736. $$("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 }), {
  3737. "id": "note",
  3738. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3739. "onresize": function () { }
  3740. }, {
  3741. closecallback: function () { }
  3742. }, { "style": { "height": "36px" } }).form; //创建窗体
  3743. _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); } }
  3744. break;
  3745. // case "score":
  3746. // _formdiv = new U.UF.UI.form(
  3747. // "量规评分",
  3748. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3749. // "id": "score",
  3750. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3751. // "onresize": function() {}
  3752. // }, {
  3753. // closecallback: function() {}
  3754. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3755. // _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); } }
  3756. // break;
  3757. case "mind":
  3758. _formdiv = new U.UF.UI.form(
  3759. "思维导图",
  3760. $$("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"
  3761. "id": "mind",
  3762. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3763. "onresize": function () { }
  3764. }, {
  3765. closecallback: function () { }
  3766. }, { "style": { "height": "36px" } }).form; //创建窗体
  3767. _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); } }
  3768. break;
  3769. case "doc":
  3770. // U.MD.D.I.isRoom();
  3771. _formdiv = new U.UF.UI.form(
  3772. "协同文档",
  3773. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3774. "id": "doc",
  3775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3776. "onresize": function () { }
  3777. }, {
  3778. closecallback: function () { }
  3779. }, { "style": { "height": "36px" } }).form; //创建窗体
  3780. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3781. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3782. })
  3783. _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); } }
  3784. break;
  3785. case "train": //好友打开
  3786. _formdiv = new U.UF.UI.form(
  3787. "训练平台",
  3788. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3789. "id": "train",
  3790. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3791. "onresize": function () { }
  3792. }, {
  3793. closecallback: function () { }
  3794. }, { "style": { "height": "36px" } }).form; //创建窗体
  3795. _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); } }
  3796. break;
  3797. case "studentStudy":
  3798. _formdiv = new U.UF.UI.form(
  3799. "课程中心",
  3800. $$("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
  3801. "id": "studentStudy",
  3802. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3803. "onresize": function () { }
  3804. }, {
  3805. closecallback: function () { }
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. case "mindNetwork": //好友打开
  3810. _formdiv = new U.UF.UI.form(
  3811. "思维网格",
  3812. $$("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 }), {
  3813. "id": "mindNetwork",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function () { }
  3816. }, {
  3817. closecallback: function () { }
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. _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); } }
  3820. break;
  3821. case "studentClassRoom": //好友打开
  3822. _formdiv = new U.UF.UI.form(
  3823. "实时课堂",
  3824. $$("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 }), {
  3825. "id": "studentClassRoom",
  3826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3827. "onresize": function () { }
  3828. }, {
  3829. closecallback: function () { }
  3830. }, { "style": { "height": "36px" } }).form; //创建窗体
  3831. _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); } }
  3832. setTimeout(() => {
  3833. U.UF.F.windowZooming(_formdiv)
  3834. }, 0);
  3835. break;
  3836. }
  3837. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3838. //选择应用处理
  3839. switch (str) {
  3840. case "project": //好友打开
  3841. _formdiv = new U.UF.UI.form(
  3842. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3843. $$("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 }), {
  3844. "id": "project",
  3845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3846. "onresize": function () { }
  3847. }, {
  3848. closecallback: function () { }
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. _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); } }
  3851. break;
  3852. case "student":
  3853. _formdiv = new U.UF.UI.form(
  3854. "学生管理",
  3855. $$("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 }), {
  3856. "id": "student",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function () { }
  3859. }, {
  3860. closecallback: function () { }
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. _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); } }
  3863. break;
  3864. case "evaluate":
  3865. _formdiv = new U.UF.UI.form(
  3866. "学生评价",
  3867. $$("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 }), {
  3868. "id": "evaluate",
  3869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3870. "onresize": function () { }
  3871. }, {
  3872. closecallback: function () { }
  3873. }, { "style": { "height": "36px" } }).form; //创建窗体
  3874. _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); } }
  3875. break;
  3876. case "sys":
  3877. _formdiv = new U.UF.UI.form(
  3878. "目标管理",
  3879. $$("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 }), {
  3880. "id": "sys",
  3881. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3882. "onresize": function () { }
  3883. }, {
  3884. closecallback: function () { }
  3885. }, { "style": { "height": "36px" } }).form; //创建窗体
  3886. _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); } }
  3887. break;
  3888. case "courseDesign":
  3889. _formdiv = new U.UF.UI.form(
  3890. "项目设计",
  3891. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3892. "id": "courseDesign",
  3893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function () { }
  3895. }, {
  3896. closecallback: function () { }
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _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); } }
  3899. break;
  3900. case "program":
  3901. _formdiv = new U.UF.UI.form(
  3902. "编程平台",
  3903. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3904. "id": "program",
  3905. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3906. "onresize": function () { }
  3907. }, {
  3908. closecallback: function () { }
  3909. }, { "style": { "height": "36px" } }).form; //创建窗体
  3910. _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); } }
  3911. break;
  3912. case "class":
  3913. _formdiv = new U.UF.UI.form(
  3914. "班级管理",
  3915. $$("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 }), {
  3916. "id": "class",
  3917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function () { }
  3919. }, {
  3920. closecallback: function () { }
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _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); } }
  3923. break;
  3924. case "Grade":
  3925. _formdiv = new U.UF.UI.form(
  3926. "年级管理",
  3927. $$("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 }), {
  3928. "id": "Grade",
  3929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function () { }
  3931. }, {
  3932. closecallback: function () { }
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _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); } }
  3935. break;
  3936. case "teacherOffice":
  3937. _formdiv = new U.UF.UI.form(
  3938. "教研室",
  3939. $$("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 }), {
  3940. "id": "teacherOffice",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function () { }
  3943. }, {
  3944. closecallback: function () { }
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. case "my":
  3949. _formdiv = new U.UF.UI.form(
  3950. "我的资料",
  3951. $$("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 }), {
  3952. "id": "my",
  3953. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "notice":
  3961. _formdiv = new U.UF.UI.form(
  3962. "通知公告",
  3963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3964. "id": "notice",
  3965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "library":
  3973. _formdiv = new U.UF.UI.form(
  3974. "素材库",
  3975. $$("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 }), {
  3976. "id": "library",
  3977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "whiteboard":
  3985. _formdiv = new U.UF.UI.form(
  3986. "电子白板",
  3987. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3988. "id": "whiteboard",
  3989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "investigation":
  3997. _formdiv = new U.UF.UI.form(
  3998. "问卷调查",
  3999. $$("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 }), {
  4000. "id": "investigation",
  4001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "note":
  4009. _formdiv = new U.UF.UI.form(
  4010. "便签分类",
  4011. $$("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 }), {
  4012. "id": "note",
  4013. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. // case "score":
  4021. // _formdiv = new U.UF.UI.form(
  4022. // "量规评分",
  4023. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4024. // "id": "score",
  4025. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. // "onresize": function() {}
  4027. // }, {
  4028. // closecallback: function() {}
  4029. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. // _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); } }
  4031. // break;
  4032. case "mind":
  4033. _formdiv = new U.UF.UI.form(
  4034. "思维导图",
  4035. $$("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"
  4036. "id": "mind",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "doc":
  4045. // U.MD.D.I.isRoom();
  4046. _formdiv = new U.UF.UI.form(
  4047. "协同文档",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4049. "id": "doc",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4056. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4057. })
  4058. _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); } }
  4059. break;
  4060. case "study":
  4061. _formdiv = new U.UF.UI.form(
  4062. "课程中心",
  4063. $$("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
  4064. "id": "study",
  4065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4066. "onresize": function () { }
  4067. }, {
  4068. closecallback: function () { }
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _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); } }
  4071. break;
  4072. case "mindNetwork": //好友打开
  4073. _formdiv = new U.UF.UI.form(
  4074. "思维网格",
  4075. $$("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 }), {
  4076. "id": "mindNetwork",
  4077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function () { }
  4079. }, {
  4080. closecallback: function () { }
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _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); } }
  4083. break;
  4084. case "train": //好友打开
  4085. _formdiv = new U.UF.UI.form(
  4086. "训练平台",
  4087. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4088. "id": "mindNetwork",
  4089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4090. "onresize": function () { }
  4091. }, {
  4092. closecallback: function () { }
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. _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); } }
  4095. break;
  4096. case "teacherClassRoom": //好友打开
  4097. _formdiv = new U.UF.UI.form(
  4098. "实时课堂",
  4099. $$("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 }), {
  4100. "id": "teacherClassRoom",
  4101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4102. "onresize": function () { }
  4103. }, {
  4104. closecallback: function () { }
  4105. }, { "style": { "height": "36px" } }).form; //创建窗体
  4106. _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); } }
  4107. setTimeout(() => {
  4108. U.UF.F.windowZooming(_formdiv)
  4109. }, 0);
  4110. break;
  4111. }
  4112. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4113. switch (str) {
  4114. case "project": //好友打开
  4115. _formdiv = new U.UF.UI.form(
  4116. "课程管理",
  4117. $$("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 }), {
  4118. "id": "project",
  4119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function () { }
  4121. }, {
  4122. closecallback: function () { }
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _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); } }
  4125. break;
  4126. case "evaluate":
  4127. _formdiv = new U.UF.UI.form(
  4128. "学生评价",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4130. "id": "evaluate",
  4131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "notice":
  4139. _formdiv = new U.UF.UI.form(
  4140. "通知公告",
  4141. $$("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 }), {
  4142. "id": "notice",
  4143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. case "stuLibrary":
  4151. _formdiv = new U.UF.UI.form(
  4152. "学习资料",
  4153. $$("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 }), {
  4154. "id": "stuLibrary",
  4155. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4156. "onresize": function () { }
  4157. }, {
  4158. closecallback: function () { }
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _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); } }
  4161. break;
  4162. case "program":
  4163. _formdiv = new U.UF.UI.form(
  4164. "编程平台",
  4165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4166. "id": "program",
  4167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4168. "onresize": function () { }
  4169. }, {
  4170. closecallback: function () { }
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. case "whiteboard":
  4175. _formdiv = new U.UF.UI.form(
  4176. "电子白板",
  4177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4178. "id": "whiteboard",
  4179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4180. "onresize": function () { }
  4181. }, {
  4182. closecallback: function () { }
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _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); } }
  4185. break;
  4186. case "investigation":
  4187. _formdiv = new U.UF.UI.form(
  4188. "问卷调查",
  4189. $$("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 }), {
  4190. "id": "investigation",
  4191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. case "mind":
  4199. _formdiv = new U.UF.UI.form(
  4200. "思维导图",
  4201. $$("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"
  4202. "id": "mind",
  4203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function () { }
  4205. }, {
  4206. closecallback: function () { }
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _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); } }
  4209. break;
  4210. case "doc":
  4211. // U.MD.D.I.isRoom();
  4212. _formdiv = new U.UF.UI.form(
  4213. "协同文档",
  4214. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4215. "id": "doc",
  4216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4217. "onresize": function () { }
  4218. }, {
  4219. closecallback: function () { }
  4220. }, { "style": { "height": "36px" } }).form; //创建窗体
  4221. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4222. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4223. })
  4224. _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); } }
  4225. break;
  4226. case "study":
  4227. _formdiv = new U.UF.UI.form(
  4228. "课程中心",
  4229. $$("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
  4230. "id": "study",
  4231. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4237. break;
  4238. case "mindNetwork": //好友打开
  4239. _formdiv = new U.UF.UI.form(
  4240. "思维网格",
  4241. $$("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 }), {
  4242. "id": "mindNetwork",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4249. break;
  4250. case "train": //好友打开
  4251. _formdiv = new U.UF.UI.form(
  4252. "训练平台",
  4253. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4254. "id": "train",
  4255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4261. break;
  4262. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4266. "id": "sys",
  4267. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4273. break;
  4274. case "courseDesign":
  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": "/course-design-vue" }), {
  4278. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4285. break;
  4286. }
  4287. } else if (!_type) {
  4288. switch (str) {
  4289. case "my":
  4290. _formdiv = new U.UF.UI.form(
  4291. "我的资料",
  4292. $$("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 }), {
  4293. "id": "my",
  4294. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4295. "onresize": function () { }
  4296. }, {
  4297. closecallback: function () { }
  4298. }, { "style": { "height": "36px" } }).form; //创建窗体
  4299. _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); } }
  4300. break;
  4301. }
  4302. }
  4303. switch (str) {
  4304. // AIprogram2 AI体验 aihub.cocorobo.cn
  4305. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4306. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4307. case "formulaEdi": //公式编辑
  4308. _formdiv = new U.UF.UI.form(
  4309. "公式编辑",
  4310. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4311. "id": "formulaEdi",
  4312. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _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); } }
  4318. break;
  4319. case "molStr": //分子结构
  4320. _formdiv = new U.UF.UI.form(
  4321. "分子结构",
  4322. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4323. "id": "molStr",
  4324. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4325. "onresize": function () { }
  4326. }, {
  4327. closecallback: function () { }
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _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); } }
  4330. break;
  4331. case "timeAxis": //时间轴
  4332. _formdiv = new U.UF.UI.form(
  4333. "时间轴",
  4334. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4335. "id": "timeAxis",
  4336. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4337. "onresize": function () { }
  4338. }, {
  4339. closecallback: function () { }
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _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); } }
  4342. break;
  4343. case "AIprogram2": //AI体验
  4344. _formdiv = new U.UF.UI.form(
  4345. "AI体验",
  4346. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4347. "id": "AIprogram2",
  4348. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4349. "onresize": function () { }
  4350. }, {
  4351. closecallback: function () { }
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _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); } }
  4354. break;
  4355. case "Pythonprogram": //python编程
  4356. _formdiv = new U.UF.UI.form(
  4357. "Python编程",
  4358. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4359. "id": "Pythonprogram",
  4360. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function () { }
  4362. }, {
  4363. closecallback: function () { }
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _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); } }
  4366. break;
  4367. case "AIprogram": //ai编程
  4368. _formdiv = new U.UF.UI.form(
  4369. "AI编程平台",
  4370. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4371. "id": "AIprogram",
  4372. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4373. "onresize": function () { }
  4374. }, {
  4375. closecallback: function () { }
  4376. }, { "style": { "height": "36px" } }).form; //创建窗体
  4377. _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); } }
  4378. break;
  4379. case "CocoPi": //CocoPi
  4380. _formdiv = new U.UF.UI.form(
  4381. "CocoPi",
  4382. $$("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" }), {
  4383. "id": "CocoPi",
  4384. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. case "Wood": //Wood
  4392. _formdiv = new U.UF.UI.form(
  4393. "海龟编程",
  4394. $$("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/" }), {
  4395. "id": "Wood",
  4396. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4397. "onresize": function () { }
  4398. }, {
  4399. closecallback: function () { }
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _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); } }
  4402. break;
  4403. case "car": //模拟驾驶
  4404. _formdiv = new U.UF.UI.form(
  4405. "模拟驾驶",
  4406. $$("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/" }), {
  4407. "id": "car",
  4408. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "lineSearch": //路径搜索
  4416. _formdiv = new U.UF.UI.form(
  4417. "路径搜索",
  4418. $$("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/" }), {
  4419. "id": "lineSearch",
  4420. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _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); } }
  4426. break;
  4427. case "deepLearning": //深度学习
  4428. _formdiv = new U.UF.UI.form(
  4429. "深度学习",
  4430. $$("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/#" }), {
  4431. "id": "deepLearning",
  4432. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _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); } }
  4438. break;
  4439. case "allHistory": //深度学习
  4440. _formdiv = new U.UF.UI.form(
  4441. "全历史",
  4442. $$("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/" }), {
  4443. "id": "allHistory",
  4444. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4445. "onresize": function () { }
  4446. }, {
  4447. closecallback: function () { }
  4448. }, { "style": { "height": "36px" } }).form; //创建窗体
  4449. _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); } }
  4450. break;
  4451. case "chatPDF": //ai编程
  4452. _formdiv = new U.UF.UI.form(
  4453. "chatPDF",
  4454. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4455. "id": "chatPDF",
  4456. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4457. "onresize": function () { }
  4458. }, {
  4459. closecallback: function () { }
  4460. }, { "style": { "height": "36px" } }).form; //创建窗体
  4461. _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); } }
  4462. break;
  4463. case "resources": //国家教育
  4464. _formdiv = new U.UF.UI.form(
  4465. "国家教育",
  4466. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4467. "id": "resources",
  4468. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "codeEdit": //源码编辑
  4476. _formdiv = new U.UF.UI.form(
  4477. "源码编辑",
  4478. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4479. "id": "codeEdit",
  4480. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break; //
  4487. case "MindMap": //MindMap
  4488. _formdiv = new U.UF.UI.form(
  4489. "MindMap",
  4490. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4491. "id": "MindMap",
  4492. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "netWorkPanel": //netWorkPanel
  4500. _formdiv = new U.UF.UI.form(
  4501. "netWorkPanel",
  4502. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4503. "id": "netWorkPanel",
  4504. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. case "GeoGebra": //GeoGebra
  4512. _formdiv = new U.UF.UI.form(
  4513. "GeoGebra",
  4514. $$("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" }), {
  4515. "id": "GeoGebra",
  4516. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4517. "onresize": function () { }
  4518. }, {
  4519. closecallback: function () { }
  4520. }, { "style": { "height": "36px" } }).form; //创建窗体
  4521. _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); } }
  4522. break;
  4523. case "translation": //翻译
  4524. _formdiv = new U.UF.UI.form(
  4525. "翻译",
  4526. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4527. "id": "translation",
  4528. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4529. "onresize": function () { }
  4530. }, {
  4531. closecallback: function () { }
  4532. }, { "style": { "height": "36px" } }).form; //创建窗体
  4533. _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); } }
  4534. break;
  4535. case "mohe": //魔盒
  4536. _formdiv = new U.UF.UI.form(
  4537. "魔盒识字",
  4538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4539. "id": "mohe",
  4540. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, { "style": { "height": "36px" } }).form; //创建窗体
  4545. _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); } }
  4546. break;
  4547. case "24game": //24点
  4548. _formdiv = new U.UF.UI.form(
  4549. "24点",
  4550. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4551. "id": "24game",
  4552. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4553. "onresize": function () { }
  4554. }, {
  4555. closecallback: function () { }
  4556. }, { "style": { "height": "36px" } }).form; //创建窗体
  4557. _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); } }
  4558. break;
  4559. case "case":
  4560. _formdiv = new U.UF.UI.form(
  4561. "课程进展",
  4562. $$("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 }), {
  4563. "id": "case",
  4564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, { "style": { "height": "36px" } }).form; //创建窗体
  4569. _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); } }
  4570. break;
  4571. case "snf":
  4572. _formdiv = new U.UF.UI.form(
  4573. "赛诺梵",
  4574. $$("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" }), {
  4575. "id": "snf",
  4576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //创建窗体
  4581. _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); } }
  4582. break;
  4583. case "hanFamily":
  4584. _formdiv = new U.UF.UI.form(
  4585. "汉字家族",
  4586. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4587. "id": "hanFamily",
  4588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //创建窗体
  4593. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4594. break;
  4595. case "hanClassics":
  4596. _formdiv = new U.UF.UI.form(
  4597. "国学经典",
  4598. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4599. "id": "hanClassics",
  4600. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //创建窗体
  4605. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4606. break;
  4607. case "hanTraining":
  4608. _formdiv = new U.UF.UI.form(
  4609. "笔画训练",
  4610. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4611. "id": "hanTraining",
  4612. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4613. "onresize": function () { }
  4614. }, {
  4615. closecallback: function () { }
  4616. }, { "style": { "height": "36px" } }).form; //创建窗体
  4617. _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); } }
  4618. break;
  4619. case "hanClass":
  4620. _formdiv = new U.UF.UI.form(
  4621. "书法课堂",
  4622. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4623. "id": "hanClass",
  4624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4625. "onresize": function () { }
  4626. }, {
  4627. closecallback: function () { }
  4628. }, { "style": { "height": "36px" } }).form; //创建窗体
  4629. _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); } }
  4630. break;
  4631. case "han":
  4632. _formdiv = new U.UF.UI.form(
  4633. "汉字宫",
  4634. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4635. "id": "han",
  4636. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4637. "onresize": function () { }
  4638. }, {
  4639. closecallback: function () { }
  4640. }, { "style": { "height": "36px" } }).form; //创建窗体
  4641. _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); } }
  4642. break;
  4643. case "projectGM": //课程管理
  4644. _formdiv = new U.UF.UI.form(
  4645. "课程管理",
  4646. $$("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 }), {
  4647. "id": "projectGM",
  4648. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, { "style": { "height": "36px" } }).form; //创建窗体
  4653. _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); } }
  4654. break;
  4655. case "studyGM": //课程中心
  4656. _formdiv = new U.UF.UI.form(
  4657. "课程中心",
  4658. $$("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
  4659. "id": "study",
  4660. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4661. "onresize": function () { }
  4662. }, {
  4663. closecallback: function () { }
  4664. }, { "style": { "height": "36px" } }).form; //创建窗体
  4665. _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); } }
  4666. break;
  4667. // studentGM
  4668. case "studentGM": //学生管理
  4669. _formdiv = new U.UF.UI.form(
  4670. "学生管理",
  4671. $$("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 }), {
  4672. "id": "studentGM",
  4673. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4674. "onresize": function () { }
  4675. }, {
  4676. closecallback: function () { }
  4677. }, { "style": { "height": "36px" } }).form; //创建窗体
  4678. _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); } }
  4679. break;
  4680. case "evaluateGM": //学生评价
  4681. _formdiv = new U.UF.UI.form(
  4682. "学生评价",
  4683. $$("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 }), {
  4684. "id": "evaluateGM",
  4685. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4686. "onresize": function () { }
  4687. }, {
  4688. closecallback: function () { }
  4689. }, { "style": { "height": "36px" } }).form; //创建窗体
  4690. _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); } }
  4691. break;
  4692. // classGM
  4693. case "classGM": //班级管理
  4694. _formdiv = new U.UF.UI.form(
  4695. "班级管理",
  4696. $$("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 }), {
  4697. "id": "classGM",
  4698. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4699. "onresize": function () { }
  4700. }, {
  4701. closecallback: function () { }
  4702. }, { "style": { "height": "36px" } }).form; //创建窗体
  4703. _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); } }
  4704. break;
  4705. // dataGM
  4706. case "dataGM":
  4707. _formdiv = new U.UF.UI.form(
  4708. "我的资料",
  4709. $$("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 }), {
  4710. "id": "dataGM",
  4711. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. // caseGM
  4719. case "caseGM": //课程进展
  4720. _formdiv = new U.UF.UI.form(
  4721. "课程进展",
  4722. $$("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 }), {
  4723. "id": "caseGM",
  4724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4725. "onresize": function () { }
  4726. }, {
  4727. closecallback: function () { }
  4728. }, { "style": { "height": "36px" } }).form; //创建窗体
  4729. _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); } }
  4730. break;
  4731. // meterialGM
  4732. case "meterialGM": //素材库
  4733. _formdiv = new U.UF.UI.form(
  4734. "素材库",
  4735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4736. "id": "meterialGM",
  4737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4738. "onresize": function () { }
  4739. }, {
  4740. closecallback: function () { }
  4741. }, { "style": { "height": "36px" } }).form; //创建窗体
  4742. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4743. break;
  4744. // evaluateSGM
  4745. case "evaluateSGM": //我的评价
  4746. _formdiv = new U.UF.UI.form(
  4747. "我的评价",
  4748. $$("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 }), {
  4749. "id": "evaluateSGM",
  4750. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _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); } }
  4756. break;
  4757. case "jupyter": //jupyter
  4758. _formdiv = new U.UF.UI.form(
  4759. "jupyter",
  4760. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4761. "id": "jupyter",
  4762. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //创建窗体
  4767. _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); } }
  4768. break;
  4769. case "number": //数字实验室
  4770. _formdiv = new U.UF.UI.form(
  4771. "数字实验室",
  4772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4773. "id": "number",
  4774. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4775. "onresize": function () { }
  4776. }, {
  4777. closecallback: function () { }
  4778. }, { "style": { "height": "36px" } }).form; //创建窗体
  4779. _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); } }
  4780. break;
  4781. case "studentCourse": //项目管理 学生
  4782. _formdiv = new U.UF.UI.form(
  4783. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4784. $$("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 }), {
  4785. "id": "studentCourse",
  4786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4787. "onresize": function () { }
  4788. }, {
  4789. closecallback: function () { }
  4790. }, { "style": { "height": "36px" } }).form; //创建窗体
  4791. _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); } }
  4792. break;
  4793. case "studentCourseS": //项目管理 老师
  4794. _formdiv = new U.UF.UI.form(
  4795. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4796. $$("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 }), {
  4797. "id": "studentCourseS",
  4798. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4799. "onresize": function () { }
  4800. }, {
  4801. closecallback: function () { }
  4802. }, { "style": { "height": "36px" } }).form; //创建窗体
  4803. _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); } }
  4804. break;
  4805. case "studentIndex": //项目中心
  4806. _formdiv = new U.UF.UI.form(
  4807. "项目中心",
  4808. $$("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 }), {
  4809. "id": "studentIndex",
  4810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4811. "onresize": function () { }
  4812. }, {
  4813. closecallback: function () { }
  4814. }, { "style": { "height": "36px" } }).form; //创建窗体
  4815. _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); } }
  4816. break;
  4817. case "CaseDesignS":
  4818. _formdiv = new U.UF.UI.form(
  4819. "项目进展",
  4820. $$("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 }), {
  4821. "id": "case",
  4822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4823. "onresize": function () { }
  4824. }, {
  4825. closecallback: function () { }
  4826. }, { "style": { "height": "36px" } }).form; //创建窗体
  4827. _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); } }
  4828. break;
  4829. case "tcStudent": //腾讯学生管理
  4830. _formdiv = new U.UF.UI.form(
  4831. "学生管理",
  4832. $$("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 }), {
  4833. "id": "tcStudent",
  4834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4835. "onresize": function () { }
  4836. }, {
  4837. closecallback: function () { }
  4838. }, { "style": { "height": "36px" } }).form; //创建窗体
  4839. _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); } }
  4840. break;
  4841. case "tcSchool": //腾讯学校管理
  4842. _formdiv = new U.UF.UI.form(
  4843. "学校管理",
  4844. $$("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 }), {
  4845. "id": "tcSchool",
  4846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4847. "onresize": function () { }
  4848. }, {
  4849. closecallback: function () { }
  4850. }, { "style": { "height": "36px" } }).form; //创建窗体
  4851. _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); } }
  4852. break;
  4853. case "tcTeacher": //腾讯学校管理
  4854. _formdiv = new U.UF.UI.form(
  4855. "教师管理",
  4856. $$("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 }), {
  4857. "id": "tcTeacher",
  4858. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4859. "onresize": function () { }
  4860. }, {
  4861. closecallback: function () { }
  4862. }, { "style": { "height": "36px" } }).form; //创建窗体
  4863. _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); } }
  4864. break;
  4865. case "tcData": //腾讯我的资料
  4866. _formdiv = new U.UF.UI.form(
  4867. "我的资料",
  4868. $$("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 }), {
  4869. "id": "tcData",
  4870. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4871. "onresize": function () { }
  4872. }, {
  4873. closecallback: function () { }
  4874. }, { "style": { "height": "36px" } }).form; //创建窗体
  4875. _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); } }
  4876. break;
  4877. case "tcNotice": //腾讯消息通知
  4878. _formdiv = new U.UF.UI.form(
  4879. "消息通知",
  4880. $$("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 }), {
  4881. "id": "tcNotice",
  4882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4883. "onresize": function () { }
  4884. }, {
  4885. closecallback: function () { }
  4886. }, { "style": { "height": "36px" } }).form; //创建窗体
  4887. _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); } }
  4888. break;
  4889. case "myReport": //好友打开
  4890. _formdiv = new U.UF.UI.form(
  4891. "我的评价",
  4892. $$("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 }), {
  4893. "id": "myReport",
  4894. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4895. "onresize": function () { }
  4896. }, {
  4897. closecallback: function () { }
  4898. }, { "style": { "height": "36px" } }).form; //创建窗体
  4899. _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); } }
  4900. break;
  4901. case "learnAna": //好友打开
  4902. _formdiv = new U.UF.UI.form(
  4903. "学习分析",
  4904. $$("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 }), {
  4905. "id": "learnAna",
  4906. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4907. "onresize": function () { }
  4908. }, {
  4909. closecallback: function () { }
  4910. }, { "style": { "height": "36px" } }).form; //创建窗体
  4911. _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); } }
  4912. break;
  4913. case "AIChat": //AI共创
  4914. _formdiv = new U.UF.UI.form(
  4915. "AI共创",
  4916. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4917. "id": "AIChat",
  4918. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4919. "onresize": function () { }
  4920. }, {
  4921. istop: true,
  4922. closecallback: function () { $("#aichat_icon").remove(); },
  4923. narrowcallback: function () {
  4924. if (!$("#aichat_icon")[0]) {
  4925. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4926. }
  4927. },
  4928. }, { "style": { "height": "36px" } }).form; //创建窗体
  4929. _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); } }
  4930. break;
  4931. case "ainew": //AI共创
  4932. _formdiv = new U.UF.UI.form(
  4933. "AI协同",
  4934. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4935. "id": "ainew",
  4936. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, { "style": { "height": "36px" } }).form; //创建窗体
  4941. _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); } }
  4942. break;
  4943. case "gpt4": //gpt4
  4944. _formdiv = new U.UF.UI.form(
  4945. "AI助手",
  4946. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4947. "id": "gpt4",
  4948. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4949. "onresize": function () { }
  4950. }, {
  4951. closecallback: function () { }
  4952. }, { "style": { "height": "36px" } }).form; //创建窗体
  4953. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4954. break;
  4955. case "aigpt": //gpt4
  4956. _formdiv = new U.UF.UI.form(
  4957. "AI助手+",
  4958. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4959. "id": "aigpt",
  4960. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4961. "onresize": function () { }
  4962. }, {
  4963. closecallback: function () { }
  4964. }, { "style": { "height": "36px" } }).form; //创建窗体
  4965. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4966. break;
  4967. case "futureClass": //AI共创
  4968. _formdiv = new U.UF.UI.form(
  4969. "协同建构",
  4970. $$("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
  4971. "id": "synergyCourse",
  4972. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4973. "onresize": function () { }
  4974. }, {
  4975. closecallback: function () {
  4976. $("iframe", _formdiv)[0].contentWindow.loginout();
  4977. }
  4978. }, { "style": { "height": "36px" } }).form; //创建窗体
  4979. _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); } }
  4980. break;
  4981. case "aiagent": //ai agent
  4982. _formdiv = new U.UF.UI.form(
  4983. "AI Agent",
  4984. $$("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" }), {
  4985. "id": "AIAgent",
  4986. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4987. "onresize": function () { }
  4988. }, {
  4989. closecallback: function () { }
  4990. }, { "style": { "height": "36px" } }).form; //创建窗体
  4991. _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); } }
  4992. break;
  4993. case "dataBoard": //数据看板
  4994. _formdiv = new U.UF.UI.form(
  4995. "数据看板",
  4996. $$("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 }), {
  4997. "id": "dataBoard",
  4998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4999. "onresize": function () { }
  5000. }, {
  5001. closecallback: function () { }
  5002. }, { "style": { "height": "36px" } }).form; //创建窗体
  5003. _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); } }
  5004. break;
  5005. case "dataBoardSies": //数据融合
  5006. _formdiv = new U.UF.UI.form(
  5007. "数据融合",
  5008. $$("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 }), {
  5009. "id": "dataBoardSies",
  5010. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5011. "onresize": function () { }
  5012. }, {
  5013. closecallback: function () { }
  5014. }, { "style": { "height": "36px" } }).form; //创建窗体
  5015. _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); } }
  5016. break;
  5017. case "dataBoardNew": //数据看板
  5018. _formdiv = new U.UF.UI.form(
  5019. "综合看板",
  5020. $$("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 }), {
  5021. "id": "dataBoardNew",
  5022. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5023. "onresize": function () { }
  5024. }, {
  5025. closecallback: function () { }
  5026. }, { "style": { "height": "36px" } }).form; //创建窗体
  5027. _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); } }
  5028. break;
  5029. case "dataBoardTest": //数据看板
  5030. _formdiv = new U.UF.UI.form(
  5031. "评测看板",
  5032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5033. "id": "dataBoardTest",
  5034. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5035. "onresize": function () { }
  5036. }, {
  5037. closecallback: function () { }
  5038. }, { "style": { "height": "36px" } }).form; //创建窗体
  5039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5040. break;
  5041. case "AIAnalyse": //AI共创
  5042. _formdiv = new U.UF.UI.form(
  5043. "AI分析",
  5044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5045. "id": "AIAnalyse",
  5046. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5047. "onresize": function () { }
  5048. }, {
  5049. closecallback: function () { }
  5050. }, { "style": { "height": "36px" } }).form; //创建窗体
  5051. _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); } }
  5052. break;
  5053. case "studioCourse": //AI共创
  5054. _formdiv = new U.UF.UI.form(
  5055. "工作管理",
  5056. $$("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 }), {
  5057. "id": "studioCourse",
  5058. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5059. "onresize": function () { }
  5060. }, {
  5061. closecallback: function () { }
  5062. }, { "style": { "height": "36px" } }).form; //创建窗体
  5063. _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); } }
  5064. break;
  5065. case "studioIndex": //AI共创
  5066. _formdiv = new U.UF.UI.form(
  5067. "工作中心",
  5068. $$("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 }), {
  5069. "id": "studioIndex",
  5070. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5071. "onresize": function () { }
  5072. }, {
  5073. closecallback: function () { }
  5074. }, { "style": { "height": "36px" } }).form; //创建窗体
  5075. _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); } }
  5076. break;
  5077. case "source":
  5078. _formdiv = new U.UF.UI.form(
  5079. "教学资源",
  5080. $$("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 }), {
  5081. "id": "source",
  5082. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5083. "onresize": function () { }
  5084. }, {
  5085. closecallback: function () { }
  5086. }, { "style": { "height": "36px" } }).form; //创建窗体
  5087. _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); } }
  5088. break;
  5089. case "testTeacher":
  5090. _formdiv = new U.UF.UI.form(
  5091. "教师管理",
  5092. $$("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 }), {
  5093. "id": "testTeacher",
  5094. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5095. "onresize": function () { }
  5096. }, {
  5097. closecallback: function () { }
  5098. }, { "style": { "height": "36px" } }).form; //创建窗体
  5099. _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); } }
  5100. break;
  5101. case "testStudent":
  5102. _formdiv = new U.UF.UI.form(
  5103. "教师中心",
  5104. $$("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 }), {
  5105. "id": "testStudent",
  5106. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5107. "onresize": function () { }
  5108. }, {
  5109. closecallback: function () { }
  5110. }, { "style": { "height": "36px" } }).form; //创建窗体
  5111. _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); } }
  5112. break;
  5113. case "testTeacherSies":
  5114. _formdiv = new U.UF.UI.form(
  5115. "教师管理",
  5116. $$("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 }), {
  5117. "id": "testTeacherSies",
  5118. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5119. "onresize": function () { }
  5120. }, {
  5121. closecallback: function () { }
  5122. }, { "style": { "height": "36px" } }).form; //创建窗体
  5123. _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); } }
  5124. break;
  5125. case "testStudentSies":
  5126. _formdiv = new U.UF.UI.form(
  5127. "教师中心",
  5128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  5129. "id": "testStudentSies",
  5130. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5131. "onresize": function () { }
  5132. }, {
  5133. closecallback: function () { }
  5134. }, { "style": { "height": "36px" } }).form; //创建窗体
  5135. _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); } }
  5136. break;
  5137. case "ytpbl": //消息通知
  5138. _formdiv = new U.UF.UI.form(
  5139. "案例征集",
  5140. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5141. "id": "ytpbl",
  5142. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5143. "onresize": function () { }
  5144. }, {
  5145. closecallback: function () { }
  5146. }, { "style": { "height": "36px" } }).form; //创建窗体
  5147. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5148. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5149. break;
  5150. case "aiCourseResource": //人工智能窗体
  5151. _formdiv = new U.UF.UI.form(
  5152. false,
  5153. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5154. "id": "aiCourseResource",
  5155. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5156. "onresize": function () { },
  5157. "isdrag": false,
  5158. }, {
  5159. closecallback: function () { }
  5160. }, { "style": { "height": "36px" } }).form; //创建窗体
  5161. _taskbar = ''
  5162. break;
  5163. case "szdjgCocooroboX": //图形化编程
  5164. _formdiv = new U.UF.UI.form(
  5165. "图形化编程",
  5166. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5167. "id": "szdjgCocooroboX",
  5168. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5169. "onresize": function () { }
  5170. }, {
  5171. closecallback: function () { }
  5172. }, { "style": { "height": "36px" } }).form; //创建窗体
  5173. _taskbar = ''
  5174. break;
  5175. case "szdjgPython": //python编程
  5176. _formdiv = new U.UF.UI.form(
  5177. "Python编程",
  5178. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5179. "id": "szdjgPython",
  5180. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5181. "onresize": function () { }
  5182. }, {
  5183. closecallback: function () { }
  5184. }, { "style": { "height": "36px" } }).form; //创建窗体
  5185. _taskbar = ''
  5186. break;
  5187. case "Record":
  5188. _formdiv = new U.UF.UI.form(
  5189. "观察记录",
  5190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5191. "id": "Record",
  5192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5193. "onresize": function () { }
  5194. }, {
  5195. closecallback: function () { }
  5196. }, { "style": { "height": "36px" } }).form; //创建窗体
  5197. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5198. break;
  5199. case "aigptCourse":
  5200. _formdiv = new U.UF.UI.form(
  5201. "AI智能体",
  5202. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
  5203. "id": "aigptCourse",
  5204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5205. "onresize": function () { }
  5206. }, {
  5207. closecallback: function () { }
  5208. }, { "style": { "height": "36px" } }).form; //创建窗体
  5209. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5210. break;
  5211. }
  5212. //U.MD.D.I.openClick(str);
  5213. //如果有任务栏信息
  5214. if (_taskbar) {
  5215. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5216. }
  5217. }
  5218. // U.MD.D.I.openClick = function(str){
  5219. // var click = '';
  5220. // switch(str){
  5221. // case 'friend':
  5222. // click = '我的好友';
  5223. // break;
  5224. // case 'domain':
  5225. // click = '域名管理';
  5226. // break;
  5227. // case 'disk':
  5228. // click = '我的云盘';
  5229. // break;
  5230. // case 'word':
  5231. // click = 'Word';
  5232. // break;
  5233. // case 'excel':
  5234. // click = 'Execl';
  5235. // break;
  5236. // case 'txt':
  5237. // click = '文本文件';
  5238. // break;
  5239. // case 'lookupFriend':
  5240. // click = '查找好友';
  5241. // break;
  5242. // case 'ftp':
  5243. // click = 'FTP';
  5244. // break;
  5245. // case 'group':
  5246. // click = '群组';
  5247. // break;
  5248. // case 'set':
  5249. // click = '我的设置';
  5250. // break;
  5251. // case 'systemSet':
  5252. // click = '系统设置';
  5253. // break;
  5254. // case 'boomYun':
  5255. // click = '互联办公';
  5256. // break;
  5257. // case 'xz':
  5258. // click = '云端下载';
  5259. // break;
  5260. // case 'client':
  5261. // click = '有思浏览器';
  5262. // break;
  5263. // case 'backEndProgramming':
  5264. // click = '在线后台编程';
  5265. // break;
  5266. // case 'frontEndProgramming':
  5267. // click = '在线前端编程';
  5268. // break;
  5269. // default: break;
  5270. // }
  5271. // if(U.MD.D.I.Ip && click){
  5272. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5273. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5274. // })
  5275. // }
  5276. // }
  5277. /**
  5278. *函数作用:ajax简易函数,使用post格式
  5279. *@param url {data} 后台地址
  5280. *@param data {data} 参数json
  5281. *@param fn {data} 回调函数
  5282. *
  5283. */
  5284. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5285. // var xhr = new XMLHttpRequest();
  5286. // xhr.open("GET",url,true);
  5287. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5288. // xhr.onreadystatechange = function(){
  5289. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5290. // fn.call(this,xhr.responseText);
  5291. // }
  5292. // };
  5293. // xhr.send();
  5294. // }
  5295. /*判断是否是内网IP*/
  5296. // U.MD.D.I.isInnerIPFn = function(str){
  5297. // var curPageUrl = str;
  5298. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5299. // curPageUrl =curPageUrl.replace(reg1,'');
  5300. // // console.log('curPageUrl-1 '+curPageUrl);
  5301. // var reg2 = /\:+/g;//替换冒号为一点
  5302. // curPageUrl =curPageUrl.replace(reg2,'.');
  5303. // // console.log('curPageUrl-2 '+curPageUrl);
  5304. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5305. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5306. // if(curPageUrl[2] != '16'){
  5307. // return ipAddress;
  5308. // }else{
  5309. // return false;
  5310. // }
  5311. // }
  5312. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5313. // //compatibility for firefox and chrome
  5314. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5315. // var pc = new myPeerConnection({
  5316. // iceServers: []
  5317. // }),
  5318. // noop = function() {},
  5319. // localIPs = {},
  5320. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5321. // key;
  5322. // function iterateIP(ip) {
  5323. // if (!localIPs[ip]) onNewIP(ip);
  5324. // localIPs[ip] = true;
  5325. // }
  5326. // //create a bogus data channel
  5327. // pc.createDataChannel("");
  5328. // // create offer and set local description
  5329. // pc.createOffer().then(function(sdp) {
  5330. // sdp.sdp.split('\n').forEach(function(line) {
  5331. // if (line.indexOf('candidate') < 0) return;
  5332. // line.match(ipRegex).forEach(iterateIP);
  5333. // });
  5334. // pc.setLocalDescription(sdp, noop, noop);
  5335. // }).catch(function(reason) {
  5336. // // An error occurred, so handle the failure to connect
  5337. // });
  5338. // //sten for candidate events
  5339. // pc.onicecandidate = function(ice) {
  5340. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5341. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5342. // };
  5343. // }
  5344. // U.MD.D.I.getUserIpBool = function(callback){
  5345. // U.MD.D.I.getUserIP(function(ip){
  5346. // alert("Got IP! :" + ip);
  5347. // });
  5348. //}
  5349. //#endregion
  5350. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5351. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5352. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5353. _userinfo = US.userInfo, //登录用户信息
  5354. _userid = US.userInfo.userid //登录用户id
  5355. let _iframe;
  5356. let _cid = cid,
  5357. _stage = stage,
  5358. _task = task,
  5359. _tool = tool;
  5360. var _jie = $$("div", {
  5361. "style": {
  5362. "position": "absolute",
  5363. "bottom": "50px",
  5364. "right": "50px",
  5365. "zIndex": "9999",
  5366. "backgroundColor": "#2268bc",
  5367. "color": "#fff",
  5368. "padding": "12px 20px",
  5369. "cursor": "pointer",
  5370. "borderRadius": "4px",
  5371. },
  5372. "innerHTML": "提交作业"
  5373. })
  5374. let aTool = ''
  5375. let _loading = document.createElement('div')
  5376. _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;"
  5377. // _loading.id = "";
  5378. let _lchild = document.createElement('div')
  5379. let _limg = document.createElement('img')
  5380. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5381. _limg.style = "width: 26px;margin-right: 10px;"
  5382. _lchild.appendChild(_limg)
  5383. let _lspan = document.createElement('span')
  5384. _lspan.innerHTML = "上传中..."
  5385. _lchild.appendChild(_lspan)
  5386. _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%);"
  5387. _loading.appendChild(_lchild)
  5388. var _box = $$('div', {
  5389. "style": {
  5390. "position": "relative",
  5391. "width": "100%",
  5392. "height": "100%",
  5393. },
  5394. })
  5395. _box.appendChild(_loading)
  5396. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5397. switch (str) {
  5398. case "whiteboard":
  5399. aTool = 1;
  5400. _iframe = $$("iframe", {
  5401. "frameborder": "no",
  5402. "border": "0",
  5403. "scrolling ": "no",
  5404. "style": {
  5405. "cssText": "border:0;width:100%;height:100%"
  5406. },
  5407. "src": "https://iwb.cocorobo.cn/"
  5408. })
  5409. _box.appendChild(_iframe);
  5410. _box.appendChild(_jie);
  5411. _formdiv = new U.UF.UI.form(
  5412. "电子白板",
  5413. _box, {
  5414. "id": "whiteboard" + cid + stage + task + tool,
  5415. "style": {
  5416. "width": "90%",
  5417. "height": "90%",
  5418. "overflow": 'hidden'
  5419. },
  5420. "onresize": function () { }
  5421. }, {
  5422. closecallback: function () { }
  5423. }, {
  5424. "style": {
  5425. "height": "36px"
  5426. }
  5427. }).form; //创建窗体
  5428. _taskbar = {
  5429. "id": str + _formdiv.id,
  5430. "style": {
  5431. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5432. },
  5433. "name": "电子白板",
  5434. "forms": _formdiv,
  5435. "click": function () {
  5436. U.MD.D.I.openApplication(str, obj, info);
  5437. }
  5438. }
  5439. break;
  5440. case "mind":
  5441. aTool = 3;
  5442. _iframe = $$("iframe", {
  5443. "frameborder": "no",
  5444. "border": "0",
  5445. "scrolling ": "no",
  5446. "style": {
  5447. "cssText": "border:0;width:100%;height:100%"
  5448. },
  5449. "src": "/kityminder-editor/dist/index.html"
  5450. })
  5451. _box.appendChild(_iframe);
  5452. _box.appendChild(_jie);
  5453. _formdiv = new U.UF.UI.form(
  5454. "思维导图",
  5455. _box, { //"/jsmind/example/demo.html"
  5456. "id": "mind" + cid + stage + task + tool,
  5457. "style": {
  5458. "width": "90%",
  5459. "height": "90%",
  5460. "overflow": 'hidden'
  5461. },
  5462. "onresize": function () { }
  5463. }, {
  5464. closecallback: function () { }
  5465. }, {
  5466. "style": {
  5467. "height": "36px"
  5468. }
  5469. }).form; //创建窗体
  5470. _taskbar = {
  5471. "id": str + _formdiv.id,
  5472. "style": {
  5473. "backgroundImage": "url(/img/icon/mindMapping.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 "MindMap":
  5483. aTool = 3;
  5484. _iframe = $$("iframe", {
  5485. "frameborder": "no",
  5486. "border": "0",
  5487. "scrolling ": "no",
  5488. "style": {
  5489. "cssText": "border:0;width:100%;height:100%"
  5490. },
  5491. "src": "//cloud.cocorobo.cn/mind/"
  5492. })
  5493. _box.appendChild(_iframe);
  5494. _box.appendChild(_jie);
  5495. _formdiv = new U.UF.UI.form(
  5496. "思维导图",
  5497. _box, { //"/jsmind/example/demo.html"
  5498. "id": "mind" + cid + stage + task + tool,
  5499. "style": {
  5500. "width": "90%",
  5501. "height": "90%",
  5502. "overflow": 'hidden'
  5503. },
  5504. "onresize": function () { }
  5505. }, {
  5506. closecallback: function () { }
  5507. }, {
  5508. "style": {
  5509. "height": "36px"
  5510. }
  5511. }).form; //创建窗体
  5512. _taskbar = {
  5513. "id": str + _formdiv.id,
  5514. "style": {
  5515. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5516. },
  5517. "name": "思维导图",
  5518. "forms": _formdiv,
  5519. "click": function () {
  5520. U.MD.D.I.openApplication(str, obj, info);
  5521. }
  5522. }
  5523. break;
  5524. case "doc":
  5525. aTool = 6;
  5526. _iframe = $$("iframe", {
  5527. "frameborder": "no",
  5528. "border": "0",
  5529. "scrolling ": "no",
  5530. "style": {
  5531. "cssText": "border:0;width:100%;height:100%"
  5532. },
  5533. "src": "/Office/Word/WordEditArea.htm"
  5534. })
  5535. _box.appendChild(_iframe);
  5536. _box.appendChild(_jie);
  5537. _formdiv = new U.UF.UI.form(
  5538. "协同文档",
  5539. _box, {
  5540. "id": "doc" + cid + stage + task + tool,
  5541. "style": {
  5542. "width": "90%",
  5543. "height": "90%",
  5544. "overflow": 'hidden'
  5545. },
  5546. "onresize": function () { }
  5547. }, {
  5548. closecallback: function () { }
  5549. }, {
  5550. "style": {
  5551. "height": "36px"
  5552. }
  5553. }).form; //创建窗体
  5554. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5555. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5556. })
  5557. _taskbar = {
  5558. "id": str + _formdiv.id,
  5559. "style": {
  5560. "backgroundImage": "url(/img/icon/doc.png)"
  5561. },
  5562. "name": "协同文档",
  5563. "forms": _formdiv,
  5564. "click": function () {
  5565. U.MD.D.I.openApplication(str, obj, info);
  5566. }
  5567. }
  5568. break;
  5569. case "mindNetwork": //好友打开
  5570. aTool = 7;
  5571. _iframe = $$("iframe", {
  5572. "webkitallowfullscreen": "",
  5573. "mozallowfullscreen": "",
  5574. "allowfullscreen": "",
  5575. "frameborder": "no",
  5576. "border": "0",
  5577. "scrolling ": "no",
  5578. "style": {
  5579. "cssText": "border:0; width:100%; height:100%;"
  5580. },
  5581. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5582. })
  5583. _box.appendChild(_iframe);
  5584. _box.appendChild(_jie);
  5585. _formdiv = new U.UF.UI.form(
  5586. "思维网格",
  5587. _box, {
  5588. "id": "mindNetwork" + cid + stage + task + tool,
  5589. "style": {
  5590. "width": "90%",
  5591. "height": "90%",
  5592. "overflow": 'hidden'
  5593. },
  5594. "onresize": function () { }
  5595. }, {
  5596. closecallback: function () { }
  5597. }, {
  5598. "style": {
  5599. "height": "36px"
  5600. }
  5601. }).form; //创建窗体
  5602. _taskbar = {
  5603. "id": str + _formdiv.id,
  5604. "style": {
  5605. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5606. },
  5607. "name": "思维网格",
  5608. "forms": _formdiv,
  5609. "click": function () {
  5610. U.MD.D.I.openApplication(str, obj, info);
  5611. }
  5612. }
  5613. break;
  5614. case "courseDesign":
  5615. _iframe = $$("iframe", {
  5616. "webkitallowfullscreen": "",
  5617. "mozallowfullscreen": "",
  5618. "allowfullscreen": "",
  5619. "frameborder": "no",
  5620. "border": "0",
  5621. "scrolling ": "no",
  5622. "style": {
  5623. "cssText": "border:0; width:100%; height:100%;"
  5624. },
  5625. "src": "/course-design-vue"
  5626. })
  5627. _box.appendChild(_iframe);
  5628. _box.appendChild(_jie);
  5629. _formdiv = new U.UF.UI.form(
  5630. "项目设计",
  5631. _box, {
  5632. "id": "courseDesign" + cid + stage + task + tool,
  5633. "style": {
  5634. "width": "90%",
  5635. "height": "90%",
  5636. "overflow": 'hidden'
  5637. },
  5638. "onresize": function () { }
  5639. }, {
  5640. closecallback: function () { }
  5641. }, {
  5642. "style": {
  5643. "height": "36px"
  5644. }
  5645. }).form; //创建窗体
  5646. _taskbar = {
  5647. "id": str + _formdiv.id,
  5648. "style": {
  5649. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5650. },
  5651. "name": "项目设计",
  5652. "forms": _formdiv,
  5653. "click": function () {
  5654. U.MD.D.I.openApplication(str, obj, info);
  5655. }
  5656. }
  5657. break;
  5658. }
  5659. const script1 = document.createElement("script");
  5660. script1.type = "text/javascript";
  5661. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5662. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5663. const script2 = document.createElement("script");
  5664. script2.type = "text/javascript";
  5665. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5666. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5667. const script3 = document.createElement("script");
  5668. script3.type = "text/javascript";
  5669. script3.charset = "UTF-8";
  5670. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5671. const script4 = document.createElement("script");
  5672. script4.type = "text/javascript";
  5673. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5674. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5675. if (_iframe) {
  5676. if (str == 'doc') {
  5677. _iframe = _formdiv.querySelector('iframe')
  5678. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5679. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5680. _iframe.contentWindow.document.body.appendChild(script1);
  5681. _iframe.contentWindow.document.body.appendChild(script2);
  5682. // _iframe.contentWindow.document.body.appendChild(script3);
  5683. _iframe.contentWindow.document.body.appendChild(script4);
  5684. })
  5685. if (onloadListener) {
  5686. _iframe.contentDocument.location.reload()
  5687. } else {
  5688. _iframe.contentDocument.location.reload()
  5689. }
  5690. } else if (str == 'courseDesign') {
  5691. U.UF.DL.iframeLoad(_iframe, function () {
  5692. // _iframe.contentWindow.U.MD.O.W.load();
  5693. // _iframe.contentWindow.document.body.appendChild(script1);
  5694. _iframe.contentWindow.document.body.appendChild(script2);
  5695. _iframe.contentWindow.document.body.appendChild(script4);
  5696. })
  5697. } else if (str == 'mind') {
  5698. _iframe = _formdiv.querySelector('iframe')
  5699. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5700. //
  5701. _iframe.contentWindow.document.body.appendChild(script1);
  5702. _iframe.contentWindow.document.body.appendChild(script2);
  5703. _iframe.contentWindow.document.body.appendChild(script4);
  5704. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5705. })
  5706. if (onloadListener) {
  5707. _iframe.contentDocument.location.reload()
  5708. } else {
  5709. _iframe.contentDocument.location.reload()
  5710. }
  5711. } else if (str == 'whiteboard') {
  5712. _iframe = _formdiv.querySelector('iframe')
  5713. let onloadListener = _iframe.onload = () => {
  5714. _iframe.contentWindow.document.body.appendChild(script1);
  5715. _iframe.contentWindow.document.body.appendChild(script2);
  5716. _iframe.contentWindow.document.body.appendChild(script4);
  5717. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5718. };
  5719. if (onloadListener) {
  5720. _iframe.contentDocument.location.reload()
  5721. } else {
  5722. _iframe.contentDocument.location.reload()
  5723. }
  5724. } else {
  5725. _iframe.onload = () => {
  5726. _iframe.contentWindow.document.body.appendChild(script1);
  5727. _iframe.contentWindow.document.body.appendChild(script2);
  5728. // _iframe.contentWindow.document.body.appendChild(script3);
  5729. _iframe.contentWindow.document.body.appendChild(script4);
  5730. };
  5731. }
  5732. _jie.onclick = async () => {
  5733. let text = ''
  5734. if (aTool == 1) {
  5735. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5736. } else if (aTool == 6) {
  5737. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5738. } else if (aTool == 3) {
  5739. text = await U.MD.D.I.getEditorContent(_iframe);
  5740. }
  5741. _loading.style.display = 'flex'
  5742. console.log(_loading);
  5743. var _ajs = _iframe.contentWindow.document.createElement("script");
  5744. _ajs.type = "text/javascript";
  5745. _ajs.innerHTML =
  5746. // 'console.log(' + _loading + ');\n' +
  5747. 'var _js = document.createElement("script");\n' +
  5748. '_js.type="text/javascript";\n' +
  5749. '_js.charset="UTF-8";\n' +
  5750. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5751. "_js.onload = function(){\n" +
  5752. ' var a = document.getElementsByTagName("img")\n' +
  5753. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5754. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5755. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5756. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5757. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5758. "beforeUpload_shishi(file," +
  5759. "'" +
  5760. _userid +
  5761. "'" +
  5762. ", " +
  5763. "'" +
  5764. _cid +
  5765. "'" +
  5766. ", " +
  5767. "'" +
  5768. _stage +
  5769. "'" +
  5770. ", " +
  5771. "'" +
  5772. _task +
  5773. "'" +
  5774. ", " +
  5775. "'" +
  5776. _tool +
  5777. "'" +
  5778. ", " +
  5779. "'" +
  5780. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5781. "'" +
  5782. ", " +
  5783. "'" +
  5784. aTool +
  5785. "'" +
  5786. ", " +
  5787. "`" +
  5788. text +
  5789. "`" +
  5790. ")\n" +
  5791. " });\n" +
  5792. "}\n" +
  5793. "document.head.appendChild(_js);\n";
  5794. _iframe.contentWindow.document.head.appendChild(_ajs);
  5795. }
  5796. }
  5797. //U.MD.D.I.openClick(str);
  5798. //如果有任务栏信息
  5799. // if (_taskbar) {
  5800. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5801. // }
  5802. }
  5803. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5804. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5805. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5806. _userinfo = US.userInfo, //登录用户信息
  5807. _userid = US.userInfo.userid //登录用户id
  5808. let _iframe;
  5809. let _cid = cid,
  5810. _stage = stage,
  5811. _task = task,
  5812. _tool = tool;
  5813. var _jie = $$("div", {
  5814. "style": {
  5815. "position": "absolute",
  5816. "bottom": "50px",
  5817. "right": "50px",
  5818. "zIndex": "9999",
  5819. "backgroundColor": "#2268bc",
  5820. "color": "#fff",
  5821. "padding": "12px 20px",
  5822. "cursor": "pointer",
  5823. "borderRadius": "4px",
  5824. },
  5825. "innerHTML": "提交作业"
  5826. })
  5827. let aTool = ''
  5828. let _loading = document.createElement('div')
  5829. _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;"
  5830. // _loading.id = "";
  5831. let _lchild = document.createElement('div')
  5832. let _limg = document.createElement('img')
  5833. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5834. _limg.style = "width: 26px;margin-right: 10px;"
  5835. _lchild.appendChild(_limg)
  5836. let _lspan = document.createElement('span')
  5837. _lspan.innerHTML = "上传中..."
  5838. _lchild.appendChild(_lspan)
  5839. _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%);"
  5840. _loading.appendChild(_lchild)
  5841. var _box = $$('div', {
  5842. "style": {
  5843. "position": "relative",
  5844. "width": "100%",
  5845. "height": "100%",
  5846. },
  5847. })
  5848. _box.appendChild(_loading)
  5849. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5850. switch (str) {
  5851. case "whiteboard":
  5852. aTool = 1;
  5853. _iframe = $$("iframe", {
  5854. "frameborder": "no",
  5855. "border": "0",
  5856. "scrolling ": "no",
  5857. "style": {
  5858. "cssText": "border:0;width:100%;height:100%"
  5859. },
  5860. "src": "https://iwb.cocorobo.cn/"
  5861. })
  5862. _box.appendChild(_iframe);
  5863. _box.appendChild(_jie);
  5864. _formdiv = new U.UF.UI.form(
  5865. "电子白板",
  5866. _box, {
  5867. "id": "whiteboard" + cid + stage + task + tool,
  5868. "style": {
  5869. "width": "90%",
  5870. "height": "90%",
  5871. "overflow": 'hidden'
  5872. },
  5873. "onresize": function () { }
  5874. }, {
  5875. closecallback: function () { }
  5876. }, {
  5877. "style": {
  5878. "height": "36px"
  5879. }
  5880. }).form; //创建窗体
  5881. _taskbar = {
  5882. "id": str + _formdiv.id,
  5883. "style": {
  5884. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5885. },
  5886. "name": "电子白板",
  5887. "forms": _formdiv,
  5888. "click": function () {
  5889. U.MD.D.I.openApplication(str, obj, info);
  5890. }
  5891. }
  5892. break;
  5893. case "mind":
  5894. aTool = 3;
  5895. _iframe = $$("iframe", {
  5896. "frameborder": "no",
  5897. "border": "0",
  5898. "scrolling ": "no",
  5899. "style": {
  5900. "cssText": "border:0;width:100%;height:100%"
  5901. },
  5902. "src": "/kityminder-editor/dist/index.html"
  5903. })
  5904. _box.appendChild(_iframe);
  5905. _box.appendChild(_jie);
  5906. _formdiv = new U.UF.UI.form(
  5907. "思维导图",
  5908. _box, { //"/jsmind/example/demo.html"
  5909. "id": "mind" + cid + stage + task + tool,
  5910. "style": {
  5911. "width": "90%",
  5912. "height": "90%",
  5913. "overflow": 'hidden'
  5914. },
  5915. "onresize": function () { }
  5916. }, {
  5917. closecallback: function () { }
  5918. }, {
  5919. "style": {
  5920. "height": "36px"
  5921. }
  5922. }).form; //创建窗体
  5923. _taskbar = {
  5924. "id": str + _formdiv.id,
  5925. "style": {
  5926. "backgroundImage": "url(/img/icon/mindMapping.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 "MindMap":
  5936. aTool = 3;
  5937. _iframe = $$("iframe", {
  5938. "frameborder": "no",
  5939. "border": "0",
  5940. "scrolling ": "no",
  5941. "style": {
  5942. "cssText": "border:0;width:100%;height:100%"
  5943. },
  5944. "src": "//cloud.cocorobo.cn/mind/"
  5945. })
  5946. _box.appendChild(_iframe);
  5947. _box.appendChild(_jie);
  5948. _formdiv = new U.UF.UI.form(
  5949. "思维导图",
  5950. _box, { //"/jsmind/example/demo.html"
  5951. "id": "mind" + cid + stage + task + tool,
  5952. "style": {
  5953. "width": "90%",
  5954. "height": "90%",
  5955. "overflow": 'hidden'
  5956. },
  5957. "onresize": function () { }
  5958. }, {
  5959. closecallback: function () { }
  5960. }, {
  5961. "style": {
  5962. "height": "36px"
  5963. }
  5964. }).form; //创建窗体
  5965. _taskbar = {
  5966. "id": str + _formdiv.id,
  5967. "style": {
  5968. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5969. },
  5970. "name": "思维导图",
  5971. "forms": _formdiv,
  5972. "click": function () {
  5973. U.MD.D.I.openApplication(str, obj, info);
  5974. }
  5975. }
  5976. break;
  5977. case "doc":
  5978. aTool = 6;
  5979. _iframe = $$("iframe", {
  5980. "frameborder": "no",
  5981. "border": "0",
  5982. "scrolling ": "no",
  5983. "style": {
  5984. "cssText": "border:0;width:100%;height:100%"
  5985. },
  5986. "src": "/Office/Word/WordEditArea.htm"
  5987. })
  5988. _box.appendChild(_iframe);
  5989. _box.appendChild(_jie);
  5990. _formdiv = new U.UF.UI.form(
  5991. "协同文档",
  5992. _box, {
  5993. "id": "doc" + cid + stage + task + tool,
  5994. "style": {
  5995. "width": "90%",
  5996. "height": "90%",
  5997. "overflow": 'hidden'
  5998. },
  5999. "onresize": function () { }
  6000. }, {
  6001. closecallback: function () { }
  6002. }, {
  6003. "style": {
  6004. "height": "36px"
  6005. }
  6006. }).form; //创建窗体
  6007. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6008. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6009. })
  6010. _taskbar = {
  6011. "id": str + _formdiv.id,
  6012. "style": {
  6013. "backgroundImage": "url(/img/icon/doc.png)"
  6014. },
  6015. "name": "协同文档",
  6016. "forms": _formdiv,
  6017. "click": function () {
  6018. U.MD.D.I.openApplication(str, obj, info);
  6019. }
  6020. }
  6021. break;
  6022. case "mindNetwork": //好友打开
  6023. aTool = 7;
  6024. _iframe = $$("iframe", {
  6025. "webkitallowfullscreen": "",
  6026. "mozallowfullscreen": "",
  6027. "allowfullscreen": "",
  6028. "frameborder": "no",
  6029. "border": "0",
  6030. "scrolling ": "no",
  6031. "style": {
  6032. "cssText": "border:0; width:100%; height:100%;"
  6033. },
  6034. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6035. })
  6036. _box.appendChild(_iframe);
  6037. _box.appendChild(_jie);
  6038. _formdiv = new U.UF.UI.form(
  6039. "思维网格",
  6040. _box, {
  6041. "id": "mindNetwork" + cid + stage + task + tool,
  6042. "style": {
  6043. "width": "90%",
  6044. "height": "90%",
  6045. "overflow": 'hidden'
  6046. },
  6047. "onresize": function () { }
  6048. }, {
  6049. closecallback: function () { }
  6050. }, {
  6051. "style": {
  6052. "height": "36px"
  6053. }
  6054. }).form; //创建窗体
  6055. _taskbar = {
  6056. "id": str + _formdiv.id,
  6057. "style": {
  6058. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6059. },
  6060. "name": "思维网格",
  6061. "forms": _formdiv,
  6062. "click": function () {
  6063. U.MD.D.I.openApplication(str, obj, info);
  6064. }
  6065. }
  6066. break;
  6067. case "courseDesign":
  6068. _iframe = $$("iframe", {
  6069. "webkitallowfullscreen": "",
  6070. "mozallowfullscreen": "",
  6071. "allowfullscreen": "",
  6072. "frameborder": "no",
  6073. "border": "0",
  6074. "scrolling ": "no",
  6075. "style": {
  6076. "cssText": "border:0; width:100%; height:100%;"
  6077. },
  6078. "src": "/course-design-vue"
  6079. })
  6080. _box.appendChild(_iframe);
  6081. _box.appendChild(_jie);
  6082. _formdiv = new U.UF.UI.form(
  6083. "项目设计",
  6084. _box, {
  6085. "id": "courseDesign" + cid + stage + task + tool,
  6086. "style": {
  6087. "width": "90%",
  6088. "height": "90%",
  6089. "overflow": 'hidden'
  6090. },
  6091. "onresize": function () { }
  6092. }, {
  6093. closecallback: function () { }
  6094. }, {
  6095. "style": {
  6096. "height": "36px"
  6097. }
  6098. }).form; //创建窗体
  6099. _taskbar = {
  6100. "id": str + _formdiv.id,
  6101. "style": {
  6102. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6103. },
  6104. "name": "项目设计",
  6105. "forms": _formdiv,
  6106. "click": function () {
  6107. U.MD.D.I.openApplication(str, obj, info);
  6108. }
  6109. }
  6110. break;
  6111. }
  6112. const script1 = document.createElement("script");
  6113. script1.type = "text/javascript";
  6114. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6115. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6116. const script2 = document.createElement("script");
  6117. script2.type = "text/javascript";
  6118. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6119. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6120. const script3 = document.createElement("script");
  6121. script3.type = "text/javascript";
  6122. script3.charset = "UTF-8";
  6123. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6124. const script4 = document.createElement("script");
  6125. script4.type = "text/javascript";
  6126. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6127. script4.src = window.origin + "/js/Common/jietu2E.js";
  6128. if (_iframe) {
  6129. if (str == 'doc') {
  6130. _iframe = _formdiv.querySelector('iframe')
  6131. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6132. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6133. _iframe.contentWindow.document.body.appendChild(script1);
  6134. _iframe.contentWindow.document.body.appendChild(script2);
  6135. // _iframe.contentWindow.document.body.appendChild(script3);
  6136. _iframe.contentWindow.document.body.appendChild(script4);
  6137. })
  6138. if (onloadListener) {
  6139. _iframe.contentDocument.location.reload()
  6140. } else {
  6141. _iframe.contentDocument.location.reload()
  6142. }
  6143. } else if (str == 'courseDesign') {
  6144. U.UF.DL.iframeLoad(_iframe, function () {
  6145. // _iframe.contentWindow.U.MD.O.W.load();
  6146. // _iframe.contentWindow.document.body.appendChild(script1);
  6147. _iframe.contentWindow.document.body.appendChild(script2);
  6148. _iframe.contentWindow.document.body.appendChild(script4);
  6149. })
  6150. } else if (str == 'mind') {
  6151. _iframe = _formdiv.querySelector('iframe')
  6152. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6153. //
  6154. _iframe.contentWindow.document.body.appendChild(script1);
  6155. _iframe.contentWindow.document.body.appendChild(script2);
  6156. _iframe.contentWindow.document.body.appendChild(script4);
  6157. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6158. })
  6159. if (onloadListener) {
  6160. _iframe.contentDocument.location.reload()
  6161. } else {
  6162. _iframe.contentDocument.location.reload()
  6163. }
  6164. } else if (str == 'whiteboard') {
  6165. _iframe = _formdiv.querySelector('iframe')
  6166. let onloadListener = _iframe.onload = () => {
  6167. _iframe.contentWindow.document.body.appendChild(script1);
  6168. _iframe.contentWindow.document.body.appendChild(script2);
  6169. _iframe.contentWindow.document.body.appendChild(script4);
  6170. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6171. };
  6172. if (onloadListener) {
  6173. _iframe.contentDocument.location.reload()
  6174. } else {
  6175. _iframe.contentDocument.location.reload()
  6176. }
  6177. } else {
  6178. _iframe.onload = () => {
  6179. _iframe.contentWindow.document.body.appendChild(script1);
  6180. _iframe.contentWindow.document.body.appendChild(script2);
  6181. // _iframe.contentWindow.document.body.appendChild(script3);
  6182. _iframe.contentWindow.document.body.appendChild(script4);
  6183. };
  6184. }
  6185. _jie.onclick = async () => {
  6186. let text = ''
  6187. if (aTool == 1) {
  6188. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6189. } else if (aTool == 6) {
  6190. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6191. } else if (aTool == 3) {
  6192. text = await U.MD.D.I.getEditorContent(_iframe);
  6193. }
  6194. _loading.style.display = 'flex'
  6195. console.log(_loading);
  6196. var _ajs = _iframe.contentWindow.document.createElement("script");
  6197. _ajs.type = "text/javascript";
  6198. _ajs.innerHTML =
  6199. // 'console.log(' + _loading + ');\n' +
  6200. 'var _js = document.createElement("script");\n' +
  6201. '_js.type="text/javascript";\n' +
  6202. '_js.charset="UTF-8";\n' +
  6203. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6204. "_js.onload = function(){\n" +
  6205. ' var a = document.getElementsByTagName("img")\n' +
  6206. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6207. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6208. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6209. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6210. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6211. "beforeUpload_shishi(file," +
  6212. "'" +
  6213. _userid +
  6214. "'" +
  6215. ", " +
  6216. "'" +
  6217. _cid +
  6218. "'" +
  6219. ", " +
  6220. "'" +
  6221. _stage +
  6222. "'" +
  6223. ", " +
  6224. "'" +
  6225. _task +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. _tool +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6234. "'" +
  6235. ", " +
  6236. "'" +
  6237. aTool +
  6238. "'" +
  6239. ", " +
  6240. "`" +
  6241. text +
  6242. "`" +
  6243. ")\n" +
  6244. " });\n" +
  6245. "}\n" +
  6246. "document.head.appendChild(_js);\n";
  6247. _iframe.contentWindow.document.head.appendChild(_ajs);
  6248. }
  6249. }
  6250. //U.MD.D.I.openClick(str);
  6251. //如果有任务栏信息
  6252. // if (_taskbar) {
  6253. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6254. // }
  6255. }
  6256. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6257. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6258. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6259. _userid = student.userid, //登录用户id
  6260. _username = student.student //用户名字
  6261. let _iframe;
  6262. let _cid = cid,
  6263. _stage = stage,
  6264. _task = task,
  6265. _tool = tool;
  6266. var _jie = $$("div", {
  6267. "style": {
  6268. "position": "absolute",
  6269. "bottom": "50px",
  6270. "right": "50px",
  6271. "zIndex": "9999",
  6272. "backgroundColor": "#2268bc",
  6273. "color": "#fff",
  6274. "padding": "12px 20px",
  6275. "cursor": "pointer",
  6276. "borderRadius": "4px",
  6277. },
  6278. "innerHTML": "提交作业"
  6279. })
  6280. let aTool = ''
  6281. let _loading = document.createElement('div')
  6282. _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;"
  6283. // _loading.id = "";
  6284. let _lchild = document.createElement('div')
  6285. let _limg = document.createElement('img')
  6286. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6287. _limg.style = "width: 26px;margin-right: 10px;"
  6288. _lchild.appendChild(_limg)
  6289. let _lspan = document.createElement('span')
  6290. _lspan.innerHTML = "上传中..."
  6291. _lchild.appendChild(_lspan)
  6292. _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%);"
  6293. _loading.appendChild(_lchild)
  6294. var _box = $$('div', {
  6295. "style": {
  6296. "position": "relative",
  6297. "width": "100%",
  6298. "height": "100%",
  6299. },
  6300. })
  6301. _box.appendChild(_loading)
  6302. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6303. switch (str) {
  6304. case "whiteboard":
  6305. aTool = 1;
  6306. _iframe = $$("iframe", {
  6307. "frameborder": "no",
  6308. "border": "0",
  6309. "scrolling ": "no",
  6310. "style": {
  6311. "cssText": "border:0;width:100%;height:100%"
  6312. },
  6313. "src": "https://iwb.cocorobo.cn/"
  6314. })
  6315. _box.appendChild(_iframe);
  6316. _box.appendChild(_jie);
  6317. _formdiv = new U.UF.UI.form(
  6318. "电子白板-" + _username,
  6319. _box, {
  6320. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6321. "style": {
  6322. "width": "90%",
  6323. "height": "90%",
  6324. "overflow": 'hidden'
  6325. },
  6326. "onresize": function () { }
  6327. }, {
  6328. closecallback: function () { }
  6329. }, {
  6330. "style": {
  6331. "height": "36px"
  6332. }
  6333. }).form; //创建窗体
  6334. _taskbar = {
  6335. "id": str + _formdiv.id,
  6336. "style": {
  6337. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6338. },
  6339. "name": "电子白板",
  6340. "forms": _formdiv,
  6341. "click": function () {
  6342. U.MD.D.I.openApplication(str, obj, info);
  6343. }
  6344. }
  6345. break;
  6346. case "mind":
  6347. aTool = 3;
  6348. _iframe = $$("iframe", {
  6349. "frameborder": "no",
  6350. "border": "0",
  6351. "scrolling ": "no",
  6352. "style": {
  6353. "cssText": "border:0;width:100%;height:100%"
  6354. },
  6355. "src": "/kityminder-editor/dist/index.html"
  6356. })
  6357. _box.appendChild(_iframe);
  6358. _box.appendChild(_jie);
  6359. _formdiv = new U.UF.UI.form(
  6360. "思维导图-" + _username,
  6361. _box, { //"/jsmind/example/demo.html"
  6362. "id": "mind" + cid + stage + task + tool + _userid,
  6363. "style": {
  6364. "width": "90%",
  6365. "height": "90%",
  6366. "overflow": 'hidden'
  6367. },
  6368. "onresize": function () { }
  6369. }, {
  6370. closecallback: function () { }
  6371. }, {
  6372. "style": {
  6373. "height": "36px"
  6374. }
  6375. }).form; //创建窗体
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6380. },
  6381. "name": "思维导图",
  6382. "forms": _formdiv,
  6383. "click": function () {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "MindMap":
  6389. aTool = 3;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "//cloud.cocorobo.cn/mind/"
  6398. })
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "思维导图-" + _username,
  6403. _box, { //"/jsmind/example/demo.html"
  6404. "id": "mind" + cid + stage + task + tool + _userid,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function () { }
  6411. }, {
  6412. closecallback: function () { }
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6422. },
  6423. "name": "思维导图",
  6424. "forms": _formdiv,
  6425. "click": function () {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "doc":
  6431. aTool = 6;
  6432. _iframe = $$("iframe", {
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0;width:100%;height:100%"
  6438. },
  6439. "src": "/Office/Word/WordEditArea.htm"
  6440. })
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "协同文档-" + _username,
  6445. _box, {
  6446. "id": "doc" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6461. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6462. })
  6463. _taskbar = {
  6464. "id": str + _formdiv.id,
  6465. "style": {
  6466. "backgroundImage": "url(/img/icon/doc.png)"
  6467. },
  6468. "name": "协同文档",
  6469. "forms": _formdiv,
  6470. "click": function () {
  6471. U.MD.D.I.openApplication(str, obj, info);
  6472. }
  6473. }
  6474. break;
  6475. case "mindNetwork": //好友打开
  6476. aTool = 7;
  6477. _iframe = $$("iframe", {
  6478. "webkitallowfullscreen": "",
  6479. "mozallowfullscreen": "",
  6480. "allowfullscreen": "",
  6481. "frameborder": "no",
  6482. "border": "0",
  6483. "scrolling ": "no",
  6484. "style": {
  6485. "cssText": "border:0; width:100%; height:100%;"
  6486. },
  6487. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6488. })
  6489. _box.appendChild(_iframe);
  6490. _box.appendChild(_jie);
  6491. _formdiv = new U.UF.UI.form(
  6492. "思维网格-" + _username,
  6493. _box, {
  6494. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6495. "style": {
  6496. "width": "90%",
  6497. "height": "90%",
  6498. "overflow": 'hidden'
  6499. },
  6500. "onresize": function () { }
  6501. }, {
  6502. closecallback: function () { }
  6503. }, {
  6504. "style": {
  6505. "height": "36px"
  6506. }
  6507. }).form; //创建窗体
  6508. _taskbar = {
  6509. "id": str + _formdiv.id,
  6510. "style": {
  6511. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6512. },
  6513. "name": "思维网格",
  6514. "forms": _formdiv,
  6515. "click": function () {
  6516. U.MD.D.I.openApplication(str, obj, info);
  6517. }
  6518. }
  6519. break;
  6520. case "courseDesign":
  6521. _iframe = $$("iframe", {
  6522. "webkitallowfullscreen": "",
  6523. "mozallowfullscreen": "",
  6524. "allowfullscreen": "",
  6525. "frameborder": "no",
  6526. "border": "0",
  6527. "scrolling ": "no",
  6528. "style": {
  6529. "cssText": "border:0; width:100%; height:100%;"
  6530. },
  6531. "src": "/course-design-vue"
  6532. })
  6533. _box.appendChild(_iframe);
  6534. _box.appendChild(_jie);
  6535. _formdiv = new U.UF.UI.form(
  6536. "项目设计-" + _username,
  6537. _box, {
  6538. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6539. "style": {
  6540. "width": "90%",
  6541. "height": "90%",
  6542. "overflow": 'hidden'
  6543. },
  6544. "onresize": function () { }
  6545. }, {
  6546. closecallback: function () { }
  6547. }, {
  6548. "style": {
  6549. "height": "36px"
  6550. }
  6551. }).form; //创建窗体
  6552. _taskbar = {
  6553. "id": str + _formdiv.id,
  6554. "style": {
  6555. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6556. },
  6557. "name": "项目设计",
  6558. "forms": _formdiv,
  6559. "click": function () {
  6560. U.MD.D.I.openApplication(str, obj, info);
  6561. }
  6562. }
  6563. break;
  6564. }
  6565. const script1 = document.createElement("script");
  6566. script1.type = "text/javascript";
  6567. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6568. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6569. const script2 = document.createElement("script");
  6570. script2.type = "text/javascript";
  6571. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6572. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6573. const script3 = document.createElement("script");
  6574. script3.type = "text/javascript";
  6575. script3.charset = "UTF-8";
  6576. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6577. const script4 = document.createElement("script");
  6578. script4.type = "text/javascript";
  6579. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6580. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6581. if (_iframe) {
  6582. if (str == 'doc') {
  6583. _iframe = _formdiv.querySelector('iframe')
  6584. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6585. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6586. _iframe.contentWindow.document.body.appendChild(script1);
  6587. _iframe.contentWindow.document.body.appendChild(script2);
  6588. // _iframe.contentWindow.document.body.appendChild(script3);
  6589. _iframe.contentWindow.document.body.appendChild(script4);
  6590. })
  6591. if (onloadListener) {
  6592. _iframe.contentDocument.location.reload()
  6593. } else {
  6594. _iframe.contentDocument.location.reload()
  6595. }
  6596. } else if (str == 'courseDesign') {
  6597. U.UF.DL.iframeLoad(_iframe, function () {
  6598. // _iframe.contentWindow.U.MD.O.W.load();
  6599. // _iframe.contentWindow.document.body.appendChild(script1);
  6600. _iframe.contentWindow.document.body.appendChild(script2);
  6601. _iframe.contentWindow.document.body.appendChild(script4);
  6602. })
  6603. } else if (str == 'mind') {
  6604. _iframe = _formdiv.querySelector('iframe')
  6605. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6606. //
  6607. _iframe.contentWindow.document.body.appendChild(script1);
  6608. _iframe.contentWindow.document.body.appendChild(script2);
  6609. _iframe.contentWindow.document.body.appendChild(script4);
  6610. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6611. })
  6612. if (onloadListener) {
  6613. _iframe.contentDocument.location.reload()
  6614. } else {
  6615. _iframe.contentDocument.location.reload()
  6616. }
  6617. } else if (str == 'whiteboard') {
  6618. _iframe = _formdiv.querySelector('iframe')
  6619. let onloadListener = _iframe.onload = () => {
  6620. _iframe.contentWindow.document.body.appendChild(script1);
  6621. _iframe.contentWindow.document.body.appendChild(script2);
  6622. _iframe.contentWindow.document.body.appendChild(script4);
  6623. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6624. };
  6625. if (onloadListener) {
  6626. _iframe.contentDocument.location.reload()
  6627. } else {
  6628. _iframe.contentDocument.location.reload()
  6629. }
  6630. } else {
  6631. _iframe.onload = () => {
  6632. _iframe.contentWindow.document.body.appendChild(script1);
  6633. _iframe.contentWindow.document.body.appendChild(script2);
  6634. // _iframe.contentWindow.document.body.appendChild(script3);
  6635. _iframe.contentWindow.document.body.appendChild(script4);
  6636. };
  6637. }
  6638. _jie.onclick = async () => {
  6639. let text = ''
  6640. if (aTool == 1) {
  6641. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6642. } else if (aTool == 6) {
  6643. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6644. } else if (aTool == 3) {
  6645. text = await U.MD.D.I.getEditorContent(_iframe);
  6646. }
  6647. _loading.style.display = 'flex'
  6648. console.log(_loading);
  6649. var _ajs = _iframe.contentWindow.document.createElement("script");
  6650. _ajs.type = "text/javascript";
  6651. _ajs.innerHTML =
  6652. // 'console.log(' + _loading + ');\n' +
  6653. 'var _js = document.createElement("script");\n' +
  6654. '_js.type="text/javascript";\n' +
  6655. '_js.charset="UTF-8";\n' +
  6656. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6657. "_js.onload = function(){\n" +
  6658. ' var a = document.getElementsByTagName("img")\n' +
  6659. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6660. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6661. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6662. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6663. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6664. "beforeUpload_shishi(file," +
  6665. "'" +
  6666. _userid +
  6667. "'" +
  6668. ", " +
  6669. "'" +
  6670. _cid +
  6671. "'" +
  6672. ", " +
  6673. "'" +
  6674. _stage +
  6675. "'" +
  6676. ", " +
  6677. "'" +
  6678. _task +
  6679. "'" +
  6680. ", " +
  6681. "'" +
  6682. _tool +
  6683. "'" +
  6684. ", " +
  6685. "'" +
  6686. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6687. "'" +
  6688. ", " +
  6689. "'" +
  6690. aTool +
  6691. "'" +
  6692. ", " +
  6693. "`" +
  6694. text +
  6695. "`" +
  6696. ")\n" +
  6697. " });\n" +
  6698. "}\n" +
  6699. "document.head.appendChild(_js);\n";
  6700. _iframe.contentWindow.document.head.appendChild(_ajs);
  6701. }
  6702. }
  6703. }
  6704. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6705. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6706. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6707. _userid = student.userid, //登录用户id
  6708. _username = student.student //用户名字
  6709. let _iframe;
  6710. let _cid = cid,
  6711. _stage = stage,
  6712. _task = task,
  6713. _tool = tool;
  6714. var _jie = $$("div", {
  6715. "style": {
  6716. "position": "absolute",
  6717. "bottom": "50px",
  6718. "right": "50px",
  6719. "zIndex": "9999",
  6720. "backgroundColor": "#2268bc",
  6721. "color": "#fff",
  6722. "padding": "12px 20px",
  6723. "cursor": "pointer",
  6724. "borderRadius": "4px",
  6725. },
  6726. "innerHTML": "提交作业"
  6727. })
  6728. let aTool = ''
  6729. let _loading = document.createElement('div')
  6730. _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;"
  6731. // _loading.id = "";
  6732. let _lchild = document.createElement('div')
  6733. let _limg = document.createElement('img')
  6734. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6735. _limg.style = "width: 26px;margin-right: 10px;"
  6736. _lchild.appendChild(_limg)
  6737. let _lspan = document.createElement('span')
  6738. _lspan.innerHTML = "上传中..."
  6739. _lchild.appendChild(_lspan)
  6740. _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%);"
  6741. _loading.appendChild(_lchild)
  6742. var _box = $$('div', {
  6743. "style": {
  6744. "position": "relative",
  6745. "width": "100%",
  6746. "height": "100%",
  6747. },
  6748. })
  6749. _box.appendChild(_loading)
  6750. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6751. switch (str) {
  6752. case "whiteboard":
  6753. aTool = 1;
  6754. _iframe = $$("iframe", {
  6755. "frameborder": "no",
  6756. "border": "0",
  6757. "scrolling ": "no",
  6758. "style": {
  6759. "cssText": "border:0;width:100%;height:100%"
  6760. },
  6761. "src": "https://iwb.cocorobo.cn/"
  6762. })
  6763. _box.appendChild(_iframe);
  6764. _box.appendChild(_jie);
  6765. _formdiv = new U.UF.UI.form(
  6766. "电子白板-" + _username,
  6767. _box, {
  6768. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6769. "style": {
  6770. "width": "90%",
  6771. "height": "90%",
  6772. "overflow": 'hidden'
  6773. },
  6774. "onresize": function () { }
  6775. }, {
  6776. closecallback: function () { }
  6777. }, {
  6778. "style": {
  6779. "height": "36px"
  6780. }
  6781. }).form; //创建窗体
  6782. _taskbar = {
  6783. "id": str + _formdiv.id,
  6784. "style": {
  6785. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6786. },
  6787. "name": "电子白板",
  6788. "forms": _formdiv,
  6789. "click": function () {
  6790. U.MD.D.I.openApplication(str, obj, info);
  6791. }
  6792. }
  6793. break;
  6794. case "mind":
  6795. aTool = 3;
  6796. _iframe = $$("iframe", {
  6797. "frameborder": "no",
  6798. "border": "0",
  6799. "scrolling ": "no",
  6800. "style": {
  6801. "cssText": "border:0;width:100%;height:100%"
  6802. },
  6803. "src": "/kityminder-editor/dist/index.html"
  6804. })
  6805. _box.appendChild(_iframe);
  6806. _box.appendChild(_jie);
  6807. _formdiv = new U.UF.UI.form(
  6808. "思维导图-" + _username,
  6809. _box, { //"/jsmind/example/demo.html"
  6810. "id": "mind" + cid + stage + task + tool + _userid,
  6811. "style": {
  6812. "width": "90%",
  6813. "height": "90%",
  6814. "overflow": 'hidden'
  6815. },
  6816. "onresize": function () { }
  6817. }, {
  6818. closecallback: function () { }
  6819. }, {
  6820. "style": {
  6821. "height": "36px"
  6822. }
  6823. }).form; //创建窗体
  6824. _taskbar = {
  6825. "id": str + _formdiv.id,
  6826. "style": {
  6827. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6828. },
  6829. "name": "思维导图",
  6830. "forms": _formdiv,
  6831. "click": function () {
  6832. U.MD.D.I.openApplication(str, obj, info);
  6833. }
  6834. }
  6835. break;
  6836. case "MindMap":
  6837. aTool = 3;
  6838. _iframe = $$("iframe", {
  6839. "frameborder": "no",
  6840. "border": "0",
  6841. "scrolling ": "no",
  6842. "style": {
  6843. "cssText": "border:0;width:100%;height:100%"
  6844. },
  6845. "src": "//cloud.cocorobo.cn/mind/"
  6846. })
  6847. _box.appendChild(_iframe);
  6848. _box.appendChild(_jie);
  6849. _formdiv = new U.UF.UI.form(
  6850. "思维导图-" + _username,
  6851. _box, { //"/jsmind/example/demo.html"
  6852. "id": "mind" + cid + stage + task + tool + _userid,
  6853. "style": {
  6854. "width": "90%",
  6855. "height": "90%",
  6856. "overflow": 'hidden'
  6857. },
  6858. "onresize": function () { }
  6859. }, {
  6860. closecallback: function () { }
  6861. }, {
  6862. "style": {
  6863. "height": "36px"
  6864. }
  6865. }).form; //创建窗体
  6866. _taskbar = {
  6867. "id": str + _formdiv.id,
  6868. "style": {
  6869. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6870. },
  6871. "name": "思维导图",
  6872. "forms": _formdiv,
  6873. "click": function () {
  6874. U.MD.D.I.openApplication(str, obj, info);
  6875. }
  6876. }
  6877. break;
  6878. case "doc":
  6879. aTool = 6;
  6880. _iframe = $$("iframe", {
  6881. "frameborder": "no",
  6882. "border": "0",
  6883. "scrolling ": "no",
  6884. "style": {
  6885. "cssText": "border:0;width:100%;height:100%"
  6886. },
  6887. "src": "/Office/Word/WordEditArea.htm"
  6888. })
  6889. _box.appendChild(_iframe);
  6890. _box.appendChild(_jie);
  6891. _formdiv = new U.UF.UI.form(
  6892. "协同文档-" + _username,
  6893. _box, {
  6894. "id": "doc" + cid + stage + task + tool + _userid,
  6895. "style": {
  6896. "width": "90%",
  6897. "height": "90%",
  6898. "overflow": 'hidden'
  6899. },
  6900. "onresize": function () { }
  6901. }, {
  6902. closecallback: function () { }
  6903. }, {
  6904. "style": {
  6905. "height": "36px"
  6906. }
  6907. }).form; //创建窗体
  6908. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6909. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6910. })
  6911. _taskbar = {
  6912. "id": str + _formdiv.id,
  6913. "style": {
  6914. "backgroundImage": "url(/img/icon/doc.png)"
  6915. },
  6916. "name": "协同文档",
  6917. "forms": _formdiv,
  6918. "click": function () {
  6919. U.MD.D.I.openApplication(str, obj, info);
  6920. }
  6921. }
  6922. break;
  6923. case "mindNetwork": //好友打开
  6924. aTool = 7;
  6925. _iframe = $$("iframe", {
  6926. "webkitallowfullscreen": "",
  6927. "mozallowfullscreen": "",
  6928. "allowfullscreen": "",
  6929. "frameborder": "no",
  6930. "border": "0",
  6931. "scrolling ": "no",
  6932. "style": {
  6933. "cssText": "border:0; width:100%; height:100%;"
  6934. },
  6935. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6936. })
  6937. _box.appendChild(_iframe);
  6938. _box.appendChild(_jie);
  6939. _formdiv = new U.UF.UI.form(
  6940. "思维网格-" + _username,
  6941. _box, {
  6942. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6943. "style": {
  6944. "width": "90%",
  6945. "height": "90%",
  6946. "overflow": 'hidden'
  6947. },
  6948. "onresize": function () { }
  6949. }, {
  6950. closecallback: function () { }
  6951. }, {
  6952. "style": {
  6953. "height": "36px"
  6954. }
  6955. }).form; //创建窗体
  6956. _taskbar = {
  6957. "id": str + _formdiv.id,
  6958. "style": {
  6959. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6960. },
  6961. "name": "思维网格",
  6962. "forms": _formdiv,
  6963. "click": function () {
  6964. U.MD.D.I.openApplication(str, obj, info);
  6965. }
  6966. }
  6967. break;
  6968. case "courseDesign":
  6969. _iframe = $$("iframe", {
  6970. "webkitallowfullscreen": "",
  6971. "mozallowfullscreen": "",
  6972. "allowfullscreen": "",
  6973. "frameborder": "no",
  6974. "border": "0",
  6975. "scrolling ": "no",
  6976. "style": {
  6977. "cssText": "border:0; width:100%; height:100%;"
  6978. },
  6979. "src": "/course-design-vue"
  6980. })
  6981. _box.appendChild(_iframe);
  6982. _box.appendChild(_jie);
  6983. _formdiv = new U.UF.UI.form(
  6984. "项目设计-" + _username,
  6985. _box, {
  6986. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6987. "style": {
  6988. "width": "90%",
  6989. "height": "90%",
  6990. "overflow": 'hidden'
  6991. },
  6992. "onresize": function () { }
  6993. }, {
  6994. closecallback: function () { }
  6995. }, {
  6996. "style": {
  6997. "height": "36px"
  6998. }
  6999. }).form; //创建窗体
  7000. _taskbar = {
  7001. "id": str + _formdiv.id,
  7002. "style": {
  7003. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7004. },
  7005. "name": "项目设计",
  7006. "forms": _formdiv,
  7007. "click": function () {
  7008. U.MD.D.I.openApplication(str, obj, info);
  7009. }
  7010. }
  7011. break;
  7012. }
  7013. const script1 = document.createElement("script");
  7014. script1.type = "text/javascript";
  7015. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7016. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7017. const script2 = document.createElement("script");
  7018. script2.type = "text/javascript";
  7019. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7020. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7021. const script3 = document.createElement("script");
  7022. script3.type = "text/javascript";
  7023. script3.charset = "UTF-8";
  7024. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7025. const script4 = document.createElement("script");
  7026. script4.type = "text/javascript";
  7027. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7028. script4.src = window.origin + "/js/Common/jietu2E.js";
  7029. if (_iframe) {
  7030. if (str == 'doc') {
  7031. _iframe = _formdiv.querySelector('iframe')
  7032. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7033. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7034. _iframe.contentWindow.document.body.appendChild(script1);
  7035. _iframe.contentWindow.document.body.appendChild(script2);
  7036. // _iframe.contentWindow.document.body.appendChild(script3);
  7037. _iframe.contentWindow.document.body.appendChild(script4);
  7038. })
  7039. if (onloadListener) {
  7040. _iframe.contentDocument.location.reload()
  7041. } else {
  7042. _iframe.contentDocument.location.reload()
  7043. }
  7044. } else if (str == 'courseDesign') {
  7045. U.UF.DL.iframeLoad(_iframe, function () {
  7046. // _iframe.contentWindow.U.MD.O.W.load();
  7047. // _iframe.contentWindow.document.body.appendChild(script1);
  7048. _iframe.contentWindow.document.body.appendChild(script2);
  7049. _iframe.contentWindow.document.body.appendChild(script4);
  7050. })
  7051. } else if (str == 'mind') {
  7052. _iframe = _formdiv.querySelector('iframe')
  7053. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7054. //
  7055. _iframe.contentWindow.document.body.appendChild(script1);
  7056. _iframe.contentWindow.document.body.appendChild(script2);
  7057. _iframe.contentWindow.document.body.appendChild(script4);
  7058. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7059. })
  7060. if (onloadListener) {
  7061. _iframe.contentDocument.location.reload()
  7062. } else {
  7063. _iframe.contentDocument.location.reload()
  7064. }
  7065. } else if (str == 'whiteboard') {
  7066. _iframe = _formdiv.querySelector('iframe')
  7067. let onloadListener = _iframe.onload = () => {
  7068. _iframe.contentWindow.document.body.appendChild(script1);
  7069. _iframe.contentWindow.document.body.appendChild(script2);
  7070. _iframe.contentWindow.document.body.appendChild(script4);
  7071. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7072. };
  7073. if (onloadListener) {
  7074. _iframe.contentDocument.location.reload()
  7075. } else {
  7076. _iframe.contentDocument.location.reload()
  7077. }
  7078. } else {
  7079. _iframe.onload = () => {
  7080. _iframe.contentWindow.document.body.appendChild(script1);
  7081. _iframe.contentWindow.document.body.appendChild(script2);
  7082. // _iframe.contentWindow.document.body.appendChild(script3);
  7083. _iframe.contentWindow.document.body.appendChild(script4);
  7084. };
  7085. }
  7086. _jie.onclick = async () => {
  7087. let text = ''
  7088. if (aTool == 1) {
  7089. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7090. } else if (aTool == 6) {
  7091. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7092. } else if (aTool == 3) {
  7093. text = await U.MD.D.I.getEditorContent(_iframe);
  7094. }
  7095. _loading.style.display = 'flex'
  7096. console.log(_loading);
  7097. var _ajs = _iframe.contentWindow.document.createElement("script");
  7098. _ajs.type = "text/javascript";
  7099. _ajs.innerHTML =
  7100. // 'console.log(' + _loading + ');\n' +
  7101. 'var _js = document.createElement("script");\n' +
  7102. '_js.type="text/javascript";\n' +
  7103. '_js.charset="UTF-8";\n' +
  7104. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7105. "_js.onload = function(){\n" +
  7106. ' var a = document.getElementsByTagName("img")\n' +
  7107. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7108. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7109. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7110. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7111. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7112. "beforeUpload_shishi(file," +
  7113. "'" +
  7114. _userid +
  7115. "'" +
  7116. ", " +
  7117. "'" +
  7118. _cid +
  7119. "'" +
  7120. ", " +
  7121. "'" +
  7122. _stage +
  7123. "'" +
  7124. ", " +
  7125. "'" +
  7126. _task +
  7127. "'" +
  7128. ", " +
  7129. "'" +
  7130. _tool +
  7131. "'" +
  7132. ", " +
  7133. "'" +
  7134. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7135. "'" +
  7136. ", " +
  7137. "'" +
  7138. aTool +
  7139. "'" +
  7140. ", " +
  7141. "`" +
  7142. text +
  7143. "`" +
  7144. ")\n" +
  7145. " });\n" +
  7146. "}\n" +
  7147. "document.head.appendChild(_js);\n";
  7148. _iframe.contentWindow.document.head.appendChild(_ajs);
  7149. }
  7150. }
  7151. }
  7152. U.MD.D.I.getEditorContent = function (iframe) {
  7153. return new Promise((resolve, reject) => {
  7154. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7155. console.log(content);
  7156. resolve(content)
  7157. });
  7158. });
  7159. }
  7160. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7161. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7162. // if (res.value[0].length > 0) {
  7163. // // resolve(res.value[0][0].text);
  7164. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7165. // $(fileInput).val('');
  7166. // });
  7167. // }
  7168. // }, [], { "type": "GET", "withCredentials": true });
  7169. var xmlhttp;
  7170. var Mac, Sn, DeviceId
  7171. if (window.XMLHttpRequest) {
  7172. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7173. xmlhttp = new XMLHttpRequest();
  7174. } else {
  7175. // IE6, IE5 浏览器执行代码
  7176. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7177. }
  7178. xmlhttp.onreadystatechange = function () {
  7179. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7180. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7181. // resolve(res.value[0][0].text);
  7182. if (type == '2') {
  7183. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7184. } else if (type == '3') {
  7185. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7186. }
  7187. } else {
  7188. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7189. }
  7190. }
  7191. }
  7192. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7193. xmlhttp.send();
  7194. }
  7195. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7196. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7197. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7198. _userinfo = US.userInfo, //登录用户信息
  7199. _userid = US.userInfo.userid //登录用户id
  7200. let _iframe;
  7201. let _cid = cid,
  7202. _stage = stage,
  7203. _task = task,
  7204. _tool = tool;
  7205. var _jie = $$("div", {
  7206. "style": {
  7207. "position": "absolute",
  7208. "bottom": "50px",
  7209. "right": "50px",
  7210. "zIndex": "9999",
  7211. "backgroundColor": "#2268bc",
  7212. "color": "#fff",
  7213. "padding": "12px 20px",
  7214. "cursor": "pointer",
  7215. "borderRadius": "4px",
  7216. },
  7217. "innerHTML": "确认并提交"
  7218. })
  7219. let aTool = ''
  7220. let _loading = document.createElement('div')
  7221. _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;"
  7222. // _loading.id = "";
  7223. let _lchild = document.createElement('div')
  7224. let _limg = document.createElement('img')
  7225. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7226. _limg.style = "width: 26px;margin-right: 10px;"
  7227. _lchild.appendChild(_limg)
  7228. let _lspan = document.createElement('span')
  7229. _lspan.innerHTML = "上传中..."
  7230. _lchild.appendChild(_lspan)
  7231. _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%);"
  7232. _loading.appendChild(_lchild)
  7233. var _box = $$('div', {
  7234. "style": {
  7235. "position": "relative",
  7236. "width": "100%",
  7237. "height": "100%",
  7238. },
  7239. })
  7240. _box.appendChild(_loading)
  7241. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7242. switch (str) {
  7243. case "whiteboard":
  7244. aTool = 1;
  7245. _iframe = $$("iframe", {
  7246. "frameborder": "no",
  7247. "border": "0",
  7248. "scrolling ": "no",
  7249. "style": {
  7250. "cssText": "border:0;width:100%;height:100%"
  7251. },
  7252. "src": "https://iwb.cocorobo.cn/"
  7253. })
  7254. _box.appendChild(_iframe);
  7255. _box.appendChild(_jie);
  7256. _formdiv = new U.UF.UI.form(
  7257. "电子白板",
  7258. _box, {
  7259. "id": "whiteboards" + cid + stage + task + tool,
  7260. "style": {
  7261. "width": "90%",
  7262. "height": "90%",
  7263. "overflow": 'hidden'
  7264. },
  7265. "onresize": function () { }
  7266. }, {
  7267. closecallback: function () { }
  7268. }, {
  7269. "style": {
  7270. "height": "36px"
  7271. }
  7272. }).form; //创建窗体
  7273. _taskbar = {
  7274. "id": str + _formdiv.id,
  7275. "style": {
  7276. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7277. },
  7278. "name": "电子白板",
  7279. "forms": _formdiv,
  7280. "click": function () {
  7281. U.MD.D.I.openApplication(str, obj, info);
  7282. }
  7283. }
  7284. break;
  7285. case "mind":
  7286. aTool = 3;
  7287. _iframe = $$("iframe", {
  7288. "frameborder": "no",
  7289. "border": "0",
  7290. "scrolling ": "no",
  7291. "style": {
  7292. "cssText": "border:0;width:100%;height:100%"
  7293. },
  7294. "src": "/kityminder-editor/dist/index.html"
  7295. });
  7296. _box.appendChild(_iframe);
  7297. _box.appendChild(_jie);
  7298. _formdiv = new U.UF.UI.form(
  7299. "思维导图",
  7300. _box, { //"/jsmind/example/demo.html"
  7301. "id": "minds" + cid + stage + task + tool,
  7302. "style": {
  7303. "width": "90%",
  7304. "height": "90%",
  7305. "overflow": 'hidden'
  7306. },
  7307. "onresize": function () { }
  7308. }, {
  7309. closecallback: function () { }
  7310. }, {
  7311. "style": {
  7312. "height": "36px"
  7313. }
  7314. }).form; //创建窗体
  7315. _taskbar = {
  7316. "id": str + _formdiv.id,
  7317. "style": {
  7318. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7319. },
  7320. "name": "思维导图",
  7321. "forms": _formdiv,
  7322. "click": function () {
  7323. U.MD.D.I.openApplication(str, obj, info);
  7324. }
  7325. }
  7326. break;
  7327. case "doc":
  7328. aTool = 6;
  7329. _iframe = $$("iframe", {
  7330. "frameborder": "no",
  7331. "border": "0",
  7332. "scrolling ": "no",
  7333. "style": {
  7334. "cssText": "border:0;width:100%;height:100%"
  7335. },
  7336. "src": "/Office/Word/WordEditArea.htm"
  7337. })
  7338. _box.appendChild(_iframe);
  7339. _box.appendChild(_jie);
  7340. _formdiv = new U.UF.UI.form(
  7341. "协同文档",
  7342. _box, {
  7343. "id": "docs" + cid + stage + task + tool,
  7344. "style": {
  7345. "width": "90%",
  7346. "height": "90%",
  7347. "overflow": 'hidden'
  7348. },
  7349. "onresize": function () { }
  7350. }, {
  7351. closecallback: function () { }
  7352. }, {
  7353. "style": {
  7354. "height": "36px"
  7355. }
  7356. }).form; //创建窗体
  7357. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7358. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7359. })
  7360. _taskbar = {
  7361. "id": str + _formdiv.id,
  7362. "style": {
  7363. "backgroundImage": "url(/img/icon/doc.png)"
  7364. },
  7365. "name": "协同文档",
  7366. "forms": _formdiv,
  7367. "click": function () {
  7368. U.MD.D.I.openApplication(str, obj, info);
  7369. }
  7370. }
  7371. break;
  7372. }
  7373. const script1 = document.createElement("script");
  7374. script1.type = "text/javascript";
  7375. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7376. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7377. const script2 = document.createElement("script");
  7378. script2.type = "text/javascript";
  7379. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7380. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7381. const script3 = document.createElement("script");
  7382. script3.type = "text/javascript";
  7383. script3.charset = "UTF-8";
  7384. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7385. const script4 = document.createElement("script");
  7386. script4.type = "text/javascript";
  7387. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7388. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7389. if (_iframe) {
  7390. if (str == 'doc') {
  7391. _iframe = _formdiv.querySelector('iframe')
  7392. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7393. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7394. _iframe.contentWindow.document.body.appendChild(script1);
  7395. _iframe.contentWindow.document.body.appendChild(script2);
  7396. // _iframe.contentWindow.document.body.appendChild(script3);
  7397. _iframe.contentWindow.document.body.appendChild(script4);
  7398. })
  7399. if (onloadListener) {
  7400. _iframe.contentDocument.location.reload()
  7401. } else {
  7402. _iframe.contentDocument.location.reload()
  7403. }
  7404. } else if (str == 'mind') {
  7405. _iframe = _formdiv.querySelector('iframe')
  7406. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7407. _iframe.contentWindow.document.body.appendChild(script1);
  7408. _iframe.contentWindow.document.body.appendChild(script2);
  7409. _iframe.contentWindow.document.body.appendChild(script4);
  7410. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7411. })
  7412. if (onloadListener) {
  7413. _iframe.contentDocument.location.reload()
  7414. } else {
  7415. _iframe.contentDocument.location.reload()
  7416. }
  7417. } else {
  7418. _iframe.onload = () => {
  7419. _iframe.contentWindow.document.body.appendChild(script1);
  7420. _iframe.contentWindow.document.body.appendChild(script2);
  7421. // _iframe.contentWindow.document.body.appendChild(script3);
  7422. _iframe.contentWindow.document.body.appendChild(script4);
  7423. };
  7424. }
  7425. _jie.onclick = async () => {
  7426. let text = ''
  7427. if (aTool == 6) {
  7428. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7429. } else if (aTool == 3) {
  7430. text = await U.MD.D.I.getEditorContent(_iframe);
  7431. }
  7432. _loading.style.display = 'flex'
  7433. console.log(_loading);
  7434. var _ajs = _iframe.contentWindow.document.createElement("script");
  7435. _ajs.type = "text/javascript";
  7436. _ajs.innerHTML =
  7437. // 'console.log(' + _loading + ');\n' +
  7438. 'var _js = document.createElement("script");\n' +
  7439. '_js.type="text/javascript";\n' +
  7440. '_js.charset="UTF-8";\n' +
  7441. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7442. "_js.onload = function(){\n" +
  7443. ' var a = document.getElementsByTagName("img")\n' +
  7444. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7445. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7446. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7447. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7448. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7449. "beforeUpload_shishi(file," +
  7450. "'" +
  7451. _userid +
  7452. "'" +
  7453. ", " +
  7454. "'" +
  7455. _cid +
  7456. "'" +
  7457. ", " +
  7458. "'" +
  7459. _stage +
  7460. "'" +
  7461. ", " +
  7462. "'" +
  7463. _task +
  7464. "'" +
  7465. ", " +
  7466. "'" +
  7467. _tool +
  7468. "'" +
  7469. ", " +
  7470. "'" +
  7471. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7472. "'" +
  7473. ", " +
  7474. "'" +
  7475. aTool +
  7476. "'" +
  7477. ", " +
  7478. "`" +
  7479. text +
  7480. "`" +
  7481. ")\n" +
  7482. " });\n" +
  7483. "}\n" +
  7484. "document.head.appendChild(_js);\n";
  7485. _iframe.contentWindow.document.head.appendChild(_ajs);
  7486. }
  7487. }
  7488. //U.MD.D.I.openClick(str);
  7489. //如果有任务栏信息
  7490. // if (_taskbar) {
  7491. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7492. // }
  7493. }
  7494. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7495. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7496. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7497. _userinfo = US.userInfo, //登录用户信息
  7498. _userid = US.userInfo.userid //登录用户id
  7499. let _iframe;
  7500. let _cid = cid,
  7501. _stage = stage,
  7502. _task = task,
  7503. _tool = tool;
  7504. var _jie = $$("div", {
  7505. "style": {
  7506. "position": "absolute",
  7507. "bottom": "50px",
  7508. "right": "50px",
  7509. "zIndex": "9999",
  7510. "backgroundColor": "#2268bc",
  7511. "color": "#fff",
  7512. "padding": "12px 20px",
  7513. "cursor": "pointer",
  7514. "borderRadius": "4px",
  7515. },
  7516. "innerHTML": "确认并提交"
  7517. })
  7518. let aTool = ''
  7519. let _loading = document.createElement('div')
  7520. _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;"
  7521. // _loading.id = "";
  7522. let _lchild = document.createElement('div')
  7523. let _limg = document.createElement('img')
  7524. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7525. _limg.style = "width: 26px;margin-right: 10px;"
  7526. _lchild.appendChild(_limg)
  7527. let _lspan = document.createElement('span')
  7528. _lspan.innerHTML = "上传中..."
  7529. _lchild.appendChild(_lspan)
  7530. _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%);"
  7531. _loading.appendChild(_lchild)
  7532. var _box = $$('div', {
  7533. "style": {
  7534. "position": "relative",
  7535. "width": "100%",
  7536. "height": "100%",
  7537. },
  7538. })
  7539. _box.appendChild(_loading)
  7540. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7541. switch (str) {
  7542. case "whiteboard":
  7543. aTool = 1;
  7544. _iframe = $$("iframe", {
  7545. "frameborder": "no",
  7546. "border": "0",
  7547. "scrolling ": "no",
  7548. "style": {
  7549. "cssText": "border:0;width:100%;height:100%"
  7550. },
  7551. "src": "https://iwb.cocorobo.cn/"
  7552. })
  7553. _box.appendChild(_iframe);
  7554. _box.appendChild(_jie);
  7555. _formdiv = new U.UF.UI.form(
  7556. "电子白板",
  7557. _box, {
  7558. "id": "whiteboards" + cid + stage + task + tool,
  7559. "style": {
  7560. "width": "90%",
  7561. "height": "90%",
  7562. "overflow": 'hidden'
  7563. },
  7564. "onresize": function () { }
  7565. }, {
  7566. closecallback: function () { }
  7567. }, {
  7568. "style": {
  7569. "height": "36px"
  7570. }
  7571. }).form; //创建窗体
  7572. _taskbar = {
  7573. "id": str + _formdiv.id,
  7574. "style": {
  7575. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7576. },
  7577. "name": "电子白板",
  7578. "forms": _formdiv,
  7579. "click": function () {
  7580. U.MD.D.I.openApplication(str, obj, info);
  7581. }
  7582. }
  7583. break;
  7584. case "mind":
  7585. aTool = 3;
  7586. _iframe = $$("iframe", {
  7587. "frameborder": "no",
  7588. "border": "0",
  7589. "scrolling ": "no",
  7590. "style": {
  7591. "cssText": "border:0;width:100%;height:100%"
  7592. },
  7593. "src": "/kityminder-editor/dist/index.html"
  7594. });
  7595. _box.appendChild(_iframe);
  7596. _box.appendChild(_jie);
  7597. _formdiv = new U.UF.UI.form(
  7598. "思维导图",
  7599. _box, { //"/jsmind/example/demo.html"
  7600. "id": "minds" + cid + stage + task + tool,
  7601. "style": {
  7602. "width": "90%",
  7603. "height": "90%",
  7604. "overflow": 'hidden'
  7605. },
  7606. "onresize": function () { }
  7607. }, {
  7608. closecallback: function () { }
  7609. }, {
  7610. "style": {
  7611. "height": "36px"
  7612. }
  7613. }).form; //创建窗体
  7614. _taskbar = {
  7615. "id": str + _formdiv.id,
  7616. "style": {
  7617. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7618. },
  7619. "name": "思维导图",
  7620. "forms": _formdiv,
  7621. "click": function () {
  7622. U.MD.D.I.openApplication(str, obj, info);
  7623. }
  7624. }
  7625. break;
  7626. case "doc":
  7627. aTool = 6;
  7628. _iframe = $$("iframe", {
  7629. "frameborder": "no",
  7630. "border": "0",
  7631. "scrolling ": "no",
  7632. "style": {
  7633. "cssText": "border:0;width:100%;height:100%"
  7634. },
  7635. "src": "/Office/Word/WordEditArea.htm"
  7636. })
  7637. _box.appendChild(_iframe);
  7638. _box.appendChild(_jie);
  7639. _formdiv = new U.UF.UI.form(
  7640. "协同文档",
  7641. _box, {
  7642. "id": "docs" + cid + stage + task + tool,
  7643. "style": {
  7644. "width": "90%",
  7645. "height": "90%",
  7646. "overflow": 'hidden'
  7647. },
  7648. "onresize": function () { }
  7649. }, {
  7650. closecallback: function () { }
  7651. }, {
  7652. "style": {
  7653. "height": "36px"
  7654. }
  7655. }).form; //创建窗体
  7656. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7657. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7658. })
  7659. _taskbar = {
  7660. "id": str + _formdiv.id,
  7661. "style": {
  7662. "backgroundImage": "url(/img/icon/doc.png)"
  7663. },
  7664. "name": "协同文档",
  7665. "forms": _formdiv,
  7666. "click": function () {
  7667. U.MD.D.I.openApplication(str, obj, info);
  7668. }
  7669. }
  7670. break;
  7671. }
  7672. const script1 = document.createElement("script");
  7673. script1.type = "text/javascript";
  7674. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7675. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7676. const script2 = document.createElement("script");
  7677. script2.type = "text/javascript";
  7678. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7679. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7680. const script3 = document.createElement("script");
  7681. script3.type = "text/javascript";
  7682. script3.charset = "UTF-8";
  7683. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7684. const script4 = document.createElement("script");
  7685. script4.type = "text/javascript";
  7686. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7687. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7688. if (_iframe) {
  7689. if (str == 'doc') {
  7690. _iframe = _formdiv.querySelector('iframe')
  7691. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7692. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7693. _iframe.contentWindow.document.body.appendChild(script1);
  7694. _iframe.contentWindow.document.body.appendChild(script2);
  7695. // _iframe.contentWindow.document.body.appendChild(script3);
  7696. _iframe.contentWindow.document.body.appendChild(script4);
  7697. })
  7698. if (onloadListener) {
  7699. _iframe.contentDocument.location.reload()
  7700. } else {
  7701. _iframe.contentDocument.location.reload()
  7702. }
  7703. } else if (str == 'mind') {
  7704. _iframe = _formdiv.querySelector('iframe')
  7705. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7706. _iframe.contentWindow.document.body.appendChild(script1);
  7707. _iframe.contentWindow.document.body.appendChild(script2);
  7708. _iframe.contentWindow.document.body.appendChild(script4);
  7709. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7710. })
  7711. if (onloadListener) {
  7712. _iframe.contentDocument.location.reload()
  7713. } else {
  7714. _iframe.contentDocument.location.reload()
  7715. }
  7716. } else {
  7717. _iframe.onload = () => {
  7718. _iframe.contentWindow.document.body.appendChild(script1);
  7719. _iframe.contentWindow.document.body.appendChild(script2);
  7720. // _iframe.contentWindow.document.body.appendChild(script3);
  7721. _iframe.contentWindow.document.body.appendChild(script4);
  7722. };
  7723. }
  7724. _jie.onclick = async () => {
  7725. let text = ''
  7726. if (aTool == 6) {
  7727. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7728. } else if (aTool == 3) {
  7729. text = await U.MD.D.I.getEditorContent(_iframe);
  7730. }
  7731. _loading.style.display = 'flex'
  7732. console.log(_loading);
  7733. var _ajs = _iframe.contentWindow.document.createElement("script");
  7734. _ajs.type = "text/javascript";
  7735. _ajs.innerHTML =
  7736. // 'console.log(' + _loading + ');\n' +
  7737. 'var _js = document.createElement("script");\n' +
  7738. '_js.type="text/javascript";\n' +
  7739. '_js.charset="UTF-8";\n' +
  7740. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7741. "_js.onload = function(){\n" +
  7742. ' var a = document.getElementsByTagName("img")\n' +
  7743. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7744. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7745. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7746. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7747. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7748. "beforeUpload_shishi(file," +
  7749. "'" +
  7750. _userid +
  7751. "'" +
  7752. ", " +
  7753. "'" +
  7754. _cid +
  7755. "'" +
  7756. ", " +
  7757. "'" +
  7758. _stage +
  7759. "'" +
  7760. ", " +
  7761. "'" +
  7762. _task +
  7763. "'" +
  7764. ", " +
  7765. "'" +
  7766. _tool +
  7767. "'" +
  7768. ", " +
  7769. "'" +
  7770. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7771. "'" +
  7772. ", " +
  7773. "'" +
  7774. aTool +
  7775. "'" +
  7776. ", " +
  7777. "`" +
  7778. text +
  7779. "`" +
  7780. ")\n" +
  7781. " });\n" +
  7782. "}\n" +
  7783. "document.head.appendChild(_js);\n";
  7784. _iframe.contentWindow.document.head.appendChild(_ajs);
  7785. }
  7786. }
  7787. //U.MD.D.I.openClick(str);
  7788. //如果有任务栏信息
  7789. // if (_taskbar) {
  7790. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7791. // }
  7792. }
  7793. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7794. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7795. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7796. _userinfo = US.userInfo, //登录用户信息
  7797. _userid = US.userInfo.userid //登录用户id
  7798. let _iframe;
  7799. let _cid = cid,
  7800. _stage = stage,
  7801. _task = task,
  7802. _tool = tool;
  7803. var _jie = $$("div", {
  7804. "style": {
  7805. "position": "absolute",
  7806. "bottom": "50px",
  7807. "right": "50px",
  7808. "zIndex": "9999",
  7809. "backgroundColor": "#2268bc",
  7810. "color": "#fff",
  7811. "padding": "12px 20px",
  7812. "cursor": "pointer",
  7813. "borderRadius": "4px",
  7814. },
  7815. "innerHTML": "上传模板"
  7816. })
  7817. let aTool = ''
  7818. let _loading = document.createElement('div')
  7819. _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;"
  7820. // _loading.id = "";
  7821. let _lchild = document.createElement('div')
  7822. let _limg = document.createElement('img')
  7823. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7824. _limg.style = "width: 26px;margin-right: 10px;"
  7825. _lchild.appendChild(_limg)
  7826. let _lspan = document.createElement('span')
  7827. _lspan.innerHTML = "上传中..."
  7828. _lchild.appendChild(_lspan)
  7829. _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%);"
  7830. _loading.appendChild(_lchild)
  7831. var _box = $$('div', {
  7832. "style": {
  7833. "position": "relative",
  7834. "width": "100%",
  7835. "height": "100%",
  7836. },
  7837. })
  7838. _box.appendChild(_loading)
  7839. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7840. switch (str) {
  7841. case "whiteboard":
  7842. aTool = 1;
  7843. _iframe = $$("iframe", {
  7844. "frameborder": "no",
  7845. "border": "0",
  7846. "scrolling ": "no",
  7847. "style": {
  7848. "cssText": "border:0;width:100%;height:100%"
  7849. },
  7850. "src": "https://iwb.cocorobo.cn/"
  7851. })
  7852. _box.appendChild(_iframe);
  7853. _box.appendChild(_jie);
  7854. _formdiv = new U.UF.UI.form(
  7855. "电子白板",
  7856. _box, {
  7857. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7858. "style": {
  7859. "width": "90%",
  7860. "height": "90%",
  7861. "overflow": 'hidden'
  7862. },
  7863. "onresize": function () { }
  7864. }, {
  7865. closecallback: function () { }
  7866. }, {
  7867. "style": {
  7868. "height": "36px"
  7869. }
  7870. }).form; //创建窗体
  7871. _taskbar = {
  7872. "id": str + _formdiv.id,
  7873. "style": {
  7874. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7875. },
  7876. "name": "电子白板",
  7877. "forms": _formdiv,
  7878. "click": function () {
  7879. U.MD.D.I.openApplication(str, obj, info);
  7880. }
  7881. }
  7882. break;
  7883. case "mind":
  7884. aTool = 3;
  7885. _iframe = $$("iframe", {
  7886. "frameborder": "no",
  7887. "border": "0",
  7888. "scrolling ": "no",
  7889. "style": {
  7890. "cssText": "border:0;width:100%;height:100%"
  7891. },
  7892. "src": "/kityminder-editor/dist/index.html"
  7893. });
  7894. _box.appendChild(_iframe);
  7895. _box.appendChild(_jie);
  7896. _formdiv = new U.UF.UI.form(
  7897. "思维导图",
  7898. _box, { //"/jsmind/example/demo.html"
  7899. "id": "minds_Yu" + cid + stage + task + tool,
  7900. "style": {
  7901. "width": "90%",
  7902. "height": "90%",
  7903. "overflow": 'hidden'
  7904. },
  7905. "onresize": function () { }
  7906. }, {
  7907. closecallback: function () { }
  7908. }, {
  7909. "style": {
  7910. "height": "36px"
  7911. }
  7912. }).form; //创建窗体
  7913. _taskbar = {
  7914. "id": str + _formdiv.id,
  7915. "style": {
  7916. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7917. },
  7918. "name": "思维导图",
  7919. "forms": _formdiv,
  7920. "click": function () {
  7921. U.MD.D.I.openApplication(str, obj, info);
  7922. }
  7923. }
  7924. break;
  7925. case "doc":
  7926. aTool = 6;
  7927. _iframe = $$("iframe", {
  7928. "frameborder": "no",
  7929. "border": "0",
  7930. "scrolling ": "no",
  7931. "style": {
  7932. "cssText": "border:0;width:100%;height:100%"
  7933. },
  7934. "src": "/Office/Word/WordEditArea.htm"
  7935. })
  7936. _box.appendChild(_iframe);
  7937. _box.appendChild(_jie);
  7938. _formdiv = new U.UF.UI.form(
  7939. "协同文档",
  7940. _box, {
  7941. "id": "docs_Yu" + cid + stage + task + tool,
  7942. "style": {
  7943. "width": "90%",
  7944. "height": "90%",
  7945. "overflow": 'hidden'
  7946. },
  7947. "onresize": function () { }
  7948. }, {
  7949. closecallback: function () { }
  7950. }, {
  7951. "style": {
  7952. "height": "36px"
  7953. }
  7954. }).form; //创建窗体
  7955. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7956. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7957. })
  7958. _taskbar = {
  7959. "id": str + _formdiv.id,
  7960. "style": {
  7961. "backgroundImage": "url(/img/icon/doc.png)"
  7962. },
  7963. "name": "协同文档",
  7964. "forms": _formdiv,
  7965. "click": function () {
  7966. U.MD.D.I.openApplication(str, obj, info);
  7967. }
  7968. }
  7969. break;
  7970. case "CocoPi":
  7971. aTool = 57;
  7972. _iframe = $$("iframe", {
  7973. "allowpaymentrequest": "allowpaymentrequest",
  7974. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7975. "webkitallowfullscreen": "",
  7976. "mozallowfullscreen": "",
  7977. "frameborder": "no",
  7978. "border": "0",
  7979. "scrolling ": "no",
  7980. "style": {
  7981. "cssText": "border:0;width:100%;height:100%"
  7982. },
  7983. "src": "https://pi.cocorobo.cn/"
  7984. })
  7985. _box.appendChild(_iframe);
  7986. _box.appendChild(_jie);
  7987. _formdiv = new U.UF.UI.form(
  7988. "CocoPi",
  7989. _box, {
  7990. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7991. "style": {
  7992. "width": "90%",
  7993. "height": "90%",
  7994. "overflow": 'hidden'
  7995. },
  7996. "onresize": function () { }
  7997. }, {
  7998. closecallback: function () { }
  7999. }, {
  8000. "style": {
  8001. "height": "36px"
  8002. }
  8003. }).form; //创建窗体
  8004. _taskbar = {
  8005. "id": str + _formdiv.id,
  8006. "style": {
  8007. "backgroundImage": "url(/img/icon/cocopi.png)"
  8008. },
  8009. "name": "CocoPi",
  8010. "forms": _formdiv,
  8011. "click": function () {
  8012. U.MD.D.I.openApplication(str, obj, info);
  8013. }
  8014. }
  8015. break;
  8016. }
  8017. if (_iframe) {
  8018. if (str == 'doc') {
  8019. _iframe = _formdiv.querySelector('iframe')
  8020. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8021. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8022. })
  8023. if (onloadListener) {
  8024. _iframe.contentDocument.location.reload()
  8025. } else {
  8026. _iframe.contentDocument.location.reload()
  8027. }
  8028. } else if (str == 'mind') {
  8029. _iframe = _formdiv.querySelector('iframe')
  8030. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8031. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8032. })
  8033. if (onloadListener) {
  8034. _iframe.contentDocument.location.reload()
  8035. } else {
  8036. _iframe.contentDocument.location.reload()
  8037. }
  8038. } else if (str == 'whiteboard') {
  8039. _iframe = _formdiv.querySelector('iframe')
  8040. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8041. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8042. })
  8043. if (onloadListener) {
  8044. _iframe.contentDocument.location.reload()
  8045. } else {
  8046. _iframe.contentDocument.location.reload()
  8047. }
  8048. } else if (str == 'CocoPi') {
  8049. _iframe = _formdiv.querySelector('iframe')
  8050. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8051. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8052. })
  8053. if (onloadListener) {
  8054. _iframe.contentDocument.location.reload()
  8055. } else {
  8056. _iframe.contentDocument.location.reload()
  8057. }
  8058. } else {
  8059. _iframe.onload = () => { };
  8060. }
  8061. _jie.onclick = async () => {
  8062. let text = ''
  8063. let type = '2'
  8064. if (aTool == 1) {
  8065. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8066. type = '3'
  8067. } else if (aTool == 6) {
  8068. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8069. type = '1'
  8070. } else if (aTool == 3) {
  8071. text = await U.MD.D.I.getEditorContent(_iframe);
  8072. type = '2'
  8073. } else if (aTool == 57) {
  8074. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8075. type = '4'
  8076. }
  8077. _loading.style.display = 'flex'
  8078. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8079. }
  8080. }
  8081. //U.MD.D.I.openClick(str);
  8082. //如果有任务栏信息
  8083. // if (_taskbar) {
  8084. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8085. // }
  8086. }
  8087. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8088. var xmlhttp;
  8089. var Mac, Sn, DeviceId
  8090. if (window.XMLHttpRequest) {
  8091. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8092. xmlhttp = new XMLHttpRequest();
  8093. } else {
  8094. // IE6, IE5 浏览器执行代码
  8095. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8096. }
  8097. xmlhttp.onreadystatechange = function () {
  8098. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8099. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8100. // resolve(res.value[0][0].text);
  8101. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8102. }
  8103. }
  8104. }
  8105. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8106. xmlhttp.send();
  8107. }
  8108. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8109. var xmlhttp;
  8110. var Mac, Sn, DeviceId
  8111. if (window.XMLHttpRequest) {
  8112. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8113. xmlhttp = new XMLHttpRequest();
  8114. } else {
  8115. // IE6, IE5 浏览器执行代码
  8116. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8117. }
  8118. xmlhttp.onreadystatechange = function () {
  8119. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8120. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8121. // resolve(res.value[0][0].text);
  8122. if (type == '2') {
  8123. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8124. } else if (type == '3') {
  8125. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8126. } else if (type == '4') {
  8127. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8128. }
  8129. } else {
  8130. if (type == '2') {
  8131. iframe.contentWindow.editor.minder.importData('json', '')
  8132. } else if (type == '3') {
  8133. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8134. } else if (type == '4') {
  8135. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8136. }
  8137. }
  8138. }
  8139. }
  8140. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8141. xmlhttp.send();
  8142. }
  8143. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8144. var xmlhttp;
  8145. var Mac, Sn, DeviceId
  8146. if (window.XMLHttpRequest) {
  8147. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8148. xmlhttp = new XMLHttpRequest();
  8149. } else {
  8150. // IE6, IE5 浏览器执行代码
  8151. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8152. }
  8153. xmlhttp.onreadystatechange = function () {
  8154. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8155. if (xmlhttp.response) {
  8156. // resolve(res.value[0][0].text);
  8157. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8158. // $(fileInput).val('');
  8159. // });
  8160. span.innerHTML = '上传成功'
  8161. setTimeout(() => {
  8162. loading.style.display = 'none'
  8163. }, 1000);
  8164. }
  8165. }
  8166. }
  8167. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8168. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8169. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8170. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8171. // 设置请求头,表示请求体的编码格式
  8172. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8173. // 设置请求体,使用url-encoded格式的数据
  8174. }
  8175. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8176. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8177. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8178. _userinfo = US.userInfo, //登录用户信息
  8179. _userid = US.userInfo.userid //登录用户id
  8180. let _iframe;
  8181. let _cid = cid,
  8182. _stage = stage,
  8183. _task = task,
  8184. _tool = tool;
  8185. var _jie = $$("div", {
  8186. "style": {
  8187. "position": "absolute",
  8188. "bottom": "50px",
  8189. "right": "50px",
  8190. "zIndex": "9999",
  8191. "backgroundColor": "#2268bc",
  8192. "color": "#fff",
  8193. "padding": "12px 20px",
  8194. "cursor": "pointer",
  8195. "borderRadius": "4px",
  8196. },
  8197. "innerHTML": "提交作业"
  8198. })
  8199. let aTool = ''
  8200. let _loading = document.createElement('div')
  8201. _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;"
  8202. // _loading.id = "";
  8203. let _lchild = document.createElement('div')
  8204. let _limg = document.createElement('img')
  8205. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8206. _limg.style = "width: 26px;margin-right: 10px;"
  8207. _lchild.appendChild(_limg)
  8208. let _lspan = document.createElement('span')
  8209. _lspan.innerHTML = "上传中..."
  8210. _lchild.appendChild(_lspan)
  8211. _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%);"
  8212. _loading.appendChild(_lchild)
  8213. var _box = $$('div', {
  8214. "style": {
  8215. "position": "relative",
  8216. "width": "100%",
  8217. "height": "100%",
  8218. },
  8219. })
  8220. _box.appendChild(_loading)
  8221. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8222. switch (str) {
  8223. case "CocoPi":
  8224. aTool = 57;
  8225. _iframe = $$("iframe", {
  8226. "allowpaymentrequest": "allowpaymentrequest",
  8227. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8228. "webkitallowfullscreen": "",
  8229. "mozallowfullscreen": "",
  8230. "frameborder": "no",
  8231. "border": "0",
  8232. "scrolling ": "no",
  8233. "style": {
  8234. "cssText": "border:0;width:100%;height:100%"
  8235. },
  8236. "src": "https://pi.cocorobo.cn/"
  8237. })
  8238. _box.appendChild(_iframe);
  8239. _box.appendChild(_jie);
  8240. _formdiv = new U.UF.UI.form(
  8241. "CocoPi",
  8242. _box, {
  8243. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8244. "style": {
  8245. "width": "90%",
  8246. "height": "90%",
  8247. "overflow": 'hidden'
  8248. },
  8249. "onresize": function () { }
  8250. }, {
  8251. closecallback: function () { }
  8252. }, {
  8253. "style": {
  8254. "height": "36px"
  8255. }
  8256. }).form; //创建窗体
  8257. _taskbar = {
  8258. "id": str + _formdiv.id,
  8259. "style": {
  8260. "backgroundImage": "url(/img/icon/cocopi.png)"
  8261. },
  8262. "name": "CocoPi",
  8263. "forms": _formdiv,
  8264. "click": function () {
  8265. U.MD.D.I.openApplication(str, obj, info);
  8266. }
  8267. }
  8268. break;
  8269. }
  8270. if (_iframe) {
  8271. if (str == 'CocoPi') {
  8272. _iframe = _formdiv.querySelector('iframe')
  8273. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8274. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8275. })
  8276. if (onloadListener) {
  8277. _iframe.contentDocument.location.reload()
  8278. } else {
  8279. _iframe.contentDocument.location.reload()
  8280. }
  8281. }
  8282. _jie.onclick = async () => {
  8283. let text = ''
  8284. if (aTool == 57) {
  8285. text = _iframe.contentWindow.getLoadXmlStr()
  8286. }
  8287. _loading.style.display = 'flex'
  8288. console.log(_loading);
  8289. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8290. _loading.style.display = 'none'
  8291. let _div = document.createElement('div')
  8292. _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;"
  8293. let _inner = document.createElement('div')
  8294. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8295. _inner.innerHTML = "上传成功"
  8296. _div.appendChild(_inner)
  8297. _iframe.contentWindow.window.document.body.appendChild(_div)
  8298. _div.onclick = () => {
  8299. _iframe.contentWindow.window.document.body.removeChild(_div)
  8300. }
  8301. setTimeout(() => {
  8302. _iframe.contentWindow.window.document.body.removeChild(_div)
  8303. }, 1000);
  8304. }, [], { "type": "POST", "withCredentials": true });
  8305. }
  8306. }
  8307. }
  8308. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8309. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8310. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8311. _userid = student.userid, //登录用户id
  8312. _username = student.student //用户名字
  8313. let _iframe;
  8314. let _cid = cid,
  8315. _stage = stage,
  8316. _task = task,
  8317. _tool = tool;
  8318. var _jie = $$("div", {
  8319. "style": {
  8320. "position": "absolute",
  8321. "bottom": "50px",
  8322. "right": "50px",
  8323. "zIndex": "9999",
  8324. "backgroundColor": "#2268bc",
  8325. "color": "#fff",
  8326. "padding": "12px 20px",
  8327. "cursor": "pointer",
  8328. "borderRadius": "4px",
  8329. },
  8330. "innerHTML": "提交作业"
  8331. })
  8332. let aTool = ''
  8333. let _loading = document.createElement('div')
  8334. _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;"
  8335. // _loading.id = "";
  8336. let _lchild = document.createElement('div')
  8337. let _limg = document.createElement('img')
  8338. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8339. _limg.style = "width: 26px;margin-right: 10px;"
  8340. _lchild.appendChild(_limg)
  8341. let _lspan = document.createElement('span')
  8342. _lspan.innerHTML = "上传中..."
  8343. _lchild.appendChild(_lspan)
  8344. _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%);"
  8345. _loading.appendChild(_lchild)
  8346. var _box = $$('div', {
  8347. "style": {
  8348. "position": "relative",
  8349. "width": "100%",
  8350. "height": "100%",
  8351. },
  8352. })
  8353. _box.appendChild(_loading)
  8354. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8355. switch (str) {
  8356. case "CocoPi":
  8357. aTool = 57;
  8358. _iframe = $$("iframe", {
  8359. "allowpaymentrequest": "allowpaymentrequest",
  8360. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8361. "webkitallowfullscreen": "",
  8362. "mozallowfullscreen": "",
  8363. "frameborder": "no",
  8364. "border": "0",
  8365. "scrolling ": "no",
  8366. "style": {
  8367. "cssText": "border:0;width:100%;height:100%"
  8368. },
  8369. "src": "https://pi.cocorobo.cn/"
  8370. })
  8371. _box.appendChild(_iframe);
  8372. _box.appendChild(_jie);
  8373. _formdiv = new U.UF.UI.form(
  8374. "CocoPi-" + _username,
  8375. _box, {
  8376. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8377. "style": {
  8378. "width": "90%",
  8379. "height": "90%",
  8380. "overflow": 'hidden'
  8381. },
  8382. "onresize": function () { }
  8383. }, {
  8384. closecallback: function () { }
  8385. }, {
  8386. "style": {
  8387. "height": "36px"
  8388. }
  8389. }).form; //创建窗体
  8390. _taskbar = {
  8391. "id": str + _formdiv.id,
  8392. "style": {
  8393. "backgroundImage": "url(/img/icon/cocopi.png)"
  8394. },
  8395. "name": "CocoPi",
  8396. "forms": _formdiv,
  8397. "click": function () {
  8398. U.MD.D.I.openApplication(str, obj, info);
  8399. }
  8400. }
  8401. break;
  8402. }
  8403. if (_iframe) {
  8404. if (str == 'CocoPi') {
  8405. _iframe = _formdiv.querySelector('iframe')
  8406. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8407. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8408. })
  8409. if (onloadListener) {
  8410. _iframe.contentDocument.location.reload()
  8411. } else {
  8412. _iframe.contentDocument.location.reload()
  8413. }
  8414. }
  8415. _jie.onclick = async () => {
  8416. let text = ''
  8417. if (aTool == 57) {
  8418. text = _iframe.contentWindow.getLoadXmlStr()
  8419. }
  8420. _loading.style.display = 'flex'
  8421. console.log(_loading);
  8422. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8423. _loading.style.display = 'none'
  8424. let _div = document.createElement('div')
  8425. _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;"
  8426. let _inner = document.createElement('div')
  8427. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8428. _inner.innerHTML = "上传成功"
  8429. _div.appendChild(_inner)
  8430. _iframe.contentWindow.window.document.body.appendChild(_div)
  8431. _div.onclick = () => {
  8432. _iframe.contentWindow.window.document.body.removeChild(_div)
  8433. }
  8434. setTimeout(() => {
  8435. _iframe.contentWindow.window.document.body.removeChild(_div)
  8436. }, 1000);
  8437. }, [], { "type": "POST", "withCredentials": true });
  8438. }
  8439. }
  8440. }
  8441. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8442. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8443. if (res.value[0].length > 0) {
  8444. if (atool == 57) {
  8445. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8446. }
  8447. } else {
  8448. if (atool == 57) {
  8449. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8450. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8451. }
  8452. }
  8453. }, [], { "type": "POST", "withCredentials": true });
  8454. }