DeskTop.js 495 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295
  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. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  628. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  629. ];
  630. //教科院实小教师桌面图标的全局变量
  631. U.MD.D.I.siesStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  636. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  637. ];
  638. //福田
  639. U.MD.D.I.gdjgTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  647. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  649. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  652. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  654. ];
  655. //gdjg
  656. U.MD.D.I.gdjgAdminDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  662. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  663. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  668. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  670. ];
  671. //hk
  672. U.MD.D.I.hkteacherDeskIcon = [
  673. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  674. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  682. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  683. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  684. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  690. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkStudentDeskIcon = [
  694. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //hk
  702. U.MD.D.I.hkaceteacherDeskIcon = [
  703. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  712. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  713. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  714. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  719. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  721. ];
  722. //hk
  723. U.MD.D.I.hkaceStudentDeskIcon = [
  724. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  730. ];
  731. //香海正覺蓮社佛教正覺中學
  732. U.MD.D.I.hkZJLSteacherDeskIcon = [
  733. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  734. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  736. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  737. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  738. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  739. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  740. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  741. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  742. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  743. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  744. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  745. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  749. ];
  750. //香海正覺蓮社佛教正覺中學
  751. U.MD.D.I.hkZJLSStudentDeskIcon = [
  752. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. ];
  757. //云海
  758. U.MD.D.I.yunhaiTeacherDeskIcon = [
  759. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  760. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  762. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  775. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  777. ];
  778. //福田
  779. U.MD.D.I.heyuanTeacherDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  785. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  792. ];
  793. //福田
  794. U.MD.D.I.heyuanAdminDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  806. ];
  807. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  808. U.MD.D.I.szherTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  820. ];
  821. //dsei
  822. U.MD.D.I.dseiTeacherDeskIcon = [
  823. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  824. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  830. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  831. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  832. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  833. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  834. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  835. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  836. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  837. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  838. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  839. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  840. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  841. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  842. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  843. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  844. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  845. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  846. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  847. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  848. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  849. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  850. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  851. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  852. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  853. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  854. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  855. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  856. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  857. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  865. ];
  866. //dsei
  867. U.MD.D.I.dseiAdminDeskIcon = [
  868. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  869. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  877. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  880. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  881. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  882. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  883. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  884. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  885. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  886. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  887. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  888. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  889. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  890. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  891. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  892. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  893. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  894. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  895. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  896. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  897. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  898. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  899. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  900. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  901. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  910. ];
  911. //dsei
  912. U.MD.D.I.dseiStudentDeskIcon = [
  913. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  914. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  915. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. ];
  920. //未来教育基地
  921. U.MD.D.I.szjkyTeacherDeskIcon = [
  922. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  923. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  927. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  928. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  929. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  939. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  940. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  941. ];
  942. //未来教育基地
  943. U.MD.D.I.szjkyAdminDeskIcon = [
  944. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  945. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  946. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  947. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  948. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  949. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  950. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  951. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  952. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  953. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  954. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  955. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  956. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  957. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  958. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  959. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  960. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  961. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  962. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  963. ];
  964. //未来教育基地
  965. U.MD.D.I.szjkyStudentDeskIcon = [
  966. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  967. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  968. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  969. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  970. ];
  971. //成华教育局
  972. U.MD.D.I.chjyjTeacherDeskIcon = [
  973. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  974. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  978. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  979. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  980. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  981. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  982. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  983. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  984. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  985. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  986. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  987. ];
  988. //成华教育局chjyj
  989. U.MD.D.I.chjyjAdminDeskIcon = [
  990. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  991. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  992. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  993. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  994. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  995. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  996. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  997. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  998. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  999. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1000. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1001. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1002. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1003. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1004. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1005. ];
  1006. //成华教育局chjyj
  1007. U.MD.D.I.chjyjStudentDeskIcon = [
  1008. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. ];
  1013. //tpc
  1014. U.MD.D.I.tpcStudentDeskIcon = [
  1015. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1016. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1017. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1018. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1019. ];
  1020. //tpc
  1021. U.MD.D.I.tpcTeacherDeskIcon = [
  1022. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1023. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1028. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcAdminDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //THU-IOE
  1041. U.MD.D.I.thuioeTeacherDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1045. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1046. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1047. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1048. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1049. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1050. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1051. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1052. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1053. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1054. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1055. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1056. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1057. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1058. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1059. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1060. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1061. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1062. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1063. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1064. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1065. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1066. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1067. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1068. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1069. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1070. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1071. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1072. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1073. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1074. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1075. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1076. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1077. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1078. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1079. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1080. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1081. ];
  1082. //THU-IOE
  1083. U.MD.D.I.thuioeStudentDeskIcon = [
  1084. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1085. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1086. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1087. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1088. ];
  1089. //jccssyl
  1090. U.MD.D.I.jccssylTeacherDeskIcon = [
  1091. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1092. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1094. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1098. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1099. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1100. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1101. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1102. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1103. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1104. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1105. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1106. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1107. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1108. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1109. ];
  1110. //jccssyl
  1111. U.MD.D.I.jccssylStudentDeskIcon = [
  1112. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1113. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1114. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1115. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1116. ];
  1117. //#region 桌面初始化a
  1118. /**
  1119. * 初始化桌面的起始函数
  1120. *
  1121. */
  1122. U.MD.D.I.init = function () {
  1123. if ($("#U_MD_D_K")[0]) {
  1124. //初始化桌面图标
  1125. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1126. // var clickUrl = ':12588/requestIp.php';
  1127. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1128. // U.MD.D.I.Ip = data;
  1129. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1130. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1131. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1132. // })
  1133. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1134. // })
  1135. }
  1136. }
  1137. /**
  1138. * 模式切换
  1139. *
  1140. */
  1141. U.MD.D.I.ModeCheck = function (type) {
  1142. if (US.Config.type == type) {
  1143. return
  1144. }
  1145. US.Config.type = type
  1146. $('.U_PBL_Check .active')[0].className = ''
  1147. if (type == 1) {
  1148. $('.U_PBL_Check div')[0].className = 'active'
  1149. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1150. } else {
  1151. $('.U_PBL_Check div')[1].className = 'active'
  1152. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1153. }
  1154. //初始化桌面图标
  1155. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1156. if (type == 2) {
  1157. U.MD.D.I.openApplication("project")
  1158. }
  1159. }
  1160. /**
  1161. * 隐藏任务栏
  1162. *
  1163. * @param {element} 桌面元素
  1164. */
  1165. U.MD.D.I.hiddenTaskbar = function (el) {
  1166. //任务栏位置变小
  1167. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1168. //桌面的位置变大
  1169. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1170. }
  1171. /**
  1172. * 隐藏任务栏
  1173. *
  1174. * @param {element} 桌面元素
  1175. */
  1176. U.MD.D.I.hiddenTaskbarout = function (el) {
  1177. //任务栏位置变小
  1178. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1179. //任务栏位置变化
  1180. U.selectEl(el).css({ "bottom": "-60px" });
  1181. //桌面的位置变大
  1182. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1183. }
  1184. }
  1185. /**
  1186. * 初始化打印桌面图标
  1187. *
  1188. * @param {element} 桌面元素
  1189. */
  1190. U.MD.D.I.initDesktopIcons = function (el, type) {
  1191. var i, //用于循环
  1192. _content, //桌面图标元素
  1193. _iconcontent, //桌面图标元素
  1194. _frag = $$("frag"), //定义一个碎片元素
  1195. _type = US.userInfo.type,
  1196. _org = US.userInfo.org,
  1197. _oid = US.userInfo.organizeid,
  1198. _role = US.userInfo.role,
  1199. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1200. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1201. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1202. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1203. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1204. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1205. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1206. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1207. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1208. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1209. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1210. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1211. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1212. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1213. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1214. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1215. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1216. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1217. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1218. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1219. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1220. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1221. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1222. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1223. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1224. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1225. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1226. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1227. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1228. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1229. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1230. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1231. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1232. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1233. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1234. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1235. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1236. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1237. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1238. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1239. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1240. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1241. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1242. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1243. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1244. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1245. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1246. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1247. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1248. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1249. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1250. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1251. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1252. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1253. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1254. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1255. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1256. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1257. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1258. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1259. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1260. 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'];
  1261. 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'];
  1262. //清楚桌面图标
  1263. el.innerHTML = "";
  1264. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1265. _teacherDesktopIconInfo.push(
  1266. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1267. { "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)" } },
  1268. )
  1269. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1270. }
  1271. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1272. _teacherDesktopIconInfo.push(
  1273. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1274. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1275. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1276. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1277. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1278. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1279. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1280. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1281. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1282. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1283. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1284. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1285. )
  1286. }
  1287. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1288. // _teacherDesktopIconInfo.push(
  1289. // )
  1290. // }
  1291. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1292. _teacherDesktopIconInfo.push(
  1293. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1294. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1295. )
  1296. }
  1297. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1298. _teacherDesktopIconInfo.push(
  1299. )
  1300. }
  1301. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1302. _teacherDesktopIconInfo.push(
  1303. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1305. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1307. )
  1308. _studentDesktopIconInfo.push(
  1309. )
  1310. }
  1311. //麒麟二中 和 民新小学
  1312. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1313. _teacherDesktopIconInfo.push(
  1314. )
  1315. }
  1316. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1317. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1318. _teacherDesktopIconInfo.push(
  1319. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1320. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1321. )
  1322. }
  1323. //麒麟二中
  1324. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1325. _studentDesktopIconInfo.push(
  1326. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1327. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1328. )
  1329. }
  1330. //万科双语
  1331. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1332. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1333. if (el.Name == '项目管理') {
  1334. el.Name = 'PBL项目'
  1335. }
  1336. return el
  1337. })
  1338. _studentDesktopIconInfo3.push(
  1339. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1340. )
  1341. }
  1342. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1343. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1344. return el.Name != '魔盒识字' && el.Name != '24点'
  1345. })
  1346. }
  1347. 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) {
  1348. _studentDesktopIconInfo.push(
  1349. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1350. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1351. )
  1352. }
  1353. //循环创建桌面图标
  1354. if (type == 1) {
  1355. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1356. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_studentDesktopIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_studentDesktopIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1373. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_hkZJLSStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. } //
  1389. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1390. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_jccssylStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_jccssylStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1407. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_thuioeStudentDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_thuioeStudentDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1424. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tpcStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_tpcStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. } //
  1440. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1441. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_chjyjStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_chjyjStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1458. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_szjkyStudentDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_szjkyStudentDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1475. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_dseiStudentDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_dseiStudentDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1492. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_siesStudentDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_siesStudentDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1509. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkStudentDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkStudentDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1526. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_hkaceStudentDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_hkaceStudentDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1543. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_studentDesktopIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_studentDesktopIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1560. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tcStudentDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tcStudentDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1577. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_szscStudentDeskIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_szscStudentDeskIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1592. }
  1593. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1594. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_studentDesktopIconInfo3[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_studentDesktopIconInfo3[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1609. }
  1610. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1611. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_studentDesktopIconInfo2[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_studentDesktopIconInfo2[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1628. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_wanketeacherDesktopIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_wanketeacherDesktopIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1645. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_wankeAdminDesktopIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_wankeAdminDesktopIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1662. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_jccssylTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_jccssylTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1679. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_tpcOrganizerDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_tpcOrganizerDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1696. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_tpcTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_tpcTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1713. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_teacherDesktopIconInfo2[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_teacherDesktopIconInfo2[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1730. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_thuioeTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_thuioeTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1747. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_lotechTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_lotechTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }//
  1763. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1764. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_siesTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_siesTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1781. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_longhuaTeacherDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_longhuaTeacherDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1798. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_yunhaiTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. } //_hkStudentDeskIconInfo
  1814. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1815. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1832. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hkTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hkTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1849. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_hkaceTeacherDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_hkaceTeacherDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1866. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_gdjgAdminDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_gdjgAdminDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1883. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_gdjgTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_gdjgTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1900. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szherTeacherDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_szherTeacherDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1917. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_heyuannAdminDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_heyuannAdminDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1934. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_heyuanTeacherDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_heyuanTeacherDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1949. } //
  1950. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1951. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_dseiAdminDeskIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_dseiAdminDeskIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1968. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_dseiTeacherDeskIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_dseiTeacherDeskIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1983. } //
  1984. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1985. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_chjyjAdminDeskIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_chjyjAdminDeskIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2000. }//
  2001. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2002. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_chjyjTeacherDeskIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_chjyjTeacherDeskIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2019. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szjkyAdminDeskIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szjkyAdminDeskIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2034. }//
  2035. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2036. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_szjkyTeacherDeskIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_szjkyTeacherDeskIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2053. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_futianAdminDeskIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_futianAdminDeskIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2070. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_futianTeacherDeskIconInfo[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_futianTeacherDeskIconInfo[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2087. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_MingdeTeacherDeskIcon[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_MingdeTeacherDeskIcon[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2104. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_lhsAdminDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_lhsAdminDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2121. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_lhsteacherDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_lhsteacherDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2138. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_zhoujiateacherDesktopIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2155. for (i = 0; i < _hanDeskIcon.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_hanDeskIcon[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_hanDeskIcon[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2172. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_orgStemDeskIcon[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_orgStemDeskIcon[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2189. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szulsDeskIcon[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szulsDeskIcon[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2206. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_orgDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_orgDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2223. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_schoolDesktopIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function (obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_schoolDesktopIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2240. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2241. _content = $$("div", {
  2242. className: "U_MD_D_KO",
  2243. "onmousedown": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_GMteacherDesktopIconInfo[i]]),
  2247. "onclick": U.UF.C.closure(function (obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_GMteacherDesktopIconInfo[i]])
  2251. }, _frag); //
  2252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2255. }
  2256. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2257. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2258. _content = $$("div", {
  2259. className: "U_MD_D_KO",
  2260. "onmousedown": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_SONGteacherDesktopIconInfo[i]]),
  2264. "onclick": U.UF.C.closure(function (obj) {
  2265. //防止拖动图标即打开了桌面应用
  2266. U.MD.D.click(this, obj);
  2267. }, [_SONGteacherDesktopIconInfo[i]])
  2268. }, _frag); //
  2269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2272. }
  2273. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2274. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2275. _content = $$("div", {
  2276. className: "U_MD_D_KO",
  2277. "onmousedown": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_GMstudentDesktopIconInfo[i]]),
  2281. "onclick": U.UF.C.closure(function (obj) {
  2282. //防止拖动图标即打开了桌面应用
  2283. U.MD.D.click(this, obj);
  2284. }, [_GMstudentDesktopIconInfo[i]])
  2285. }, _frag); //
  2286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2289. }
  2290. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2291. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2292. _content = $$("div", {
  2293. className: "U_MD_D_KO",
  2294. "onmousedown": U.UF.C.closure(function (obj) {
  2295. //防止拖动图标即打开了桌面应用
  2296. U.MD.D.click(this, obj);
  2297. }, [_tcTeacherDeskIconInfo[i]]),
  2298. "onclick": U.UF.C.closure(function (obj) {
  2299. //防止拖动图标即打开了桌面应用
  2300. U.MD.D.click(this, obj);
  2301. }, [_tcTeacherDeskIconInfo[i]])
  2302. }, _frag); //
  2303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2306. }
  2307. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2308. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2309. _content = $$("div", {
  2310. className: "U_MD_D_KO",
  2311. "onmousedown": U.UF.C.closure(function (obj) {
  2312. //防止拖动图标即打开了桌面应用
  2313. U.MD.D.click(this, obj);
  2314. }, [_tcOrganizerDeskIconInfo[i]]),
  2315. "onclick": U.UF.C.closure(function (obj) {
  2316. //防止拖动图标即打开了桌面应用
  2317. U.MD.D.click(this, obj);
  2318. }, [_tcOrganizerDeskIconInfo[i]])
  2319. }, _frag); //
  2320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2323. }
  2324. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2325. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2326. _content = $$("div", {
  2327. className: "U_MD_D_KO",
  2328. "onmousedown": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szscTeacherDeskIconInfo[i]]),
  2332. "onclick": U.UF.C.closure(function (obj) {
  2333. //防止拖动图标即打开了桌面应用
  2334. U.MD.D.click(this, obj);
  2335. }, [_szscTeacherDeskIconInfo[i]])
  2336. }, _frag); //
  2337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2340. }
  2341. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2342. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2343. _content = $$("div", {
  2344. className: "U_MD_D_KO",
  2345. "onmousedown": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_szscOrganizerDeskIconInfo[i]]),
  2349. "onclick": U.UF.C.closure(function (obj) {
  2350. //防止拖动图标即打开了桌面应用
  2351. U.MD.D.click(this, obj);
  2352. }, [_szscOrganizerDeskIconInfo[i]])
  2353. }, _frag); //
  2354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2357. }
  2358. } else {
  2359. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2360. _content = $$("div", {
  2361. className: "U_MD_D_KO",
  2362. "onmousedown": U.UF.C.closure(function (obj) {
  2363. //防止拖动图标即打开了桌面应用
  2364. U.MD.D.click(this, obj);
  2365. }, [_teacherDesktopIconInfo[i]]),
  2366. "onclick": U.UF.C.closure(function (obj) {
  2367. //防止拖动图标即打开了桌面应用
  2368. U.MD.D.click(this, obj);
  2369. }, [_teacherDesktopIconInfo[i]])
  2370. }, _frag); //
  2371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2374. }
  2375. }
  2376. } else {
  2377. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2378. _content = $$("div", {
  2379. className: "U_MD_D_KO",
  2380. style: { 'width': '124px', 'height': '145px' },
  2381. "onmousedown": U.UF.C.closure(function (obj) {
  2382. //防止拖动图标即打开了桌面应用
  2383. U.MD.D.click(this, obj);
  2384. }, [_easyDesktopIconInfo[i]]),
  2385. "onclick": U.UF.C.closure(function (obj) {
  2386. //防止拖动图标即打开了桌面应用
  2387. U.MD.D.click(this, obj);
  2388. }, [_easyDesktopIconInfo[i]])
  2389. }, _frag); //
  2390. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2393. }
  2394. }
  2395. if (type == 1) {
  2396. //加载好后给图标定位
  2397. U.MD.D.iconPostion($(_frag).Child());
  2398. } else {
  2399. //加载好后给图标定位
  2400. U.MD.D.iconPostion2($(_frag).Child());
  2401. }
  2402. //把图标加载到页面
  2403. el.appendChild(_frag);
  2404. }
  2405. /**
  2406. * 显示任务栏
  2407. *
  2408. * @param {element} 桌面元素
  2409. */
  2410. U.MD.D.I.displayTaskbar = function (el) {
  2411. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2412. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2413. //任务栏位置变化
  2414. U.selectEl(el).css({ "bottom": "0px" });
  2415. //桌面位置变话
  2416. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2417. }
  2418. }
  2419. //#region 桌面图标拖动逻辑
  2420. /**
  2421. * 桌面排列图标
  2422. *
  2423. * @param {element} 桌面元素
  2424. * @param {object} 上下相距的距离
  2425. * @param {object} 左右相距的距离
  2426. * @return {object} 命名空间
  2427. */
  2428. U.MD.D.iconPostion = function (childs, top, left) {
  2429. var i; //用于循环处理
  2430. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2431. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2432. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2433. for (i = 0; i < childs.length; i++) {
  2434. //如果竖排top超过了范围处理
  2435. if (top + 95 > US.height - 10) {
  2436. //left超过了页面范围处理,则向上重叠打印处理
  2437. if ((left + 180) > US.width) {
  2438. top -= 110;
  2439. left -= 90;
  2440. }
  2441. //没有超过范围,那么left+90添加到下一个竖排打印
  2442. else {
  2443. left += 90;
  2444. top = 15;
  2445. };
  2446. }
  2447. //给图标的位置赋值
  2448. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2449. if (i < childs.length - 1) {
  2450. //页面图标每次向下加95
  2451. top += 95;
  2452. }
  2453. }
  2454. //返回最后调用的图标的位置
  2455. return [top, left];
  2456. }
  2457. /**
  2458. * 桌面排列图标
  2459. *
  2460. * @param {element} 桌面元素
  2461. * @param {object} 上下相距的距离
  2462. * @param {object} 左右相距的距离
  2463. * @return {object} 命名空间
  2464. */
  2465. U.MD.D.iconPostion2 = function (childs, top, left) {
  2466. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2467. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2468. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2469. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2470. for (i = 0; i < childs.length; i++) {
  2471. //如果竖排top超过了范围处理
  2472. if (left + 150 > US.width - 10) {
  2473. //left超过了页面范围处理,则向上重叠打印处理
  2474. if ((top + 180) > US.Height) {
  2475. top -= 150;
  2476. left -= 150;
  2477. }
  2478. //没有超过范围,那么left+90添加到下一个竖排打印
  2479. else {
  2480. top += 150;
  2481. left = ol;
  2482. };
  2483. }
  2484. //给图标的位置赋值
  2485. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2486. if (i < childs.length - 1) {
  2487. //页面图标每次向下加95
  2488. left += 150;
  2489. }
  2490. }
  2491. //返回最后调用的图标的位置
  2492. return [top, left];
  2493. }
  2494. /**
  2495. * 桌面点击事件逻辑
  2496. *
  2497. * @param {element} 桌面元素
  2498. * @param {object} 上下相距的距离
  2499. * @param {object} 左右相距的距离
  2500. * @return {object} 命名空间
  2501. */
  2502. U.MD.D.click = function (el, obj) {
  2503. var _buttonnumber = event.button; //点击的按钮的事件值
  2504. var _userinfo = US.userInfo;
  2505. U.UF.EV.stopBubble(); //阻止向上冒泡
  2506. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2507. if (_buttonnumber < 2) {
  2508. //如果是click事件的处理
  2509. if (event.type == "click") {
  2510. //如果元素在mousemove事件中没有移动则出发click事件
  2511. if (!U.MD.D.I.IsDrag) {
  2512. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2513. U.alert("请先登录您的账号!");
  2514. setTimeout(() => {
  2515. U.MD.U.L.login();
  2516. }, 2000);
  2517. } else {
  2518. //打开应用处理
  2519. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2520. }
  2521. }
  2522. }
  2523. //如果是mouse事件的处理
  2524. else {
  2525. if (US.Config.type == '1') {
  2526. //拖动处理,添加拖动和拖动结束事件
  2527. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2528. }
  2529. }
  2530. U.MD.D.I.IsDrag = false;
  2531. }
  2532. }
  2533. /**
  2534. * 拖动的处理
  2535. *
  2536. */
  2537. U.MD.D.iconMove = function () {
  2538. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2539. U.MD.D.I.IsDrag = true;
  2540. }
  2541. /**
  2542. * 拖动结束后,这里是定位处理,以网状的形式定位
  2543. *
  2544. * @param {element} 拖动的元素
  2545. * @return {object} 命名空间
  2546. */
  2547. U.MD.D.iconUp = function (el) {
  2548. var _top = 15,
  2549. _left = 20,
  2550. _margin,
  2551. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2552. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2553. if (_positioninfo["OT"] > 15) {
  2554. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2555. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2556. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2557. }
  2558. if (_positioninfo["OL"] > 20) {
  2559. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2560. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2561. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2562. }
  2563. //while循环判断么一个重叠的元素
  2564. do {
  2565. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2566. _top = _positioninfo[0] + 95; //得到定位后的top
  2567. _left = _positioninfo[1]; //得到定位后的left
  2568. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2569. }
  2570. /**
  2571. * 判断拖动后图标是否重叠
  2572. *
  2573. * @param {element} 拖动的元素
  2574. * @param {element} 桌面所有的元素
  2575. * @param {array} 拖动元素的位置
  2576. ----------[0] 上 top
  2577. ----------[1] 左 left
  2578. * @return {object} 命名空间
  2579. */
  2580. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2581. //循环所有的图标
  2582. for (var i = 0; i < childs.length; i++) {
  2583. //判断有没有和该图标诶子重叠的元素
  2584. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2585. return childs[i]; //如果有返回
  2586. }
  2587. }
  2588. }
  2589. //#endregion
  2590. //#endregion
  2591. //#region 桌面应用
  2592. /**
  2593. * 打开应用
  2594. *
  2595. * @param {string} 类型
  2596. -----------------Disk 网盘系统
  2597. -----------------PDisk 学习系统网盘
  2598. -----------------Poto 图片
  2599. -----------------Video 视频
  2600. -----------------Music 音乐
  2601. -----------------Word word
  2602. -----------------Excel excel
  2603. -----------------Txt 记事本
  2604. -----------------PB 学习系统
  2605. -----------------Blog 朋友圈系统
  2606. -----------------FTP ftp系统
  2607. -----------------Group 好友群
  2608. -----------------SY 首页系统
  2609. -----------------Set 个人设置
  2610. -----------------XSet 系统设置
  2611. -----------------App 我们所有的app
  2612. -----------------BC c.1473.cn 平台
  2613. -----------------CWeb d.1473.cn 变成平台
  2614. -----------------其他的外联系统 我们统一用iframe打开
  2615. * @param {array} 类型
  2616. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2617. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2618. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2619. 如果第一个参数为其他,则无第二个参数
  2620. * @returns {array}
  2621. */
  2622. window.addEventListener('message', function (e) { // 监听 message 事件
  2623. // alert(e.data.type);
  2624. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2625. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2626. //3是展示全部阶段 2学生 1老师 4专家
  2627. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2629. //3是展示全部阶段 2学生 1老师 4专家
  2630. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2632. //3是展示全部阶段 2学生 1老师 4专家
  2633. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2635. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2636. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2637. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2639. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2641. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2643. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2644. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2645. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2646. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2647. //3是展示全部阶段 2学生 1老师 4专家
  2648. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2649. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2650. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2651. U.MD.D.I.selectUser();
  2652. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2653. var _formel = document.getElementById("study");
  2654. U.UF.F.windowZooming(_formel);
  2655. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2656. var _formel = document.getElementById("studyDetail");
  2657. U.UF.F.windowZooming(_formel);
  2658. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2659. var _formel = document.getElementById("studyDetail");
  2660. U.UF.F.windowZooming(_formel);
  2661. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2662. var _formel = document.getElementById("studentStudy");
  2663. U.UF.F.windowZooming(_formel);
  2664. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2665. // var _formel = document.getElementById("study");
  2666. //如果最大化了,那么就把他缩小
  2667. // if (_formel.ismaximize) {
  2668. // return;
  2669. // }
  2670. // U.UF.F.windowZooming(_formel);
  2671. // U.UF.F.topWindow(_formel);
  2672. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2673. // var _formel = document.getElementById("studyDetail");
  2674. //如果最大化了,那么就把他缩小
  2675. // if (_formel.ismaximize) {
  2676. // return;
  2677. // }
  2678. // U.UF.F.windowZooming(_formel);
  2679. // U.UF.F.topWindow(_formel);
  2680. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2681. // var _formel = document.getElementById("studentStudy");
  2682. // if (_formel.ismaximize) {
  2683. // return;
  2684. // }
  2685. // U.UF.F.windowZooming(_formel);
  2686. // U.UF.F.topWindow(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2688. var _formel = document.getElementById("study");
  2689. // if (_formel.ismaximize) {
  2690. // return;
  2691. // }
  2692. // U.UF.F.windowZooming(_formel);
  2693. U.UF.F.topWindow(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2695. var _formel = document.getElementById("studentIndex");
  2696. U.UF.F.windowZooming(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2698. var _formel = document.getElementById("studyDetailS");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2701. var _formel = document.getElementById("studioIndex");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2704. var _formel = document.getElementById("studyDetailStudio");
  2705. U.UF.F.windowZooming(_formel);
  2706. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2707. var _formel = document.getElementById("studyDetailStudio");
  2708. U.UF.F.windowZooming(_formel);
  2709. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2710. var _formel = document.getElementById("studyDetailNT");
  2711. U.UF.F.windowZooming(_formel);
  2712. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2713. var _formel = document.getElementById("studyDetailS");
  2714. U.UF.F.windowZooming(_formel);
  2715. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2716. var _formel = document.getElementById("studyDetailS");
  2717. U.UF.F.topWindow(_formel);
  2718. } else if (e.data.tools && e.data.tools == "1") {
  2719. // U.MD.D.I.openApplication("whiteboard")
  2720. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2721. } else if (e.data.tools && e.data.tools == "2") {
  2722. U.MD.D.I.openApplication("note")
  2723. } else if (e.data.tools && e.data.tools == "3") {
  2724. // U.MD.D.I.openApplication("mind")
  2725. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2726. } else if (e.data.tools && e.data.tools == "4") {
  2727. U.MD.D.I.openApplication("investigation")
  2728. } else if (e.data.tools && e.data.tools == "6") {
  2729. // U.MD.D.I.openApplication("doc")
  2730. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2731. } else if (e.data.tools && e.data.tools == "7") {
  2732. // U.MD.D.I.openApplication("mindNetwork")
  2733. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "8") {
  2735. U.MD.D.I.openApplication("library")
  2736. } else if (e.data.tools && e.data.tools == "17") {
  2737. U.MD.D.I.openApplication("stuLibrary")
  2738. } else if (e.data.tools && e.data.tools == "18") {
  2739. U.MD.D.I.openApplication("train")
  2740. } else if (e.data.tools && e.data.tools == "21") {
  2741. U.MD.D.I.openApplication("program")
  2742. } else if (e.data.tools && e.data.tools == "22") {
  2743. U.MD.D.I.openApplication("AIprogram2")
  2744. } else if (e.data.tools && e.data.tools == "23") {
  2745. U.MD.D.I.openApplication("Pythonprogram")
  2746. } else if (e.data.tools && e.data.tools == "24") {
  2747. U.MD.D.I.openApplication("AIprogram")
  2748. } else if (e.data.tools && e.data.tools == "25") {
  2749. U.MD.D.I.openApplication("sys")
  2750. } else if (e.data.tools && e.data.tools == "26") {
  2751. // U.MD.D.I.openApplication("courseDesign")
  2752. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2753. } else if (e.data.tools && e.data.tools == "31") {
  2754. U.MD.D.I.openApplication("netWorkPanel")
  2755. } else if (e.data.tools && e.data.tools == "32") {
  2756. U.MD.D.I.openApplication("codeEdit")
  2757. } else if (e.data.tools && e.data.tools == "57") {
  2758. U.MD.D.I.openApplication("CocoPi")
  2759. } else if (e.data.tools && e.data.tools == "63") {
  2760. U.MD.D.I.openApplication("Wood")
  2761. } else if (e.data.tools && e.data.tools == "58") {
  2762. U.MD.D.I.openApplication("car")
  2763. } else if (e.data.tools && e.data.tools == "59") {
  2764. U.MD.D.I.openApplication("lineSearch")
  2765. } else if (e.data.tools && e.data.tools == "60") {
  2766. U.MD.D.I.openApplication("deepLearning")
  2767. } else if (e.data.tools && e.data.tools == "61") {
  2768. U.MD.D.I.openApplication("allHistory")
  2769. } else if (e.data.tools && e.data.tools == "28") {
  2770. U.MD.D.I.openApplication("translation")
  2771. } else if (e.data.tools && e.data.tools == "37") {
  2772. U.MD.D.I.openApplication("mohe")
  2773. } else if (e.data.tools && e.data.tools == "38") {
  2774. U.MD.D.I.openApplication("24game")
  2775. } else if (e.data.tools && e.data.tools == "39") {
  2776. U.MD.D.I.openApplication("GeoGebra")
  2777. } else if (e.data.tools && e.data.tools == "43") {
  2778. U.MD.D.I.openApplication("studentEvaluate")
  2779. } else if (e.data.tools && e.data.tools == "44") {
  2780. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2781. } else if (e.data.tools && e.data.tools == "46") {
  2782. U.MD.D.I.openApplication("project")
  2783. } else if (e.data.tools && e.data.tools == "1s") {
  2784. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "3s") {
  2786. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "6s") {
  2788. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "1studio") {
  2790. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "3studio") {
  2792. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "6studio") {
  2794. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "3y") {
  2796. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "1y") {
  2798. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2799. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2800. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2801. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2802. U.MD.D.I.openApplication("AIAnalyse")
  2803. } else if (e.data.tools && e.data.tools == "1teacher") {
  2804. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2805. } else if (e.data.tools && e.data.tools == "3teacher") {
  2806. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2807. } else if (e.data.tools && e.data.tools == "7teacher") {
  2808. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2809. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2810. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2811. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2812. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2813. } else if (e.data.tools && e.data.tools == "1E") {
  2814. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2815. } else if (e.data.tools && e.data.tools == "3E") {
  2816. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2817. } else if (e.data.tools && e.data.tools == "57y") {
  2818. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2819. } else if (e.data.tools && e.data.tools == "57u") {
  2820. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2821. } else if (e.data.tools && e.data.tools == "57teacher") {
  2822. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2823. } else if (e.data.tools && e.data.tools == "64") {
  2824. U.MD.D.I.openApplication("AIChat")
  2825. } else if (e.data.tools && e.data.tools == "66") {
  2826. U.MD.D.I.openApplication("formulaEdi")
  2827. } else if (e.data.tools && e.data.tools == "67") {
  2828. U.MD.D.I.openApplication("molStr")
  2829. } else if (e.data.tools && e.data.tools == "68") {
  2830. U.MD.D.I.openApplication("timeAxis")
  2831. } else if (e.data.tools && e.data.tools == "openCourse") {
  2832. let _data = {
  2833. typea: e.data.typea || '',
  2834. typeb: e.data.typeb || '',
  2835. typed: e.data.typed || '',
  2836. }
  2837. U.MD.D.I.openInApplication("index", _data)
  2838. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2839. let _data = {
  2840. classid: e.data.classid || '',
  2841. }
  2842. U.MD.D.I.openInApplication("dataClass", _data)
  2843. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2844. let _data = {
  2845. cid: e.data.cid || '',
  2846. gid: e.data.gid || '',
  2847. }
  2848. U.MD.D.I.openInApplication("opencCscl", _data)
  2849. }
  2850. });
  2851. U.MD.D.I.selectUser = function () {
  2852. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2853. if (res.value[0].length > 0) {
  2854. US.userInfo = res.value[0][0];
  2855. $(".userName")[0].innerHTML = US.userInfo.username;
  2856. }
  2857. }, [], { "type": "GET", "withCredentials": true });
  2858. }
  2859. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2860. var _userinfo = US.userInfo, //登录用户信息
  2861. _userid = US.userInfo.userid, //登录用户id
  2862. _oid = _userinfo.organizeid,
  2863. _type = US.userInfo.type,
  2864. _org = US.userInfo.org,
  2865. _role = US.userInfo.role,
  2866. _classId = US.userInfo.classid;
  2867. if (_type == 4) {
  2868. tType = 4
  2869. }
  2870. switch (str) {
  2871. case "studyDetailNT": //无终端模式
  2872. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2873. setTimeout(() => {
  2874. U.MD.U.L.login();
  2875. }, 2000);
  2876. } else {
  2877. _formdiv = new U.UF.UI.form(
  2878. "课程详情",
  2879. $$("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 }), {
  2880. "id": "studyDetailNT",
  2881. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2882. "onresize": function () { }
  2883. }, {
  2884. closecallback: function () { }
  2885. }, { "style": { "height": "36px" } }).form; //创建窗体
  2886. _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); } }
  2887. break;
  2888. }
  2889. case "studyDetail":
  2890. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2891. setTimeout(() => {
  2892. U.MD.U.L.login();
  2893. }, 2000);
  2894. } else {
  2895. _formdiv = new U.UF.UI.form(
  2896. "课程详情",
  2897. $$("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 }), {
  2898. "id": "studyDetail",
  2899. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2900. "onresize": function () { }
  2901. }, {
  2902. closecallback: function () { }
  2903. }, { "style": { "height": "36px" } }).form; //创建窗体
  2904. _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); } }
  2905. break;
  2906. }
  2907. case "studyDetailTrain":
  2908. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2909. setTimeout(() => {
  2910. U.MD.U.L.login();
  2911. }, 2000);
  2912. } else {
  2913. _formdiv = new U.UF.UI.form(
  2914. "培训详情",
  2915. $$("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 }), {
  2916. "id": "studyDetailTrain",
  2917. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. _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); } }
  2923. break;
  2924. }
  2925. case "studyDetailS":
  2926. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2927. setTimeout(() => {
  2928. U.MD.U.L.login();
  2929. }, 2000);
  2930. } else {
  2931. _formdiv = new U.UF.UI.form(
  2932. "项目详情",
  2933. $$("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 }), {
  2934. "id": "studyDetailS",
  2935. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2936. "onresize": function () { }
  2937. }, {
  2938. closecallback: function () { }
  2939. }, { "style": { "height": "36px" } }).form; //创建窗体
  2940. _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); } }
  2941. break;
  2942. }
  2943. case "studyDetailStudio":
  2944. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2945. setTimeout(() => {
  2946. U.MD.U.L.login();
  2947. }, 2000);
  2948. } else {
  2949. _formdiv = new U.UF.UI.form(
  2950. "工作详情",
  2951. $$("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 }), {
  2952. "id": "studyDetailStudio",
  2953. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2954. "onresize": function () { }
  2955. }, {
  2956. closecallback: function () { }
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. }
  2961. case "studyDetailS5":
  2962. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2963. setTimeout(() => {
  2964. U.MD.U.L.login();
  2965. }, 2000);
  2966. } else {
  2967. _formdiv = new U.UF.UI.form(
  2968. "项目详情",
  2969. $$("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 }), {
  2970. "id": "studyDetailS",
  2971. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2972. "onresize": function () { }
  2973. }, {
  2974. closecallback: function () { }
  2975. }, { "style": { "height": "36px" } }).form; //创建窗体
  2976. _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); } }
  2977. break;
  2978. }
  2979. case "studyDetailGM":
  2980. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2981. setTimeout(() => {
  2982. U.MD.U.L.login();
  2983. }, 2000);
  2984. } else {
  2985. _formdiv = new U.UF.UI.form(
  2986. "课程详情",
  2987. $$("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 }), {
  2988. "id": "studyDetail",
  2989. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2990. "onresize": function () { }
  2991. }, {
  2992. closecallback: function () { }
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. }
  2997. case "hanUrl":
  2998. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2999. setTimeout(() => {
  3000. U.MD.U.L.login();
  3001. }, 2000);
  3002. } else {
  3003. _formdiv = new U.UF.UI.form(
  3004. "汉字宫",
  3005. $$("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" }), {
  3006. "id": "hanUrl",
  3007. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3008. "onresize": function () { }
  3009. }, {
  3010. closecallback: function () { }
  3011. }, { "style": { "height": "36px" } }).form; //创建窗体
  3012. _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); } }
  3013. break;
  3014. }
  3015. case "index":
  3016. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3017. setTimeout(() => {
  3018. U.MD.U.L.login();
  3019. }, 2000);
  3020. } else {
  3021. _formdiv = new U.UF.UI.form(
  3022. "课程中心",
  3023. $$("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 }), {
  3024. "id": "study",
  3025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3026. "onresize": function () { }
  3027. }, {
  3028. closecallback: function () { }
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. }
  3033. case "dataClass":
  3034. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3035. setTimeout(() => {
  3036. U.MD.U.L.login();
  3037. }, 2000);
  3038. } else {
  3039. _formdiv = new U.UF.UI.form(
  3040. "数据报告",
  3041. $$("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 }), {
  3042. "id": "dataClass",
  3043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. "onresize": function () { }
  3045. }, {
  3046. closecallback: function () { }
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. _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); } }
  3049. break;
  3050. }
  3051. case "opencCscl":
  3052. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3053. setTimeout(() => {
  3054. U.MD.U.L.login();
  3055. }, 2000);
  3056. } else {
  3057. _formdiv = new U.UF.UI.form(
  3058. "协同建构",
  3059. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3060. "id": "futureClass",
  3061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3062. "onresize": function () { }
  3063. }, {
  3064. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3065. }, { "style": { "height": "36px" } }).form; //创建窗体
  3066. _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); } }
  3067. break;
  3068. }
  3069. }
  3070. }
  3071. U.MD.D.I.openApplication = function (str, obj, info) {
  3072. obj = obj || {};
  3073. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3074. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3075. _userinfo = US.userInfo, //登录用户信息
  3076. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3077. _oid = obj.organizeid || _userinfo.organizeid,
  3078. _type = US.userInfo.type,
  3079. _org = US.userInfo.org,
  3080. _role = US.userInfo.role,
  3081. _classId = US.userInfo.classid,
  3082. _TscreenType = 1
  3083. _screenType = 2,
  3084. _SscreenType = 3;
  3085. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3086. return;
  3087. }
  3088. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3089. switch (str) {
  3090. case "studnetProject": //好友打开
  3091. _formdiv = new U.UF.UI.form(
  3092. "我的项目",
  3093. $$("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 }), {
  3094. "id": "studnetProject",
  3095. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3096. "onresize": function () { }
  3097. }, {
  3098. closecallback: function () { }
  3099. }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. _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); } }
  3101. break;
  3102. case "studentEvaluate": //好友打开
  3103. _formdiv = new U.UF.UI.form(
  3104. "我的评价",
  3105. $$("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 }), {
  3106. "id": "studentEvaluate",
  3107. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3108. "onresize": function () { }
  3109. }, {
  3110. closecallback: function () { }
  3111. }, { "style": { "height": "36px" } }).form; //创建窗体
  3112. _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); } }
  3113. break;
  3114. case "my":
  3115. _formdiv = new U.UF.UI.form(
  3116. "我的资料",
  3117. $$("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 }), {
  3118. "id": "my",
  3119. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function () { }
  3121. }, {
  3122. closecallback: function () { }
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. _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); } }
  3125. break;
  3126. case "program":
  3127. _formdiv = new U.UF.UI.form(
  3128. "编程平台",
  3129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3130. "id": "program",
  3131. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function () { }
  3133. }, {
  3134. closecallback: function () { }
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _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); } }
  3137. break;
  3138. case "library":
  3139. _formdiv = new U.UF.UI.form(
  3140. "素材库",
  3141. $$("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 }), {
  3142. "id": "library",
  3143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function () { }
  3145. }, {
  3146. closecallback: function () { }
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. break;
  3150. case "whiteboard":
  3151. _formdiv = new U.UF.UI.form(
  3152. "电子白板",
  3153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3154. "id": "whiteboard",
  3155. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function () { }
  3157. }, {
  3158. closecallback: function () { }
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _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); } }
  3161. break;
  3162. case "investigation":
  3163. _formdiv = new U.UF.UI.form(
  3164. "问卷调查",
  3165. $$("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 }), {
  3166. "id": "investigation",
  3167. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function () { }
  3169. }, {
  3170. closecallback: function () { }
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _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); } }
  3173. break;
  3174. case "note":
  3175. _formdiv = new U.UF.UI.form(
  3176. "便签分类",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3178. "id": "note",
  3179. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _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); } }
  3185. break;
  3186. // case "score":
  3187. // _formdiv = new U.UF.UI.form(
  3188. // "量规评分",
  3189. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3190. // "id": "score",
  3191. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3192. // "onresize": function() {}
  3193. // }, {
  3194. // closecallback: function() {}
  3195. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. // _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); } }
  3197. // break;
  3198. case "mind":
  3199. _formdiv = new U.UF.UI.form(
  3200. "思维导图",
  3201. $$("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"
  3202. "id": "mind",
  3203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. case "doc":
  3211. // U.MD.D.I.isRoom();
  3212. _formdiv = new U.UF.UI.form(
  3213. "协同文档",
  3214. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3215. "id": "doc",
  3216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3222. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3223. // })
  3224. _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); } }
  3225. break;
  3226. case "studentStudy":
  3227. _formdiv = new U.UF.UI.form(
  3228. "课程中心",
  3229. $$("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
  3230. "id": "studentStudy",
  3231. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3232. "onresize": function () { }
  3233. }, {
  3234. closecallback: function () { }
  3235. }, { "style": { "height": "36px" } }).form; //创建窗体
  3236. _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); } }
  3237. break;
  3238. case "train": //好友打开
  3239. _formdiv = new U.UF.UI.form(
  3240. "训练平台",
  3241. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3242. "id": "train",
  3243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3244. "onresize": function () { }
  3245. }, {
  3246. closecallback: function () { }
  3247. }, { "style": { "height": "36px" } }).form; //创建窗体
  3248. _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); } }
  3249. break;
  3250. case "mindNetwork": //好友打开
  3251. _formdiv = new U.UF.UI.form(
  3252. "思维网格",
  3253. $$("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 }), {
  3254. "id": "mindNetwork",
  3255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. _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); } }
  3261. break;
  3262. case "studentClassRoom": //好友打开
  3263. _formdiv = new U.UF.UI.form(
  3264. "实时课堂",
  3265. $$("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 }), {
  3266. "id": "studentClassRoom",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function () { }
  3269. }, {
  3270. closecallback: function () { }
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _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); } }
  3273. setTimeout(() => {
  3274. U.UF.F.windowZooming(_formdiv)
  3275. }, 0);
  3276. break;
  3277. }
  3278. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3279. switch (str) {
  3280. case "studnetProject": //好友打开
  3281. _formdiv = new U.UF.UI.form(
  3282. "我的项目",
  3283. $$("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 }), {
  3284. "id": "studnetProject",
  3285. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function () { }
  3287. }, {
  3288. closecallback: function () { }
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. _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); } }
  3291. break;
  3292. case "studentEvaluate": //好友打开
  3293. _formdiv = new U.UF.UI.form(
  3294. "我的评价",
  3295. $$("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 }), {
  3296. "id": "studentEvaluate",
  3297. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function () { }
  3299. }, {
  3300. closecallback: function () { }
  3301. }, { "style": { "height": "36px" } }).form; //创建窗体
  3302. _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); } }
  3303. break;
  3304. case "my":
  3305. _formdiv = new U.UF.UI.form(
  3306. "我的资料",
  3307. $$("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 }), {
  3308. "id": "my",
  3309. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function () { }
  3311. }, {
  3312. closecallback: function () { }
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _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); } }
  3315. break;
  3316. case "program":
  3317. _formdiv = new U.UF.UI.form(
  3318. "编程平台",
  3319. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3320. "id": "program",
  3321. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function () { }
  3323. }, {
  3324. closecallback: function () { }
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. case "library":
  3329. _formdiv = new U.UF.UI.form(
  3330. "素材库",
  3331. $$("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 }), {
  3332. "id": "library",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function () { }
  3335. }, {
  3336. closecallback: function () { }
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. break;
  3340. case "whiteboard":
  3341. _formdiv = new U.UF.UI.form(
  3342. "电子白板",
  3343. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3344. "id": "whiteboard",
  3345. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function () { }
  3347. }, {
  3348. closecallback: function () { }
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _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); } }
  3351. break;
  3352. case "investigation":
  3353. _formdiv = new U.UF.UI.form(
  3354. "问卷调查",
  3355. $$("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 }), {
  3356. "id": "investigation",
  3357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3358. "onresize": function () { }
  3359. }, {
  3360. closecallback: function () { }
  3361. }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. _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); } }
  3363. break;
  3364. case "note":
  3365. _formdiv = new U.UF.UI.form(
  3366. "便签分类",
  3367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3368. "id": "note",
  3369. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. // case "score":
  3377. // _formdiv = new U.UF.UI.form(
  3378. // "量规评分",
  3379. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3380. // "id": "score",
  3381. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. // "onresize": function() {}
  3383. // }, {
  3384. // closecallback: function() {}
  3385. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. // _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); } }
  3387. // break;
  3388. case "mind":
  3389. _formdiv = new U.UF.UI.form(
  3390. "思维导图",
  3391. $$("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"
  3392. "id": "mind",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. break;
  3400. case "doc":
  3401. // U.MD.D.I.isRoom();
  3402. _formdiv = new U.UF.UI.form(
  3403. "协同文档",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3405. "id": "doc",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3412. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3413. })
  3414. _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); } }
  3415. break;
  3416. case "train": //好友打开
  3417. _formdiv = new U.UF.UI.form(
  3418. "训练平台",
  3419. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3420. "id": "train",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function () { }
  3423. }, {
  3424. closecallback: function () { }
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "studentStudy":
  3429. _formdiv = new U.UF.UI.form(
  3430. "课程中心",
  3431. $$("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
  3432. "id": "studentStudy",
  3433. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "mindNetwork": //好友打开
  3441. _formdiv = new U.UF.UI.form(
  3442. "思维网格",
  3443. $$("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 }), {
  3444. "id": "mindNetwork",
  3445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "studentClassRoom": //好友打开
  3453. _formdiv = new U.UF.UI.form(
  3454. "实时课堂",
  3455. $$("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 }), {
  3456. "id": "studentClassRoom",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function () { }
  3459. }, {
  3460. closecallback: function () { }
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. setTimeout(() => {
  3464. U.UF.F.windowZooming(_formdiv)
  3465. }, 0);
  3466. break;
  3467. }
  3468. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3469. //选择应用处理
  3470. switch (str) {
  3471. case "project": //好友打开
  3472. _formdiv = new U.UF.UI.form(
  3473. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3474. $$("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 }), {
  3475. "id": "project",
  3476. "style": { "width": "90%", "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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3482. break;
  3483. case "student":
  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/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3487. "id": "student",
  3488. "style": { "width": "90%", "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3494. break;
  3495. case "evaluate":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3499. "id": "evaluate",
  3500. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3506. break;
  3507. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3511. "id": "sys",
  3512. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3518. break;
  3519. case "courseDesign":
  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": "/course-design-vue" }), {
  3523. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3530. break;
  3531. case "program":
  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": "https://x.cocorobo.cn" }), {
  3535. "id": "program",
  3536. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3542. break;
  3543. case "class":
  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/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3547. "id": "class",
  3548. "style": { "width": "90%", "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3554. break;
  3555. case "Grade":
  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 + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3559. "id": "Grade",
  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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3566. break;
  3567. case "teacherOffice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3571. "id": "teacherOffice",
  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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3578. break;
  3579. case "my":
  3580. _formdiv = new U.UF.UI.form(
  3581. "我的资料",
  3582. $$("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 }), {
  3583. "id": "my",
  3584. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //创建窗体
  3589. _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); } }
  3590. break;
  3591. case "notice":
  3592. _formdiv = new U.UF.UI.form(
  3593. "通知公告",
  3594. $$("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 }), {
  3595. "id": "notice",
  3596. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. _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); } }
  3602. break;
  3603. case "library":
  3604. _formdiv = new U.UF.UI.form(
  3605. "素材库",
  3606. $$("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 }), {
  3607. "id": "library",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _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); } }
  3614. break;
  3615. case "whiteboard":
  3616. _formdiv = new U.UF.UI.form(
  3617. "电子白板",
  3618. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3619. "id": "whiteboard",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3626. break;
  3627. case "investigation":
  3628. _formdiv = new U.UF.UI.form(
  3629. "问卷调查",
  3630. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3631. "id": "investigation",
  3632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3638. break;
  3639. case "note":
  3640. _formdiv = new U.UF.UI.form(
  3641. "便签分类",
  3642. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3643. "id": "note",
  3644. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3650. break;
  3651. // case "score":
  3652. // _formdiv = new U.UF.UI.form(
  3653. // "量规评分",
  3654. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3655. // "id": "score",
  3656. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. // "onresize": function() {}
  3658. // }, {
  3659. // closecallback: function() {}
  3660. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3662. // break;
  3663. case "mind":
  3664. _formdiv = new U.UF.UI.form(
  3665. "思维导图",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3667. "id": "mind",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "doc":
  3676. // U.MD.D.I.isRoom();
  3677. _formdiv = new U.UF.UI.form(
  3678. "协同文档",
  3679. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3680. "id": "doc",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function () { }
  3683. }, {
  3684. closecallback: function () { }
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3687. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3688. })
  3689. _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); } }
  3690. break;
  3691. case "study":
  3692. _formdiv = new U.UF.UI.form(
  3693. "课程中心",
  3694. $$("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
  3695. "id": "study",
  3696. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _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); } }
  3702. break;
  3703. case "mindNetwork": //好友打开
  3704. _formdiv = new U.UF.UI.form(
  3705. "思维网格",
  3706. $$("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 }), {
  3707. "id": "mindNetwork",
  3708. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _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); } }
  3714. break;
  3715. case "train": //好友打开
  3716. _formdiv = new U.UF.UI.form(
  3717. "训练平台",
  3718. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3719. "id": "mindNetwork",
  3720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _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); } }
  3726. break;
  3727. case "teacherClassRoom": //好友打开
  3728. _formdiv = new U.UF.UI.form(
  3729. "实时课堂",
  3730. $$("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 }), {
  3731. "id": "teacherClassRoom",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _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); } }
  3738. setTimeout(() => {
  3739. U.UF.F.windowZooming(_formdiv)
  3740. }, 0);
  3741. break;
  3742. }
  3743. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3744. switch (str) {
  3745. case "project": //好友打开
  3746. _formdiv = new U.UF.UI.form(
  3747. "课程管理",
  3748. $$("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 }), {
  3749. "id": "project",
  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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3756. break;
  3757. case "evaluate":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3761. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3768. break;
  3769. case "notice":
  3770. _formdiv = new U.UF.UI.form(
  3771. "通知公告",
  3772. $$("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 }), {
  3773. "id": "notice",
  3774. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3775. "onresize": function () { }
  3776. }, {
  3777. closecallback: function () { }
  3778. }, { "style": { "height": "36px" } }).form; //创建窗体
  3779. _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); } }
  3780. break;
  3781. case "stuLibrary":
  3782. _formdiv = new U.UF.UI.form(
  3783. "学习资料",
  3784. $$("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 }), {
  3785. "id": "stuLibrary",
  3786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function () { }
  3788. }, {
  3789. closecallback: function () { }
  3790. }, { "style": { "height": "36px" } }).form; //创建窗体
  3791. _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); } }
  3792. break;
  3793. case "program":
  3794. _formdiv = new U.UF.UI.form(
  3795. "编程平台",
  3796. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3797. "id": "program",
  3798. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3799. "onresize": function () { }
  3800. }, {
  3801. closecallback: function () { }
  3802. }, { "style": { "height": "36px" } }).form; //创建窗体
  3803. _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); } }
  3804. break;
  3805. case "whiteboard":
  3806. _formdiv = new U.UF.UI.form(
  3807. "电子白板",
  3808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3809. "id": "whiteboard",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _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); } }
  3816. break;
  3817. case "investigation":
  3818. _formdiv = new U.UF.UI.form(
  3819. "问卷调查",
  3820. $$("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 }), {
  3821. "id": "investigation",
  3822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _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); } }
  3828. break;
  3829. case "mind":
  3830. _formdiv = new U.UF.UI.form(
  3831. "思维导图",
  3832. $$("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"
  3833. "id": "mind",
  3834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _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); } }
  3840. break;
  3841. case "doc":
  3842. // U.MD.D.I.isRoom();
  3843. _formdiv = new U.UF.UI.form(
  3844. "协同文档",
  3845. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3846. "id": "doc",
  3847. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3848. "onresize": function () { }
  3849. }, {
  3850. closecallback: function () { }
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3853. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3854. })
  3855. _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); } }
  3856. break;
  3857. case "study":
  3858. _formdiv = new U.UF.UI.form(
  3859. "课程中心",
  3860. $$("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
  3861. "id": "study",
  3862. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3863. "onresize": function () { }
  3864. }, {
  3865. closecallback: function () { }
  3866. }, { "style": { "height": "36px" } }).form; //创建窗体
  3867. _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); } }
  3868. break;
  3869. case "mindNetwork": //好友打开
  3870. _formdiv = new U.UF.UI.form(
  3871. "思维网格",
  3872. $$("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 }), {
  3873. "id": "mindNetwork",
  3874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3875. "onresize": function () { }
  3876. }, {
  3877. closecallback: function () { }
  3878. }, { "style": { "height": "36px" } }).form; //创建窗体
  3879. _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); } }
  3880. break;
  3881. case "train": //好友打开
  3882. _formdiv = new U.UF.UI.form(
  3883. "训练平台",
  3884. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3885. "id": "train",
  3886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3887. "onresize": function () { }
  3888. }, {
  3889. closecallback: function () { }
  3890. }, { "style": { "height": "36px" } }).form; //创建窗体
  3891. _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); } }
  3892. break;
  3893. case "sys":
  3894. _formdiv = new U.UF.UI.form(
  3895. "目标管理",
  3896. $$("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 }), {
  3897. "id": "sys",
  3898. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3899. "onresize": function () { }
  3900. }, {
  3901. closecallback: function () { }
  3902. }, { "style": { "height": "36px" } }).form; //创建窗体
  3903. _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); } }
  3904. break;
  3905. case "courseDesign":
  3906. _formdiv = new U.UF.UI.form(
  3907. "项目设计",
  3908. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3909. "id": "courseDesign",
  3910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3911. "onresize": function () { }
  3912. }, {
  3913. closecallback: function () { }
  3914. }, { "style": { "height": "36px" } }).form; //创建窗体
  3915. _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); } }
  3916. break;
  3917. }
  3918. } else if (!_type) {
  3919. switch (str) {
  3920. case "my":
  3921. _formdiv = new U.UF.UI.form(
  3922. "我的资料",
  3923. $$("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 }), {
  3924. "id": "my",
  3925. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function () { }
  3927. }, {
  3928. closecallback: function () { }
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _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); } }
  3931. break;
  3932. }
  3933. }
  3934. switch (str) {
  3935. // AIprogram2 AI体验 aihub.cocorobo.cn
  3936. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3937. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3938. case "formulaEdi": //公式编辑
  3939. _formdiv = new U.UF.UI.form(
  3940. "公式编辑",
  3941. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3942. "id": "formulaEdi",
  3943. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3949. break;
  3950. case "molStr": //分子结构
  3951. _formdiv = new U.UF.UI.form(
  3952. "分子结构",
  3953. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3954. "id": "molStr",
  3955. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3961. break;
  3962. case "timeAxis": //时间轴
  3963. _formdiv = new U.UF.UI.form(
  3964. "时间轴",
  3965. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3966. "id": "timeAxis",
  3967. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3973. break;
  3974. case "AIprogram2": //AI体验
  3975. _formdiv = new U.UF.UI.form(
  3976. "AI体验",
  3977. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3978. "id": "AIprogram2",
  3979. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3985. break;
  3986. case "Pythonprogram": //python编程
  3987. _formdiv = new U.UF.UI.form(
  3988. "Python编程",
  3989. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3990. "id": "Pythonprogram",
  3991. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3997. break;
  3998. case "AIprogram": //ai编程
  3999. _formdiv = new U.UF.UI.form(
  4000. "AI编程平台",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4002. "id": "AIprogram",
  4003. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4009. break;
  4010. case "CocoPi": //CocoPi
  4011. _formdiv = new U.UF.UI.form(
  4012. "CocoPi",
  4013. $$("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" }), {
  4014. "id": "CocoPi",
  4015. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4016. "onresize": function () { }
  4017. }, {
  4018. closecallback: function () { }
  4019. }, { "style": { "height": "36px" } }).form; //创建窗体
  4020. _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); } }
  4021. break;
  4022. case "Wood": //Wood
  4023. _formdiv = new U.UF.UI.form(
  4024. "海龟编程",
  4025. $$("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/" }), {
  4026. "id": "Wood",
  4027. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4028. "onresize": function () { }
  4029. }, {
  4030. closecallback: function () { }
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _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); } }
  4033. break;
  4034. case "car": //模拟驾驶
  4035. _formdiv = new U.UF.UI.form(
  4036. "模拟驾驶",
  4037. $$("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/" }), {
  4038. "id": "car",
  4039. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4040. "onresize": function () { }
  4041. }, {
  4042. closecallback: function () { }
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _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); } }
  4045. break;
  4046. case "lineSearch": //路径搜索
  4047. _formdiv = new U.UF.UI.form(
  4048. "路径搜索",
  4049. $$("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/" }), {
  4050. "id": "lineSearch",
  4051. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _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); } }
  4057. break;
  4058. case "deepLearning": //深度学习
  4059. _formdiv = new U.UF.UI.form(
  4060. "深度学习",
  4061. $$("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/#" }), {
  4062. "id": "deepLearning",
  4063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _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); } }
  4069. break;
  4070. case "allHistory": //深度学习
  4071. _formdiv = new U.UF.UI.form(
  4072. "全历史",
  4073. $$("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/" }), {
  4074. "id": "allHistory",
  4075. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _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); } }
  4081. break;
  4082. case "chatPDF": //ai编程
  4083. _formdiv = new U.UF.UI.form(
  4084. "chatPDF",
  4085. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4086. "id": "chatPDF",
  4087. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _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); } }
  4093. break;
  4094. case "resources": //国家教育
  4095. _formdiv = new U.UF.UI.form(
  4096. "国家教育",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4098. "id": "resources",
  4099. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _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); } }
  4105. break;
  4106. case "codeEdit": //源码编辑
  4107. _formdiv = new U.UF.UI.form(
  4108. "源码编辑",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4110. "id": "codeEdit",
  4111. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _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); } }
  4117. break; //
  4118. case "MindMap": //MindMap
  4119. _formdiv = new U.UF.UI.form(
  4120. "MindMap",
  4121. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4122. "id": "MindMap",
  4123. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _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); } }
  4129. break;
  4130. case "netWorkPanel": //netWorkPanel
  4131. _formdiv = new U.UF.UI.form(
  4132. "netWorkPanel",
  4133. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4134. "id": "netWorkPanel",
  4135. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //创建窗体
  4140. _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); } }
  4141. break;
  4142. case "GeoGebra": //GeoGebra
  4143. _formdiv = new U.UF.UI.form(
  4144. "GeoGebra",
  4145. $$("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" }), {
  4146. "id": "GeoGebra",
  4147. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4148. "onresize": function () { }
  4149. }, {
  4150. closecallback: function () { }
  4151. }, { "style": { "height": "36px" } }).form; //创建窗体
  4152. _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); } }
  4153. break;
  4154. case "translation": //翻译
  4155. _formdiv = new U.UF.UI.form(
  4156. "翻译",
  4157. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4158. "id": "translation",
  4159. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //创建窗体
  4164. _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); } }
  4165. break;
  4166. case "mohe": //魔盒
  4167. _formdiv = new U.UF.UI.form(
  4168. "魔盒识字",
  4169. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4170. "id": "mohe",
  4171. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //创建窗体
  4176. _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); } }
  4177. break;
  4178. case "24game": //24点
  4179. _formdiv = new U.UF.UI.form(
  4180. "24点",
  4181. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4182. "id": "24game",
  4183. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //创建窗体
  4188. _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); } }
  4189. break;
  4190. case "case":
  4191. _formdiv = new U.UF.UI.form(
  4192. "课程进展",
  4193. $$("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 }), {
  4194. "id": "case",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _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); } }
  4201. break;
  4202. case "snf":
  4203. _formdiv = new U.UF.UI.form(
  4204. "赛诺梵",
  4205. $$("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" }), {
  4206. "id": "snf",
  4207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4213. break;
  4214. case "hanFamily":
  4215. _formdiv = new U.UF.UI.form(
  4216. "汉字家族",
  4217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4218. "id": "hanFamily",
  4219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4225. break;
  4226. case "hanClassics":
  4227. _formdiv = new U.UF.UI.form(
  4228. "国学经典",
  4229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4230. "id": "hanClassics",
  4231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4237. break;
  4238. case "hanTraining":
  4239. _formdiv = new U.UF.UI.form(
  4240. "笔画训练",
  4241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4242. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4249. break;
  4250. case "hanClass":
  4251. _formdiv = new U.UF.UI.form(
  4252. "书法课堂",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4254. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4261. break;
  4262. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4266. "id": "han",
  4267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4273. break;
  4274. case "projectGM": //课程管理
  4275. _formdiv = new U.UF.UI.form(
  4276. "课程管理",
  4277. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4278. "id": "projectGM",
  4279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4285. break;
  4286. case "studyGM": //课程中心
  4287. _formdiv = new U.UF.UI.form(
  4288. "课程中心",
  4289. $$("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
  4290. "id": "study",
  4291. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4292. "onresize": function () { }
  4293. }, {
  4294. closecallback: function () { }
  4295. }, { "style": { "height": "36px" } }).form; //创建窗体
  4296. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4297. break;
  4298. // studentGM
  4299. case "studentGM": //学生管理
  4300. _formdiv = new U.UF.UI.form(
  4301. "学生管理",
  4302. $$("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 }), {
  4303. "id": "studentGM",
  4304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "evaluateGM": //学生评价
  4312. _formdiv = new U.UF.UI.form(
  4313. "学生评价",
  4314. $$("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 }), {
  4315. "id": "evaluateGM",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. // classGM
  4324. case "classGM": //班级管理
  4325. _formdiv = new U.UF.UI.form(
  4326. "班级管理",
  4327. $$("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 }), {
  4328. "id": "classGM",
  4329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4330. "onresize": function () { }
  4331. }, {
  4332. closecallback: function () { }
  4333. }, { "style": { "height": "36px" } }).form; //创建窗体
  4334. _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); } }
  4335. break;
  4336. // dataGM
  4337. case "dataGM":
  4338. _formdiv = new U.UF.UI.form(
  4339. "我的资料",
  4340. $$("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 }), {
  4341. "id": "dataGM",
  4342. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4343. "onresize": function () { }
  4344. }, {
  4345. closecallback: function () { }
  4346. }, { "style": { "height": "36px" } }).form; //创建窗体
  4347. _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); } }
  4348. break;
  4349. // caseGM
  4350. case "caseGM": //课程进展
  4351. _formdiv = new U.UF.UI.form(
  4352. "课程进展",
  4353. $$("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 }), {
  4354. "id": "caseGM",
  4355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4356. "onresize": function () { }
  4357. }, {
  4358. closecallback: function () { }
  4359. }, { "style": { "height": "36px" } }).form; //创建窗体
  4360. _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); } }
  4361. break;
  4362. // meterialGM
  4363. case "meterialGM": //素材库
  4364. _formdiv = new U.UF.UI.form(
  4365. "素材库",
  4366. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4367. "id": "meterialGM",
  4368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4369. "onresize": function () { }
  4370. }, {
  4371. closecallback: function () { }
  4372. }, { "style": { "height": "36px" } }).form; //创建窗体
  4373. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4374. break;
  4375. // evaluateSGM
  4376. case "evaluateSGM": //我的评价
  4377. _formdiv = new U.UF.UI.form(
  4378. "我的评价",
  4379. $$("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 }), {
  4380. "id": "evaluateSGM",
  4381. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4382. "onresize": function () { }
  4383. }, {
  4384. closecallback: function () { }
  4385. }, { "style": { "height": "36px" } }).form; //创建窗体
  4386. _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); } }
  4387. break;
  4388. case "jupyter": //jupyter
  4389. _formdiv = new U.UF.UI.form(
  4390. "jupyter",
  4391. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4392. "id": "jupyter",
  4393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4394. "onresize": function () { }
  4395. }, {
  4396. closecallback: function () { }
  4397. }, { "style": { "height": "36px" } }).form; //创建窗体
  4398. _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); } }
  4399. break;
  4400. case "number": //数字实验室
  4401. _formdiv = new U.UF.UI.form(
  4402. "数字实验室",
  4403. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4404. "id": "number",
  4405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4406. "onresize": function () { }
  4407. }, {
  4408. closecallback: function () { }
  4409. }, { "style": { "height": "36px" } }).form; //创建窗体
  4410. _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); } }
  4411. break;
  4412. case "studentCourse": //项目管理 学生
  4413. _formdiv = new U.UF.UI.form(
  4414. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4415. $$("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 }), {
  4416. "id": "studentCourse",
  4417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4418. "onresize": function () { }
  4419. }, {
  4420. closecallback: function () { }
  4421. }, { "style": { "height": "36px" } }).form; //创建窗体
  4422. _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); } }
  4423. break;
  4424. case "studentCourseS": //项目管理 老师
  4425. _formdiv = new U.UF.UI.form(
  4426. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4427. $$("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 }), {
  4428. "id": "studentCourseS",
  4429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4430. "onresize": function () { }
  4431. }, {
  4432. closecallback: function () { }
  4433. }, { "style": { "height": "36px" } }).form; //创建窗体
  4434. _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); } }
  4435. break;
  4436. case "studentIndex": //项目中心
  4437. _formdiv = new U.UF.UI.form(
  4438. "项目中心",
  4439. $$("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 }), {
  4440. "id": "studentIndex",
  4441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4442. "onresize": function () { }
  4443. }, {
  4444. closecallback: function () { }
  4445. }, { "style": { "height": "36px" } }).form; //创建窗体
  4446. _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); } }
  4447. break;
  4448. case "CaseDesignS":
  4449. _formdiv = new U.UF.UI.form(
  4450. "项目进展",
  4451. $$("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 }), {
  4452. "id": "case",
  4453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4454. "onresize": function () { }
  4455. }, {
  4456. closecallback: function () { }
  4457. }, { "style": { "height": "36px" } }).form; //创建窗体
  4458. _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); } }
  4459. break;
  4460. case "tcStudent": //腾讯学生管理
  4461. _formdiv = new U.UF.UI.form(
  4462. "学生管理",
  4463. $$("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 }), {
  4464. "id": "tcStudent",
  4465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4466. "onresize": function () { }
  4467. }, {
  4468. closecallback: function () { }
  4469. }, { "style": { "height": "36px" } }).form; //创建窗体
  4470. _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); } }
  4471. break;
  4472. case "tcSchool": //腾讯学校管理
  4473. _formdiv = new U.UF.UI.form(
  4474. "学校管理",
  4475. $$("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 }), {
  4476. "id": "tcSchool",
  4477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4478. "onresize": function () { }
  4479. }, {
  4480. closecallback: function () { }
  4481. }, { "style": { "height": "36px" } }).form; //创建窗体
  4482. _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); } }
  4483. break;
  4484. case "tcTeacher": //腾讯学校管理
  4485. _formdiv = new U.UF.UI.form(
  4486. "教师管理",
  4487. $$("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 }), {
  4488. "id": "tcTeacher",
  4489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4490. "onresize": function () { }
  4491. }, {
  4492. closecallback: function () { }
  4493. }, { "style": { "height": "36px" } }).form; //创建窗体
  4494. _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); } }
  4495. break;
  4496. case "tcData": //腾讯我的资料
  4497. _formdiv = new U.UF.UI.form(
  4498. "我的资料",
  4499. $$("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 }), {
  4500. "id": "tcData",
  4501. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4502. "onresize": function () { }
  4503. }, {
  4504. closecallback: function () { }
  4505. }, { "style": { "height": "36px" } }).form; //创建窗体
  4506. _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); } }
  4507. break;
  4508. case "tcNotice": //腾讯消息通知
  4509. _formdiv = new U.UF.UI.form(
  4510. "消息通知",
  4511. $$("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 }), {
  4512. "id": "tcNotice",
  4513. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { }
  4517. }, { "style": { "height": "36px" } }).form; //创建窗体
  4518. _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); } }
  4519. break;
  4520. case "myReport": //好友打开
  4521. _formdiv = new U.UF.UI.form(
  4522. "我的评价",
  4523. $$("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 }), {
  4524. "id": "myReport",
  4525. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4526. "onresize": function () { }
  4527. }, {
  4528. closecallback: function () { }
  4529. }, { "style": { "height": "36px" } }).form; //创建窗体
  4530. _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); } }
  4531. break;
  4532. case "learnAna": //好友打开
  4533. _formdiv = new U.UF.UI.form(
  4534. "学习分析",
  4535. $$("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 }), {
  4536. "id": "learnAna",
  4537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4538. "onresize": function () { }
  4539. }, {
  4540. closecallback: function () { }
  4541. }, { "style": { "height": "36px" } }).form; //创建窗体
  4542. _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); } }
  4543. break;
  4544. case "AIChat": //AI共创
  4545. _formdiv = new U.UF.UI.form(
  4546. "AI共创",
  4547. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4548. "id": "AIChat",
  4549. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4550. "onresize": function () { }
  4551. }, {
  4552. istop: true,
  4553. closecallback: function () { $("#aichat_icon").remove(); },
  4554. narrowcallback: function () {
  4555. if (!$("#aichat_icon")[0]) {
  4556. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4557. }
  4558. },
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _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); } }
  4561. break;
  4562. case "ainew": //AI共创
  4563. _formdiv = new U.UF.UI.form(
  4564. "AI协同",
  4565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4566. "id": "ainew",
  4567. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _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); } }
  4573. break;
  4574. case "gpt4": //gpt4
  4575. _formdiv = new U.UF.UI.form(
  4576. "AI助手",
  4577. $$("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 }), {
  4578. "id": "ainew",
  4579. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _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); } }
  4585. break;
  4586. case "aigpt": //gpt4
  4587. _formdiv = new U.UF.UI.form(
  4588. "AI助手+",
  4589. $$("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 }), {
  4590. "id": "ainew",
  4591. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _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); } }
  4597. break;
  4598. case "futureClass": //AI共创
  4599. _formdiv = new U.UF.UI.form(
  4600. "协同建构",
  4601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4602. "id": "synergyCourse",
  4603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () {
  4607. $("iframe", _formdiv)[0].contentWindow.loginout();
  4608. }
  4609. }, { "style": { "height": "36px" } }).form; //创建窗体
  4610. _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); } }
  4611. break;
  4612. case "aiagent": //ai agent
  4613. _formdiv = new U.UF.UI.form(
  4614. "AI Agent",
  4615. $$("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" }), {
  4616. "id": "AIAgent",
  4617. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4618. "onresize": function () { }
  4619. }, {
  4620. closecallback: function () { }
  4621. }, { "style": { "height": "36px" } }).form; //创建窗体
  4622. _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); } }
  4623. break;
  4624. case "dataBoard": //数据看板
  4625. _formdiv = new U.UF.UI.form(
  4626. "数据看板",
  4627. $$("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 }), {
  4628. "id": "dataBoard",
  4629. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4630. "onresize": function () { }
  4631. }, {
  4632. closecallback: function () { }
  4633. }, { "style": { "height": "36px" } }).form; //创建窗体
  4634. _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); } }
  4635. break;
  4636. case "dataBoardSies": //数据融合
  4637. _formdiv = new U.UF.UI.form(
  4638. "数据融合",
  4639. $$("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 }), {
  4640. "id": "dataBoardSies",
  4641. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4642. "onresize": function () { }
  4643. }, {
  4644. closecallback: function () { }
  4645. }, { "style": { "height": "36px" } }).form; //创建窗体
  4646. _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); } }
  4647. break;
  4648. case "dataBoardNew": //数据看板
  4649. _formdiv = new U.UF.UI.form(
  4650. "综合看板",
  4651. $$("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 }), {
  4652. "id": "dataBoardNew",
  4653. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4654. "onresize": function () { }
  4655. }, {
  4656. closecallback: function () { }
  4657. }, { "style": { "height": "36px" } }).form; //创建窗体
  4658. _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); } }
  4659. break;
  4660. case "AIAnalyse": //AI共创
  4661. _formdiv = new U.UF.UI.form(
  4662. "AI分析",
  4663. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4664. "id": "AIAnalyse",
  4665. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4666. "onresize": function () { }
  4667. }, {
  4668. closecallback: function () { }
  4669. }, { "style": { "height": "36px" } }).form; //创建窗体
  4670. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4671. break;
  4672. case "studioCourse": //AI共创
  4673. _formdiv = new U.UF.UI.form(
  4674. "工作管理",
  4675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4676. "id": "studioCourse",
  4677. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, { "style": { "height": "36px" } }).form; //创建窗体
  4682. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4683. break;
  4684. case "studioIndex": //AI共创
  4685. _formdiv = new U.UF.UI.form(
  4686. "工作中心",
  4687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4688. "id": "studioIndex",
  4689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //创建窗体
  4694. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4695. break;
  4696. case "source":
  4697. _formdiv = new U.UF.UI.form(
  4698. "教学资源",
  4699. $$("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 }), {
  4700. "id": "source",
  4701. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, { "style": { "height": "36px" } }).form; //创建窗体
  4706. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4707. break;
  4708. case "testTeacher":
  4709. _formdiv = new U.UF.UI.form(
  4710. "评测管理",
  4711. $$("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 }), {
  4712. "id": "testTeacher",
  4713. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //创建窗体
  4718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4719. break;
  4720. case "testStudent":
  4721. _formdiv = new U.UF.UI.form(
  4722. "评测中心",
  4723. $$("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 }), {
  4724. "id": "testStudent",
  4725. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //创建窗体
  4730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4731. break;
  4732. case "testTeacherSies":
  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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4736. "id": "testTeacherSies",
  4737. "style": { "width": "80%", "height": "80%", "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/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4743. break;
  4744. case "testStudentSies":
  4745. _formdiv = new U.UF.UI.form(
  4746. "教师中心",
  4747. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4748. "id": "testStudentSies",
  4749. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4750. "onresize": function () { }
  4751. }, {
  4752. closecallback: function () { }
  4753. }, { "style": { "height": "36px" } }).form; //创建窗体
  4754. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教师中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4755. break;
  4756. }
  4757. //U.MD.D.I.openClick(str);
  4758. //如果有任务栏信息
  4759. if (_taskbar) {
  4760. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4761. }
  4762. }
  4763. // U.MD.D.I.openClick = function(str){
  4764. // var click = '';
  4765. // switch(str){
  4766. // case 'friend':
  4767. // click = '我的好友';
  4768. // break;
  4769. // case 'domain':
  4770. // click = '域名管理';
  4771. // break;
  4772. // case 'disk':
  4773. // click = '我的云盘';
  4774. // break;
  4775. // case 'word':
  4776. // click = 'Word';
  4777. // break;
  4778. // case 'excel':
  4779. // click = 'Execl';
  4780. // break;
  4781. // case 'txt':
  4782. // click = '文本文件';
  4783. // break;
  4784. // case 'lookupFriend':
  4785. // click = '查找好友';
  4786. // break;
  4787. // case 'ftp':
  4788. // click = 'FTP';
  4789. // break;
  4790. // case 'group':
  4791. // click = '群组';
  4792. // break;
  4793. // case 'set':
  4794. // click = '我的设置';
  4795. // break;
  4796. // case 'systemSet':
  4797. // click = '系统设置';
  4798. // break;
  4799. // case 'boomYun':
  4800. // click = '互联办公';
  4801. // break;
  4802. // case 'xz':
  4803. // click = '云端下载';
  4804. // break;
  4805. // case 'client':
  4806. // click = '有思浏览器';
  4807. // break;
  4808. // case 'backEndProgramming':
  4809. // click = '在线后台编程';
  4810. // break;
  4811. // case 'frontEndProgramming':
  4812. // click = '在线前端编程';
  4813. // break;
  4814. // default: break;
  4815. // }
  4816. // if(U.MD.D.I.Ip && click){
  4817. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4818. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4819. // })
  4820. // }
  4821. // }
  4822. /**
  4823. *函数作用:ajax简易函数,使用post格式
  4824. *@param url {data} 后台地址
  4825. *@param data {data} 参数json
  4826. *@param fn {data} 回调函数
  4827. *
  4828. */
  4829. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4830. // var xhr = new XMLHttpRequest();
  4831. // xhr.open("GET",url,true);
  4832. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4833. // xhr.onreadystatechange = function(){
  4834. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4835. // fn.call(this,xhr.responseText);
  4836. // }
  4837. // };
  4838. // xhr.send();
  4839. // }
  4840. /*判断是否是内网IP*/
  4841. // U.MD.D.I.isInnerIPFn = function(str){
  4842. // var curPageUrl = str;
  4843. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4844. // curPageUrl =curPageUrl.replace(reg1,'');
  4845. // // console.log('curPageUrl-1 '+curPageUrl);
  4846. // var reg2 = /\:+/g;//替换冒号为一点
  4847. // curPageUrl =curPageUrl.replace(reg2,'.');
  4848. // // console.log('curPageUrl-2 '+curPageUrl);
  4849. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4850. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4851. // if(curPageUrl[2] != '16'){
  4852. // return ipAddress;
  4853. // }else{
  4854. // return false;
  4855. // }
  4856. // }
  4857. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4858. // //compatibility for firefox and chrome
  4859. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4860. // var pc = new myPeerConnection({
  4861. // iceServers: []
  4862. // }),
  4863. // noop = function() {},
  4864. // localIPs = {},
  4865. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4866. // key;
  4867. // function iterateIP(ip) {
  4868. // if (!localIPs[ip]) onNewIP(ip);
  4869. // localIPs[ip] = true;
  4870. // }
  4871. // //create a bogus data channel
  4872. // pc.createDataChannel("");
  4873. // // create offer and set local description
  4874. // pc.createOffer().then(function(sdp) {
  4875. // sdp.sdp.split('\n').forEach(function(line) {
  4876. // if (line.indexOf('candidate') < 0) return;
  4877. // line.match(ipRegex).forEach(iterateIP);
  4878. // });
  4879. // pc.setLocalDescription(sdp, noop, noop);
  4880. // }).catch(function(reason) {
  4881. // // An error occurred, so handle the failure to connect
  4882. // });
  4883. // //sten for candidate events
  4884. // pc.onicecandidate = function(ice) {
  4885. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4886. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4887. // };
  4888. // }
  4889. // U.MD.D.I.getUserIpBool = function(callback){
  4890. // U.MD.D.I.getUserIP(function(ip){
  4891. // alert("Got IP! :" + ip);
  4892. // });
  4893. //}
  4894. //#endregion
  4895. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4896. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4897. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4898. _userinfo = US.userInfo, //登录用户信息
  4899. _userid = US.userInfo.userid //登录用户id
  4900. let _iframe;
  4901. let _cid = cid,
  4902. _stage = stage,
  4903. _task = task,
  4904. _tool = tool;
  4905. var _jie = $$("div", {
  4906. "style": {
  4907. "position": "absolute",
  4908. "bottom": "50px",
  4909. "right": "50px",
  4910. "zIndex": "9999",
  4911. "backgroundColor": "#2268bc",
  4912. "color": "#fff",
  4913. "padding": "12px 20px",
  4914. "cursor": "pointer",
  4915. "borderRadius": "4px",
  4916. },
  4917. "innerHTML": "提交作业"
  4918. })
  4919. let aTool = ''
  4920. let _loading = document.createElement('div')
  4921. _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;"
  4922. // _loading.id = "";
  4923. let _lchild = document.createElement('div')
  4924. let _limg = document.createElement('img')
  4925. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4926. _limg.style = "width: 26px;margin-right: 10px;"
  4927. _lchild.appendChild(_limg)
  4928. let _lspan = document.createElement('span')
  4929. _lspan.innerHTML = "上传中..."
  4930. _lchild.appendChild(_lspan)
  4931. _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%);"
  4932. _loading.appendChild(_lchild)
  4933. var _box = $$('div', {
  4934. "style": {
  4935. "position": "relative",
  4936. "width": "100%",
  4937. "height": "100%",
  4938. },
  4939. })
  4940. _box.appendChild(_loading)
  4941. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4942. switch (str) {
  4943. case "whiteboard":
  4944. aTool = 1;
  4945. _iframe = $$("iframe", {
  4946. "frameborder": "no",
  4947. "border": "0",
  4948. "scrolling ": "no",
  4949. "style": {
  4950. "cssText": "border:0;width:100%;height:100%"
  4951. },
  4952. "src": "https://iwb.cocorobo.cn/"
  4953. })
  4954. _box.appendChild(_iframe);
  4955. _box.appendChild(_jie);
  4956. _formdiv = new U.UF.UI.form(
  4957. "电子白板",
  4958. _box, {
  4959. "id": "whiteboard" + cid + stage + task + tool,
  4960. "style": {
  4961. "width": "90%",
  4962. "height": "90%",
  4963. "overflow": 'hidden'
  4964. },
  4965. "onresize": function () { }
  4966. }, {
  4967. closecallback: function () { }
  4968. }, {
  4969. "style": {
  4970. "height": "36px"
  4971. }
  4972. }).form; //创建窗体
  4973. _taskbar = {
  4974. "id": str + _formdiv.id,
  4975. "style": {
  4976. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4977. },
  4978. "name": "电子白板",
  4979. "forms": _formdiv,
  4980. "click": function () {
  4981. U.MD.D.I.openApplication(str, obj, info);
  4982. }
  4983. }
  4984. break;
  4985. case "mind":
  4986. aTool = 3;
  4987. _iframe = $$("iframe", {
  4988. "frameborder": "no",
  4989. "border": "0",
  4990. "scrolling ": "no",
  4991. "style": {
  4992. "cssText": "border:0;width:100%;height:100%"
  4993. },
  4994. "src": "/kityminder-editor/dist/index.html"
  4995. })
  4996. _box.appendChild(_iframe);
  4997. _box.appendChild(_jie);
  4998. _formdiv = new U.UF.UI.form(
  4999. "思维导图",
  5000. _box, { //"/jsmind/example/demo.html"
  5001. "id": "mind" + cid + stage + task + tool,
  5002. "style": {
  5003. "width": "90%",
  5004. "height": "90%",
  5005. "overflow": 'hidden'
  5006. },
  5007. "onresize": function () { }
  5008. }, {
  5009. closecallback: function () { }
  5010. }, {
  5011. "style": {
  5012. "height": "36px"
  5013. }
  5014. }).form; //创建窗体
  5015. _taskbar = {
  5016. "id": str + _formdiv.id,
  5017. "style": {
  5018. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5019. },
  5020. "name": "思维导图",
  5021. "forms": _formdiv,
  5022. "click": function () {
  5023. U.MD.D.I.openApplication(str, obj, info);
  5024. }
  5025. }
  5026. break;
  5027. case "MindMap":
  5028. aTool = 3;
  5029. _iframe = $$("iframe", {
  5030. "frameborder": "no",
  5031. "border": "0",
  5032. "scrolling ": "no",
  5033. "style": {
  5034. "cssText": "border:0;width:100%;height:100%"
  5035. },
  5036. "src": "//cloud.cocorobo.cn/mind/"
  5037. })
  5038. _box.appendChild(_iframe);
  5039. _box.appendChild(_jie);
  5040. _formdiv = new U.UF.UI.form(
  5041. "思维导图",
  5042. _box, { //"/jsmind/example/demo.html"
  5043. "id": "mind" + cid + stage + task + tool,
  5044. "style": {
  5045. "width": "90%",
  5046. "height": "90%",
  5047. "overflow": 'hidden'
  5048. },
  5049. "onresize": function () { }
  5050. }, {
  5051. closecallback: function () { }
  5052. }, {
  5053. "style": {
  5054. "height": "36px"
  5055. }
  5056. }).form; //创建窗体
  5057. _taskbar = {
  5058. "id": str + _formdiv.id,
  5059. "style": {
  5060. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5061. },
  5062. "name": "思维导图",
  5063. "forms": _formdiv,
  5064. "click": function () {
  5065. U.MD.D.I.openApplication(str, obj, info);
  5066. }
  5067. }
  5068. break;
  5069. case "doc":
  5070. aTool = 6;
  5071. _iframe = $$("iframe", {
  5072. "frameborder": "no",
  5073. "border": "0",
  5074. "scrolling ": "no",
  5075. "style": {
  5076. "cssText": "border:0;width:100%;height:100%"
  5077. },
  5078. "src": "/Office/Word/WordEditArea.htm"
  5079. })
  5080. _box.appendChild(_iframe);
  5081. _box.appendChild(_jie);
  5082. _formdiv = new U.UF.UI.form(
  5083. "协同文档",
  5084. _box, {
  5085. "id": "doc" + cid + stage + task + tool,
  5086. "style": {
  5087. "width": "90%",
  5088. "height": "90%",
  5089. "overflow": 'hidden'
  5090. },
  5091. "onresize": function () { }
  5092. }, {
  5093. closecallback: function () { }
  5094. }, {
  5095. "style": {
  5096. "height": "36px"
  5097. }
  5098. }).form; //创建窗体
  5099. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5100. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5101. })
  5102. _taskbar = {
  5103. "id": str + _formdiv.id,
  5104. "style": {
  5105. "backgroundImage": "url(/img/icon/doc.png)"
  5106. },
  5107. "name": "协同文档",
  5108. "forms": _formdiv,
  5109. "click": function () {
  5110. U.MD.D.I.openApplication(str, obj, info);
  5111. }
  5112. }
  5113. break;
  5114. case "mindNetwork": //好友打开
  5115. aTool = 7;
  5116. _iframe = $$("iframe", {
  5117. "webkitallowfullscreen": "",
  5118. "mozallowfullscreen": "",
  5119. "allowfullscreen": "",
  5120. "frameborder": "no",
  5121. "border": "0",
  5122. "scrolling ": "no",
  5123. "style": {
  5124. "cssText": "border:0; width:100%; height:100%;"
  5125. },
  5126. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5127. })
  5128. _box.appendChild(_iframe);
  5129. _box.appendChild(_jie);
  5130. _formdiv = new U.UF.UI.form(
  5131. "思维网格",
  5132. _box, {
  5133. "id": "mindNetwork" + cid + stage + task + tool,
  5134. "style": {
  5135. "width": "90%",
  5136. "height": "90%",
  5137. "overflow": 'hidden'
  5138. },
  5139. "onresize": function () { }
  5140. }, {
  5141. closecallback: function () { }
  5142. }, {
  5143. "style": {
  5144. "height": "36px"
  5145. }
  5146. }).form; //创建窗体
  5147. _taskbar = {
  5148. "id": str + _formdiv.id,
  5149. "style": {
  5150. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5151. },
  5152. "name": "思维网格",
  5153. "forms": _formdiv,
  5154. "click": function () {
  5155. U.MD.D.I.openApplication(str, obj, info);
  5156. }
  5157. }
  5158. break;
  5159. case "courseDesign":
  5160. _iframe = $$("iframe", {
  5161. "webkitallowfullscreen": "",
  5162. "mozallowfullscreen": "",
  5163. "allowfullscreen": "",
  5164. "frameborder": "no",
  5165. "border": "0",
  5166. "scrolling ": "no",
  5167. "style": {
  5168. "cssText": "border:0; width:100%; height:100%;"
  5169. },
  5170. "src": "/course-design-vue"
  5171. })
  5172. _box.appendChild(_iframe);
  5173. _box.appendChild(_jie);
  5174. _formdiv = new U.UF.UI.form(
  5175. "项目设计",
  5176. _box, {
  5177. "id": "courseDesign" + cid + stage + task + tool,
  5178. "style": {
  5179. "width": "90%",
  5180. "height": "90%",
  5181. "overflow": 'hidden'
  5182. },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, {
  5187. "style": {
  5188. "height": "36px"
  5189. }
  5190. }).form; //创建窗体
  5191. _taskbar = {
  5192. "id": str + _formdiv.id,
  5193. "style": {
  5194. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5195. },
  5196. "name": "项目设计",
  5197. "forms": _formdiv,
  5198. "click": function () {
  5199. U.MD.D.I.openApplication(str, obj, info);
  5200. }
  5201. }
  5202. break;
  5203. }
  5204. const script1 = document.createElement("script");
  5205. script1.type = "text/javascript";
  5206. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5207. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5208. const script2 = document.createElement("script");
  5209. script2.type = "text/javascript";
  5210. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5211. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5212. const script3 = document.createElement("script");
  5213. script3.type = "text/javascript";
  5214. script3.charset = "UTF-8";
  5215. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5216. const script4 = document.createElement("script");
  5217. script4.type = "text/javascript";
  5218. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5219. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5220. if (_iframe) {
  5221. if (str == 'doc') {
  5222. _iframe = _formdiv.querySelector('iframe')
  5223. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5224. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5225. _iframe.contentWindow.document.body.appendChild(script1);
  5226. _iframe.contentWindow.document.body.appendChild(script2);
  5227. // _iframe.contentWindow.document.body.appendChild(script3);
  5228. _iframe.contentWindow.document.body.appendChild(script4);
  5229. })
  5230. if (onloadListener) {
  5231. _iframe.contentDocument.location.reload()
  5232. } else {
  5233. _iframe.contentDocument.location.reload()
  5234. }
  5235. } else if (str == 'courseDesign') {
  5236. U.UF.DL.iframeLoad(_iframe, function () {
  5237. // _iframe.contentWindow.U.MD.O.W.load();
  5238. // _iframe.contentWindow.document.body.appendChild(script1);
  5239. _iframe.contentWindow.document.body.appendChild(script2);
  5240. _iframe.contentWindow.document.body.appendChild(script4);
  5241. })
  5242. } else if (str == 'mind') {
  5243. _iframe = _formdiv.querySelector('iframe')
  5244. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5245. //
  5246. _iframe.contentWindow.document.body.appendChild(script1);
  5247. _iframe.contentWindow.document.body.appendChild(script2);
  5248. _iframe.contentWindow.document.body.appendChild(script4);
  5249. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5250. })
  5251. if (onloadListener) {
  5252. _iframe.contentDocument.location.reload()
  5253. } else {
  5254. _iframe.contentDocument.location.reload()
  5255. }
  5256. } else if (str == 'whiteboard') {
  5257. _iframe = _formdiv.querySelector('iframe')
  5258. let onloadListener = _iframe.onload = () => {
  5259. _iframe.contentWindow.document.body.appendChild(script1);
  5260. _iframe.contentWindow.document.body.appendChild(script2);
  5261. _iframe.contentWindow.document.body.appendChild(script4);
  5262. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5263. };
  5264. if (onloadListener) {
  5265. _iframe.contentDocument.location.reload()
  5266. } else {
  5267. _iframe.contentDocument.location.reload()
  5268. }
  5269. } else {
  5270. _iframe.onload = () => {
  5271. _iframe.contentWindow.document.body.appendChild(script1);
  5272. _iframe.contentWindow.document.body.appendChild(script2);
  5273. // _iframe.contentWindow.document.body.appendChild(script3);
  5274. _iframe.contentWindow.document.body.appendChild(script4);
  5275. };
  5276. }
  5277. _jie.onclick = async () => {
  5278. let text = ''
  5279. if (aTool == 1) {
  5280. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5281. } else if (aTool == 6) {
  5282. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5283. } else if (aTool == 3) {
  5284. text = await U.MD.D.I.getEditorContent(_iframe);
  5285. }
  5286. _loading.style.display = 'flex'
  5287. console.log(_loading);
  5288. var _ajs = _iframe.contentWindow.document.createElement("script");
  5289. _ajs.type = "text/javascript";
  5290. _ajs.innerHTML =
  5291. // 'console.log(' + _loading + ');\n' +
  5292. 'var _js = document.createElement("script");\n' +
  5293. '_js.type="text/javascript";\n' +
  5294. '_js.charset="UTF-8";\n' +
  5295. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5296. "_js.onload = function(){\n" +
  5297. ' var a = document.getElementsByTagName("img")\n' +
  5298. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5299. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5300. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5301. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5302. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5303. "beforeUpload_shishi(file," +
  5304. "'" +
  5305. _userid +
  5306. "'" +
  5307. ", " +
  5308. "'" +
  5309. _cid +
  5310. "'" +
  5311. ", " +
  5312. "'" +
  5313. _stage +
  5314. "'" +
  5315. ", " +
  5316. "'" +
  5317. _task +
  5318. "'" +
  5319. ", " +
  5320. "'" +
  5321. _tool +
  5322. "'" +
  5323. ", " +
  5324. "'" +
  5325. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5326. "'" +
  5327. ", " +
  5328. "'" +
  5329. aTool +
  5330. "'" +
  5331. ", " +
  5332. "`" +
  5333. text +
  5334. "`" +
  5335. ")\n" +
  5336. " });\n" +
  5337. "}\n" +
  5338. "document.head.appendChild(_js);\n";
  5339. _iframe.contentWindow.document.head.appendChild(_ajs);
  5340. }
  5341. }
  5342. //U.MD.D.I.openClick(str);
  5343. //如果有任务栏信息
  5344. // if (_taskbar) {
  5345. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5346. // }
  5347. }
  5348. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5349. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5350. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5351. _userinfo = US.userInfo, //登录用户信息
  5352. _userid = US.userInfo.userid //登录用户id
  5353. let _iframe;
  5354. let _cid = cid,
  5355. _stage = stage,
  5356. _task = task,
  5357. _tool = tool;
  5358. var _jie = $$("div", {
  5359. "style": {
  5360. "position": "absolute",
  5361. "bottom": "50px",
  5362. "right": "50px",
  5363. "zIndex": "9999",
  5364. "backgroundColor": "#2268bc",
  5365. "color": "#fff",
  5366. "padding": "12px 20px",
  5367. "cursor": "pointer",
  5368. "borderRadius": "4px",
  5369. },
  5370. "innerHTML": "提交作业"
  5371. })
  5372. let aTool = ''
  5373. let _loading = document.createElement('div')
  5374. _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;"
  5375. // _loading.id = "";
  5376. let _lchild = document.createElement('div')
  5377. let _limg = document.createElement('img')
  5378. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5379. _limg.style = "width: 26px;margin-right: 10px;"
  5380. _lchild.appendChild(_limg)
  5381. let _lspan = document.createElement('span')
  5382. _lspan.innerHTML = "上传中..."
  5383. _lchild.appendChild(_lspan)
  5384. _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%);"
  5385. _loading.appendChild(_lchild)
  5386. var _box = $$('div', {
  5387. "style": {
  5388. "position": "relative",
  5389. "width": "100%",
  5390. "height": "100%",
  5391. },
  5392. })
  5393. _box.appendChild(_loading)
  5394. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5395. switch (str) {
  5396. case "whiteboard":
  5397. aTool = 1;
  5398. _iframe = $$("iframe", {
  5399. "frameborder": "no",
  5400. "border": "0",
  5401. "scrolling ": "no",
  5402. "style": {
  5403. "cssText": "border:0;width:100%;height:100%"
  5404. },
  5405. "src": "https://iwb.cocorobo.cn/"
  5406. })
  5407. _box.appendChild(_iframe);
  5408. _box.appendChild(_jie);
  5409. _formdiv = new U.UF.UI.form(
  5410. "电子白板",
  5411. _box, {
  5412. "id": "whiteboard" + cid + stage + task + tool,
  5413. "style": {
  5414. "width": "90%",
  5415. "height": "90%",
  5416. "overflow": 'hidden'
  5417. },
  5418. "onresize": function () { }
  5419. }, {
  5420. closecallback: function () { }
  5421. }, {
  5422. "style": {
  5423. "height": "36px"
  5424. }
  5425. }).form; //创建窗体
  5426. _taskbar = {
  5427. "id": str + _formdiv.id,
  5428. "style": {
  5429. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5430. },
  5431. "name": "电子白板",
  5432. "forms": _formdiv,
  5433. "click": function () {
  5434. U.MD.D.I.openApplication(str, obj, info);
  5435. }
  5436. }
  5437. break;
  5438. case "mind":
  5439. aTool = 3;
  5440. _iframe = $$("iframe", {
  5441. "frameborder": "no",
  5442. "border": "0",
  5443. "scrolling ": "no",
  5444. "style": {
  5445. "cssText": "border:0;width:100%;height:100%"
  5446. },
  5447. "src": "/kityminder-editor/dist/index.html"
  5448. })
  5449. _box.appendChild(_iframe);
  5450. _box.appendChild(_jie);
  5451. _formdiv = new U.UF.UI.form(
  5452. "思维导图",
  5453. _box, { //"/jsmind/example/demo.html"
  5454. "id": "mind" + cid + stage + task + tool,
  5455. "style": {
  5456. "width": "90%",
  5457. "height": "90%",
  5458. "overflow": 'hidden'
  5459. },
  5460. "onresize": function () { }
  5461. }, {
  5462. closecallback: function () { }
  5463. }, {
  5464. "style": {
  5465. "height": "36px"
  5466. }
  5467. }).form; //创建窗体
  5468. _taskbar = {
  5469. "id": str + _formdiv.id,
  5470. "style": {
  5471. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5472. },
  5473. "name": "思维导图",
  5474. "forms": _formdiv,
  5475. "click": function () {
  5476. U.MD.D.I.openApplication(str, obj, info);
  5477. }
  5478. }
  5479. break;
  5480. case "MindMap":
  5481. aTool = 3;
  5482. _iframe = $$("iframe", {
  5483. "frameborder": "no",
  5484. "border": "0",
  5485. "scrolling ": "no",
  5486. "style": {
  5487. "cssText": "border:0;width:100%;height:100%"
  5488. },
  5489. "src": "//cloud.cocorobo.cn/mind/"
  5490. })
  5491. _box.appendChild(_iframe);
  5492. _box.appendChild(_jie);
  5493. _formdiv = new U.UF.UI.form(
  5494. "思维导图",
  5495. _box, { //"/jsmind/example/demo.html"
  5496. "id": "mind" + cid + stage + task + tool,
  5497. "style": {
  5498. "width": "90%",
  5499. "height": "90%",
  5500. "overflow": 'hidden'
  5501. },
  5502. "onresize": function () { }
  5503. }, {
  5504. closecallback: function () { }
  5505. }, {
  5506. "style": {
  5507. "height": "36px"
  5508. }
  5509. }).form; //创建窗体
  5510. _taskbar = {
  5511. "id": str + _formdiv.id,
  5512. "style": {
  5513. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5514. },
  5515. "name": "思维导图",
  5516. "forms": _formdiv,
  5517. "click": function () {
  5518. U.MD.D.I.openApplication(str, obj, info);
  5519. }
  5520. }
  5521. break;
  5522. case "doc":
  5523. aTool = 6;
  5524. _iframe = $$("iframe", {
  5525. "frameborder": "no",
  5526. "border": "0",
  5527. "scrolling ": "no",
  5528. "style": {
  5529. "cssText": "border:0;width:100%;height:100%"
  5530. },
  5531. "src": "/Office/Word/WordEditArea.htm"
  5532. })
  5533. _box.appendChild(_iframe);
  5534. _box.appendChild(_jie);
  5535. _formdiv = new U.UF.UI.form(
  5536. "协同文档",
  5537. _box, {
  5538. "id": "doc" + cid + stage + task + tool,
  5539. "style": {
  5540. "width": "90%",
  5541. "height": "90%",
  5542. "overflow": 'hidden'
  5543. },
  5544. "onresize": function () { }
  5545. }, {
  5546. closecallback: function () { }
  5547. }, {
  5548. "style": {
  5549. "height": "36px"
  5550. }
  5551. }).form; //创建窗体
  5552. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5553. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5554. })
  5555. _taskbar = {
  5556. "id": str + _formdiv.id,
  5557. "style": {
  5558. "backgroundImage": "url(/img/icon/doc.png)"
  5559. },
  5560. "name": "协同文档",
  5561. "forms": _formdiv,
  5562. "click": function () {
  5563. U.MD.D.I.openApplication(str, obj, info);
  5564. }
  5565. }
  5566. break;
  5567. case "mindNetwork": //好友打开
  5568. aTool = 7;
  5569. _iframe = $$("iframe", {
  5570. "webkitallowfullscreen": "",
  5571. "mozallowfullscreen": "",
  5572. "allowfullscreen": "",
  5573. "frameborder": "no",
  5574. "border": "0",
  5575. "scrolling ": "no",
  5576. "style": {
  5577. "cssText": "border:0; width:100%; height:100%;"
  5578. },
  5579. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5580. })
  5581. _box.appendChild(_iframe);
  5582. _box.appendChild(_jie);
  5583. _formdiv = new U.UF.UI.form(
  5584. "思维网格",
  5585. _box, {
  5586. "id": "mindNetwork" + cid + stage + task + tool,
  5587. "style": {
  5588. "width": "90%",
  5589. "height": "90%",
  5590. "overflow": 'hidden'
  5591. },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, {
  5596. "style": {
  5597. "height": "36px"
  5598. }
  5599. }).form; //创建窗体
  5600. _taskbar = {
  5601. "id": str + _formdiv.id,
  5602. "style": {
  5603. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5604. },
  5605. "name": "思维网格",
  5606. "forms": _formdiv,
  5607. "click": function () {
  5608. U.MD.D.I.openApplication(str, obj, info);
  5609. }
  5610. }
  5611. break;
  5612. case "courseDesign":
  5613. _iframe = $$("iframe", {
  5614. "webkitallowfullscreen": "",
  5615. "mozallowfullscreen": "",
  5616. "allowfullscreen": "",
  5617. "frameborder": "no",
  5618. "border": "0",
  5619. "scrolling ": "no",
  5620. "style": {
  5621. "cssText": "border:0; width:100%; height:100%;"
  5622. },
  5623. "src": "/course-design-vue"
  5624. })
  5625. _box.appendChild(_iframe);
  5626. _box.appendChild(_jie);
  5627. _formdiv = new U.UF.UI.form(
  5628. "项目设计",
  5629. _box, {
  5630. "id": "courseDesign" + cid + stage + task + tool,
  5631. "style": {
  5632. "width": "90%",
  5633. "height": "90%",
  5634. "overflow": 'hidden'
  5635. },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, {
  5640. "style": {
  5641. "height": "36px"
  5642. }
  5643. }).form; //创建窗体
  5644. _taskbar = {
  5645. "id": str + _formdiv.id,
  5646. "style": {
  5647. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5648. },
  5649. "name": "项目设计",
  5650. "forms": _formdiv,
  5651. "click": function () {
  5652. U.MD.D.I.openApplication(str, obj, info);
  5653. }
  5654. }
  5655. break;
  5656. }
  5657. const script1 = document.createElement("script");
  5658. script1.type = "text/javascript";
  5659. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5660. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5661. const script2 = document.createElement("script");
  5662. script2.type = "text/javascript";
  5663. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5664. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5665. const script3 = document.createElement("script");
  5666. script3.type = "text/javascript";
  5667. script3.charset = "UTF-8";
  5668. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5669. const script4 = document.createElement("script");
  5670. script4.type = "text/javascript";
  5671. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5672. script4.src = window.origin + "/js/Common/jietu2E.js";
  5673. if (_iframe) {
  5674. if (str == 'doc') {
  5675. _iframe = _formdiv.querySelector('iframe')
  5676. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5677. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5678. _iframe.contentWindow.document.body.appendChild(script1);
  5679. _iframe.contentWindow.document.body.appendChild(script2);
  5680. // _iframe.contentWindow.document.body.appendChild(script3);
  5681. _iframe.contentWindow.document.body.appendChild(script4);
  5682. })
  5683. if (onloadListener) {
  5684. _iframe.contentDocument.location.reload()
  5685. } else {
  5686. _iframe.contentDocument.location.reload()
  5687. }
  5688. } else if (str == 'courseDesign') {
  5689. U.UF.DL.iframeLoad(_iframe, function () {
  5690. // _iframe.contentWindow.U.MD.O.W.load();
  5691. // _iframe.contentWindow.document.body.appendChild(script1);
  5692. _iframe.contentWindow.document.body.appendChild(script2);
  5693. _iframe.contentWindow.document.body.appendChild(script4);
  5694. })
  5695. } else if (str == 'mind') {
  5696. _iframe = _formdiv.querySelector('iframe')
  5697. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5698. //
  5699. _iframe.contentWindow.document.body.appendChild(script1);
  5700. _iframe.contentWindow.document.body.appendChild(script2);
  5701. _iframe.contentWindow.document.body.appendChild(script4);
  5702. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5703. })
  5704. if (onloadListener) {
  5705. _iframe.contentDocument.location.reload()
  5706. } else {
  5707. _iframe.contentDocument.location.reload()
  5708. }
  5709. } else if (str == 'whiteboard') {
  5710. _iframe = _formdiv.querySelector('iframe')
  5711. let onloadListener = _iframe.onload = () => {
  5712. _iframe.contentWindow.document.body.appendChild(script1);
  5713. _iframe.contentWindow.document.body.appendChild(script2);
  5714. _iframe.contentWindow.document.body.appendChild(script4);
  5715. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5716. };
  5717. if (onloadListener) {
  5718. _iframe.contentDocument.location.reload()
  5719. } else {
  5720. _iframe.contentDocument.location.reload()
  5721. }
  5722. } else {
  5723. _iframe.onload = () => {
  5724. _iframe.contentWindow.document.body.appendChild(script1);
  5725. _iframe.contentWindow.document.body.appendChild(script2);
  5726. // _iframe.contentWindow.document.body.appendChild(script3);
  5727. _iframe.contentWindow.document.body.appendChild(script4);
  5728. };
  5729. }
  5730. _jie.onclick = async () => {
  5731. let text = ''
  5732. if (aTool == 1) {
  5733. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5734. } else if (aTool == 6) {
  5735. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5736. } else if (aTool == 3) {
  5737. text = await U.MD.D.I.getEditorContent(_iframe);
  5738. }
  5739. _loading.style.display = 'flex'
  5740. console.log(_loading);
  5741. var _ajs = _iframe.contentWindow.document.createElement("script");
  5742. _ajs.type = "text/javascript";
  5743. _ajs.innerHTML =
  5744. // 'console.log(' + _loading + ');\n' +
  5745. 'var _js = document.createElement("script");\n' +
  5746. '_js.type="text/javascript";\n' +
  5747. '_js.charset="UTF-8";\n' +
  5748. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5749. "_js.onload = function(){\n" +
  5750. ' var a = document.getElementsByTagName("img")\n' +
  5751. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5752. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5753. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5754. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5755. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5756. "beforeUpload_shishi(file," +
  5757. "'" +
  5758. _userid +
  5759. "'" +
  5760. ", " +
  5761. "'" +
  5762. _cid +
  5763. "'" +
  5764. ", " +
  5765. "'" +
  5766. _stage +
  5767. "'" +
  5768. ", " +
  5769. "'" +
  5770. _task +
  5771. "'" +
  5772. ", " +
  5773. "'" +
  5774. _tool +
  5775. "'" +
  5776. ", " +
  5777. "'" +
  5778. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5779. "'" +
  5780. ", " +
  5781. "'" +
  5782. aTool +
  5783. "'" +
  5784. ", " +
  5785. "`" +
  5786. text +
  5787. "`" +
  5788. ")\n" +
  5789. " });\n" +
  5790. "}\n" +
  5791. "document.head.appendChild(_js);\n";
  5792. _iframe.contentWindow.document.head.appendChild(_ajs);
  5793. }
  5794. }
  5795. //U.MD.D.I.openClick(str);
  5796. //如果有任务栏信息
  5797. // if (_taskbar) {
  5798. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5799. // }
  5800. }
  5801. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5802. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5803. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5804. _userid = student.userid, //登录用户id
  5805. _username = student.student //用户名字
  5806. let _iframe;
  5807. let _cid = cid,
  5808. _stage = stage,
  5809. _task = task,
  5810. _tool = tool;
  5811. var _jie = $$("div", {
  5812. "style": {
  5813. "position": "absolute",
  5814. "bottom": "50px",
  5815. "right": "50px",
  5816. "zIndex": "9999",
  5817. "backgroundColor": "#2268bc",
  5818. "color": "#fff",
  5819. "padding": "12px 20px",
  5820. "cursor": "pointer",
  5821. "borderRadius": "4px",
  5822. },
  5823. "innerHTML": "提交作业"
  5824. })
  5825. let aTool = ''
  5826. let _loading = document.createElement('div')
  5827. _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;"
  5828. // _loading.id = "";
  5829. let _lchild = document.createElement('div')
  5830. let _limg = document.createElement('img')
  5831. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5832. _limg.style = "width: 26px;margin-right: 10px;"
  5833. _lchild.appendChild(_limg)
  5834. let _lspan = document.createElement('span')
  5835. _lspan.innerHTML = "上传中..."
  5836. _lchild.appendChild(_lspan)
  5837. _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%);"
  5838. _loading.appendChild(_lchild)
  5839. var _box = $$('div', {
  5840. "style": {
  5841. "position": "relative",
  5842. "width": "100%",
  5843. "height": "100%",
  5844. },
  5845. })
  5846. _box.appendChild(_loading)
  5847. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5848. switch (str) {
  5849. case "whiteboard":
  5850. aTool = 1;
  5851. _iframe = $$("iframe", {
  5852. "frameborder": "no",
  5853. "border": "0",
  5854. "scrolling ": "no",
  5855. "style": {
  5856. "cssText": "border:0;width:100%;height:100%"
  5857. },
  5858. "src": "https://iwb.cocorobo.cn/"
  5859. })
  5860. _box.appendChild(_iframe);
  5861. _box.appendChild(_jie);
  5862. _formdiv = new U.UF.UI.form(
  5863. "电子白板-" + _username,
  5864. _box, {
  5865. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5866. "style": {
  5867. "width": "90%",
  5868. "height": "90%",
  5869. "overflow": 'hidden'
  5870. },
  5871. "onresize": function () { }
  5872. }, {
  5873. closecallback: function () { }
  5874. }, {
  5875. "style": {
  5876. "height": "36px"
  5877. }
  5878. }).form; //创建窗体
  5879. _taskbar = {
  5880. "id": str + _formdiv.id,
  5881. "style": {
  5882. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5883. },
  5884. "name": "电子白板",
  5885. "forms": _formdiv,
  5886. "click": function () {
  5887. U.MD.D.I.openApplication(str, obj, info);
  5888. }
  5889. }
  5890. break;
  5891. case "mind":
  5892. aTool = 3;
  5893. _iframe = $$("iframe", {
  5894. "frameborder": "no",
  5895. "border": "0",
  5896. "scrolling ": "no",
  5897. "style": {
  5898. "cssText": "border:0;width:100%;height:100%"
  5899. },
  5900. "src": "/kityminder-editor/dist/index.html"
  5901. })
  5902. _box.appendChild(_iframe);
  5903. _box.appendChild(_jie);
  5904. _formdiv = new U.UF.UI.form(
  5905. "思维导图-" + _username,
  5906. _box, { //"/jsmind/example/demo.html"
  5907. "id": "mind" + cid + stage + task + tool + _userid,
  5908. "style": {
  5909. "width": "90%",
  5910. "height": "90%",
  5911. "overflow": 'hidden'
  5912. },
  5913. "onresize": function () { }
  5914. }, {
  5915. closecallback: function () { }
  5916. }, {
  5917. "style": {
  5918. "height": "36px"
  5919. }
  5920. }).form; //创建窗体
  5921. _taskbar = {
  5922. "id": str + _formdiv.id,
  5923. "style": {
  5924. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5925. },
  5926. "name": "思维导图",
  5927. "forms": _formdiv,
  5928. "click": function () {
  5929. U.MD.D.I.openApplication(str, obj, info);
  5930. }
  5931. }
  5932. break;
  5933. case "MindMap":
  5934. aTool = 3;
  5935. _iframe = $$("iframe", {
  5936. "frameborder": "no",
  5937. "border": "0",
  5938. "scrolling ": "no",
  5939. "style": {
  5940. "cssText": "border:0;width:100%;height:100%"
  5941. },
  5942. "src": "//cloud.cocorobo.cn/mind/"
  5943. })
  5944. _box.appendChild(_iframe);
  5945. _box.appendChild(_jie);
  5946. _formdiv = new U.UF.UI.form(
  5947. "思维导图-" + _username,
  5948. _box, { //"/jsmind/example/demo.html"
  5949. "id": "mind" + cid + stage + task + tool + _userid,
  5950. "style": {
  5951. "width": "90%",
  5952. "height": "90%",
  5953. "overflow": 'hidden'
  5954. },
  5955. "onresize": function () { }
  5956. }, {
  5957. closecallback: function () { }
  5958. }, {
  5959. "style": {
  5960. "height": "36px"
  5961. }
  5962. }).form; //创建窗体
  5963. _taskbar = {
  5964. "id": str + _formdiv.id,
  5965. "style": {
  5966. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5967. },
  5968. "name": "思维导图",
  5969. "forms": _formdiv,
  5970. "click": function () {
  5971. U.MD.D.I.openApplication(str, obj, info);
  5972. }
  5973. }
  5974. break;
  5975. case "doc":
  5976. aTool = 6;
  5977. _iframe = $$("iframe", {
  5978. "frameborder": "no",
  5979. "border": "0",
  5980. "scrolling ": "no",
  5981. "style": {
  5982. "cssText": "border:0;width:100%;height:100%"
  5983. },
  5984. "src": "/Office/Word/WordEditArea.htm"
  5985. })
  5986. _box.appendChild(_iframe);
  5987. _box.appendChild(_jie);
  5988. _formdiv = new U.UF.UI.form(
  5989. "协同文档-" + _username,
  5990. _box, {
  5991. "id": "doc" + cid + stage + task + tool + _userid,
  5992. "style": {
  5993. "width": "90%",
  5994. "height": "90%",
  5995. "overflow": 'hidden'
  5996. },
  5997. "onresize": function () { }
  5998. }, {
  5999. closecallback: function () { }
  6000. }, {
  6001. "style": {
  6002. "height": "36px"
  6003. }
  6004. }).form; //创建窗体
  6005. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6006. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6007. })
  6008. _taskbar = {
  6009. "id": str + _formdiv.id,
  6010. "style": {
  6011. "backgroundImage": "url(/img/icon/doc.png)"
  6012. },
  6013. "name": "协同文档",
  6014. "forms": _formdiv,
  6015. "click": function () {
  6016. U.MD.D.I.openApplication(str, obj, info);
  6017. }
  6018. }
  6019. break;
  6020. case "mindNetwork": //好友打开
  6021. aTool = 7;
  6022. _iframe = $$("iframe", {
  6023. "webkitallowfullscreen": "",
  6024. "mozallowfullscreen": "",
  6025. "allowfullscreen": "",
  6026. "frameborder": "no",
  6027. "border": "0",
  6028. "scrolling ": "no",
  6029. "style": {
  6030. "cssText": "border:0; width:100%; height:100%;"
  6031. },
  6032. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6033. })
  6034. _box.appendChild(_iframe);
  6035. _box.appendChild(_jie);
  6036. _formdiv = new U.UF.UI.form(
  6037. "思维网格-" + _username,
  6038. _box, {
  6039. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6040. "style": {
  6041. "width": "90%",
  6042. "height": "90%",
  6043. "overflow": 'hidden'
  6044. },
  6045. "onresize": function () { }
  6046. }, {
  6047. closecallback: function () { }
  6048. }, {
  6049. "style": {
  6050. "height": "36px"
  6051. }
  6052. }).form; //创建窗体
  6053. _taskbar = {
  6054. "id": str + _formdiv.id,
  6055. "style": {
  6056. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6057. },
  6058. "name": "思维网格",
  6059. "forms": _formdiv,
  6060. "click": function () {
  6061. U.MD.D.I.openApplication(str, obj, info);
  6062. }
  6063. }
  6064. break;
  6065. case "courseDesign":
  6066. _iframe = $$("iframe", {
  6067. "webkitallowfullscreen": "",
  6068. "mozallowfullscreen": "",
  6069. "allowfullscreen": "",
  6070. "frameborder": "no",
  6071. "border": "0",
  6072. "scrolling ": "no",
  6073. "style": {
  6074. "cssText": "border:0; width:100%; height:100%;"
  6075. },
  6076. "src": "/course-design-vue"
  6077. })
  6078. _box.appendChild(_iframe);
  6079. _box.appendChild(_jie);
  6080. _formdiv = new U.UF.UI.form(
  6081. "项目设计-" + _username,
  6082. _box, {
  6083. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6084. "style": {
  6085. "width": "90%",
  6086. "height": "90%",
  6087. "overflow": 'hidden'
  6088. },
  6089. "onresize": function () { }
  6090. }, {
  6091. closecallback: function () { }
  6092. }, {
  6093. "style": {
  6094. "height": "36px"
  6095. }
  6096. }).form; //创建窗体
  6097. _taskbar = {
  6098. "id": str + _formdiv.id,
  6099. "style": {
  6100. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6101. },
  6102. "name": "项目设计",
  6103. "forms": _formdiv,
  6104. "click": function () {
  6105. U.MD.D.I.openApplication(str, obj, info);
  6106. }
  6107. }
  6108. break;
  6109. }
  6110. const script1 = document.createElement("script");
  6111. script1.type = "text/javascript";
  6112. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6113. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6114. const script2 = document.createElement("script");
  6115. script2.type = "text/javascript";
  6116. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6117. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6118. const script3 = document.createElement("script");
  6119. script3.type = "text/javascript";
  6120. script3.charset = "UTF-8";
  6121. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6122. const script4 = document.createElement("script");
  6123. script4.type = "text/javascript";
  6124. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6125. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6126. if (_iframe) {
  6127. if (str == 'doc') {
  6128. _iframe = _formdiv.querySelector('iframe')
  6129. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6130. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6131. _iframe.contentWindow.document.body.appendChild(script1);
  6132. _iframe.contentWindow.document.body.appendChild(script2);
  6133. // _iframe.contentWindow.document.body.appendChild(script3);
  6134. _iframe.contentWindow.document.body.appendChild(script4);
  6135. })
  6136. if (onloadListener) {
  6137. _iframe.contentDocument.location.reload()
  6138. } else {
  6139. _iframe.contentDocument.location.reload()
  6140. }
  6141. } else if (str == 'courseDesign') {
  6142. U.UF.DL.iframeLoad(_iframe, function () {
  6143. // _iframe.contentWindow.U.MD.O.W.load();
  6144. // _iframe.contentWindow.document.body.appendChild(script1);
  6145. _iframe.contentWindow.document.body.appendChild(script2);
  6146. _iframe.contentWindow.document.body.appendChild(script4);
  6147. })
  6148. } else if (str == 'mind') {
  6149. _iframe = _formdiv.querySelector('iframe')
  6150. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6151. //
  6152. _iframe.contentWindow.document.body.appendChild(script1);
  6153. _iframe.contentWindow.document.body.appendChild(script2);
  6154. _iframe.contentWindow.document.body.appendChild(script4);
  6155. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6156. })
  6157. if (onloadListener) {
  6158. _iframe.contentDocument.location.reload()
  6159. } else {
  6160. _iframe.contentDocument.location.reload()
  6161. }
  6162. } else if (str == 'whiteboard') {
  6163. _iframe = _formdiv.querySelector('iframe')
  6164. let onloadListener = _iframe.onload = () => {
  6165. _iframe.contentWindow.document.body.appendChild(script1);
  6166. _iframe.contentWindow.document.body.appendChild(script2);
  6167. _iframe.contentWindow.document.body.appendChild(script4);
  6168. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6169. };
  6170. if (onloadListener) {
  6171. _iframe.contentDocument.location.reload()
  6172. } else {
  6173. _iframe.contentDocument.location.reload()
  6174. }
  6175. } else {
  6176. _iframe.onload = () => {
  6177. _iframe.contentWindow.document.body.appendChild(script1);
  6178. _iframe.contentWindow.document.body.appendChild(script2);
  6179. // _iframe.contentWindow.document.body.appendChild(script3);
  6180. _iframe.contentWindow.document.body.appendChild(script4);
  6181. };
  6182. }
  6183. _jie.onclick = async () => {
  6184. let text = ''
  6185. if (aTool == 1) {
  6186. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6187. } else if (aTool == 6) {
  6188. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6189. } else if (aTool == 3) {
  6190. text = await U.MD.D.I.getEditorContent(_iframe);
  6191. }
  6192. _loading.style.display = 'flex'
  6193. console.log(_loading);
  6194. var _ajs = _iframe.contentWindow.document.createElement("script");
  6195. _ajs.type = "text/javascript";
  6196. _ajs.innerHTML =
  6197. // 'console.log(' + _loading + ');\n' +
  6198. 'var _js = document.createElement("script");\n' +
  6199. '_js.type="text/javascript";\n' +
  6200. '_js.charset="UTF-8";\n' +
  6201. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6202. "_js.onload = function(){\n" +
  6203. ' var a = document.getElementsByTagName("img")\n' +
  6204. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6205. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6206. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6207. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6208. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6209. "beforeUpload_shishi(file," +
  6210. "'" +
  6211. _userid +
  6212. "'" +
  6213. ", " +
  6214. "'" +
  6215. _cid +
  6216. "'" +
  6217. ", " +
  6218. "'" +
  6219. _stage +
  6220. "'" +
  6221. ", " +
  6222. "'" +
  6223. _task +
  6224. "'" +
  6225. ", " +
  6226. "'" +
  6227. _tool +
  6228. "'" +
  6229. ", " +
  6230. "'" +
  6231. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6232. "'" +
  6233. ", " +
  6234. "'" +
  6235. aTool +
  6236. "'" +
  6237. ", " +
  6238. "`" +
  6239. text +
  6240. "`" +
  6241. ")\n" +
  6242. " });\n" +
  6243. "}\n" +
  6244. "document.head.appendChild(_js);\n";
  6245. _iframe.contentWindow.document.head.appendChild(_ajs);
  6246. }
  6247. }
  6248. }
  6249. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6250. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6251. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6252. _userid = student.userid, //登录用户id
  6253. _username = student.student //用户名字
  6254. let _iframe;
  6255. let _cid = cid,
  6256. _stage = stage,
  6257. _task = task,
  6258. _tool = tool;
  6259. var _jie = $$("div", {
  6260. "style": {
  6261. "position": "absolute",
  6262. "bottom": "50px",
  6263. "right": "50px",
  6264. "zIndex": "9999",
  6265. "backgroundColor": "#2268bc",
  6266. "color": "#fff",
  6267. "padding": "12px 20px",
  6268. "cursor": "pointer",
  6269. "borderRadius": "4px",
  6270. },
  6271. "innerHTML": "提交作业"
  6272. })
  6273. let aTool = ''
  6274. let _loading = document.createElement('div')
  6275. _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;"
  6276. // _loading.id = "";
  6277. let _lchild = document.createElement('div')
  6278. let _limg = document.createElement('img')
  6279. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6280. _limg.style = "width: 26px;margin-right: 10px;"
  6281. _lchild.appendChild(_limg)
  6282. let _lspan = document.createElement('span')
  6283. _lspan.innerHTML = "上传中..."
  6284. _lchild.appendChild(_lspan)
  6285. _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%);"
  6286. _loading.appendChild(_lchild)
  6287. var _box = $$('div', {
  6288. "style": {
  6289. "position": "relative",
  6290. "width": "100%",
  6291. "height": "100%",
  6292. },
  6293. })
  6294. _box.appendChild(_loading)
  6295. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6296. switch (str) {
  6297. case "whiteboard":
  6298. aTool = 1;
  6299. _iframe = $$("iframe", {
  6300. "frameborder": "no",
  6301. "border": "0",
  6302. "scrolling ": "no",
  6303. "style": {
  6304. "cssText": "border:0;width:100%;height:100%"
  6305. },
  6306. "src": "https://iwb.cocorobo.cn/"
  6307. })
  6308. _box.appendChild(_iframe);
  6309. _box.appendChild(_jie);
  6310. _formdiv = new U.UF.UI.form(
  6311. "电子白板-" + _username,
  6312. _box, {
  6313. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6314. "style": {
  6315. "width": "90%",
  6316. "height": "90%",
  6317. "overflow": 'hidden'
  6318. },
  6319. "onresize": function () { }
  6320. }, {
  6321. closecallback: function () { }
  6322. }, {
  6323. "style": {
  6324. "height": "36px"
  6325. }
  6326. }).form; //创建窗体
  6327. _taskbar = {
  6328. "id": str + _formdiv.id,
  6329. "style": {
  6330. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6331. },
  6332. "name": "电子白板",
  6333. "forms": _formdiv,
  6334. "click": function () {
  6335. U.MD.D.I.openApplication(str, obj, info);
  6336. }
  6337. }
  6338. break;
  6339. case "mind":
  6340. aTool = 3;
  6341. _iframe = $$("iframe", {
  6342. "frameborder": "no",
  6343. "border": "0",
  6344. "scrolling ": "no",
  6345. "style": {
  6346. "cssText": "border:0;width:100%;height:100%"
  6347. },
  6348. "src": "/kityminder-editor/dist/index.html"
  6349. })
  6350. _box.appendChild(_iframe);
  6351. _box.appendChild(_jie);
  6352. _formdiv = new U.UF.UI.form(
  6353. "思维导图-" + _username,
  6354. _box, { //"/jsmind/example/demo.html"
  6355. "id": "mind" + cid + stage + task + tool + _userid,
  6356. "style": {
  6357. "width": "90%",
  6358. "height": "90%",
  6359. "overflow": 'hidden'
  6360. },
  6361. "onresize": function () { }
  6362. }, {
  6363. closecallback: function () { }
  6364. }, {
  6365. "style": {
  6366. "height": "36px"
  6367. }
  6368. }).form; //创建窗体
  6369. _taskbar = {
  6370. "id": str + _formdiv.id,
  6371. "style": {
  6372. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6373. },
  6374. "name": "思维导图",
  6375. "forms": _formdiv,
  6376. "click": function () {
  6377. U.MD.D.I.openApplication(str, obj, info);
  6378. }
  6379. }
  6380. break;
  6381. case "MindMap":
  6382. aTool = 3;
  6383. _iframe = $$("iframe", {
  6384. "frameborder": "no",
  6385. "border": "0",
  6386. "scrolling ": "no",
  6387. "style": {
  6388. "cssText": "border:0;width:100%;height:100%"
  6389. },
  6390. "src": "//cloud.cocorobo.cn/mind/"
  6391. })
  6392. _box.appendChild(_iframe);
  6393. _box.appendChild(_jie);
  6394. _formdiv = new U.UF.UI.form(
  6395. "思维导图-" + _username,
  6396. _box, { //"/jsmind/example/demo.html"
  6397. "id": "mind" + cid + stage + task + tool + _userid,
  6398. "style": {
  6399. "width": "90%",
  6400. "height": "90%",
  6401. "overflow": 'hidden'
  6402. },
  6403. "onresize": function () { }
  6404. }, {
  6405. closecallback: function () { }
  6406. }, {
  6407. "style": {
  6408. "height": "36px"
  6409. }
  6410. }).form; //创建窗体
  6411. _taskbar = {
  6412. "id": str + _formdiv.id,
  6413. "style": {
  6414. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6415. },
  6416. "name": "思维导图",
  6417. "forms": _formdiv,
  6418. "click": function () {
  6419. U.MD.D.I.openApplication(str, obj, info);
  6420. }
  6421. }
  6422. break;
  6423. case "doc":
  6424. aTool = 6;
  6425. _iframe = $$("iframe", {
  6426. "frameborder": "no",
  6427. "border": "0",
  6428. "scrolling ": "no",
  6429. "style": {
  6430. "cssText": "border:0;width:100%;height:100%"
  6431. },
  6432. "src": "/Office/Word/WordEditArea.htm"
  6433. })
  6434. _box.appendChild(_iframe);
  6435. _box.appendChild(_jie);
  6436. _formdiv = new U.UF.UI.form(
  6437. "协同文档-" + _username,
  6438. _box, {
  6439. "id": "doc" + cid + stage + task + tool + _userid,
  6440. "style": {
  6441. "width": "90%",
  6442. "height": "90%",
  6443. "overflow": 'hidden'
  6444. },
  6445. "onresize": function () { }
  6446. }, {
  6447. closecallback: function () { }
  6448. }, {
  6449. "style": {
  6450. "height": "36px"
  6451. }
  6452. }).form; //创建窗体
  6453. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6454. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6455. })
  6456. _taskbar = {
  6457. "id": str + _formdiv.id,
  6458. "style": {
  6459. "backgroundImage": "url(/img/icon/doc.png)"
  6460. },
  6461. "name": "协同文档",
  6462. "forms": _formdiv,
  6463. "click": function () {
  6464. U.MD.D.I.openApplication(str, obj, info);
  6465. }
  6466. }
  6467. break;
  6468. case "mindNetwork": //好友打开
  6469. aTool = 7;
  6470. _iframe = $$("iframe", {
  6471. "webkitallowfullscreen": "",
  6472. "mozallowfullscreen": "",
  6473. "allowfullscreen": "",
  6474. "frameborder": "no",
  6475. "border": "0",
  6476. "scrolling ": "no",
  6477. "style": {
  6478. "cssText": "border:0; width:100%; height:100%;"
  6479. },
  6480. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6481. })
  6482. _box.appendChild(_iframe);
  6483. _box.appendChild(_jie);
  6484. _formdiv = new U.UF.UI.form(
  6485. "思维网格-" + _username,
  6486. _box, {
  6487. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6488. "style": {
  6489. "width": "90%",
  6490. "height": "90%",
  6491. "overflow": 'hidden'
  6492. },
  6493. "onresize": function () { }
  6494. }, {
  6495. closecallback: function () { }
  6496. }, {
  6497. "style": {
  6498. "height": "36px"
  6499. }
  6500. }).form; //创建窗体
  6501. _taskbar = {
  6502. "id": str + _formdiv.id,
  6503. "style": {
  6504. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6505. },
  6506. "name": "思维网格",
  6507. "forms": _formdiv,
  6508. "click": function () {
  6509. U.MD.D.I.openApplication(str, obj, info);
  6510. }
  6511. }
  6512. break;
  6513. case "courseDesign":
  6514. _iframe = $$("iframe", {
  6515. "webkitallowfullscreen": "",
  6516. "mozallowfullscreen": "",
  6517. "allowfullscreen": "",
  6518. "frameborder": "no",
  6519. "border": "0",
  6520. "scrolling ": "no",
  6521. "style": {
  6522. "cssText": "border:0; width:100%; height:100%;"
  6523. },
  6524. "src": "/course-design-vue"
  6525. })
  6526. _box.appendChild(_iframe);
  6527. _box.appendChild(_jie);
  6528. _formdiv = new U.UF.UI.form(
  6529. "项目设计-" + _username,
  6530. _box, {
  6531. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6532. "style": {
  6533. "width": "90%",
  6534. "height": "90%",
  6535. "overflow": 'hidden'
  6536. },
  6537. "onresize": function () { }
  6538. }, {
  6539. closecallback: function () { }
  6540. }, {
  6541. "style": {
  6542. "height": "36px"
  6543. }
  6544. }).form; //创建窗体
  6545. _taskbar = {
  6546. "id": str + _formdiv.id,
  6547. "style": {
  6548. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6549. },
  6550. "name": "项目设计",
  6551. "forms": _formdiv,
  6552. "click": function () {
  6553. U.MD.D.I.openApplication(str, obj, info);
  6554. }
  6555. }
  6556. break;
  6557. }
  6558. const script1 = document.createElement("script");
  6559. script1.type = "text/javascript";
  6560. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6561. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6562. const script2 = document.createElement("script");
  6563. script2.type = "text/javascript";
  6564. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6565. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6566. const script3 = document.createElement("script");
  6567. script3.type = "text/javascript";
  6568. script3.charset = "UTF-8";
  6569. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6570. const script4 = document.createElement("script");
  6571. script4.type = "text/javascript";
  6572. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6573. script4.src = window.origin + "/js/Common/jietu2E.js";
  6574. if (_iframe) {
  6575. if (str == 'doc') {
  6576. _iframe = _formdiv.querySelector('iframe')
  6577. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6578. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6579. _iframe.contentWindow.document.body.appendChild(script1);
  6580. _iframe.contentWindow.document.body.appendChild(script2);
  6581. // _iframe.contentWindow.document.body.appendChild(script3);
  6582. _iframe.contentWindow.document.body.appendChild(script4);
  6583. })
  6584. if (onloadListener) {
  6585. _iframe.contentDocument.location.reload()
  6586. } else {
  6587. _iframe.contentDocument.location.reload()
  6588. }
  6589. } else if (str == 'courseDesign') {
  6590. U.UF.DL.iframeLoad(_iframe, function () {
  6591. // _iframe.contentWindow.U.MD.O.W.load();
  6592. // _iframe.contentWindow.document.body.appendChild(script1);
  6593. _iframe.contentWindow.document.body.appendChild(script2);
  6594. _iframe.contentWindow.document.body.appendChild(script4);
  6595. })
  6596. } else if (str == 'mind') {
  6597. _iframe = _formdiv.querySelector('iframe')
  6598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6599. //
  6600. _iframe.contentWindow.document.body.appendChild(script1);
  6601. _iframe.contentWindow.document.body.appendChild(script2);
  6602. _iframe.contentWindow.document.body.appendChild(script4);
  6603. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6604. })
  6605. if (onloadListener) {
  6606. _iframe.contentDocument.location.reload()
  6607. } else {
  6608. _iframe.contentDocument.location.reload()
  6609. }
  6610. } else if (str == 'whiteboard') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = _iframe.onload = () => {
  6613. _iframe.contentWindow.document.body.appendChild(script1);
  6614. _iframe.contentWindow.document.body.appendChild(script2);
  6615. _iframe.contentWindow.document.body.appendChild(script4);
  6616. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6617. };
  6618. if (onloadListener) {
  6619. _iframe.contentDocument.location.reload()
  6620. } else {
  6621. _iframe.contentDocument.location.reload()
  6622. }
  6623. } else {
  6624. _iframe.onload = () => {
  6625. _iframe.contentWindow.document.body.appendChild(script1);
  6626. _iframe.contentWindow.document.body.appendChild(script2);
  6627. // _iframe.contentWindow.document.body.appendChild(script3);
  6628. _iframe.contentWindow.document.body.appendChild(script4);
  6629. };
  6630. }
  6631. _jie.onclick = async () => {
  6632. let text = ''
  6633. if (aTool == 1) {
  6634. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6635. } else if (aTool == 6) {
  6636. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6637. } else if (aTool == 3) {
  6638. text = await U.MD.D.I.getEditorContent(_iframe);
  6639. }
  6640. _loading.style.display = 'flex'
  6641. console.log(_loading);
  6642. var _ajs = _iframe.contentWindow.document.createElement("script");
  6643. _ajs.type = "text/javascript";
  6644. _ajs.innerHTML =
  6645. // 'console.log(' + _loading + ');\n' +
  6646. 'var _js = document.createElement("script");\n' +
  6647. '_js.type="text/javascript";\n' +
  6648. '_js.charset="UTF-8";\n' +
  6649. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6650. "_js.onload = function(){\n" +
  6651. ' var a = document.getElementsByTagName("img")\n' +
  6652. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6653. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6654. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6655. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6656. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6657. "beforeUpload_shishi(file," +
  6658. "'" +
  6659. _userid +
  6660. "'" +
  6661. ", " +
  6662. "'" +
  6663. _cid +
  6664. "'" +
  6665. ", " +
  6666. "'" +
  6667. _stage +
  6668. "'" +
  6669. ", " +
  6670. "'" +
  6671. _task +
  6672. "'" +
  6673. ", " +
  6674. "'" +
  6675. _tool +
  6676. "'" +
  6677. ", " +
  6678. "'" +
  6679. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6680. "'" +
  6681. ", " +
  6682. "'" +
  6683. aTool +
  6684. "'" +
  6685. ", " +
  6686. "`" +
  6687. text +
  6688. "`" +
  6689. ")\n" +
  6690. " });\n" +
  6691. "}\n" +
  6692. "document.head.appendChild(_js);\n";
  6693. _iframe.contentWindow.document.head.appendChild(_ajs);
  6694. }
  6695. }
  6696. }
  6697. U.MD.D.I.getEditorContent = function (iframe) {
  6698. return new Promise((resolve, reject) => {
  6699. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6700. console.log(content);
  6701. resolve(content)
  6702. });
  6703. });
  6704. }
  6705. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6706. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6707. // if (res.value[0].length > 0) {
  6708. // // resolve(res.value[0][0].text);
  6709. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6710. // $(fileInput).val('');
  6711. // });
  6712. // }
  6713. // }, [], { "type": "GET", "withCredentials": true });
  6714. var xmlhttp;
  6715. var Mac, Sn, DeviceId
  6716. if (window.XMLHttpRequest) {
  6717. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6718. xmlhttp = new XMLHttpRequest();
  6719. } else {
  6720. // IE6, IE5 浏览器执行代码
  6721. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6722. }
  6723. xmlhttp.onreadystatechange = function () {
  6724. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6725. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6726. // resolve(res.value[0][0].text);
  6727. if (type == '2') {
  6728. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6729. } else if (type == '3') {
  6730. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6731. }
  6732. } else {
  6733. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6734. }
  6735. }
  6736. }
  6737. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6738. xmlhttp.send();
  6739. }
  6740. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6741. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6742. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6743. _userinfo = US.userInfo, //登录用户信息
  6744. _userid = US.userInfo.userid //登录用户id
  6745. let _iframe;
  6746. let _cid = cid,
  6747. _stage = stage,
  6748. _task = task,
  6749. _tool = tool;
  6750. var _jie = $$("div", {
  6751. "style": {
  6752. "position": "absolute",
  6753. "bottom": "50px",
  6754. "right": "50px",
  6755. "zIndex": "9999",
  6756. "backgroundColor": "#2268bc",
  6757. "color": "#fff",
  6758. "padding": "12px 20px",
  6759. "cursor": "pointer",
  6760. "borderRadius": "4px",
  6761. },
  6762. "innerHTML": "确认并提交"
  6763. })
  6764. let aTool = ''
  6765. let _loading = document.createElement('div')
  6766. _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;"
  6767. // _loading.id = "";
  6768. let _lchild = document.createElement('div')
  6769. let _limg = document.createElement('img')
  6770. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6771. _limg.style = "width: 26px;margin-right: 10px;"
  6772. _lchild.appendChild(_limg)
  6773. let _lspan = document.createElement('span')
  6774. _lspan.innerHTML = "上传中..."
  6775. _lchild.appendChild(_lspan)
  6776. _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%);"
  6777. _loading.appendChild(_lchild)
  6778. var _box = $$('div', {
  6779. "style": {
  6780. "position": "relative",
  6781. "width": "100%",
  6782. "height": "100%",
  6783. },
  6784. })
  6785. _box.appendChild(_loading)
  6786. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6787. switch (str) {
  6788. case "whiteboard":
  6789. aTool = 1;
  6790. _iframe = $$("iframe", {
  6791. "frameborder": "no",
  6792. "border": "0",
  6793. "scrolling ": "no",
  6794. "style": {
  6795. "cssText": "border:0;width:100%;height:100%"
  6796. },
  6797. "src": "https://iwb.cocorobo.cn/"
  6798. })
  6799. _box.appendChild(_iframe);
  6800. _box.appendChild(_jie);
  6801. _formdiv = new U.UF.UI.form(
  6802. "电子白板",
  6803. _box, {
  6804. "id": "whiteboards" + cid + stage + task + tool,
  6805. "style": {
  6806. "width": "90%",
  6807. "height": "90%",
  6808. "overflow": 'hidden'
  6809. },
  6810. "onresize": function () { }
  6811. }, {
  6812. closecallback: function () { }
  6813. }, {
  6814. "style": {
  6815. "height": "36px"
  6816. }
  6817. }).form; //创建窗体
  6818. _taskbar = {
  6819. "id": str + _formdiv.id,
  6820. "style": {
  6821. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6822. },
  6823. "name": "电子白板",
  6824. "forms": _formdiv,
  6825. "click": function () {
  6826. U.MD.D.I.openApplication(str, obj, info);
  6827. }
  6828. }
  6829. break;
  6830. case "mind":
  6831. aTool = 3;
  6832. _iframe = $$("iframe", {
  6833. "frameborder": "no",
  6834. "border": "0",
  6835. "scrolling ": "no",
  6836. "style": {
  6837. "cssText": "border:0;width:100%;height:100%"
  6838. },
  6839. "src": "/kityminder-editor/dist/index.html"
  6840. });
  6841. _box.appendChild(_iframe);
  6842. _box.appendChild(_jie);
  6843. _formdiv = new U.UF.UI.form(
  6844. "思维导图",
  6845. _box, { //"/jsmind/example/demo.html"
  6846. "id": "minds" + cid + stage + task + tool,
  6847. "style": {
  6848. "width": "90%",
  6849. "height": "90%",
  6850. "overflow": 'hidden'
  6851. },
  6852. "onresize": function () { }
  6853. }, {
  6854. closecallback: function () { }
  6855. }, {
  6856. "style": {
  6857. "height": "36px"
  6858. }
  6859. }).form; //创建窗体
  6860. _taskbar = {
  6861. "id": str + _formdiv.id,
  6862. "style": {
  6863. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6864. },
  6865. "name": "思维导图",
  6866. "forms": _formdiv,
  6867. "click": function () {
  6868. U.MD.D.I.openApplication(str, obj, info);
  6869. }
  6870. }
  6871. break;
  6872. case "doc":
  6873. aTool = 6;
  6874. _iframe = $$("iframe", {
  6875. "frameborder": "no",
  6876. "border": "0",
  6877. "scrolling ": "no",
  6878. "style": {
  6879. "cssText": "border:0;width:100%;height:100%"
  6880. },
  6881. "src": "/Office/Word/WordEditArea.htm"
  6882. })
  6883. _box.appendChild(_iframe);
  6884. _box.appendChild(_jie);
  6885. _formdiv = new U.UF.UI.form(
  6886. "协同文档",
  6887. _box, {
  6888. "id": "docs" + cid + stage + task + tool,
  6889. "style": {
  6890. "width": "90%",
  6891. "height": "90%",
  6892. "overflow": 'hidden'
  6893. },
  6894. "onresize": function () { }
  6895. }, {
  6896. closecallback: function () { }
  6897. }, {
  6898. "style": {
  6899. "height": "36px"
  6900. }
  6901. }).form; //创建窗体
  6902. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6903. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6904. })
  6905. _taskbar = {
  6906. "id": str + _formdiv.id,
  6907. "style": {
  6908. "backgroundImage": "url(/img/icon/doc.png)"
  6909. },
  6910. "name": "协同文档",
  6911. "forms": _formdiv,
  6912. "click": function () {
  6913. U.MD.D.I.openApplication(str, obj, info);
  6914. }
  6915. }
  6916. break;
  6917. }
  6918. const script1 = document.createElement("script");
  6919. script1.type = "text/javascript";
  6920. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6921. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6922. const script2 = document.createElement("script");
  6923. script2.type = "text/javascript";
  6924. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6925. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6926. const script3 = document.createElement("script");
  6927. script3.type = "text/javascript";
  6928. script3.charset = "UTF-8";
  6929. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6930. const script4 = document.createElement("script");
  6931. script4.type = "text/javascript";
  6932. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6933. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6934. if (_iframe) {
  6935. if (str == 'doc') {
  6936. _iframe = _formdiv.querySelector('iframe')
  6937. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6938. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6939. _iframe.contentWindow.document.body.appendChild(script1);
  6940. _iframe.contentWindow.document.body.appendChild(script2);
  6941. // _iframe.contentWindow.document.body.appendChild(script3);
  6942. _iframe.contentWindow.document.body.appendChild(script4);
  6943. })
  6944. if (onloadListener) {
  6945. _iframe.contentDocument.location.reload()
  6946. } else {
  6947. _iframe.contentDocument.location.reload()
  6948. }
  6949. } else if (str == 'mind') {
  6950. _iframe = _formdiv.querySelector('iframe')
  6951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6952. _iframe.contentWindow.document.body.appendChild(script1);
  6953. _iframe.contentWindow.document.body.appendChild(script2);
  6954. _iframe.contentWindow.document.body.appendChild(script4);
  6955. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6956. })
  6957. if (onloadListener) {
  6958. _iframe.contentDocument.location.reload()
  6959. } else {
  6960. _iframe.contentDocument.location.reload()
  6961. }
  6962. } else {
  6963. _iframe.onload = () => {
  6964. _iframe.contentWindow.document.body.appendChild(script1);
  6965. _iframe.contentWindow.document.body.appendChild(script2);
  6966. // _iframe.contentWindow.document.body.appendChild(script3);
  6967. _iframe.contentWindow.document.body.appendChild(script4);
  6968. };
  6969. }
  6970. _jie.onclick = async () => {
  6971. let text = ''
  6972. if (aTool == 6) {
  6973. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6974. } else if (aTool == 3) {
  6975. text = await U.MD.D.I.getEditorContent(_iframe);
  6976. }
  6977. _loading.style.display = 'flex'
  6978. console.log(_loading);
  6979. var _ajs = _iframe.contentWindow.document.createElement("script");
  6980. _ajs.type = "text/javascript";
  6981. _ajs.innerHTML =
  6982. // 'console.log(' + _loading + ');\n' +
  6983. 'var _js = document.createElement("script");\n' +
  6984. '_js.type="text/javascript";\n' +
  6985. '_js.charset="UTF-8";\n' +
  6986. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6987. "_js.onload = function(){\n" +
  6988. ' var a = document.getElementsByTagName("img")\n' +
  6989. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6990. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6991. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6992. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6993. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6994. "beforeUpload_shishi(file," +
  6995. "'" +
  6996. _userid +
  6997. "'" +
  6998. ", " +
  6999. "'" +
  7000. _cid +
  7001. "'" +
  7002. ", " +
  7003. "'" +
  7004. _stage +
  7005. "'" +
  7006. ", " +
  7007. "'" +
  7008. _task +
  7009. "'" +
  7010. ", " +
  7011. "'" +
  7012. _tool +
  7013. "'" +
  7014. ", " +
  7015. "'" +
  7016. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7017. "'" +
  7018. ", " +
  7019. "'" +
  7020. aTool +
  7021. "'" +
  7022. ", " +
  7023. "`" +
  7024. text +
  7025. "`" +
  7026. ")\n" +
  7027. " });\n" +
  7028. "}\n" +
  7029. "document.head.appendChild(_js);\n";
  7030. _iframe.contentWindow.document.head.appendChild(_ajs);
  7031. }
  7032. }
  7033. //U.MD.D.I.openClick(str);
  7034. //如果有任务栏信息
  7035. // if (_taskbar) {
  7036. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7037. // }
  7038. }
  7039. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7040. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7041. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7042. _userinfo = US.userInfo, //登录用户信息
  7043. _userid = US.userInfo.userid //登录用户id
  7044. let _iframe;
  7045. let _cid = cid,
  7046. _stage = stage,
  7047. _task = task,
  7048. _tool = tool;
  7049. var _jie = $$("div", {
  7050. "style": {
  7051. "position": "absolute",
  7052. "bottom": "50px",
  7053. "right": "50px",
  7054. "zIndex": "9999",
  7055. "backgroundColor": "#2268bc",
  7056. "color": "#fff",
  7057. "padding": "12px 20px",
  7058. "cursor": "pointer",
  7059. "borderRadius": "4px",
  7060. },
  7061. "innerHTML": "确认并提交"
  7062. })
  7063. let aTool = ''
  7064. let _loading = document.createElement('div')
  7065. _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;"
  7066. // _loading.id = "";
  7067. let _lchild = document.createElement('div')
  7068. let _limg = document.createElement('img')
  7069. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7070. _limg.style = "width: 26px;margin-right: 10px;"
  7071. _lchild.appendChild(_limg)
  7072. let _lspan = document.createElement('span')
  7073. _lspan.innerHTML = "上传中..."
  7074. _lchild.appendChild(_lspan)
  7075. _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%);"
  7076. _loading.appendChild(_lchild)
  7077. var _box = $$('div', {
  7078. "style": {
  7079. "position": "relative",
  7080. "width": "100%",
  7081. "height": "100%",
  7082. },
  7083. })
  7084. _box.appendChild(_loading)
  7085. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7086. switch (str) {
  7087. case "whiteboard":
  7088. aTool = 1;
  7089. _iframe = $$("iframe", {
  7090. "frameborder": "no",
  7091. "border": "0",
  7092. "scrolling ": "no",
  7093. "style": {
  7094. "cssText": "border:0;width:100%;height:100%"
  7095. },
  7096. "src": "https://iwb.cocorobo.cn/"
  7097. })
  7098. _box.appendChild(_iframe);
  7099. _box.appendChild(_jie);
  7100. _formdiv = new U.UF.UI.form(
  7101. "电子白板",
  7102. _box, {
  7103. "id": "whiteboards" + cid + stage + task + tool,
  7104. "style": {
  7105. "width": "90%",
  7106. "height": "90%",
  7107. "overflow": 'hidden'
  7108. },
  7109. "onresize": function () { }
  7110. }, {
  7111. closecallback: function () { }
  7112. }, {
  7113. "style": {
  7114. "height": "36px"
  7115. }
  7116. }).form; //创建窗体
  7117. _taskbar = {
  7118. "id": str + _formdiv.id,
  7119. "style": {
  7120. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7121. },
  7122. "name": "电子白板",
  7123. "forms": _formdiv,
  7124. "click": function () {
  7125. U.MD.D.I.openApplication(str, obj, info);
  7126. }
  7127. }
  7128. break;
  7129. case "mind":
  7130. aTool = 3;
  7131. _iframe = $$("iframe", {
  7132. "frameborder": "no",
  7133. "border": "0",
  7134. "scrolling ": "no",
  7135. "style": {
  7136. "cssText": "border:0;width:100%;height:100%"
  7137. },
  7138. "src": "/kityminder-editor/dist/index.html"
  7139. });
  7140. _box.appendChild(_iframe);
  7141. _box.appendChild(_jie);
  7142. _formdiv = new U.UF.UI.form(
  7143. "思维导图",
  7144. _box, { //"/jsmind/example/demo.html"
  7145. "id": "minds" + cid + stage + task + tool,
  7146. "style": {
  7147. "width": "90%",
  7148. "height": "90%",
  7149. "overflow": 'hidden'
  7150. },
  7151. "onresize": function () { }
  7152. }, {
  7153. closecallback: function () { }
  7154. }, {
  7155. "style": {
  7156. "height": "36px"
  7157. }
  7158. }).form; //创建窗体
  7159. _taskbar = {
  7160. "id": str + _formdiv.id,
  7161. "style": {
  7162. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7163. },
  7164. "name": "思维导图",
  7165. "forms": _formdiv,
  7166. "click": function () {
  7167. U.MD.D.I.openApplication(str, obj, info);
  7168. }
  7169. }
  7170. break;
  7171. case "doc":
  7172. aTool = 6;
  7173. _iframe = $$("iframe", {
  7174. "frameborder": "no",
  7175. "border": "0",
  7176. "scrolling ": "no",
  7177. "style": {
  7178. "cssText": "border:0;width:100%;height:100%"
  7179. },
  7180. "src": "/Office/Word/WordEditArea.htm"
  7181. })
  7182. _box.appendChild(_iframe);
  7183. _box.appendChild(_jie);
  7184. _formdiv = new U.UF.UI.form(
  7185. "协同文档",
  7186. _box, {
  7187. "id": "docs" + cid + stage + task + tool,
  7188. "style": {
  7189. "width": "90%",
  7190. "height": "90%",
  7191. "overflow": 'hidden'
  7192. },
  7193. "onresize": function () { }
  7194. }, {
  7195. closecallback: function () { }
  7196. }, {
  7197. "style": {
  7198. "height": "36px"
  7199. }
  7200. }).form; //创建窗体
  7201. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7202. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7203. })
  7204. _taskbar = {
  7205. "id": str + _formdiv.id,
  7206. "style": {
  7207. "backgroundImage": "url(/img/icon/doc.png)"
  7208. },
  7209. "name": "协同文档",
  7210. "forms": _formdiv,
  7211. "click": function () {
  7212. U.MD.D.I.openApplication(str, obj, info);
  7213. }
  7214. }
  7215. break;
  7216. }
  7217. const script1 = document.createElement("script");
  7218. script1.type = "text/javascript";
  7219. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7220. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7221. const script2 = document.createElement("script");
  7222. script2.type = "text/javascript";
  7223. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7224. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7225. const script3 = document.createElement("script");
  7226. script3.type = "text/javascript";
  7227. script3.charset = "UTF-8";
  7228. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7229. const script4 = document.createElement("script");
  7230. script4.type = "text/javascript";
  7231. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7232. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7233. if (_iframe) {
  7234. if (str == 'doc') {
  7235. _iframe = _formdiv.querySelector('iframe')
  7236. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7237. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7238. _iframe.contentWindow.document.body.appendChild(script1);
  7239. _iframe.contentWindow.document.body.appendChild(script2);
  7240. // _iframe.contentWindow.document.body.appendChild(script3);
  7241. _iframe.contentWindow.document.body.appendChild(script4);
  7242. })
  7243. if (onloadListener) {
  7244. _iframe.contentDocument.location.reload()
  7245. } else {
  7246. _iframe.contentDocument.location.reload()
  7247. }
  7248. } else if (str == 'mind') {
  7249. _iframe = _formdiv.querySelector('iframe')
  7250. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7251. _iframe.contentWindow.document.body.appendChild(script1);
  7252. _iframe.contentWindow.document.body.appendChild(script2);
  7253. _iframe.contentWindow.document.body.appendChild(script4);
  7254. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7255. })
  7256. if (onloadListener) {
  7257. _iframe.contentDocument.location.reload()
  7258. } else {
  7259. _iframe.contentDocument.location.reload()
  7260. }
  7261. } else {
  7262. _iframe.onload = () => {
  7263. _iframe.contentWindow.document.body.appendChild(script1);
  7264. _iframe.contentWindow.document.body.appendChild(script2);
  7265. // _iframe.contentWindow.document.body.appendChild(script3);
  7266. _iframe.contentWindow.document.body.appendChild(script4);
  7267. };
  7268. }
  7269. _jie.onclick = async () => {
  7270. let text = ''
  7271. if (aTool == 6) {
  7272. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7273. } else if (aTool == 3) {
  7274. text = await U.MD.D.I.getEditorContent(_iframe);
  7275. }
  7276. _loading.style.display = 'flex'
  7277. console.log(_loading);
  7278. var _ajs = _iframe.contentWindow.document.createElement("script");
  7279. _ajs.type = "text/javascript";
  7280. _ajs.innerHTML =
  7281. // 'console.log(' + _loading + ');\n' +
  7282. 'var _js = document.createElement("script");\n' +
  7283. '_js.type="text/javascript";\n' +
  7284. '_js.charset="UTF-8";\n' +
  7285. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7286. "_js.onload = function(){\n" +
  7287. ' var a = document.getElementsByTagName("img")\n' +
  7288. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7289. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7290. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7291. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7292. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7293. "beforeUpload_shishi(file," +
  7294. "'" +
  7295. _userid +
  7296. "'" +
  7297. ", " +
  7298. "'" +
  7299. _cid +
  7300. "'" +
  7301. ", " +
  7302. "'" +
  7303. _stage +
  7304. "'" +
  7305. ", " +
  7306. "'" +
  7307. _task +
  7308. "'" +
  7309. ", " +
  7310. "'" +
  7311. _tool +
  7312. "'" +
  7313. ", " +
  7314. "'" +
  7315. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7316. "'" +
  7317. ", " +
  7318. "'" +
  7319. aTool +
  7320. "'" +
  7321. ", " +
  7322. "`" +
  7323. text +
  7324. "`" +
  7325. ")\n" +
  7326. " });\n" +
  7327. "}\n" +
  7328. "document.head.appendChild(_js);\n";
  7329. _iframe.contentWindow.document.head.appendChild(_ajs);
  7330. }
  7331. }
  7332. //U.MD.D.I.openClick(str);
  7333. //如果有任务栏信息
  7334. // if (_taskbar) {
  7335. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7336. // }
  7337. }
  7338. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7339. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7340. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7341. _userinfo = US.userInfo, //登录用户信息
  7342. _userid = US.userInfo.userid //登录用户id
  7343. let _iframe;
  7344. let _cid = cid,
  7345. _stage = stage,
  7346. _task = task,
  7347. _tool = tool;
  7348. var _jie = $$("div", {
  7349. "style": {
  7350. "position": "absolute",
  7351. "bottom": "50px",
  7352. "right": "50px",
  7353. "zIndex": "9999",
  7354. "backgroundColor": "#2268bc",
  7355. "color": "#fff",
  7356. "padding": "12px 20px",
  7357. "cursor": "pointer",
  7358. "borderRadius": "4px",
  7359. },
  7360. "innerHTML": "上传模板"
  7361. })
  7362. let aTool = ''
  7363. let _loading = document.createElement('div')
  7364. _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;"
  7365. // _loading.id = "";
  7366. let _lchild = document.createElement('div')
  7367. let _limg = document.createElement('img')
  7368. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7369. _limg.style = "width: 26px;margin-right: 10px;"
  7370. _lchild.appendChild(_limg)
  7371. let _lspan = document.createElement('span')
  7372. _lspan.innerHTML = "上传中..."
  7373. _lchild.appendChild(_lspan)
  7374. _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%);"
  7375. _loading.appendChild(_lchild)
  7376. var _box = $$('div', {
  7377. "style": {
  7378. "position": "relative",
  7379. "width": "100%",
  7380. "height": "100%",
  7381. },
  7382. })
  7383. _box.appendChild(_loading)
  7384. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7385. switch (str) {
  7386. case "whiteboard":
  7387. aTool = 1;
  7388. _iframe = $$("iframe", {
  7389. "frameborder": "no",
  7390. "border": "0",
  7391. "scrolling ": "no",
  7392. "style": {
  7393. "cssText": "border:0;width:100%;height:100%"
  7394. },
  7395. "src": "https://iwb.cocorobo.cn/"
  7396. })
  7397. _box.appendChild(_iframe);
  7398. _box.appendChild(_jie);
  7399. _formdiv = new U.UF.UI.form(
  7400. "电子白板",
  7401. _box, {
  7402. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7403. "style": {
  7404. "width": "90%",
  7405. "height": "90%",
  7406. "overflow": 'hidden'
  7407. },
  7408. "onresize": function () { }
  7409. }, {
  7410. closecallback: function () { }
  7411. }, {
  7412. "style": {
  7413. "height": "36px"
  7414. }
  7415. }).form; //创建窗体
  7416. _taskbar = {
  7417. "id": str + _formdiv.id,
  7418. "style": {
  7419. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7420. },
  7421. "name": "电子白板",
  7422. "forms": _formdiv,
  7423. "click": function () {
  7424. U.MD.D.I.openApplication(str, obj, info);
  7425. }
  7426. }
  7427. break;
  7428. case "mind":
  7429. aTool = 3;
  7430. _iframe = $$("iframe", {
  7431. "frameborder": "no",
  7432. "border": "0",
  7433. "scrolling ": "no",
  7434. "style": {
  7435. "cssText": "border:0;width:100%;height:100%"
  7436. },
  7437. "src": "/kityminder-editor/dist/index.html"
  7438. });
  7439. _box.appendChild(_iframe);
  7440. _box.appendChild(_jie);
  7441. _formdiv = new U.UF.UI.form(
  7442. "思维导图",
  7443. _box, { //"/jsmind/example/demo.html"
  7444. "id": "minds_Yu" + cid + stage + task + tool,
  7445. "style": {
  7446. "width": "90%",
  7447. "height": "90%",
  7448. "overflow": 'hidden'
  7449. },
  7450. "onresize": function () { }
  7451. }, {
  7452. closecallback: function () { }
  7453. }, {
  7454. "style": {
  7455. "height": "36px"
  7456. }
  7457. }).form; //创建窗体
  7458. _taskbar = {
  7459. "id": str + _formdiv.id,
  7460. "style": {
  7461. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7462. },
  7463. "name": "思维导图",
  7464. "forms": _formdiv,
  7465. "click": function () {
  7466. U.MD.D.I.openApplication(str, obj, info);
  7467. }
  7468. }
  7469. break;
  7470. case "doc":
  7471. aTool = 6;
  7472. _iframe = $$("iframe", {
  7473. "frameborder": "no",
  7474. "border": "0",
  7475. "scrolling ": "no",
  7476. "style": {
  7477. "cssText": "border:0;width:100%;height:100%"
  7478. },
  7479. "src": "/Office/Word/WordEditArea.htm"
  7480. })
  7481. _box.appendChild(_iframe);
  7482. _box.appendChild(_jie);
  7483. _formdiv = new U.UF.UI.form(
  7484. "协同文档",
  7485. _box, {
  7486. "id": "docs_Yu" + cid + stage + task + tool,
  7487. "style": {
  7488. "width": "90%",
  7489. "height": "90%",
  7490. "overflow": 'hidden'
  7491. },
  7492. "onresize": function () { }
  7493. }, {
  7494. closecallback: function () { }
  7495. }, {
  7496. "style": {
  7497. "height": "36px"
  7498. }
  7499. }).form; //创建窗体
  7500. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7501. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7502. })
  7503. _taskbar = {
  7504. "id": str + _formdiv.id,
  7505. "style": {
  7506. "backgroundImage": "url(/img/icon/doc.png)"
  7507. },
  7508. "name": "协同文档",
  7509. "forms": _formdiv,
  7510. "click": function () {
  7511. U.MD.D.I.openApplication(str, obj, info);
  7512. }
  7513. }
  7514. break;
  7515. case "CocoPi":
  7516. aTool = 57;
  7517. _iframe = $$("iframe", {
  7518. "allowpaymentrequest": "allowpaymentrequest",
  7519. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7520. "webkitallowfullscreen": "",
  7521. "mozallowfullscreen": "",
  7522. "frameborder": "no",
  7523. "border": "0",
  7524. "scrolling ": "no",
  7525. "style": {
  7526. "cssText": "border:0;width:100%;height:100%"
  7527. },
  7528. "src": "https://pi.cocorobo.cn/"
  7529. })
  7530. _box.appendChild(_iframe);
  7531. _box.appendChild(_jie);
  7532. _formdiv = new U.UF.UI.form(
  7533. "CocoPi",
  7534. _box, {
  7535. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7536. "style": {
  7537. "width": "90%",
  7538. "height": "90%",
  7539. "overflow": 'hidden'
  7540. },
  7541. "onresize": function () { }
  7542. }, {
  7543. closecallback: function () { }
  7544. }, {
  7545. "style": {
  7546. "height": "36px"
  7547. }
  7548. }).form; //创建窗体
  7549. _taskbar = {
  7550. "id": str + _formdiv.id,
  7551. "style": {
  7552. "backgroundImage": "url(/img/icon/cocopi.png)"
  7553. },
  7554. "name": "CocoPi",
  7555. "forms": _formdiv,
  7556. "click": function () {
  7557. U.MD.D.I.openApplication(str, obj, info);
  7558. }
  7559. }
  7560. break;
  7561. }
  7562. if (_iframe) {
  7563. if (str == 'doc') {
  7564. _iframe = _formdiv.querySelector('iframe')
  7565. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7566. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7567. })
  7568. if (onloadListener) {
  7569. _iframe.contentDocument.location.reload()
  7570. } else {
  7571. _iframe.contentDocument.location.reload()
  7572. }
  7573. } else if (str == 'mind') {
  7574. _iframe = _formdiv.querySelector('iframe')
  7575. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7576. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7577. })
  7578. if (onloadListener) {
  7579. _iframe.contentDocument.location.reload()
  7580. } else {
  7581. _iframe.contentDocument.location.reload()
  7582. }
  7583. } else if (str == 'whiteboard') {
  7584. _iframe = _formdiv.querySelector('iframe')
  7585. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7586. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7587. })
  7588. if (onloadListener) {
  7589. _iframe.contentDocument.location.reload()
  7590. } else {
  7591. _iframe.contentDocument.location.reload()
  7592. }
  7593. } else if (str == 'CocoPi') {
  7594. _iframe = _formdiv.querySelector('iframe')
  7595. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7596. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7597. })
  7598. if (onloadListener) {
  7599. _iframe.contentDocument.location.reload()
  7600. } else {
  7601. _iframe.contentDocument.location.reload()
  7602. }
  7603. } else {
  7604. _iframe.onload = () => { };
  7605. }
  7606. _jie.onclick = async () => {
  7607. let text = ''
  7608. let type = '2'
  7609. if (aTool == 1) {
  7610. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7611. type = '3'
  7612. } else if (aTool == 6) {
  7613. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7614. type = '1'
  7615. } else if (aTool == 3) {
  7616. text = await U.MD.D.I.getEditorContent(_iframe);
  7617. type = '2'
  7618. } else if (aTool == 57) {
  7619. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7620. type = '4'
  7621. }
  7622. _loading.style.display = 'flex'
  7623. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7624. }
  7625. }
  7626. //U.MD.D.I.openClick(str);
  7627. //如果有任务栏信息
  7628. // if (_taskbar) {
  7629. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7630. // }
  7631. }
  7632. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7633. var xmlhttp;
  7634. var Mac, Sn, DeviceId
  7635. if (window.XMLHttpRequest) {
  7636. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7637. xmlhttp = new XMLHttpRequest();
  7638. } else {
  7639. // IE6, IE5 浏览器执行代码
  7640. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7641. }
  7642. xmlhttp.onreadystatechange = function () {
  7643. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7644. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7645. // resolve(res.value[0][0].text);
  7646. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7647. }
  7648. }
  7649. }
  7650. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7651. xmlhttp.send();
  7652. }
  7653. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7654. var xmlhttp;
  7655. var Mac, Sn, DeviceId
  7656. if (window.XMLHttpRequest) {
  7657. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7658. xmlhttp = new XMLHttpRequest();
  7659. } else {
  7660. // IE6, IE5 浏览器执行代码
  7661. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7662. }
  7663. xmlhttp.onreadystatechange = function () {
  7664. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7665. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7666. // resolve(res.value[0][0].text);
  7667. if (type == '2') {
  7668. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7669. } else if (type == '3') {
  7670. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7671. } else if (type == '4') {
  7672. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7673. }
  7674. } else {
  7675. if (type == '2') {
  7676. iframe.contentWindow.editor.minder.importData('json', '')
  7677. } else if (type == '3') {
  7678. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7679. } else if (type == '4') {
  7680. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7681. }
  7682. }
  7683. }
  7684. }
  7685. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7686. xmlhttp.send();
  7687. }
  7688. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7689. var xmlhttp;
  7690. var Mac, Sn, DeviceId
  7691. if (window.XMLHttpRequest) {
  7692. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7693. xmlhttp = new XMLHttpRequest();
  7694. } else {
  7695. // IE6, IE5 浏览器执行代码
  7696. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7697. }
  7698. xmlhttp.onreadystatechange = function () {
  7699. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7700. if (xmlhttp.response) {
  7701. // resolve(res.value[0][0].text);
  7702. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7703. // $(fileInput).val('');
  7704. // });
  7705. span.innerHTML = '上传成功'
  7706. setTimeout(() => {
  7707. loading.style.display = 'none'
  7708. }, 1000);
  7709. }
  7710. }
  7711. }
  7712. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7713. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7714. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7715. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7716. // 设置请求头,表示请求体的编码格式
  7717. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7718. // 设置请求体,使用url-encoded格式的数据
  7719. }
  7720. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7721. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7722. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7723. _userinfo = US.userInfo, //登录用户信息
  7724. _userid = US.userInfo.userid //登录用户id
  7725. let _iframe;
  7726. let _cid = cid,
  7727. _stage = stage,
  7728. _task = task,
  7729. _tool = tool;
  7730. var _jie = $$("div", {
  7731. "style": {
  7732. "position": "absolute",
  7733. "bottom": "50px",
  7734. "right": "50px",
  7735. "zIndex": "9999",
  7736. "backgroundColor": "#2268bc",
  7737. "color": "#fff",
  7738. "padding": "12px 20px",
  7739. "cursor": "pointer",
  7740. "borderRadius": "4px",
  7741. },
  7742. "innerHTML": "提交作业"
  7743. })
  7744. let aTool = ''
  7745. let _loading = document.createElement('div')
  7746. _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;"
  7747. // _loading.id = "";
  7748. let _lchild = document.createElement('div')
  7749. let _limg = document.createElement('img')
  7750. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7751. _limg.style = "width: 26px;margin-right: 10px;"
  7752. _lchild.appendChild(_limg)
  7753. let _lspan = document.createElement('span')
  7754. _lspan.innerHTML = "上传中..."
  7755. _lchild.appendChild(_lspan)
  7756. _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%);"
  7757. _loading.appendChild(_lchild)
  7758. var _box = $$('div', {
  7759. "style": {
  7760. "position": "relative",
  7761. "width": "100%",
  7762. "height": "100%",
  7763. },
  7764. })
  7765. _box.appendChild(_loading)
  7766. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7767. switch (str) {
  7768. case "CocoPi":
  7769. aTool = 57;
  7770. _iframe = $$("iframe", {
  7771. "allowpaymentrequest": "allowpaymentrequest",
  7772. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7773. "webkitallowfullscreen": "",
  7774. "mozallowfullscreen": "",
  7775. "frameborder": "no",
  7776. "border": "0",
  7777. "scrolling ": "no",
  7778. "style": {
  7779. "cssText": "border:0;width:100%;height:100%"
  7780. },
  7781. "src": "https://pi.cocorobo.cn/"
  7782. })
  7783. _box.appendChild(_iframe);
  7784. _box.appendChild(_jie);
  7785. _formdiv = new U.UF.UI.form(
  7786. "CocoPi",
  7787. _box, {
  7788. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7789. "style": {
  7790. "width": "90%",
  7791. "height": "90%",
  7792. "overflow": 'hidden'
  7793. },
  7794. "onresize": function () { }
  7795. }, {
  7796. closecallback: function () { }
  7797. }, {
  7798. "style": {
  7799. "height": "36px"
  7800. }
  7801. }).form; //创建窗体
  7802. _taskbar = {
  7803. "id": str + _formdiv.id,
  7804. "style": {
  7805. "backgroundImage": "url(/img/icon/cocopi.png)"
  7806. },
  7807. "name": "CocoPi",
  7808. "forms": _formdiv,
  7809. "click": function () {
  7810. U.MD.D.I.openApplication(str, obj, info);
  7811. }
  7812. }
  7813. break;
  7814. }
  7815. if (_iframe) {
  7816. if (str == 'CocoPi') {
  7817. _iframe = _formdiv.querySelector('iframe')
  7818. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7819. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7820. })
  7821. if (onloadListener) {
  7822. _iframe.contentDocument.location.reload()
  7823. } else {
  7824. _iframe.contentDocument.location.reload()
  7825. }
  7826. }
  7827. _jie.onclick = async () => {
  7828. let text = ''
  7829. if (aTool == 57) {
  7830. text = _iframe.contentWindow.getLoadXmlStr()
  7831. }
  7832. _loading.style.display = 'flex'
  7833. console.log(_loading);
  7834. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7835. _loading.style.display = 'none'
  7836. let _div = document.createElement('div')
  7837. _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;"
  7838. let _inner = document.createElement('div')
  7839. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7840. _inner.innerHTML = "上传成功"
  7841. _div.appendChild(_inner)
  7842. _iframe.contentWindow.window.document.body.appendChild(_div)
  7843. _div.onclick = () => {
  7844. _iframe.contentWindow.window.document.body.removeChild(_div)
  7845. }
  7846. setTimeout(() => {
  7847. _iframe.contentWindow.window.document.body.removeChild(_div)
  7848. }, 1000);
  7849. }, [], { "type": "POST", "withCredentials": true });
  7850. }
  7851. }
  7852. }
  7853. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7854. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7855. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7856. _userid = student.userid, //登录用户id
  7857. _username = student.student //用户名字
  7858. let _iframe;
  7859. let _cid = cid,
  7860. _stage = stage,
  7861. _task = task,
  7862. _tool = tool;
  7863. var _jie = $$("div", {
  7864. "style": {
  7865. "position": "absolute",
  7866. "bottom": "50px",
  7867. "right": "50px",
  7868. "zIndex": "9999",
  7869. "backgroundColor": "#2268bc",
  7870. "color": "#fff",
  7871. "padding": "12px 20px",
  7872. "cursor": "pointer",
  7873. "borderRadius": "4px",
  7874. },
  7875. "innerHTML": "提交作业"
  7876. })
  7877. let aTool = ''
  7878. let _loading = document.createElement('div')
  7879. _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;"
  7880. // _loading.id = "";
  7881. let _lchild = document.createElement('div')
  7882. let _limg = document.createElement('img')
  7883. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7884. _limg.style = "width: 26px;margin-right: 10px;"
  7885. _lchild.appendChild(_limg)
  7886. let _lspan = document.createElement('span')
  7887. _lspan.innerHTML = "上传中..."
  7888. _lchild.appendChild(_lspan)
  7889. _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%);"
  7890. _loading.appendChild(_lchild)
  7891. var _box = $$('div', {
  7892. "style": {
  7893. "position": "relative",
  7894. "width": "100%",
  7895. "height": "100%",
  7896. },
  7897. })
  7898. _box.appendChild(_loading)
  7899. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7900. switch (str) {
  7901. case "CocoPi":
  7902. aTool = 57;
  7903. _iframe = $$("iframe", {
  7904. "allowpaymentrequest": "allowpaymentrequest",
  7905. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7906. "webkitallowfullscreen": "",
  7907. "mozallowfullscreen": "",
  7908. "frameborder": "no",
  7909. "border": "0",
  7910. "scrolling ": "no",
  7911. "style": {
  7912. "cssText": "border:0;width:100%;height:100%"
  7913. },
  7914. "src": "https://pi.cocorobo.cn/"
  7915. })
  7916. _box.appendChild(_iframe);
  7917. _box.appendChild(_jie);
  7918. _formdiv = new U.UF.UI.form(
  7919. "CocoPi-" + _username,
  7920. _box, {
  7921. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7922. "style": {
  7923. "width": "90%",
  7924. "height": "90%",
  7925. "overflow": 'hidden'
  7926. },
  7927. "onresize": function () { }
  7928. }, {
  7929. closecallback: function () { }
  7930. }, {
  7931. "style": {
  7932. "height": "36px"
  7933. }
  7934. }).form; //创建窗体
  7935. _taskbar = {
  7936. "id": str + _formdiv.id,
  7937. "style": {
  7938. "backgroundImage": "url(/img/icon/cocopi.png)"
  7939. },
  7940. "name": "CocoPi",
  7941. "forms": _formdiv,
  7942. "click": function () {
  7943. U.MD.D.I.openApplication(str, obj, info);
  7944. }
  7945. }
  7946. break;
  7947. }
  7948. if (_iframe) {
  7949. if (str == 'CocoPi') {
  7950. _iframe = _formdiv.querySelector('iframe')
  7951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7952. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7953. })
  7954. if (onloadListener) {
  7955. _iframe.contentDocument.location.reload()
  7956. } else {
  7957. _iframe.contentDocument.location.reload()
  7958. }
  7959. }
  7960. _jie.onclick = async () => {
  7961. let text = ''
  7962. if (aTool == 57) {
  7963. text = _iframe.contentWindow.getLoadXmlStr()
  7964. }
  7965. _loading.style.display = 'flex'
  7966. console.log(_loading);
  7967. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7968. _loading.style.display = 'none'
  7969. let _div = document.createElement('div')
  7970. _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;"
  7971. let _inner = document.createElement('div')
  7972. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7973. _inner.innerHTML = "上传成功"
  7974. _div.appendChild(_inner)
  7975. _iframe.contentWindow.window.document.body.appendChild(_div)
  7976. _div.onclick = () => {
  7977. _iframe.contentWindow.window.document.body.removeChild(_div)
  7978. }
  7979. setTimeout(() => {
  7980. _iframe.contentWindow.window.document.body.removeChild(_div)
  7981. }, 1000);
  7982. }, [], { "type": "POST", "withCredentials": true });
  7983. }
  7984. }
  7985. }
  7986. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7987. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7988. if (res.value[0].length > 0) {
  7989. if (atool == 57) {
  7990. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7991. }
  7992. } else {
  7993. if (atool == 57) {
  7994. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7995. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7996. }
  7997. }
  7998. }, [], { "type": "POST", "withCredentials": true });
  7999. }