DeskTop.js 504 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  726. ];
  727. //hk
  728. U.MD.D.I.hkaceStudentDeskIcon = [
  729. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. ];
  736. //香海正覺蓮社佛教正覺中學
  737. U.MD.D.I.hkZJLSteacherDeskIcon = [
  738. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  739. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  740. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  741. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  742. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  743. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  744. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  745. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  746. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  747. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  748. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  749. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  750. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  754. ];
  755. //香海正覺蓮社佛教正覺中學
  756. U.MD.D.I.hkZJLSStudentDeskIcon = [
  757. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  761. ];
  762. //云海
  763. U.MD.D.I.yunhaiTeacherDeskIcon = [
  764. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  765. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  766. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  767. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  768. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  769. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  782. ];
  783. //福田
  784. U.MD.D.I.heyuanTeacherDeskIcon = [
  785. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  793. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  794. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //福田
  799. U.MD.D.I.heyuanAdminDeskIcon = [
  800. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  808. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  813. U.MD.D.I.szherTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  825. ];
  826. //dsei
  827. U.MD.D.I.dseiTeacherDeskIcon = [
  828. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  829. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  831. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  837. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  838. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  839. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  840. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  841. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  842. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  843. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  844. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  845. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  846. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  847. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  848. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  849. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  850. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  851. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  852. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  853. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  854. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  855. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  856. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  857. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  858. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  859. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  860. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  861. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  864. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  865. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  868. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  869. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  870. ];
  871. //dsei
  872. U.MD.D.I.dseiAdminDeskIcon = [
  873. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  874. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  876. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  877. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  880. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  881. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  882. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  883. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  884. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  885. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  886. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  887. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  888. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  889. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  890. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  891. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  892. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  893. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  894. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  895. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  896. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  897. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  898. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  899. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  900. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  901. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  902. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  903. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  904. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  905. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  906. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  907. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  909. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  910. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  915. ];
  916. //dsei
  917. U.MD.D.I.dseiStudentDeskIcon = [
  918. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //未来教育基地
  926. U.MD.D.I.szjkyTeacherDeskIcon = [
  927. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  934. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  935. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  936. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  937. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  938. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  939. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  944. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  945. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  946. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  947. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  948. ];
  949. //未来教育基地
  950. U.MD.D.I.szjkyAdminDeskIcon = [
  951. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  952. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  953. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  954. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  955. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  956. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  957. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  958. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  959. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  960. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  961. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  962. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  963. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  967. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  968. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  969. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  970. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  971. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  972. ];
  973. //未来教育基地
  974. U.MD.D.I.szjkyStudentDeskIcon = [
  975. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  976. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  977. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. ];
  980. //成华教育局
  981. U.MD.D.I.chjyjTeacherDeskIcon = [
  982. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  992. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  995. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  996. ];
  997. //成华教育局chjyj
  998. U.MD.D.I.chjyjAdminDeskIcon = [
  999. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1000. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1004. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1005. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1006. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1007. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1008. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1009. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1014. ];
  1015. //成华教育局chjyj
  1016. U.MD.D.I.chjyjStudentDeskIcon = [
  1017. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcStudentDeskIcon = [
  1024. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1026. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1027. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1028. ];
  1029. //tpc
  1030. U.MD.D.I.tpcTeacherDeskIcon = [
  1031. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1032. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1037. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1038. ];
  1039. //tpc
  1040. U.MD.D.I.tpcAdminDeskIcon = [
  1041. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1042. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1043. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1044. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1045. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1046. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1047. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //THU-IOE
  1050. U.MD.D.I.thuioeTeacherDeskIcon = [
  1051. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1052. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1053. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1054. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1055. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1056. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1057. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1058. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1059. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1060. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1061. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1062. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1063. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1064. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1065. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1066. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1067. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1068. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1069. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1070. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1071. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1072. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1073. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1074. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1075. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1076. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1077. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1078. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1079. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1080. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1081. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1082. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1083. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1084. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1085. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1088. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1089. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1090. ];
  1091. //THU-IOE
  1092. U.MD.D.I.thuioeStudentDeskIcon = [
  1093. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1094. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1095. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. ];
  1098. //jccssyl
  1099. U.MD.D.I.jccssylTeacherDeskIcon = [
  1100. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1101. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1103. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1104. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1105. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1106. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1107. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1108. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1109. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1110. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1111. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1112. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1113. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1116. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1117. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1118. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1119. ];
  1120. //jccssyl
  1121. U.MD.D.I.jccssylStudentDeskIcon = [
  1122. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1123. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1124. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1125. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. ];
  1127. //cale
  1128. U.MD.D.I.caleTeacherDeskIcon = [
  1129. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1130. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1131. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1132. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1133. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1134. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1135. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1136. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1137. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1138. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1139. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1140. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1141. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1142. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1145. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1146. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1147. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1148. ];
  1149. //cale
  1150. U.MD.D.I.caleStudentDeskIcon = [
  1151. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1152. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1153. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1154. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1155. ];
  1156. //#region 桌面初始化a
  1157. /**
  1158. * 初始化桌面的起始函数
  1159. *
  1160. */
  1161. U.MD.D.I.init = function () {
  1162. if ($("#U_MD_D_K")[0]) {
  1163. //初始化桌面图标
  1164. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1165. // var clickUrl = ':12588/requestIp.php';
  1166. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1167. // U.MD.D.I.Ip = data;
  1168. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1169. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1170. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1171. // })
  1172. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1173. // })
  1174. }
  1175. }
  1176. /**
  1177. * 模式切换
  1178. *
  1179. */
  1180. U.MD.D.I.ModeCheck = function (type) {
  1181. if (US.Config.type == type) {
  1182. return
  1183. }
  1184. US.Config.type = type
  1185. $('.U_PBL_Check .active')[0].className = ''
  1186. if (type == 1) {
  1187. $('.U_PBL_Check div')[0].className = 'active'
  1188. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1189. } else {
  1190. $('.U_PBL_Check div')[1].className = 'active'
  1191. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1192. }
  1193. //初始化桌面图标
  1194. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1195. if (type == 2) {
  1196. U.MD.D.I.openApplication("project")
  1197. }
  1198. }
  1199. /**
  1200. * 隐藏任务栏
  1201. *
  1202. * @param {element} 桌面元素
  1203. */
  1204. U.MD.D.I.hiddenTaskbar = function (el) {
  1205. //任务栏位置变小
  1206. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1207. //桌面的位置变大
  1208. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1209. }
  1210. /**
  1211. * 隐藏任务栏
  1212. *
  1213. * @param {element} 桌面元素
  1214. */
  1215. U.MD.D.I.hiddenTaskbarout = function (el) {
  1216. //任务栏位置变小
  1217. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1218. //任务栏位置变化
  1219. U.selectEl(el).css({ "bottom": "-60px" });
  1220. //桌面的位置变大
  1221. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1222. }
  1223. }
  1224. /**
  1225. * 初始化打印桌面图标
  1226. *
  1227. * @param {element} 桌面元素
  1228. */
  1229. U.MD.D.I.initDesktopIcons = function (el, type) {
  1230. var i, //用于循环
  1231. _content, //桌面图标元素
  1232. _iconcontent, //桌面图标元素
  1233. _frag = $$("frag"), //定义一个碎片元素
  1234. _type = US.userInfo.type,
  1235. _org = US.userInfo.org,
  1236. _oid = US.userInfo.organizeid,
  1237. _role = US.userInfo.role,
  1238. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1239. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1240. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1241. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1242. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1243. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1244. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1245. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1246. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1247. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1248. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1249. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1250. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1251. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1252. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1253. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1254. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1255. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1256. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1257. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1258. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1259. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1260. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1261. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1262. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1263. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1264. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1265. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1266. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1267. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1268. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1269. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1270. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1271. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1272. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1273. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1274. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1275. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1276. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1277. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1278. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1279. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1280. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1281. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1282. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1283. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1284. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1285. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1286. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1287. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1288. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1289. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1290. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1291. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1292. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1293. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1294. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1295. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1296. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1297. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1298. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1299. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1300. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1301. 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'];
  1302. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5','03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1303. //清楚桌面图标
  1304. el.innerHTML = "";
  1305. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1306. _teacherDesktopIconInfo.push(
  1307. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1308. { "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)" } },
  1309. )
  1310. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1311. }
  1312. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1313. _teacherDesktopIconInfo.push(
  1314. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1315. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1316. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1317. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1318. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1319. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1320. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1321. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1322. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1323. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1324. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1325. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1326. )
  1327. }
  1328. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1329. // _teacherDesktopIconInfo.push(
  1330. // )
  1331. // }
  1332. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1333. _teacherDesktopIconInfo.push(
  1334. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1335. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1336. )
  1337. }
  1338. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1339. _teacherDesktopIconInfo.push(
  1340. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1341. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1342. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1343. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1344. )
  1345. _studentDesktopIconInfo.push(
  1346. )
  1347. }
  1348. //麒麟二中 和 民新小学
  1349. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1350. _teacherDesktopIconInfo.push(
  1351. )
  1352. }
  1353. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1354. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1355. _teacherDesktopIconInfo.push(
  1356. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1357. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1358. )
  1359. }
  1360. //麒麟二中
  1361. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1362. _studentDesktopIconInfo.push(
  1363. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1365. )
  1366. }
  1367. //万科双语
  1368. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1369. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1370. if (el.Name == '项目管理') {
  1371. el.Name = 'PBL项目'
  1372. }
  1373. return el
  1374. })
  1375. _studentDesktopIconInfo3.push(
  1376. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1377. )
  1378. }
  1379. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1380. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1381. return el.Name != '魔盒识字' && el.Name != '24点'
  1382. })
  1383. }
  1384. 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) {
  1385. _studentDesktopIconInfo.push(
  1386. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1387. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1388. )
  1389. }
  1390. //循环创建桌面图标
  1391. if (type == 1) {
  1392. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1393. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1394. _content = $$("div", {
  1395. className: "U_MD_D_KO",
  1396. "onmousedown": U.UF.C.closure(function (obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_studentDesktopIconInfo[i]]),
  1400. "onclick": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_studentDesktopIconInfo[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1408. }
  1409. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1410. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1411. _content = $$("div", {
  1412. className: "U_MD_D_KO",
  1413. "onmousedown": U.UF.C.closure(function (obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1417. "onclick": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_hkZJLSStudentDeskIconInfo[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1425. } //
  1426. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1427. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1428. _content = $$("div", {
  1429. className: "U_MD_D_KO",
  1430. "onmousedown": U.UF.C.closure(function (obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_jccssylStudentDeskIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_jccssylStudentDeskIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1442. }
  1443. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1444. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1445. _content = $$("div", {
  1446. className: "U_MD_D_KO",
  1447. "onmousedown": U.UF.C.closure(function (obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_caleStudentDeskIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_caleStudentDeskIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1461. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1462. _content = $$("div", {
  1463. className: "U_MD_D_KO",
  1464. "onmousedown": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_thuioeStudentDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_thuioeStudentDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1478. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1479. _content = $$("div", {
  1480. className: "U_MD_D_KO",
  1481. "onmousedown": U.UF.C.closure(function (obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_tpcStudentDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_tpcStudentDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1493. } //
  1494. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1495. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1496. _content = $$("div", {
  1497. className: "U_MD_D_KO",
  1498. "onmousedown": U.UF.C.closure(function (obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_chjyjStudentDeskIconInfo[i]]),
  1502. "onclick": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_chjyjStudentDeskIconInfo[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1510. }
  1511. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1512. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1513. _content = $$("div", {
  1514. className: "U_MD_D_KO",
  1515. "onmousedown": U.UF.C.closure(function (obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_szjkyStudentDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_szjkyStudentDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1527. }
  1528. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1529. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1530. _content = $$("div", {
  1531. className: "U_MD_D_KO",
  1532. "onmousedown": U.UF.C.closure(function (obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_dseiStudentDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_dseiStudentDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1544. }
  1545. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1546. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1547. _content = $$("div", {
  1548. className: "U_MD_D_KO",
  1549. "onmousedown": U.UF.C.closure(function (obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_siesStudentDeskIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_siesStudentDeskIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1563. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1564. _content = $$("div", {
  1565. className: "U_MD_D_KO",
  1566. "onmousedown": U.UF.C.closure(function (obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_hkStudentDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_hkStudentDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1578. }
  1579. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1580. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1581. _content = $$("div", {
  1582. className: "U_MD_D_KO",
  1583. "onmousedown": U.UF.C.closure(function (obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_hkaceStudentDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_hkaceStudentDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1595. }
  1596. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1597. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1598. _content = $$("div", {
  1599. className: "U_MD_D_KO",
  1600. "onmousedown": U.UF.C.closure(function (obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_studentDesktopIconInfo[i]]),
  1604. "onclick": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1612. }
  1613. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1614. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1615. _content = $$("div", {
  1616. className: "U_MD_D_KO",
  1617. "onmousedown": U.UF.C.closure(function (obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_tcStudentDeskIconInfo[i]]),
  1621. "onclick": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_tcStudentDeskIconInfo[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1629. }
  1630. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1631. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1632. _content = $$("div", {
  1633. className: "U_MD_D_KO",
  1634. "onmousedown": U.UF.C.closure(function (obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_szscStudentDeskIconInfo[i]]),
  1638. "onclick": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_szscStudentDeskIconInfo[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1646. }
  1647. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1648. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1649. _content = $$("div", {
  1650. className: "U_MD_D_KO",
  1651. "onmousedown": U.UF.C.closure(function (obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_studentDesktopIconInfo3[i]]),
  1655. "onclick": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_studentDesktopIconInfo3[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1663. }
  1664. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1665. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1666. _content = $$("div", {
  1667. className: "U_MD_D_KO",
  1668. "onmousedown": U.UF.C.closure(function (obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_studentDesktopIconInfo2[i]]),
  1672. "onclick": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_studentDesktopIconInfo2[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1682. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1683. _content = $$("div", {
  1684. className: "U_MD_D_KO",
  1685. "onmousedown": U.UF.C.closure(function (obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_wanketeacherDesktopIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_wanketeacherDesktopIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1699. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1700. _content = $$("div", {
  1701. className: "U_MD_D_KO",
  1702. "onmousedown": U.UF.C.closure(function (obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_wankeAdminDesktopIconInfo[i]]),
  1706. "onclick": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_wankeAdminDesktopIconInfo[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1714. }
  1715. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1716. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1717. _content = $$("div", {
  1718. className: "U_MD_D_KO",
  1719. "onmousedown": U.UF.C.closure(function (obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_jccssylTeacherDeskIconInfo[i]]),
  1723. "onclick": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_jccssylTeacherDeskIconInfo[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1733. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1734. _content = $$("div", {
  1735. className: "U_MD_D_KO",
  1736. "onmousedown": U.UF.C.closure(function (obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_caleTeacherDeskIconInfo[i]]),
  1740. "onclick": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_caleTeacherDeskIconInfo[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1748. }
  1749. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1750. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1751. _content = $$("div", {
  1752. className: "U_MD_D_KO",
  1753. "onmousedown": U.UF.C.closure(function (obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_tpcOrganizerDeskIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_tpcOrganizerDeskIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1765. }
  1766. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1767. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1768. _content = $$("div", {
  1769. className: "U_MD_D_KO",
  1770. "onmousedown": U.UF.C.closure(function (obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_tpcTeacherDeskIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_tpcTeacherDeskIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1784. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1785. _content = $$("div", {
  1786. className: "U_MD_D_KO",
  1787. "onmousedown": U.UF.C.closure(function (obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_teacherDesktopIconInfo2[i]]),
  1791. "onclick": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_teacherDesktopIconInfo2[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1799. }
  1800. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1801. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1802. _content = $$("div", {
  1803. className: "U_MD_D_KO",
  1804. "onmousedown": U.UF.C.closure(function (obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_thuioeTeacherDeskIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_thuioeTeacherDeskIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1816. }
  1817. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1818. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1819. _content = $$("div", {
  1820. className: "U_MD_D_KO",
  1821. "onmousedown": U.UF.C.closure(function (obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_lotechTeacherDeskIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_lotechTeacherDeskIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1833. }//
  1834. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1835. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1836. _content = $$("div", {
  1837. className: "U_MD_D_KO",
  1838. "onmousedown": U.UF.C.closure(function (obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_siesTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_siesTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1852. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1853. _content = $$("div", {
  1854. className: "U_MD_D_KO",
  1855. "onmousedown": U.UF.C.closure(function (obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_longhuaTeacherDeskIconInfo[i]]),
  1859. "onclick": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_longhuaTeacherDeskIconInfo[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1869. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1870. _content = $$("div", {
  1871. className: "U_MD_D_KO",
  1872. "onmousedown": U.UF.C.closure(function (obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_yunhaiTeacherDeskIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1884. } //_hkStudentDeskIconInfo
  1885. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1886. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1887. _content = $$("div", {
  1888. className: "U_MD_D_KO",
  1889. "onmousedown": U.UF.C.closure(function (obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1903. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1904. _content = $$("div", {
  1905. className: "U_MD_D_KO",
  1906. "onmousedown": U.UF.C.closure(function (obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_hkTeacherDeskIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_hkTeacherDeskIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1920. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1921. _content = $$("div", {
  1922. className: "U_MD_D_KO",
  1923. "onmousedown": U.UF.C.closure(function (obj) {
  1924. //防止拖动图标即打开了桌面应用
  1925. U.MD.D.click(this, obj);
  1926. }, [_hkaceTeacherDeskIconInfo[i]]),
  1927. "onclick": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_hkaceTeacherDeskIconInfo[i]])
  1931. }, _frag); //
  1932. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1933. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1934. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1935. }
  1936. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1937. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1938. _content = $$("div", {
  1939. className: "U_MD_D_KO",
  1940. "onmousedown": U.UF.C.closure(function (obj) {
  1941. //防止拖动图标即打开了桌面应用
  1942. U.MD.D.click(this, obj);
  1943. }, [_gdjgAdminDeskIconInfo[i]]),
  1944. "onclick": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_gdjgAdminDeskIconInfo[i]])
  1948. }, _frag); //
  1949. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1950. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1951. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1952. }
  1953. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1954. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1955. _content = $$("div", {
  1956. className: "U_MD_D_KO",
  1957. "onmousedown": U.UF.C.closure(function (obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_gdjgTeacherDeskIconInfo[i]]),
  1961. "onclick": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_gdjgTeacherDeskIconInfo[i]])
  1965. }, _frag); //
  1966. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1967. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1968. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1969. }
  1970. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1971. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1972. _content = $$("div", {
  1973. className: "U_MD_D_KO",
  1974. "onmousedown": U.UF.C.closure(function (obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_szherTeacherDeskIconInfo[i]]),
  1978. "onclick": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_szherTeacherDeskIconInfo[i]])
  1982. }, _frag); //
  1983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1986. }
  1987. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1988. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1989. _content = $$("div", {
  1990. className: "U_MD_D_KO",
  1991. "onmousedown": U.UF.C.closure(function (obj) {
  1992. //防止拖动图标即打开了桌面应用
  1993. U.MD.D.click(this, obj);
  1994. }, [_heyuannAdminDeskIconInfo[i]]),
  1995. "onclick": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_heyuannAdminDeskIconInfo[i]])
  1999. }, _frag); //
  2000. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2001. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2002. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2003. }
  2004. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2005. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2006. _content = $$("div", {
  2007. className: "U_MD_D_KO",
  2008. "onmousedown": U.UF.C.closure(function (obj) {
  2009. //防止拖动图标即打开了桌面应用
  2010. U.MD.D.click(this, obj);
  2011. }, [_heyuanTeacherDeskIconInfo[i]]),
  2012. "onclick": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_heyuanTeacherDeskIconInfo[i]])
  2016. }, _frag); //
  2017. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2018. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2019. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2020. } //
  2021. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2022. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2023. _content = $$("div", {
  2024. className: "U_MD_D_KO",
  2025. "onmousedown": U.UF.C.closure(function (obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_dseiAdminDeskIconInfo[i]]),
  2029. "onclick": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_dseiAdminDeskIconInfo[i]])
  2033. }, _frag); //
  2034. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2035. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2036. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2037. }
  2038. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2039. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2040. _content = $$("div", {
  2041. className: "U_MD_D_KO",
  2042. "onmousedown": U.UF.C.closure(function (obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_dseiTeacherDeskIconInfo[i]]),
  2046. "onclick": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_dseiTeacherDeskIconInfo[i]])
  2050. }, _frag); //
  2051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2054. } //
  2055. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2056. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2057. _content = $$("div", {
  2058. className: "U_MD_D_KO",
  2059. "onmousedown": U.UF.C.closure(function (obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_chjyjAdminDeskIconInfo[i]]),
  2063. "onclick": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_chjyjAdminDeskIconInfo[i]])
  2067. }, _frag); //
  2068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2071. }//
  2072. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2073. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2074. _content = $$("div", {
  2075. className: "U_MD_D_KO",
  2076. "onmousedown": U.UF.C.closure(function (obj) {
  2077. //防止拖动图标即打开了桌面应用
  2078. U.MD.D.click(this, obj);
  2079. }, [_chjyjTeacherDeskIconInfo[i]]),
  2080. "onclick": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_chjyjTeacherDeskIconInfo[i]])
  2084. }, _frag); //
  2085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2088. }
  2089. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2090. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2091. _content = $$("div", {
  2092. className: "U_MD_D_KO",
  2093. "onmousedown": U.UF.C.closure(function (obj) {
  2094. //防止拖动图标即打开了桌面应用
  2095. U.MD.D.click(this, obj);
  2096. }, [_szjkyAdminDeskIconInfo[i]]),
  2097. "onclick": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_szjkyAdminDeskIconInfo[i]])
  2101. }, _frag); //
  2102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2105. }//
  2106. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2107. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2108. _content = $$("div", {
  2109. className: "U_MD_D_KO",
  2110. "onmousedown": U.UF.C.closure(function (obj) {
  2111. //防止拖动图标即打开了桌面应用
  2112. U.MD.D.click(this, obj);
  2113. }, [_szjkyTeacherDeskIconInfo[i]]),
  2114. "onclick": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_szjkyTeacherDeskIconInfo[i]])
  2118. }, _frag); //
  2119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2122. }
  2123. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2124. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2125. _content = $$("div", {
  2126. className: "U_MD_D_KO",
  2127. "onmousedown": U.UF.C.closure(function (obj) {
  2128. //防止拖动图标即打开了桌面应用
  2129. U.MD.D.click(this, obj);
  2130. }, [_futianAdminDeskIconInfo[i]]),
  2131. "onclick": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_futianAdminDeskIconInfo[i]])
  2135. }, _frag); //
  2136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2139. }
  2140. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2141. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2142. _content = $$("div", {
  2143. className: "U_MD_D_KO",
  2144. "onmousedown": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_futianTeacherDeskIconInfo[i]]),
  2148. "onclick": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_futianTeacherDeskIconInfo[i]])
  2152. }, _frag); //
  2153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2156. }
  2157. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2158. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2159. _content = $$("div", {
  2160. className: "U_MD_D_KO",
  2161. "onmousedown": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_MingdeTeacherDeskIcon[i]]),
  2165. "onclick": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_MingdeTeacherDeskIcon[i]])
  2169. }, _frag); //
  2170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2173. }
  2174. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2175. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2176. _content = $$("div", {
  2177. className: "U_MD_D_KO",
  2178. "onmousedown": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_lhsAdminDesktopIconInfo[i]]),
  2182. "onclick": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_lhsAdminDesktopIconInfo[i]])
  2186. }, _frag); //
  2187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2190. }
  2191. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2192. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2193. _content = $$("div", {
  2194. className: "U_MD_D_KO",
  2195. "onmousedown": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_lhsteacherDesktopIconInfo[i]]),
  2199. "onclick": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_lhsteacherDesktopIconInfo[i]])
  2203. }, _frag); //
  2204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2207. }
  2208. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2209. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2210. _content = $$("div", {
  2211. className: "U_MD_D_KO",
  2212. "onmousedown": U.UF.C.closure(function (obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2216. "onclick": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_zhoujiateacherDesktopIconInfo[i]])
  2220. }, _frag); //
  2221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2224. }
  2225. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2226. for (i = 0; i < _hanDeskIcon.length; i++) {
  2227. _content = $$("div", {
  2228. className: "U_MD_D_KO",
  2229. "onmousedown": U.UF.C.closure(function (obj) {
  2230. //防止拖动图标即打开了桌面应用
  2231. U.MD.D.click(this, obj);
  2232. }, [_hanDeskIcon[i]]),
  2233. "onclick": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_hanDeskIcon[i]])
  2237. }, _frag); //
  2238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2241. }
  2242. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2243. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. "onmousedown": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_orgStemDeskIcon[i]]),
  2250. "onclick": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_orgStemDeskIcon[i]])
  2254. }, _frag); //
  2255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2258. }
  2259. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2260. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2261. _content = $$("div", {
  2262. className: "U_MD_D_KO",
  2263. "onmousedown": U.UF.C.closure(function (obj) {
  2264. //防止拖动图标即打开了桌面应用
  2265. U.MD.D.click(this, obj);
  2266. }, [_szulsDeskIcon[i]]),
  2267. "onclick": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_szulsDeskIcon[i]])
  2271. }, _frag); //
  2272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2275. }
  2276. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2277. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2278. _content = $$("div", {
  2279. className: "U_MD_D_KO",
  2280. "onmousedown": U.UF.C.closure(function (obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_orgDesktopIconInfo[i]]),
  2284. "onclick": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_orgDesktopIconInfo[i]])
  2288. }, _frag); //
  2289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2292. }
  2293. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2294. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2295. _content = $$("div", {
  2296. className: "U_MD_D_KO",
  2297. "onmousedown": U.UF.C.closure(function (obj) {
  2298. //防止拖动图标即打开了桌面应用
  2299. U.MD.D.click(this, obj);
  2300. }, [_schoolDesktopIconInfo[i]]),
  2301. "onclick": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_schoolDesktopIconInfo[i]])
  2305. }, _frag); //
  2306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2309. }
  2310. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2311. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2312. _content = $$("div", {
  2313. className: "U_MD_D_KO",
  2314. "onmousedown": U.UF.C.closure(function (obj) {
  2315. //防止拖动图标即打开了桌面应用
  2316. U.MD.D.click(this, obj);
  2317. }, [_GMteacherDesktopIconInfo[i]]),
  2318. "onclick": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_GMteacherDesktopIconInfo[i]])
  2322. }, _frag); //
  2323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2326. }
  2327. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2328. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2329. _content = $$("div", {
  2330. className: "U_MD_D_KO",
  2331. "onmousedown": U.UF.C.closure(function (obj) {
  2332. //防止拖动图标即打开了桌面应用
  2333. U.MD.D.click(this, obj);
  2334. }, [_SONGteacherDesktopIconInfo[i]]),
  2335. "onclick": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_SONGteacherDesktopIconInfo[i]])
  2339. }, _frag); //
  2340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2343. }
  2344. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2345. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2346. _content = $$("div", {
  2347. className: "U_MD_D_KO",
  2348. "onmousedown": U.UF.C.closure(function (obj) {
  2349. //防止拖动图标即打开了桌面应用
  2350. U.MD.D.click(this, obj);
  2351. }, [_GMstudentDesktopIconInfo[i]]),
  2352. "onclick": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_GMstudentDesktopIconInfo[i]])
  2356. }, _frag); //
  2357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2360. }
  2361. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2362. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2363. _content = $$("div", {
  2364. className: "U_MD_D_KO",
  2365. "onmousedown": U.UF.C.closure(function (obj) {
  2366. //防止拖动图标即打开了桌面应用
  2367. U.MD.D.click(this, obj);
  2368. }, [_tcTeacherDeskIconInfo[i]]),
  2369. "onclick": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_tcTeacherDeskIconInfo[i]])
  2373. }, _frag); //
  2374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2377. }
  2378. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2379. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2380. _content = $$("div", {
  2381. className: "U_MD_D_KO",
  2382. "onmousedown": U.UF.C.closure(function (obj) {
  2383. //防止拖动图标即打开了桌面应用
  2384. U.MD.D.click(this, obj);
  2385. }, [_tcOrganizerDeskIconInfo[i]]),
  2386. "onclick": U.UF.C.closure(function (obj) {
  2387. //防止拖动图标即打开了桌面应用
  2388. U.MD.D.click(this, obj);
  2389. }, [_tcOrganizerDeskIconInfo[i]])
  2390. }, _frag); //
  2391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2394. }
  2395. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2396. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2397. _content = $$("div", {
  2398. className: "U_MD_D_KO",
  2399. "onmousedown": U.UF.C.closure(function (obj) {
  2400. //防止拖动图标即打开了桌面应用
  2401. U.MD.D.click(this, obj);
  2402. }, [_szscTeacherDeskIconInfo[i]]),
  2403. "onclick": U.UF.C.closure(function (obj) {
  2404. //防止拖动图标即打开了桌面应用
  2405. U.MD.D.click(this, obj);
  2406. }, [_szscTeacherDeskIconInfo[i]])
  2407. }, _frag); //
  2408. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2409. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2410. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2411. }
  2412. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2413. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2414. _content = $$("div", {
  2415. className: "U_MD_D_KO",
  2416. "onmousedown": U.UF.C.closure(function (obj) {
  2417. //防止拖动图标即打开了桌面应用
  2418. U.MD.D.click(this, obj);
  2419. }, [_szscOrganizerDeskIconInfo[i]]),
  2420. "onclick": U.UF.C.closure(function (obj) {
  2421. //防止拖动图标即打开了桌面应用
  2422. U.MD.D.click(this, obj);
  2423. }, [_szscOrganizerDeskIconInfo[i]])
  2424. }, _frag); //
  2425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2428. }
  2429. } else {
  2430. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2431. _content = $$("div", {
  2432. className: "U_MD_D_KO",
  2433. "onmousedown": U.UF.C.closure(function (obj) {
  2434. //防止拖动图标即打开了桌面应用
  2435. U.MD.D.click(this, obj);
  2436. }, [_teacherDesktopIconInfo[i]]),
  2437. "onclick": U.UF.C.closure(function (obj) {
  2438. //防止拖动图标即打开了桌面应用
  2439. U.MD.D.click(this, obj);
  2440. }, [_teacherDesktopIconInfo[i]])
  2441. }, _frag); //
  2442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2445. }
  2446. }
  2447. } else {
  2448. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2449. _content = $$("div", {
  2450. className: "U_MD_D_KO",
  2451. style: { 'width': '124px', 'height': '145px' },
  2452. "onmousedown": U.UF.C.closure(function (obj) {
  2453. //防止拖动图标即打开了桌面应用
  2454. U.MD.D.click(this, obj);
  2455. }, [_easyDesktopIconInfo[i]]),
  2456. "onclick": U.UF.C.closure(function (obj) {
  2457. //防止拖动图标即打开了桌面应用
  2458. U.MD.D.click(this, obj);
  2459. }, [_easyDesktopIconInfo[i]])
  2460. }, _frag); //
  2461. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2464. }
  2465. }
  2466. if (type == 1) {
  2467. //加载好后给图标定位
  2468. U.MD.D.iconPostion($(_frag).Child());
  2469. } else {
  2470. //加载好后给图标定位
  2471. U.MD.D.iconPostion2($(_frag).Child());
  2472. }
  2473. //把图标加载到页面
  2474. el.appendChild(_frag);
  2475. }
  2476. /**
  2477. * 显示任务栏
  2478. *
  2479. * @param {element} 桌面元素
  2480. */
  2481. U.MD.D.I.displayTaskbar = function (el) {
  2482. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2483. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2484. //任务栏位置变化
  2485. U.selectEl(el).css({ "bottom": "0px" });
  2486. //桌面位置变话
  2487. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2488. }
  2489. }
  2490. //#region 桌面图标拖动逻辑
  2491. /**
  2492. * 桌面排列图标
  2493. *
  2494. * @param {element} 桌面元素
  2495. * @param {object} 上下相距的距离
  2496. * @param {object} 左右相距的距离
  2497. * @return {object} 命名空间
  2498. */
  2499. U.MD.D.iconPostion = function (childs, top, left) {
  2500. var i; //用于循环处理
  2501. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2502. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2503. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2504. for (i = 0; i < childs.length; i++) {
  2505. //如果竖排top超过了范围处理
  2506. if (top + 95 > US.height - 10) {
  2507. //left超过了页面范围处理,则向上重叠打印处理
  2508. if ((left + 180) > US.width) {
  2509. top -= 110;
  2510. left -= 90;
  2511. }
  2512. //没有超过范围,那么left+90添加到下一个竖排打印
  2513. else {
  2514. left += 90;
  2515. top = 15;
  2516. };
  2517. }
  2518. //给图标的位置赋值
  2519. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2520. if (i < childs.length - 1) {
  2521. //页面图标每次向下加95
  2522. top += 95;
  2523. }
  2524. }
  2525. //返回最后调用的图标的位置
  2526. return [top, left];
  2527. }
  2528. /**
  2529. * 桌面排列图标
  2530. *
  2531. * @param {element} 桌面元素
  2532. * @param {object} 上下相距的距离
  2533. * @param {object} 左右相距的距离
  2534. * @return {object} 命名空间
  2535. */
  2536. U.MD.D.iconPostion2 = function (childs, top, left) {
  2537. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2538. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2539. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2540. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2541. for (i = 0; i < childs.length; i++) {
  2542. //如果竖排top超过了范围处理
  2543. if (left + 150 > US.width - 10) {
  2544. //left超过了页面范围处理,则向上重叠打印处理
  2545. if ((top + 180) > US.Height) {
  2546. top -= 150;
  2547. left -= 150;
  2548. }
  2549. //没有超过范围,那么left+90添加到下一个竖排打印
  2550. else {
  2551. top += 150;
  2552. left = ol;
  2553. };
  2554. }
  2555. //给图标的位置赋值
  2556. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2557. if (i < childs.length - 1) {
  2558. //页面图标每次向下加95
  2559. left += 150;
  2560. }
  2561. }
  2562. //返回最后调用的图标的位置
  2563. return [top, left];
  2564. }
  2565. /**
  2566. * 桌面点击事件逻辑
  2567. *
  2568. * @param {element} 桌面元素
  2569. * @param {object} 上下相距的距离
  2570. * @param {object} 左右相距的距离
  2571. * @return {object} 命名空间
  2572. */
  2573. U.MD.D.click = function (el, obj) {
  2574. var _buttonnumber = event.button; //点击的按钮的事件值
  2575. var _userinfo = US.userInfo;
  2576. U.UF.EV.stopBubble(); //阻止向上冒泡
  2577. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2578. if (_buttonnumber < 2) {
  2579. //如果是click事件的处理
  2580. if (event.type == "click") {
  2581. //如果元素在mousemove事件中没有移动则出发click事件
  2582. if (!U.MD.D.I.IsDrag) {
  2583. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2584. U.alert("请先登录您的账号!");
  2585. setTimeout(() => {
  2586. U.MD.U.L.login();
  2587. }, 2000);
  2588. } else {
  2589. //打开应用处理
  2590. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2591. }
  2592. }
  2593. }
  2594. //如果是mouse事件的处理
  2595. else {
  2596. if (US.Config.type == '1') {
  2597. //拖动处理,添加拖动和拖动结束事件
  2598. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2599. }
  2600. }
  2601. U.MD.D.I.IsDrag = false;
  2602. }
  2603. }
  2604. /**
  2605. * 拖动的处理
  2606. *
  2607. */
  2608. U.MD.D.iconMove = function () {
  2609. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2610. U.MD.D.I.IsDrag = true;
  2611. }
  2612. /**
  2613. * 拖动结束后,这里是定位处理,以网状的形式定位
  2614. *
  2615. * @param {element} 拖动的元素
  2616. * @return {object} 命名空间
  2617. */
  2618. U.MD.D.iconUp = function (el) {
  2619. var _top = 15,
  2620. _left = 20,
  2621. _margin,
  2622. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2623. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2624. if (_positioninfo["OT"] > 15) {
  2625. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2626. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2627. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2628. }
  2629. if (_positioninfo["OL"] > 20) {
  2630. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2631. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2632. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2633. }
  2634. //while循环判断么一个重叠的元素
  2635. do {
  2636. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2637. _top = _positioninfo[0] + 95; //得到定位后的top
  2638. _left = _positioninfo[1]; //得到定位后的left
  2639. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2640. }
  2641. /**
  2642. * 判断拖动后图标是否重叠
  2643. *
  2644. * @param {element} 拖动的元素
  2645. * @param {element} 桌面所有的元素
  2646. * @param {array} 拖动元素的位置
  2647. ----------[0] 上 top
  2648. ----------[1] 左 left
  2649. * @return {object} 命名空间
  2650. */
  2651. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2652. //循环所有的图标
  2653. for (var i = 0; i < childs.length; i++) {
  2654. //判断有没有和该图标诶子重叠的元素
  2655. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2656. return childs[i]; //如果有返回
  2657. }
  2658. }
  2659. }
  2660. //#endregion
  2661. //#endregion
  2662. //#region 桌面应用
  2663. /**
  2664. * 打开应用
  2665. *
  2666. * @param {string} 类型
  2667. -----------------Disk 网盘系统
  2668. -----------------PDisk 学习系统网盘
  2669. -----------------Poto 图片
  2670. -----------------Video 视频
  2671. -----------------Music 音乐
  2672. -----------------Word word
  2673. -----------------Excel excel
  2674. -----------------Txt 记事本
  2675. -----------------PB 学习系统
  2676. -----------------Blog 朋友圈系统
  2677. -----------------FTP ftp系统
  2678. -----------------Group 好友群
  2679. -----------------SY 首页系统
  2680. -----------------Set 个人设置
  2681. -----------------XSet 系统设置
  2682. -----------------App 我们所有的app
  2683. -----------------BC c.1473.cn 平台
  2684. -----------------CWeb d.1473.cn 变成平台
  2685. -----------------其他的外联系统 我们统一用iframe打开
  2686. * @param {array} 类型
  2687. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2688. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2689. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2690. 如果第一个参数为其他,则无第二个参数
  2691. * @returns {array}
  2692. */
  2693. window.addEventListener('message', function (e) { // 监听 message 事件
  2694. // alert(e.data.type);
  2695. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2696. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2697. //3是展示全部阶段 2学生 1老师 4专家
  2698. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2699. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2700. //3是展示全部阶段 2学生 1老师 4专家
  2701. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2702. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2703. //3是展示全部阶段 2学生 1老师 4专家
  2704. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2705. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2706. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2707. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2708. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2709. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2710. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2711. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2712. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2713. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2714. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2715. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2716. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2717. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2718. //3是展示全部阶段 2学生 1老师 4专家
  2719. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2720. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2721. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2722. U.MD.D.I.selectUser();
  2723. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2724. var _formel = document.getElementById("study");
  2725. U.UF.F.windowZooming(_formel);
  2726. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2727. var _formel = document.getElementById("studyDetail");
  2728. U.UF.F.windowZooming(_formel);
  2729. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2730. var _formel = document.getElementById("studyDetail");
  2731. U.UF.F.windowZooming(_formel);
  2732. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2733. var _formel = document.getElementById("studentStudy");
  2734. U.UF.F.windowZooming(_formel);
  2735. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2736. // var _formel = document.getElementById("study");
  2737. //如果最大化了,那么就把他缩小
  2738. // if (_formel.ismaximize) {
  2739. // return;
  2740. // }
  2741. // U.UF.F.windowZooming(_formel);
  2742. // U.UF.F.topWindow(_formel);
  2743. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2744. // var _formel = document.getElementById("studyDetail");
  2745. //如果最大化了,那么就把他缩小
  2746. // if (_formel.ismaximize) {
  2747. // return;
  2748. // }
  2749. // U.UF.F.windowZooming(_formel);
  2750. // U.UF.F.topWindow(_formel);
  2751. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2752. // var _formel = document.getElementById("studentStudy");
  2753. // if (_formel.ismaximize) {
  2754. // return;
  2755. // }
  2756. // U.UF.F.windowZooming(_formel);
  2757. // U.UF.F.topWindow(_formel);
  2758. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2759. var _formel = document.getElementById("study");
  2760. // if (_formel.ismaximize) {
  2761. // return;
  2762. // }
  2763. // U.UF.F.windowZooming(_formel);
  2764. U.UF.F.topWindow(_formel);
  2765. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2766. var _formel = document.getElementById("studentIndex");
  2767. U.UF.F.windowZooming(_formel);
  2768. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2769. var _formel = document.getElementById("studyDetailS");
  2770. U.UF.F.windowZooming(_formel);
  2771. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2772. var _formel = document.getElementById("studioIndex");
  2773. U.UF.F.windowZooming(_formel);
  2774. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2775. var _formel = document.getElementById("studyDetailStudio");
  2776. U.UF.F.windowZooming(_formel);
  2777. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2778. var _formel = document.getElementById("studyDetailStudio");
  2779. U.UF.F.windowZooming(_formel);
  2780. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2781. var _formel = document.getElementById("studyDetailNT");
  2782. U.UF.F.windowZooming(_formel);
  2783. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2784. var _formel = document.getElementById("studyDetailS");
  2785. U.UF.F.windowZooming(_formel);
  2786. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2787. var _formel = document.getElementById("studyDetailS");
  2788. U.UF.F.topWindow(_formel);
  2789. } else if (e.data.tools && e.data.tools == "1") {
  2790. // U.MD.D.I.openApplication("whiteboard")
  2791. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "2") {
  2793. U.MD.D.I.openApplication("note")
  2794. } else if (e.data.tools && e.data.tools == "3") {
  2795. // U.MD.D.I.openApplication("mind")
  2796. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "4") {
  2798. U.MD.D.I.openApplication("investigation")
  2799. } else if (e.data.tools && e.data.tools == "6") {
  2800. // U.MD.D.I.openApplication("doc")
  2801. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "7") {
  2803. // U.MD.D.I.openApplication("mindNetwork")
  2804. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "8") {
  2806. U.MD.D.I.openApplication("library")
  2807. } else if (e.data.tools && e.data.tools == "17") {
  2808. U.MD.D.I.openApplication("stuLibrary")
  2809. } else if (e.data.tools && e.data.tools == "18") {
  2810. U.MD.D.I.openApplication("train")
  2811. } else if (e.data.tools && e.data.tools == "21") {
  2812. U.MD.D.I.openApplication("program")
  2813. } else if (e.data.tools && e.data.tools == "22") {
  2814. U.MD.D.I.openApplication("AIprogram2")
  2815. } else if (e.data.tools && e.data.tools == "23") {
  2816. U.MD.D.I.openApplication("Pythonprogram")
  2817. } else if (e.data.tools && e.data.tools == "24") {
  2818. U.MD.D.I.openApplication("AIprogram")
  2819. } else if (e.data.tools && e.data.tools == "25") {
  2820. U.MD.D.I.openApplication("sys")
  2821. } else if (e.data.tools && e.data.tools == "26") {
  2822. // U.MD.D.I.openApplication("courseDesign")
  2823. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2824. } else if (e.data.tools && e.data.tools == "31") {
  2825. U.MD.D.I.openApplication("netWorkPanel")
  2826. } else if (e.data.tools && e.data.tools == "32") {
  2827. U.MD.D.I.openApplication("codeEdit")
  2828. } else if (e.data.tools && e.data.tools == "57") {
  2829. U.MD.D.I.openApplication("CocoPi")
  2830. } else if (e.data.tools && e.data.tools == "63") {
  2831. U.MD.D.I.openApplication("Wood")
  2832. } else if (e.data.tools && e.data.tools == "58") {
  2833. U.MD.D.I.openApplication("car")
  2834. } else if (e.data.tools && e.data.tools == "59") {
  2835. U.MD.D.I.openApplication("lineSearch")
  2836. } else if (e.data.tools && e.data.tools == "60") {
  2837. U.MD.D.I.openApplication("deepLearning")
  2838. } else if (e.data.tools && e.data.tools == "61") {
  2839. U.MD.D.I.openApplication("allHistory")
  2840. } else if (e.data.tools && e.data.tools == "28") {
  2841. U.MD.D.I.openApplication("translation")
  2842. } else if (e.data.tools && e.data.tools == "37") {
  2843. U.MD.D.I.openApplication("mohe")
  2844. } else if (e.data.tools && e.data.tools == "38") {
  2845. U.MD.D.I.openApplication("24game")
  2846. } else if (e.data.tools && e.data.tools == "39") {
  2847. U.MD.D.I.openApplication("GeoGebra")
  2848. } else if (e.data.tools && e.data.tools == "43") {
  2849. U.MD.D.I.openApplication("studentEvaluate")
  2850. } else if (e.data.tools && e.data.tools == "44") {
  2851. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2852. } else if (e.data.tools && e.data.tools == "46") {
  2853. U.MD.D.I.openApplication("project")
  2854. } else if (e.data.tools && e.data.tools == "1s") {
  2855. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2856. } else if (e.data.tools && e.data.tools == "3s") {
  2857. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2858. } else if (e.data.tools && e.data.tools == "6s") {
  2859. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2860. } else if (e.data.tools && e.data.tools == "1studio") {
  2861. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2862. } else if (e.data.tools && e.data.tools == "3studio") {
  2863. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2864. } else if (e.data.tools && e.data.tools == "6studio") {
  2865. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2866. } else if (e.data.tools && e.data.tools == "3y") {
  2867. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2868. } else if (e.data.tools && e.data.tools == "1y") {
  2869. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2870. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2871. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2872. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2873. U.MD.D.I.openApplication("AIAnalyse")
  2874. } else if (e.data.tools && e.data.tools == "1teacher") {
  2875. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2876. } else if (e.data.tools && e.data.tools == "3teacher") {
  2877. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2878. } else if (e.data.tools && e.data.tools == "7teacher") {
  2879. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2880. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2881. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2882. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2883. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2884. } else if (e.data.tools && e.data.tools == "1E") {
  2885. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2886. } else if (e.data.tools && e.data.tools == "3E") {
  2887. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2888. } else if (e.data.tools && e.data.tools == "57y") {
  2889. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2890. } else if (e.data.tools && e.data.tools == "57u") {
  2891. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2892. } else if (e.data.tools && e.data.tools == "57teacher") {
  2893. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2894. } else if (e.data.tools && e.data.tools == "64") {
  2895. U.MD.D.I.openApplication("AIChat")
  2896. } else if (e.data.tools && e.data.tools == "66") {
  2897. U.MD.D.I.openApplication("formulaEdi")
  2898. } else if (e.data.tools && e.data.tools == "67") {
  2899. U.MD.D.I.openApplication("molStr")
  2900. } else if (e.data.tools && e.data.tools == "68") {
  2901. U.MD.D.I.openApplication("timeAxis")
  2902. } else if (e.data.tools && e.data.tools == "openCourse") {
  2903. let _data = {
  2904. typea: e.data.typea || '',
  2905. typeb: e.data.typeb || '',
  2906. typed: e.data.typed || '',
  2907. }
  2908. U.MD.D.I.openInApplication("index", _data)
  2909. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2910. let _data = {
  2911. classid: e.data.classid || '',
  2912. }
  2913. U.MD.D.I.openInApplication("dataClass", _data)
  2914. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2915. let _data = {
  2916. cid: e.data.cid || '',
  2917. gid: e.data.gid || '',
  2918. }
  2919. U.MD.D.I.openInApplication("opencCscl", _data)
  2920. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2921. U.MD.D.I.openApplication("dataBoardTest")
  2922. }
  2923. });
  2924. U.MD.D.I.selectUser = function () {
  2925. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2926. if (res.value[0].length > 0) {
  2927. US.userInfo = res.value[0][0];
  2928. $(".userName")[0].innerHTML = US.userInfo.username;
  2929. }
  2930. }, [], { "type": "GET", "withCredentials": true });
  2931. }
  2932. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2933. var _userinfo = US.userInfo, //登录用户信息
  2934. _userid = US.userInfo.userid, //登录用户id
  2935. _oid = _userinfo.organizeid,
  2936. _type = US.userInfo.type,
  2937. _org = US.userInfo.org,
  2938. _role = US.userInfo.role,
  2939. _classId = US.userInfo.classid;
  2940. if (_type == 4) {
  2941. tType = 4
  2942. }
  2943. switch (str) {
  2944. case "studyDetailNT": //无终端模式
  2945. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2946. setTimeout(() => {
  2947. U.MD.U.L.login();
  2948. }, 2000);
  2949. } else {
  2950. _formdiv = new U.UF.UI.form(
  2951. "课程详情",
  2952. $$("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 }), {
  2953. "id": "studyDetailNT",
  2954. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2955. "onresize": function () { }
  2956. }, {
  2957. closecallback: function () { }
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _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); } }
  2960. break;
  2961. }
  2962. case "studyDetail":
  2963. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2964. setTimeout(() => {
  2965. U.MD.U.L.login();
  2966. }, 2000);
  2967. } else {
  2968. _formdiv = new U.UF.UI.form(
  2969. "课程详情",
  2970. $$("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 }), {
  2971. "id": "studyDetail",
  2972. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2973. "onresize": function () { }
  2974. }, {
  2975. closecallback: function () { }
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _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); } }
  2978. break;
  2979. }
  2980. case "studyDetailTrain":
  2981. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2982. setTimeout(() => {
  2983. U.MD.U.L.login();
  2984. }, 2000);
  2985. } else {
  2986. _formdiv = new U.UF.UI.form(
  2987. "培训详情",
  2988. $$("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 }), {
  2989. "id": "studyDetailTrain",
  2990. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. }
  2998. case "studyDetailS":
  2999. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3000. setTimeout(() => {
  3001. U.MD.U.L.login();
  3002. }, 2000);
  3003. } else {
  3004. _formdiv = new U.UF.UI.form(
  3005. "项目详情",
  3006. $$("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 }), {
  3007. "id": "studyDetailS",
  3008. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3009. "onresize": function () { }
  3010. }, {
  3011. closecallback: function () { }
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _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); } }
  3014. break;
  3015. }
  3016. case "studyDetailStudio":
  3017. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3018. setTimeout(() => {
  3019. U.MD.U.L.login();
  3020. }, 2000);
  3021. } else {
  3022. _formdiv = new U.UF.UI.form(
  3023. "工作详情",
  3024. $$("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 }), {
  3025. "id": "studyDetailStudio",
  3026. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3027. "onresize": function () { }
  3028. }, {
  3029. closecallback: function () { }
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. _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); } }
  3032. break;
  3033. }
  3034. case "studyDetailS5":
  3035. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3036. setTimeout(() => {
  3037. U.MD.U.L.login();
  3038. }, 2000);
  3039. } else {
  3040. _formdiv = new U.UF.UI.form(
  3041. "项目详情",
  3042. $$("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 }), {
  3043. "id": "studyDetailS",
  3044. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3045. "onresize": function () { }
  3046. }, {
  3047. closecallback: function () { }
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _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); } }
  3050. break;
  3051. }
  3052. case "studyDetailGM":
  3053. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3054. setTimeout(() => {
  3055. U.MD.U.L.login();
  3056. }, 2000);
  3057. } else {
  3058. _formdiv = new U.UF.UI.form(
  3059. "课程详情",
  3060. $$("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 }), {
  3061. "id": "studyDetail",
  3062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. }
  3070. case "hanUrl":
  3071. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3072. setTimeout(() => {
  3073. U.MD.U.L.login();
  3074. }, 2000);
  3075. } else {
  3076. _formdiv = new U.UF.UI.form(
  3077. "汉字宫",
  3078. $$("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" }), {
  3079. "id": "hanUrl",
  3080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3081. "onresize": function () { }
  3082. }, {
  3083. closecallback: function () { }
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _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); } }
  3086. break;
  3087. }
  3088. case "index":
  3089. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3090. setTimeout(() => {
  3091. U.MD.U.L.login();
  3092. }, 2000);
  3093. } else {
  3094. _formdiv = new U.UF.UI.form(
  3095. "课程中心",
  3096. $$("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 }), {
  3097. "id": "study",
  3098. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. }
  3106. case "dataClass":
  3107. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3108. setTimeout(() => {
  3109. U.MD.U.L.login();
  3110. }, 2000);
  3111. } else {
  3112. _formdiv = new U.UF.UI.form(
  3113. "数据报告",
  3114. $$("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 }), {
  3115. "id": "dataClass",
  3116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. }
  3124. case "opencCscl":
  3125. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3126. setTimeout(() => {
  3127. U.MD.U.L.login();
  3128. }, 2000);
  3129. } else {
  3130. _formdiv = new U.UF.UI.form(
  3131. "协同建构",
  3132. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3133. "id": "futureClass",
  3134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _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); } }
  3140. break;
  3141. }
  3142. }
  3143. }
  3144. U.MD.D.I.openApplication = function (str, obj, info) {
  3145. obj = obj || {};
  3146. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3147. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3148. _userinfo = US.userInfo, //登录用户信息
  3149. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3150. _oid = obj.organizeid || _userinfo.organizeid,
  3151. _type = US.userInfo.type,
  3152. _org = US.userInfo.org,
  3153. _role = US.userInfo.role,
  3154. _classId = US.userInfo.classid,
  3155. _TscreenType = 1
  3156. _screenType = 2,
  3157. _SscreenType = 3;
  3158. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3159. return;
  3160. }
  3161. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3162. switch (str) {
  3163. case "studnetProject": //好友打开
  3164. _formdiv = new U.UF.UI.form(
  3165. "我的项目",
  3166. $$("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 }), {
  3167. "id": "studnetProject",
  3168. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _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); } }
  3174. break;
  3175. case "studentEvaluate": //好友打开
  3176. _formdiv = new U.UF.UI.form(
  3177. "我的评价",
  3178. $$("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 }), {
  3179. "id": "studentEvaluate",
  3180. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3186. break;
  3187. case "my":
  3188. _formdiv = new U.UF.UI.form(
  3189. "我的资料",
  3190. $$("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 }), {
  3191. "id": "my",
  3192. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3198. break;
  3199. case "program":
  3200. _formdiv = new U.UF.UI.form(
  3201. "编程平台",
  3202. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3203. "id": "program",
  3204. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _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); } }
  3210. break;
  3211. case "library":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3215. "id": "library",
  3216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3222. break;
  3223. case "whiteboard":
  3224. _formdiv = new U.UF.UI.form(
  3225. "电子白板",
  3226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3227. "id": "whiteboard",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3234. break;
  3235. case "investigation":
  3236. _formdiv = new U.UF.UI.form(
  3237. "问卷调查",
  3238. $$("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 }), {
  3239. "id": "investigation",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. break;
  3247. case "note":
  3248. _formdiv = new U.UF.UI.form(
  3249. "便签分类",
  3250. $$("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 }), {
  3251. "id": "note",
  3252. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3258. break;
  3259. // case "score":
  3260. // _formdiv = new U.UF.UI.form(
  3261. // "量规评分",
  3262. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3263. // "id": "score",
  3264. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. // "onresize": function() {}
  3266. // }, {
  3267. // closecallback: function() {}
  3268. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3270. // break;
  3271. case "mind":
  3272. _formdiv = new U.UF.UI.form(
  3273. "思维导图",
  3274. $$("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"
  3275. "id": "mind",
  3276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _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); } }
  3282. break;
  3283. case "doc":
  3284. // U.MD.D.I.isRoom();
  3285. _formdiv = new U.UF.UI.form(
  3286. "协同文档",
  3287. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3288. "id": "doc",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3295. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3296. // })
  3297. _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); } }
  3298. break;
  3299. case "studentStudy":
  3300. _formdiv = new U.UF.UI.form(
  3301. "课程中心",
  3302. $$("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
  3303. "id": "studentStudy",
  3304. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3305. "onresize": function () { }
  3306. }, {
  3307. closecallback: function () { }
  3308. }, { "style": { "height": "36px" } }).form; //创建窗体
  3309. _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); } }
  3310. break;
  3311. case "train": //好友打开
  3312. _formdiv = new U.UF.UI.form(
  3313. "训练平台",
  3314. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3315. "id": "train",
  3316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3317. "onresize": function () { }
  3318. }, {
  3319. closecallback: function () { }
  3320. }, { "style": { "height": "36px" } }).form; //创建窗体
  3321. _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); } }
  3322. break;
  3323. case "mindNetwork": //好友打开
  3324. _formdiv = new U.UF.UI.form(
  3325. "思维网格",
  3326. $$("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 }), {
  3327. "id": "mindNetwork",
  3328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _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); } }
  3334. break;
  3335. case "studentClassRoom": //好友打开
  3336. _formdiv = new U.UF.UI.form(
  3337. "实时课堂",
  3338. $$("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 }), {
  3339. "id": "studentClassRoom",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _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); } }
  3346. setTimeout(() => {
  3347. U.UF.F.windowZooming(_formdiv)
  3348. }, 0);
  3349. break;
  3350. }
  3351. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3352. switch (str) {
  3353. case "studnetProject": //好友打开
  3354. _formdiv = new U.UF.UI.form(
  3355. "我的项目",
  3356. $$("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 }), {
  3357. "id": "studnetProject",
  3358. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "studentEvaluate": //好友打开
  3366. _formdiv = new U.UF.UI.form(
  3367. "我的评价",
  3368. $$("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 }), {
  3369. "id": "studentEvaluate",
  3370. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "my":
  3378. _formdiv = new U.UF.UI.form(
  3379. "我的资料",
  3380. $$("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 }), {
  3381. "id": "my",
  3382. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "program":
  3390. _formdiv = new U.UF.UI.form(
  3391. "编程平台",
  3392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3393. "id": "program",
  3394. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "library":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3405. "id": "library",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "whiteboard":
  3414. _formdiv = new U.UF.UI.form(
  3415. "电子白板",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3417. "id": "whiteboard",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _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); } }
  3424. break;
  3425. case "investigation":
  3426. _formdiv = new U.UF.UI.form(
  3427. "问卷调查",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3429. "id": "investigation",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "note":
  3438. _formdiv = new U.UF.UI.form(
  3439. "便签分类",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3441. "id": "note",
  3442. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. // case "score":
  3450. // _formdiv = new U.UF.UI.form(
  3451. // "量规评分",
  3452. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3453. // "id": "score",
  3454. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. // "onresize": function() {}
  3456. // }, {
  3457. // closecallback: function() {}
  3458. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3460. // break;
  3461. case "mind":
  3462. _formdiv = new U.UF.UI.form(
  3463. "思维导图",
  3464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3465. "id": "mind",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3472. break;
  3473. case "doc":
  3474. // U.MD.D.I.isRoom();
  3475. _formdiv = new U.UF.UI.form(
  3476. "协同文档",
  3477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3478. "id": "doc",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3485. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3486. })
  3487. _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); } }
  3488. break;
  3489. case "train": //好友打开
  3490. _formdiv = new U.UF.UI.form(
  3491. "训练平台",
  3492. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3493. "id": "train",
  3494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3495. "onresize": function () { }
  3496. }, {
  3497. closecallback: function () { }
  3498. }, { "style": { "height": "36px" } }).form; //创建窗体
  3499. _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); } }
  3500. break;
  3501. case "studentStudy":
  3502. _formdiv = new U.UF.UI.form(
  3503. "课程中心",
  3504. $$("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
  3505. "id": "studentStudy",
  3506. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _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); } }
  3512. break;
  3513. case "mindNetwork": //好友打开
  3514. _formdiv = new U.UF.UI.form(
  3515. "思维网格",
  3516. $$("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 }), {
  3517. "id": "mindNetwork",
  3518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _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); } }
  3524. break;
  3525. case "studentClassRoom": //好友打开
  3526. _formdiv = new U.UF.UI.form(
  3527. "实时课堂",
  3528. $$("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 }), {
  3529. "id": "studentClassRoom",
  3530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. _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); } }
  3536. setTimeout(() => {
  3537. U.UF.F.windowZooming(_formdiv)
  3538. }, 0);
  3539. break;
  3540. }
  3541. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3542. //选择应用处理
  3543. switch (str) {
  3544. case "project": //好友打开
  3545. _formdiv = new U.UF.UI.form(
  3546. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3547. $$("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 }), {
  3548. "id": "project",
  3549. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function () { }
  3551. }, {
  3552. closecallback: function () { }
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break;
  3556. case "student":
  3557. _formdiv = new U.UF.UI.form(
  3558. "学生管理",
  3559. $$("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 }), {
  3560. "id": "student",
  3561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { }
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. case "evaluate":
  3569. _formdiv = new U.UF.UI.form(
  3570. "学生评价",
  3571. $$("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 }), {
  3572. "id": "evaluate",
  3573. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3574. "onresize": function () { }
  3575. }, {
  3576. closecallback: function () { }
  3577. }, { "style": { "height": "36px" } }).form; //创建窗体
  3578. _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); } }
  3579. break;
  3580. case "sys":
  3581. _formdiv = new U.UF.UI.form(
  3582. "目标管理",
  3583. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3584. "id": "sys",
  3585. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "courseDesign":
  3593. _formdiv = new U.UF.UI.form(
  3594. "项目设计",
  3595. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3596. "id": "courseDesign",
  3597. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "program":
  3605. _formdiv = new U.UF.UI.form(
  3606. "编程平台",
  3607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3608. "id": "program",
  3609. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function () { }
  3611. }, {
  3612. closecallback: function () { }
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "class":
  3617. _formdiv = new U.UF.UI.form(
  3618. "班级管理",
  3619. $$("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 }), {
  3620. "id": "class",
  3621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function () { }
  3623. }, {
  3624. closecallback: function () { }
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "Grade":
  3629. _formdiv = new U.UF.UI.form(
  3630. "年级管理",
  3631. $$("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 }), {
  3632. "id": "Grade",
  3633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function () { }
  3635. }, {
  3636. closecallback: function () { }
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. case "teacherOffice":
  3641. _formdiv = new U.UF.UI.form(
  3642. "教研室",
  3643. $$("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 }), {
  3644. "id": "teacherOffice",
  3645. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function () { }
  3647. }, {
  3648. closecallback: function () { }
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _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); } }
  3651. break;
  3652. case "my":
  3653. _formdiv = new U.UF.UI.form(
  3654. "我的资料",
  3655. $$("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 }), {
  3656. "id": "my",
  3657. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function () { }
  3659. }, {
  3660. closecallback: function () { }
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _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); } }
  3663. break;
  3664. case "notice":
  3665. _formdiv = new U.UF.UI.form(
  3666. "通知公告",
  3667. $$("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 }), {
  3668. "id": "notice",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _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); } }
  3675. break;
  3676. case "library":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3680. "id": "library",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function () { }
  3683. }, {
  3684. closecallback: function () { }
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _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); } }
  3687. break;
  3688. case "whiteboard":
  3689. _formdiv = new U.UF.UI.form(
  3690. "电子白板",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3692. "id": "whiteboard",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _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); } }
  3699. break;
  3700. case "investigation":
  3701. _formdiv = new U.UF.UI.form(
  3702. "问卷调查",
  3703. $$("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 }), {
  3704. "id": "investigation",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3711. break;
  3712. case "note":
  3713. _formdiv = new U.UF.UI.form(
  3714. "便签分类",
  3715. $$("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 }), {
  3716. "id": "note",
  3717. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. // case "score":
  3725. // _formdiv = new U.UF.UI.form(
  3726. // "量规评分",
  3727. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3728. // "id": "score",
  3729. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. // "onresize": function() {}
  3731. // }, {
  3732. // closecallback: function() {}
  3733. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3735. // break;
  3736. case "mind":
  3737. _formdiv = new U.UF.UI.form(
  3738. "思维导图",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3740. "id": "mind",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3747. break;
  3748. case "doc":
  3749. // U.MD.D.I.isRoom();
  3750. _formdiv = new U.UF.UI.form(
  3751. "协同文档",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3753. "id": "doc",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3760. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3761. })
  3762. _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); } }
  3763. break;
  3764. case "study":
  3765. _formdiv = new U.UF.UI.form(
  3766. "课程中心",
  3767. $$("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
  3768. "id": "study",
  3769. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3770. "onresize": function () { }
  3771. }, {
  3772. closecallback: function () { }
  3773. }, { "style": { "height": "36px" } }).form; //创建窗体
  3774. _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); } }
  3775. break;
  3776. case "mindNetwork": //好友打开
  3777. _formdiv = new U.UF.UI.form(
  3778. "思维网格",
  3779. $$("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 }), {
  3780. "id": "mindNetwork",
  3781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3782. "onresize": function () { }
  3783. }, {
  3784. closecallback: function () { }
  3785. }, { "style": { "height": "36px" } }).form; //创建窗体
  3786. _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); } }
  3787. break;
  3788. case "train": //好友打开
  3789. _formdiv = new U.UF.UI.form(
  3790. "训练平台",
  3791. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3792. "id": "mindNetwork",
  3793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3794. "onresize": function () { }
  3795. }, {
  3796. closecallback: function () { }
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _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); } }
  3799. break;
  3800. case "teacherClassRoom": //好友打开
  3801. _formdiv = new U.UF.UI.form(
  3802. "实时课堂",
  3803. $$("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 }), {
  3804. "id": "teacherClassRoom",
  3805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3806. "onresize": function () { }
  3807. }, {
  3808. closecallback: function () { }
  3809. }, { "style": { "height": "36px" } }).form; //创建窗体
  3810. _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); } }
  3811. setTimeout(() => {
  3812. U.UF.F.windowZooming(_formdiv)
  3813. }, 0);
  3814. break;
  3815. }
  3816. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3817. switch (str) {
  3818. case "project": //好友打开
  3819. _formdiv = new U.UF.UI.form(
  3820. "课程管理",
  3821. $$("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 }), {
  3822. "id": "project",
  3823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function () { }
  3825. }, {
  3826. closecallback: function () { }
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3829. break;
  3830. case "evaluate":
  3831. _formdiv = new U.UF.UI.form(
  3832. "学生评价",
  3833. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3834. "id": "evaluate",
  3835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //创建窗体
  3840. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3841. break;
  3842. case "notice":
  3843. _formdiv = new U.UF.UI.form(
  3844. "通知公告",
  3845. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3846. "id": "notice",
  3847. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3848. "onresize": function () { }
  3849. }, {
  3850. closecallback: function () { }
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3853. break;
  3854. case "stuLibrary":
  3855. _formdiv = new U.UF.UI.form(
  3856. "学习资料",
  3857. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3858. "id": "stuLibrary",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3865. break;
  3866. case "program":
  3867. _formdiv = new U.UF.UI.form(
  3868. "编程平台",
  3869. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3870. "id": "program",
  3871. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3877. break;
  3878. case "whiteboard":
  3879. _formdiv = new U.UF.UI.form(
  3880. "电子白板",
  3881. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3882. "id": "whiteboard",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3889. break;
  3890. case "investigation":
  3891. _formdiv = new U.UF.UI.form(
  3892. "问卷调查",
  3893. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3894. "id": "investigation",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3901. break;
  3902. case "mind":
  3903. _formdiv = new U.UF.UI.form(
  3904. "思维导图",
  3905. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3906. "id": "mind",
  3907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3908. "onresize": function () { }
  3909. }, {
  3910. closecallback: function () { }
  3911. }, { "style": { "height": "36px" } }).form; //创建窗体
  3912. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3913. break;
  3914. case "doc":
  3915. // U.MD.D.I.isRoom();
  3916. _formdiv = new U.UF.UI.form(
  3917. "协同文档",
  3918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3919. "id": "doc",
  3920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3926. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3927. })
  3928. _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); } }
  3929. break;
  3930. case "study":
  3931. _formdiv = new U.UF.UI.form(
  3932. "课程中心",
  3933. $$("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
  3934. "id": "study",
  3935. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3936. "onresize": function () { }
  3937. }, {
  3938. closecallback: function () { }
  3939. }, { "style": { "height": "36px" } }).form; //创建窗体
  3940. _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); } }
  3941. break;
  3942. case "mindNetwork": //好友打开
  3943. _formdiv = new U.UF.UI.form(
  3944. "思维网格",
  3945. $$("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 }), {
  3946. "id": "mindNetwork",
  3947. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3948. "onresize": function () { }
  3949. }, {
  3950. closecallback: function () { }
  3951. }, { "style": { "height": "36px" } }).form; //创建窗体
  3952. _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); } }
  3953. break;
  3954. case "train": //好友打开
  3955. _formdiv = new U.UF.UI.form(
  3956. "训练平台",
  3957. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3958. "id": "train",
  3959. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3960. "onresize": function () { }
  3961. }, {
  3962. closecallback: function () { }
  3963. }, { "style": { "height": "36px" } }).form; //创建窗体
  3964. _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); } }
  3965. break;
  3966. case "sys":
  3967. _formdiv = new U.UF.UI.form(
  3968. "目标管理",
  3969. $$("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 }), {
  3970. "id": "sys",
  3971. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3972. "onresize": function () { }
  3973. }, {
  3974. closecallback: function () { }
  3975. }, { "style": { "height": "36px" } }).form; //创建窗体
  3976. _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); } }
  3977. break;
  3978. case "courseDesign":
  3979. _formdiv = new U.UF.UI.form(
  3980. "项目设计",
  3981. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3982. "id": "courseDesign",
  3983. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3984. "onresize": function () { }
  3985. }, {
  3986. closecallback: function () { }
  3987. }, { "style": { "height": "36px" } }).form; //创建窗体
  3988. _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); } }
  3989. break;
  3990. }
  3991. } else if (!_type) {
  3992. switch (str) {
  3993. case "my":
  3994. _formdiv = new U.UF.UI.form(
  3995. "我的资料",
  3996. $$("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 }), {
  3997. "id": "my",
  3998. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. }
  4006. }
  4007. switch (str) {
  4008. // AIprogram2 AI体验 aihub.cocorobo.cn
  4009. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4010. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4011. case "formulaEdi": //公式编辑
  4012. _formdiv = new U.UF.UI.form(
  4013. "公式编辑",
  4014. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4015. "id": "formulaEdi",
  4016. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4022. break;
  4023. case "molStr": //分子结构
  4024. _formdiv = new U.UF.UI.form(
  4025. "分子结构",
  4026. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4027. "id": "molStr",
  4028. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "timeAxis": //时间轴
  4036. _formdiv = new U.UF.UI.form(
  4037. "时间轴",
  4038. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4039. "id": "timeAxis",
  4040. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "AIprogram2": //AI体验
  4048. _formdiv = new U.UF.UI.form(
  4049. "AI体验",
  4050. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4051. "id": "AIprogram2",
  4052. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. case "Pythonprogram": //python编程
  4060. _formdiv = new U.UF.UI.form(
  4061. "Python编程",
  4062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4063. "id": "Pythonprogram",
  4064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _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); } }
  4070. break;
  4071. case "AIprogram": //ai编程
  4072. _formdiv = new U.UF.UI.form(
  4073. "AI编程平台",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4075. "id": "AIprogram",
  4076. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _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); } }
  4082. break;
  4083. case "CocoPi": //CocoPi
  4084. _formdiv = new U.UF.UI.form(
  4085. "CocoPi",
  4086. $$("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" }), {
  4087. "id": "CocoPi",
  4088. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _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); } }
  4094. break;
  4095. case "Wood": //Wood
  4096. _formdiv = new U.UF.UI.form(
  4097. "海龟编程",
  4098. $$("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/" }), {
  4099. "id": "Wood",
  4100. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _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); } }
  4106. break;
  4107. case "car": //模拟驾驶
  4108. _formdiv = new U.UF.UI.form(
  4109. "模拟驾驶",
  4110. $$("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/" }), {
  4111. "id": "car",
  4112. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. _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); } }
  4118. break;
  4119. case "lineSearch": //路径搜索
  4120. _formdiv = new U.UF.UI.form(
  4121. "路径搜索",
  4122. $$("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/" }), {
  4123. "id": "lineSearch",
  4124. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. case "deepLearning": //深度学习
  4132. _formdiv = new U.UF.UI.form(
  4133. "深度学习",
  4134. $$("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/#" }), {
  4135. "id": "deepLearning",
  4136. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _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); } }
  4142. break;
  4143. case "allHistory": //深度学习
  4144. _formdiv = new U.UF.UI.form(
  4145. "全历史",
  4146. $$("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/" }), {
  4147. "id": "allHistory",
  4148. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _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); } }
  4154. break;
  4155. case "chatPDF": //ai编程
  4156. _formdiv = new U.UF.UI.form(
  4157. "chatPDF",
  4158. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4159. "id": "chatPDF",
  4160. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. case "resources": //国家教育
  4168. _formdiv = new U.UF.UI.form(
  4169. "国家教育",
  4170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4171. "id": "resources",
  4172. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "codeEdit": //源码编辑
  4180. _formdiv = new U.UF.UI.form(
  4181. "源码编辑",
  4182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4183. "id": "codeEdit",
  4184. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break; //
  4191. case "MindMap": //MindMap
  4192. _formdiv = new U.UF.UI.form(
  4193. "MindMap",
  4194. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4195. "id": "MindMap",
  4196. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _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); } }
  4202. break;
  4203. case "netWorkPanel": //netWorkPanel
  4204. _formdiv = new U.UF.UI.form(
  4205. "netWorkPanel",
  4206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4207. "id": "netWorkPanel",
  4208. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "GeoGebra": //GeoGebra
  4216. _formdiv = new U.UF.UI.form(
  4217. "GeoGebra",
  4218. $$("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" }), {
  4219. "id": "GeoGebra",
  4220. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "translation": //翻译
  4228. _formdiv = new U.UF.UI.form(
  4229. "翻译",
  4230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4231. "id": "translation",
  4232. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "mohe": //魔盒
  4240. _formdiv = new U.UF.UI.form(
  4241. "魔盒识字",
  4242. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4243. "id": "mohe",
  4244. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "24game": //24点
  4252. _formdiv = new U.UF.UI.form(
  4253. "24点",
  4254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4255. "id": "24game",
  4256. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "case":
  4264. _formdiv = new U.UF.UI.form(
  4265. "课程进展",
  4266. $$("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 }), {
  4267. "id": "case",
  4268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "snf":
  4276. _formdiv = new U.UF.UI.form(
  4277. "赛诺梵",
  4278. $$("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" }), {
  4279. "id": "snf",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _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); } }
  4286. break;
  4287. case "hanFamily":
  4288. _formdiv = new U.UF.UI.form(
  4289. "汉字家族",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4291. "id": "hanFamily",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4303. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4310. break;
  4311. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4315. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4322. break;
  4323. case "hanClass":
  4324. _formdiv = new U.UF.UI.form(
  4325. "书法课堂",
  4326. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4327. "id": "hanClass",
  4328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _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); } }
  4334. break;
  4335. case "han":
  4336. _formdiv = new U.UF.UI.form(
  4337. "汉字宫",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4339. "id": "han",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _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); } }
  4346. break;
  4347. case "projectGM": //课程管理
  4348. _formdiv = new U.UF.UI.form(
  4349. "课程管理",
  4350. $$("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 }), {
  4351. "id": "projectGM",
  4352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "studyGM": //课程中心
  4360. _formdiv = new U.UF.UI.form(
  4361. "课程中心",
  4362. $$("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
  4363. "id": "study",
  4364. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. // studentGM
  4372. case "studentGM": //学生管理
  4373. _formdiv = new U.UF.UI.form(
  4374. "学生管理",
  4375. $$("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 }), {
  4376. "id": "studentGM",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _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); } }
  4383. break;
  4384. case "evaluateGM": //学生评价
  4385. _formdiv = new U.UF.UI.form(
  4386. "学生评价",
  4387. $$("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 }), {
  4388. "id": "evaluateGM",
  4389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function () { }
  4391. }, {
  4392. closecallback: function () { }
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _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); } }
  4395. break;
  4396. // classGM
  4397. case "classGM": //班级管理
  4398. _formdiv = new U.UF.UI.form(
  4399. "班级管理",
  4400. $$("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 }), {
  4401. "id": "classGM",
  4402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //创建窗体
  4407. _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); } }
  4408. break;
  4409. // dataGM
  4410. case "dataGM":
  4411. _formdiv = new U.UF.UI.form(
  4412. "我的资料",
  4413. $$("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 }), {
  4414. "id": "dataGM",
  4415. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //创建窗体
  4420. _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); } }
  4421. break;
  4422. // caseGM
  4423. case "caseGM": //课程进展
  4424. _formdiv = new U.UF.UI.form(
  4425. "课程进展",
  4426. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4427. "id": "caseGM",
  4428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //创建窗体
  4433. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4434. break;
  4435. // meterialGM
  4436. case "meterialGM": //素材库
  4437. _formdiv = new U.UF.UI.form(
  4438. "素材库",
  4439. $$("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 }), {
  4440. "id": "meterialGM",
  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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4447. break;
  4448. // evaluateSGM
  4449. case "evaluateSGM": //我的评价
  4450. _formdiv = new U.UF.UI.form(
  4451. "我的评价",
  4452. $$("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 }), {
  4453. "id": "evaluateSGM",
  4454. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //创建窗体
  4459. _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); } }
  4460. break;
  4461. case "jupyter": //jupyter
  4462. _formdiv = new U.UF.UI.form(
  4463. "jupyter",
  4464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4465. "id": "jupyter",
  4466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, { "style": { "height": "36px" } }).form; //创建窗体
  4471. _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); } }
  4472. break;
  4473. case "number": //数字实验室
  4474. _formdiv = new U.UF.UI.form(
  4475. "数字实验室",
  4476. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4477. "id": "number",
  4478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //创建窗体
  4483. _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); } }
  4484. break;
  4485. case "studentCourse": //项目管理 学生
  4486. _formdiv = new U.UF.UI.form(
  4487. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4488. $$("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 }), {
  4489. "id": "studentCourse",
  4490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //创建窗体
  4495. _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); } }
  4496. break;
  4497. case "studentCourseS": //项目管理 老师
  4498. _formdiv = new U.UF.UI.form(
  4499. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4500. $$("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 }), {
  4501. "id": "studentCourseS",
  4502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //创建窗体
  4507. _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); } }
  4508. break;
  4509. case "studentIndex": //项目中心
  4510. _formdiv = new U.UF.UI.form(
  4511. "项目中心",
  4512. $$("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 }), {
  4513. "id": "studentIndex",
  4514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //创建窗体
  4519. _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); } }
  4520. break;
  4521. case "CaseDesignS":
  4522. _formdiv = new U.UF.UI.form(
  4523. "项目进展",
  4524. $$("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 }), {
  4525. "id": "case",
  4526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //创建窗体
  4531. _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); } }
  4532. break;
  4533. case "tcStudent": //腾讯学生管理
  4534. _formdiv = new U.UF.UI.form(
  4535. "学生管理",
  4536. $$("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 }), {
  4537. "id": "tcStudent",
  4538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //创建窗体
  4543. _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); } }
  4544. break;
  4545. case "tcSchool": //腾讯学校管理
  4546. _formdiv = new U.UF.UI.form(
  4547. "学校管理",
  4548. $$("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 }), {
  4549. "id": "tcSchool",
  4550. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, { "style": { "height": "36px" } }).form; //创建窗体
  4555. _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); } }
  4556. break;
  4557. case "tcTeacher": //腾讯学校管理
  4558. _formdiv = new U.UF.UI.form(
  4559. "教师管理",
  4560. $$("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 }), {
  4561. "id": "tcTeacher",
  4562. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4563. "onresize": function () { }
  4564. }, {
  4565. closecallback: function () { }
  4566. }, { "style": { "height": "36px" } }).form; //创建窗体
  4567. _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); } }
  4568. break;
  4569. case "tcData": //腾讯我的资料
  4570. _formdiv = new U.UF.UI.form(
  4571. "我的资料",
  4572. $$("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 }), {
  4573. "id": "tcData",
  4574. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4575. "onresize": function () { }
  4576. }, {
  4577. closecallback: function () { }
  4578. }, { "style": { "height": "36px" } }).form; //创建窗体
  4579. _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); } }
  4580. break;
  4581. case "tcNotice": //腾讯消息通知
  4582. _formdiv = new U.UF.UI.form(
  4583. "消息通知",
  4584. $$("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 }), {
  4585. "id": "tcNotice",
  4586. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4587. "onresize": function () { }
  4588. }, {
  4589. closecallback: function () { }
  4590. }, { "style": { "height": "36px" } }).form; //创建窗体
  4591. _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); } }
  4592. break;
  4593. case "myReport": //好友打开
  4594. _formdiv = new U.UF.UI.form(
  4595. "我的评价",
  4596. $$("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 }), {
  4597. "id": "myReport",
  4598. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4599. "onresize": function () { }
  4600. }, {
  4601. closecallback: function () { }
  4602. }, { "style": { "height": "36px" } }).form; //创建窗体
  4603. _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); } }
  4604. break;
  4605. case "learnAna": //好友打开
  4606. _formdiv = new U.UF.UI.form(
  4607. "学习分析",
  4608. $$("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 }), {
  4609. "id": "learnAna",
  4610. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4611. "onresize": function () { }
  4612. }, {
  4613. closecallback: function () { }
  4614. }, { "style": { "height": "36px" } }).form; //创建窗体
  4615. _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); } }
  4616. break;
  4617. case "AIChat": //AI共创
  4618. _formdiv = new U.UF.UI.form(
  4619. "AI共创",
  4620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4621. "id": "AIChat",
  4622. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4623. "onresize": function () { }
  4624. }, {
  4625. istop: true,
  4626. closecallback: function () { $("#aichat_icon").remove(); },
  4627. narrowcallback: function () {
  4628. if (!$("#aichat_icon")[0]) {
  4629. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4630. }
  4631. },
  4632. }, { "style": { "height": "36px" } }).form; //创建窗体
  4633. _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); } }
  4634. break;
  4635. case "ainew": //AI共创
  4636. _formdiv = new U.UF.UI.form(
  4637. "AI协同",
  4638. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4639. "id": "ainew",
  4640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4646. break;
  4647. case "gpt4": //gpt4
  4648. _formdiv = new U.UF.UI.form(
  4649. "AI助手",
  4650. $$("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 }), {
  4651. "id": "gpt4",
  4652. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4658. break;
  4659. case "aigpt": //gpt4
  4660. _formdiv = new U.UF.UI.form(
  4661. "AI助手+",
  4662. $$("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 }), {
  4663. "id": "aigpt",
  4664. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. case "futureClass": //AI共创
  4672. _formdiv = new U.UF.UI.form(
  4673. "协同建构",
  4674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4675. "id": "synergyCourse",
  4676. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () {
  4680. $("iframe", _formdiv)[0].contentWindow.loginout();
  4681. }
  4682. }, { "style": { "height": "36px" } }).form; //创建窗体
  4683. _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); } }
  4684. break;
  4685. case "aiagent": //ai agent
  4686. _formdiv = new U.UF.UI.form(
  4687. "AI Agent",
  4688. $$("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" }), {
  4689. "id": "AIAgent",
  4690. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4696. break;
  4697. case "dataBoard": //数据看板
  4698. _formdiv = new U.UF.UI.form(
  4699. "数据看板",
  4700. $$("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 }), {
  4701. "id": "dataBoard",
  4702. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4703. "onresize": function () { }
  4704. }, {
  4705. closecallback: function () { }
  4706. }, { "style": { "height": "36px" } }).form; //创建窗体
  4707. _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); } }
  4708. break;
  4709. case "dataBoardSies": //数据融合
  4710. _formdiv = new U.UF.UI.form(
  4711. "数据融合",
  4712. $$("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 }), {
  4713. "id": "dataBoardSies",
  4714. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4715. "onresize": function () { }
  4716. }, {
  4717. closecallback: function () { }
  4718. }, { "style": { "height": "36px" } }).form; //创建窗体
  4719. _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); } }
  4720. break;
  4721. case "dataBoardNew": //数据看板
  4722. _formdiv = new U.UF.UI.form(
  4723. "综合看板",
  4724. $$("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 }), {
  4725. "id": "dataBoardNew",
  4726. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4727. "onresize": function () { }
  4728. }, {
  4729. closecallback: function () { }
  4730. }, { "style": { "height": "36px" } }).form; //创建窗体
  4731. _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); } }
  4732. break;
  4733. case "dataBoardTest": //数据看板
  4734. _formdiv = new U.UF.UI.form(
  4735. "评测看板",
  4736. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4737. "id": "dataBoardTest",
  4738. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //创建窗体
  4743. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4744. break;
  4745. case "AIAnalyse": //AI共创
  4746. _formdiv = new U.UF.UI.form(
  4747. "AI分析",
  4748. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4749. "id": "AIAnalyse",
  4750. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4756. break;
  4757. case "studioCourse": //AI共创
  4758. _formdiv = new U.UF.UI.form(
  4759. "工作管理",
  4760. $$("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 }), {
  4761. "id": "studioCourse",
  4762. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //创建窗体
  4767. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4768. break;
  4769. case "studioIndex": //AI共创
  4770. _formdiv = new U.UF.UI.form(
  4771. "工作中心",
  4772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4773. "id": "studioIndex",
  4774. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4775. "onresize": function () { }
  4776. }, {
  4777. closecallback: function () { }
  4778. }, { "style": { "height": "36px" } }).form; //创建窗体
  4779. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4780. break;
  4781. case "source":
  4782. _formdiv = new U.UF.UI.form(
  4783. "教学资源",
  4784. $$("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 }), {
  4785. "id": "source",
  4786. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4787. "onresize": function () { }
  4788. }, {
  4789. closecallback: function () { }
  4790. }, { "style": { "height": "36px" } }).form; //创建窗体
  4791. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4792. break;
  4793. case "testTeacher":
  4794. _formdiv = new U.UF.UI.form(
  4795. "评测管理",
  4796. $$("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 }), {
  4797. "id": "testTeacher",
  4798. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4799. "onresize": function () { }
  4800. }, {
  4801. closecallback: function () { }
  4802. }, { "style": { "height": "36px" } }).form; //创建窗体
  4803. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4804. break;
  4805. case "testStudent":
  4806. _formdiv = new U.UF.UI.form(
  4807. "评测中心",
  4808. $$("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 }), {
  4809. "id": "testStudent",
  4810. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4811. "onresize": function () { }
  4812. }, {
  4813. closecallback: function () { }
  4814. }, { "style": { "height": "36px" } }).form; //创建窗体
  4815. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4816. break;
  4817. case "testTeacherSies":
  4818. _formdiv = new U.UF.UI.form(
  4819. "教师管理",
  4820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4821. "id": "testTeacherSies",
  4822. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4823. "onresize": function () { }
  4824. }, {
  4825. closecallback: function () { }
  4826. }, { "style": { "height": "36px" } }).form; //创建窗体
  4827. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4828. break;
  4829. case "testStudentSies":
  4830. _formdiv = new U.UF.UI.form(
  4831. "教师中心",
  4832. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4833. "id": "testStudentSies",
  4834. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4835. "onresize": function () { }
  4836. }, {
  4837. closecallback: function () { }
  4838. }, { "style": { "height": "36px" } }).form; //创建窗体
  4839. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教师中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4840. break;
  4841. case "ytpbl": //消息通知
  4842. _formdiv = new U.UF.UI.form(
  4843. "案例征集",
  4844. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4845. "id": "ytpbl",
  4846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4847. "onresize": function () { }
  4848. }, {
  4849. closecallback: function () { }
  4850. }, { "style": { "height": "36px" } }).form; //创建窗体
  4851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4852. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4853. break;
  4854. }
  4855. //U.MD.D.I.openClick(str);
  4856. //如果有任务栏信息
  4857. if (_taskbar) {
  4858. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4859. }
  4860. }
  4861. // U.MD.D.I.openClick = function(str){
  4862. // var click = '';
  4863. // switch(str){
  4864. // case 'friend':
  4865. // click = '我的好友';
  4866. // break;
  4867. // case 'domain':
  4868. // click = '域名管理';
  4869. // break;
  4870. // case 'disk':
  4871. // click = '我的云盘';
  4872. // break;
  4873. // case 'word':
  4874. // click = 'Word';
  4875. // break;
  4876. // case 'excel':
  4877. // click = 'Execl';
  4878. // break;
  4879. // case 'txt':
  4880. // click = '文本文件';
  4881. // break;
  4882. // case 'lookupFriend':
  4883. // click = '查找好友';
  4884. // break;
  4885. // case 'ftp':
  4886. // click = 'FTP';
  4887. // break;
  4888. // case 'group':
  4889. // click = '群组';
  4890. // break;
  4891. // case 'set':
  4892. // click = '我的设置';
  4893. // break;
  4894. // case 'systemSet':
  4895. // click = '系统设置';
  4896. // break;
  4897. // case 'boomYun':
  4898. // click = '互联办公';
  4899. // break;
  4900. // case 'xz':
  4901. // click = '云端下载';
  4902. // break;
  4903. // case 'client':
  4904. // click = '有思浏览器';
  4905. // break;
  4906. // case 'backEndProgramming':
  4907. // click = '在线后台编程';
  4908. // break;
  4909. // case 'frontEndProgramming':
  4910. // click = '在线前端编程';
  4911. // break;
  4912. // default: break;
  4913. // }
  4914. // if(U.MD.D.I.Ip && click){
  4915. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4916. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4917. // })
  4918. // }
  4919. // }
  4920. /**
  4921. *函数作用:ajax简易函数,使用post格式
  4922. *@param url {data} 后台地址
  4923. *@param data {data} 参数json
  4924. *@param fn {data} 回调函数
  4925. *
  4926. */
  4927. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4928. // var xhr = new XMLHttpRequest();
  4929. // xhr.open("GET",url,true);
  4930. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4931. // xhr.onreadystatechange = function(){
  4932. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4933. // fn.call(this,xhr.responseText);
  4934. // }
  4935. // };
  4936. // xhr.send();
  4937. // }
  4938. /*判断是否是内网IP*/
  4939. // U.MD.D.I.isInnerIPFn = function(str){
  4940. // var curPageUrl = str;
  4941. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4942. // curPageUrl =curPageUrl.replace(reg1,'');
  4943. // // console.log('curPageUrl-1 '+curPageUrl);
  4944. // var reg2 = /\:+/g;//替换冒号为一点
  4945. // curPageUrl =curPageUrl.replace(reg2,'.');
  4946. // // console.log('curPageUrl-2 '+curPageUrl);
  4947. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4948. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4949. // if(curPageUrl[2] != '16'){
  4950. // return ipAddress;
  4951. // }else{
  4952. // return false;
  4953. // }
  4954. // }
  4955. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4956. // //compatibility for firefox and chrome
  4957. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4958. // var pc = new myPeerConnection({
  4959. // iceServers: []
  4960. // }),
  4961. // noop = function() {},
  4962. // localIPs = {},
  4963. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4964. // key;
  4965. // function iterateIP(ip) {
  4966. // if (!localIPs[ip]) onNewIP(ip);
  4967. // localIPs[ip] = true;
  4968. // }
  4969. // //create a bogus data channel
  4970. // pc.createDataChannel("");
  4971. // // create offer and set local description
  4972. // pc.createOffer().then(function(sdp) {
  4973. // sdp.sdp.split('\n').forEach(function(line) {
  4974. // if (line.indexOf('candidate') < 0) return;
  4975. // line.match(ipRegex).forEach(iterateIP);
  4976. // });
  4977. // pc.setLocalDescription(sdp, noop, noop);
  4978. // }).catch(function(reason) {
  4979. // // An error occurred, so handle the failure to connect
  4980. // });
  4981. // //sten for candidate events
  4982. // pc.onicecandidate = function(ice) {
  4983. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4984. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4985. // };
  4986. // }
  4987. // U.MD.D.I.getUserIpBool = function(callback){
  4988. // U.MD.D.I.getUserIP(function(ip){
  4989. // alert("Got IP! :" + ip);
  4990. // });
  4991. //}
  4992. //#endregion
  4993. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4994. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4995. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4996. _userinfo = US.userInfo, //登录用户信息
  4997. _userid = US.userInfo.userid //登录用户id
  4998. let _iframe;
  4999. let _cid = cid,
  5000. _stage = stage,
  5001. _task = task,
  5002. _tool = tool;
  5003. var _jie = $$("div", {
  5004. "style": {
  5005. "position": "absolute",
  5006. "bottom": "50px",
  5007. "right": "50px",
  5008. "zIndex": "9999",
  5009. "backgroundColor": "#2268bc",
  5010. "color": "#fff",
  5011. "padding": "12px 20px",
  5012. "cursor": "pointer",
  5013. "borderRadius": "4px",
  5014. },
  5015. "innerHTML": "提交作业"
  5016. })
  5017. let aTool = ''
  5018. let _loading = document.createElement('div')
  5019. _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;"
  5020. // _loading.id = "";
  5021. let _lchild = document.createElement('div')
  5022. let _limg = document.createElement('img')
  5023. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5024. _limg.style = "width: 26px;margin-right: 10px;"
  5025. _lchild.appendChild(_limg)
  5026. let _lspan = document.createElement('span')
  5027. _lspan.innerHTML = "上传中..."
  5028. _lchild.appendChild(_lspan)
  5029. _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%);"
  5030. _loading.appendChild(_lchild)
  5031. var _box = $$('div', {
  5032. "style": {
  5033. "position": "relative",
  5034. "width": "100%",
  5035. "height": "100%",
  5036. },
  5037. })
  5038. _box.appendChild(_loading)
  5039. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5040. switch (str) {
  5041. case "whiteboard":
  5042. aTool = 1;
  5043. _iframe = $$("iframe", {
  5044. "frameborder": "no",
  5045. "border": "0",
  5046. "scrolling ": "no",
  5047. "style": {
  5048. "cssText": "border:0;width:100%;height:100%"
  5049. },
  5050. "src": "https://iwb.cocorobo.cn/"
  5051. })
  5052. _box.appendChild(_iframe);
  5053. _box.appendChild(_jie);
  5054. _formdiv = new U.UF.UI.form(
  5055. "电子白板",
  5056. _box, {
  5057. "id": "whiteboard" + cid + stage + task + tool,
  5058. "style": {
  5059. "width": "90%",
  5060. "height": "90%",
  5061. "overflow": 'hidden'
  5062. },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, {
  5067. "style": {
  5068. "height": "36px"
  5069. }
  5070. }).form; //创建窗体
  5071. _taskbar = {
  5072. "id": str + _formdiv.id,
  5073. "style": {
  5074. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5075. },
  5076. "name": "电子白板",
  5077. "forms": _formdiv,
  5078. "click": function () {
  5079. U.MD.D.I.openApplication(str, obj, info);
  5080. }
  5081. }
  5082. break;
  5083. case "mind":
  5084. aTool = 3;
  5085. _iframe = $$("iframe", {
  5086. "frameborder": "no",
  5087. "border": "0",
  5088. "scrolling ": "no",
  5089. "style": {
  5090. "cssText": "border:0;width:100%;height:100%"
  5091. },
  5092. "src": "/kityminder-editor/dist/index.html"
  5093. })
  5094. _box.appendChild(_iframe);
  5095. _box.appendChild(_jie);
  5096. _formdiv = new U.UF.UI.form(
  5097. "思维导图",
  5098. _box, { //"/jsmind/example/demo.html"
  5099. "id": "mind" + cid + stage + task + tool,
  5100. "style": {
  5101. "width": "90%",
  5102. "height": "90%",
  5103. "overflow": 'hidden'
  5104. },
  5105. "onresize": function () { }
  5106. }, {
  5107. closecallback: function () { }
  5108. }, {
  5109. "style": {
  5110. "height": "36px"
  5111. }
  5112. }).form; //创建窗体
  5113. _taskbar = {
  5114. "id": str + _formdiv.id,
  5115. "style": {
  5116. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5117. },
  5118. "name": "思维导图",
  5119. "forms": _formdiv,
  5120. "click": function () {
  5121. U.MD.D.I.openApplication(str, obj, info);
  5122. }
  5123. }
  5124. break;
  5125. case "MindMap":
  5126. aTool = 3;
  5127. _iframe = $$("iframe", {
  5128. "frameborder": "no",
  5129. "border": "0",
  5130. "scrolling ": "no",
  5131. "style": {
  5132. "cssText": "border:0;width:100%;height:100%"
  5133. },
  5134. "src": "//cloud.cocorobo.cn/mind/"
  5135. })
  5136. _box.appendChild(_iframe);
  5137. _box.appendChild(_jie);
  5138. _formdiv = new U.UF.UI.form(
  5139. "思维导图",
  5140. _box, { //"/jsmind/example/demo.html"
  5141. "id": "mind" + cid + stage + task + tool,
  5142. "style": {
  5143. "width": "90%",
  5144. "height": "90%",
  5145. "overflow": 'hidden'
  5146. },
  5147. "onresize": function () { }
  5148. }, {
  5149. closecallback: function () { }
  5150. }, {
  5151. "style": {
  5152. "height": "36px"
  5153. }
  5154. }).form; //创建窗体
  5155. _taskbar = {
  5156. "id": str + _formdiv.id,
  5157. "style": {
  5158. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5159. },
  5160. "name": "思维导图",
  5161. "forms": _formdiv,
  5162. "click": function () {
  5163. U.MD.D.I.openApplication(str, obj, info);
  5164. }
  5165. }
  5166. break;
  5167. case "doc":
  5168. aTool = 6;
  5169. _iframe = $$("iframe", {
  5170. "frameborder": "no",
  5171. "border": "0",
  5172. "scrolling ": "no",
  5173. "style": {
  5174. "cssText": "border:0;width:100%;height:100%"
  5175. },
  5176. "src": "/Office/Word/WordEditArea.htm"
  5177. })
  5178. _box.appendChild(_iframe);
  5179. _box.appendChild(_jie);
  5180. _formdiv = new U.UF.UI.form(
  5181. "协同文档",
  5182. _box, {
  5183. "id": "doc" + cid + stage + task + tool,
  5184. "style": {
  5185. "width": "90%",
  5186. "height": "90%",
  5187. "overflow": 'hidden'
  5188. },
  5189. "onresize": function () { }
  5190. }, {
  5191. closecallback: function () { }
  5192. }, {
  5193. "style": {
  5194. "height": "36px"
  5195. }
  5196. }).form; //创建窗体
  5197. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5198. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5199. })
  5200. _taskbar = {
  5201. "id": str + _formdiv.id,
  5202. "style": {
  5203. "backgroundImage": "url(/img/icon/doc.png)"
  5204. },
  5205. "name": "协同文档",
  5206. "forms": _formdiv,
  5207. "click": function () {
  5208. U.MD.D.I.openApplication(str, obj, info);
  5209. }
  5210. }
  5211. break;
  5212. case "mindNetwork": //好友打开
  5213. aTool = 7;
  5214. _iframe = $$("iframe", {
  5215. "webkitallowfullscreen": "",
  5216. "mozallowfullscreen": "",
  5217. "allowfullscreen": "",
  5218. "frameborder": "no",
  5219. "border": "0",
  5220. "scrolling ": "no",
  5221. "style": {
  5222. "cssText": "border:0; width:100%; height:100%;"
  5223. },
  5224. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5225. })
  5226. _box.appendChild(_iframe);
  5227. _box.appendChild(_jie);
  5228. _formdiv = new U.UF.UI.form(
  5229. "思维网格",
  5230. _box, {
  5231. "id": "mindNetwork" + cid + stage + task + tool,
  5232. "style": {
  5233. "width": "90%",
  5234. "height": "90%",
  5235. "overflow": 'hidden'
  5236. },
  5237. "onresize": function () { }
  5238. }, {
  5239. closecallback: function () { }
  5240. }, {
  5241. "style": {
  5242. "height": "36px"
  5243. }
  5244. }).form; //创建窗体
  5245. _taskbar = {
  5246. "id": str + _formdiv.id,
  5247. "style": {
  5248. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5249. },
  5250. "name": "思维网格",
  5251. "forms": _formdiv,
  5252. "click": function () {
  5253. U.MD.D.I.openApplication(str, obj, info);
  5254. }
  5255. }
  5256. break;
  5257. case "courseDesign":
  5258. _iframe = $$("iframe", {
  5259. "webkitallowfullscreen": "",
  5260. "mozallowfullscreen": "",
  5261. "allowfullscreen": "",
  5262. "frameborder": "no",
  5263. "border": "0",
  5264. "scrolling ": "no",
  5265. "style": {
  5266. "cssText": "border:0; width:100%; height:100%;"
  5267. },
  5268. "src": "/course-design-vue"
  5269. })
  5270. _box.appendChild(_iframe);
  5271. _box.appendChild(_jie);
  5272. _formdiv = new U.UF.UI.form(
  5273. "项目设计",
  5274. _box, {
  5275. "id": "courseDesign" + cid + stage + task + tool,
  5276. "style": {
  5277. "width": "90%",
  5278. "height": "90%",
  5279. "overflow": 'hidden'
  5280. },
  5281. "onresize": function () { }
  5282. }, {
  5283. closecallback: function () { }
  5284. }, {
  5285. "style": {
  5286. "height": "36px"
  5287. }
  5288. }).form; //创建窗体
  5289. _taskbar = {
  5290. "id": str + _formdiv.id,
  5291. "style": {
  5292. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5293. },
  5294. "name": "项目设计",
  5295. "forms": _formdiv,
  5296. "click": function () {
  5297. U.MD.D.I.openApplication(str, obj, info);
  5298. }
  5299. }
  5300. break;
  5301. }
  5302. const script1 = document.createElement("script");
  5303. script1.type = "text/javascript";
  5304. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5305. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5306. const script2 = document.createElement("script");
  5307. script2.type = "text/javascript";
  5308. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5309. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5310. const script3 = document.createElement("script");
  5311. script3.type = "text/javascript";
  5312. script3.charset = "UTF-8";
  5313. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5314. const script4 = document.createElement("script");
  5315. script4.type = "text/javascript";
  5316. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5317. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5318. if (_iframe) {
  5319. if (str == 'doc') {
  5320. _iframe = _formdiv.querySelector('iframe')
  5321. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5322. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5323. _iframe.contentWindow.document.body.appendChild(script1);
  5324. _iframe.contentWindow.document.body.appendChild(script2);
  5325. // _iframe.contentWindow.document.body.appendChild(script3);
  5326. _iframe.contentWindow.document.body.appendChild(script4);
  5327. })
  5328. if (onloadListener) {
  5329. _iframe.contentDocument.location.reload()
  5330. } else {
  5331. _iframe.contentDocument.location.reload()
  5332. }
  5333. } else if (str == 'courseDesign') {
  5334. U.UF.DL.iframeLoad(_iframe, function () {
  5335. // _iframe.contentWindow.U.MD.O.W.load();
  5336. // _iframe.contentWindow.document.body.appendChild(script1);
  5337. _iframe.contentWindow.document.body.appendChild(script2);
  5338. _iframe.contentWindow.document.body.appendChild(script4);
  5339. })
  5340. } else if (str == 'mind') {
  5341. _iframe = _formdiv.querySelector('iframe')
  5342. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5343. //
  5344. _iframe.contentWindow.document.body.appendChild(script1);
  5345. _iframe.contentWindow.document.body.appendChild(script2);
  5346. _iframe.contentWindow.document.body.appendChild(script4);
  5347. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5348. })
  5349. if (onloadListener) {
  5350. _iframe.contentDocument.location.reload()
  5351. } else {
  5352. _iframe.contentDocument.location.reload()
  5353. }
  5354. } else if (str == 'whiteboard') {
  5355. _iframe = _formdiv.querySelector('iframe')
  5356. let onloadListener = _iframe.onload = () => {
  5357. _iframe.contentWindow.document.body.appendChild(script1);
  5358. _iframe.contentWindow.document.body.appendChild(script2);
  5359. _iframe.contentWindow.document.body.appendChild(script4);
  5360. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5361. };
  5362. if (onloadListener) {
  5363. _iframe.contentDocument.location.reload()
  5364. } else {
  5365. _iframe.contentDocument.location.reload()
  5366. }
  5367. } else {
  5368. _iframe.onload = () => {
  5369. _iframe.contentWindow.document.body.appendChild(script1);
  5370. _iframe.contentWindow.document.body.appendChild(script2);
  5371. // _iframe.contentWindow.document.body.appendChild(script3);
  5372. _iframe.contentWindow.document.body.appendChild(script4);
  5373. };
  5374. }
  5375. _jie.onclick = async () => {
  5376. let text = ''
  5377. if (aTool == 1) {
  5378. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5379. } else if (aTool == 6) {
  5380. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5381. } else if (aTool == 3) {
  5382. text = await U.MD.D.I.getEditorContent(_iframe);
  5383. }
  5384. _loading.style.display = 'flex'
  5385. console.log(_loading);
  5386. var _ajs = _iframe.contentWindow.document.createElement("script");
  5387. _ajs.type = "text/javascript";
  5388. _ajs.innerHTML =
  5389. // 'console.log(' + _loading + ');\n' +
  5390. 'var _js = document.createElement("script");\n' +
  5391. '_js.type="text/javascript";\n' +
  5392. '_js.charset="UTF-8";\n' +
  5393. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5394. "_js.onload = function(){\n" +
  5395. ' var a = document.getElementsByTagName("img")\n' +
  5396. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5397. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5398. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5399. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5400. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5401. "beforeUpload_shishi(file," +
  5402. "'" +
  5403. _userid +
  5404. "'" +
  5405. ", " +
  5406. "'" +
  5407. _cid +
  5408. "'" +
  5409. ", " +
  5410. "'" +
  5411. _stage +
  5412. "'" +
  5413. ", " +
  5414. "'" +
  5415. _task +
  5416. "'" +
  5417. ", " +
  5418. "'" +
  5419. _tool +
  5420. "'" +
  5421. ", " +
  5422. "'" +
  5423. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5424. "'" +
  5425. ", " +
  5426. "'" +
  5427. aTool +
  5428. "'" +
  5429. ", " +
  5430. "`" +
  5431. text +
  5432. "`" +
  5433. ")\n" +
  5434. " });\n" +
  5435. "}\n" +
  5436. "document.head.appendChild(_js);\n";
  5437. _iframe.contentWindow.document.head.appendChild(_ajs);
  5438. }
  5439. }
  5440. //U.MD.D.I.openClick(str);
  5441. //如果有任务栏信息
  5442. // if (_taskbar) {
  5443. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5444. // }
  5445. }
  5446. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5447. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5448. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5449. _userinfo = US.userInfo, //登录用户信息
  5450. _userid = US.userInfo.userid //登录用户id
  5451. let _iframe;
  5452. let _cid = cid,
  5453. _stage = stage,
  5454. _task = task,
  5455. _tool = tool;
  5456. var _jie = $$("div", {
  5457. "style": {
  5458. "position": "absolute",
  5459. "bottom": "50px",
  5460. "right": "50px",
  5461. "zIndex": "9999",
  5462. "backgroundColor": "#2268bc",
  5463. "color": "#fff",
  5464. "padding": "12px 20px",
  5465. "cursor": "pointer",
  5466. "borderRadius": "4px",
  5467. },
  5468. "innerHTML": "提交作业"
  5469. })
  5470. let aTool = ''
  5471. let _loading = document.createElement('div')
  5472. _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;"
  5473. // _loading.id = "";
  5474. let _lchild = document.createElement('div')
  5475. let _limg = document.createElement('img')
  5476. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5477. _limg.style = "width: 26px;margin-right: 10px;"
  5478. _lchild.appendChild(_limg)
  5479. let _lspan = document.createElement('span')
  5480. _lspan.innerHTML = "上传中..."
  5481. _lchild.appendChild(_lspan)
  5482. _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%);"
  5483. _loading.appendChild(_lchild)
  5484. var _box = $$('div', {
  5485. "style": {
  5486. "position": "relative",
  5487. "width": "100%",
  5488. "height": "100%",
  5489. },
  5490. })
  5491. _box.appendChild(_loading)
  5492. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5493. switch (str) {
  5494. case "whiteboard":
  5495. aTool = 1;
  5496. _iframe = $$("iframe", {
  5497. "frameborder": "no",
  5498. "border": "0",
  5499. "scrolling ": "no",
  5500. "style": {
  5501. "cssText": "border:0;width:100%;height:100%"
  5502. },
  5503. "src": "https://iwb.cocorobo.cn/"
  5504. })
  5505. _box.appendChild(_iframe);
  5506. _box.appendChild(_jie);
  5507. _formdiv = new U.UF.UI.form(
  5508. "电子白板",
  5509. _box, {
  5510. "id": "whiteboard" + cid + stage + task + tool,
  5511. "style": {
  5512. "width": "90%",
  5513. "height": "90%",
  5514. "overflow": 'hidden'
  5515. },
  5516. "onresize": function () { }
  5517. }, {
  5518. closecallback: function () { }
  5519. }, {
  5520. "style": {
  5521. "height": "36px"
  5522. }
  5523. }).form; //创建窗体
  5524. _taskbar = {
  5525. "id": str + _formdiv.id,
  5526. "style": {
  5527. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5528. },
  5529. "name": "电子白板",
  5530. "forms": _formdiv,
  5531. "click": function () {
  5532. U.MD.D.I.openApplication(str, obj, info);
  5533. }
  5534. }
  5535. break;
  5536. case "mind":
  5537. aTool = 3;
  5538. _iframe = $$("iframe", {
  5539. "frameborder": "no",
  5540. "border": "0",
  5541. "scrolling ": "no",
  5542. "style": {
  5543. "cssText": "border:0;width:100%;height:100%"
  5544. },
  5545. "src": "/kityminder-editor/dist/index.html"
  5546. })
  5547. _box.appendChild(_iframe);
  5548. _box.appendChild(_jie);
  5549. _formdiv = new U.UF.UI.form(
  5550. "思维导图",
  5551. _box, { //"/jsmind/example/demo.html"
  5552. "id": "mind" + cid + stage + task + tool,
  5553. "style": {
  5554. "width": "90%",
  5555. "height": "90%",
  5556. "overflow": 'hidden'
  5557. },
  5558. "onresize": function () { }
  5559. }, {
  5560. closecallback: function () { }
  5561. }, {
  5562. "style": {
  5563. "height": "36px"
  5564. }
  5565. }).form; //创建窗体
  5566. _taskbar = {
  5567. "id": str + _formdiv.id,
  5568. "style": {
  5569. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5570. },
  5571. "name": "思维导图",
  5572. "forms": _formdiv,
  5573. "click": function () {
  5574. U.MD.D.I.openApplication(str, obj, info);
  5575. }
  5576. }
  5577. break;
  5578. case "MindMap":
  5579. aTool = 3;
  5580. _iframe = $$("iframe", {
  5581. "frameborder": "no",
  5582. "border": "0",
  5583. "scrolling ": "no",
  5584. "style": {
  5585. "cssText": "border:0;width:100%;height:100%"
  5586. },
  5587. "src": "//cloud.cocorobo.cn/mind/"
  5588. })
  5589. _box.appendChild(_iframe);
  5590. _box.appendChild(_jie);
  5591. _formdiv = new U.UF.UI.form(
  5592. "思维导图",
  5593. _box, { //"/jsmind/example/demo.html"
  5594. "id": "mind" + cid + stage + task + tool,
  5595. "style": {
  5596. "width": "90%",
  5597. "height": "90%",
  5598. "overflow": 'hidden'
  5599. },
  5600. "onresize": function () { }
  5601. }, {
  5602. closecallback: function () { }
  5603. }, {
  5604. "style": {
  5605. "height": "36px"
  5606. }
  5607. }).form; //创建窗体
  5608. _taskbar = {
  5609. "id": str + _formdiv.id,
  5610. "style": {
  5611. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5612. },
  5613. "name": "思维导图",
  5614. "forms": _formdiv,
  5615. "click": function () {
  5616. U.MD.D.I.openApplication(str, obj, info);
  5617. }
  5618. }
  5619. break;
  5620. case "doc":
  5621. aTool = 6;
  5622. _iframe = $$("iframe", {
  5623. "frameborder": "no",
  5624. "border": "0",
  5625. "scrolling ": "no",
  5626. "style": {
  5627. "cssText": "border:0;width:100%;height:100%"
  5628. },
  5629. "src": "/Office/Word/WordEditArea.htm"
  5630. })
  5631. _box.appendChild(_iframe);
  5632. _box.appendChild(_jie);
  5633. _formdiv = new U.UF.UI.form(
  5634. "协同文档",
  5635. _box, {
  5636. "id": "doc" + cid + stage + task + tool,
  5637. "style": {
  5638. "width": "90%",
  5639. "height": "90%",
  5640. "overflow": 'hidden'
  5641. },
  5642. "onresize": function () { }
  5643. }, {
  5644. closecallback: function () { }
  5645. }, {
  5646. "style": {
  5647. "height": "36px"
  5648. }
  5649. }).form; //创建窗体
  5650. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5651. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5652. })
  5653. _taskbar = {
  5654. "id": str + _formdiv.id,
  5655. "style": {
  5656. "backgroundImage": "url(/img/icon/doc.png)"
  5657. },
  5658. "name": "协同文档",
  5659. "forms": _formdiv,
  5660. "click": function () {
  5661. U.MD.D.I.openApplication(str, obj, info);
  5662. }
  5663. }
  5664. break;
  5665. case "mindNetwork": //好友打开
  5666. aTool = 7;
  5667. _iframe = $$("iframe", {
  5668. "webkitallowfullscreen": "",
  5669. "mozallowfullscreen": "",
  5670. "allowfullscreen": "",
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0; width:100%; height:100%;"
  5676. },
  5677. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "思维网格",
  5683. _box, {
  5684. "id": "mindNetwork" + cid + stage + task + tool,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function () { }
  5691. }, {
  5692. closecallback: function () { }
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //创建窗体
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5702. },
  5703. "name": "思维网格",
  5704. "forms": _formdiv,
  5705. "click": function () {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. case "courseDesign":
  5711. _iframe = $$("iframe", {
  5712. "webkitallowfullscreen": "",
  5713. "mozallowfullscreen": "",
  5714. "allowfullscreen": "",
  5715. "frameborder": "no",
  5716. "border": "0",
  5717. "scrolling ": "no",
  5718. "style": {
  5719. "cssText": "border:0; width:100%; height:100%;"
  5720. },
  5721. "src": "/course-design-vue"
  5722. })
  5723. _box.appendChild(_iframe);
  5724. _box.appendChild(_jie);
  5725. _formdiv = new U.UF.UI.form(
  5726. "项目设计",
  5727. _box, {
  5728. "id": "courseDesign" + cid + stage + task + tool,
  5729. "style": {
  5730. "width": "90%",
  5731. "height": "90%",
  5732. "overflow": 'hidden'
  5733. },
  5734. "onresize": function () { }
  5735. }, {
  5736. closecallback: function () { }
  5737. }, {
  5738. "style": {
  5739. "height": "36px"
  5740. }
  5741. }).form; //创建窗体
  5742. _taskbar = {
  5743. "id": str + _formdiv.id,
  5744. "style": {
  5745. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5746. },
  5747. "name": "项目设计",
  5748. "forms": _formdiv,
  5749. "click": function () {
  5750. U.MD.D.I.openApplication(str, obj, info);
  5751. }
  5752. }
  5753. break;
  5754. }
  5755. const script1 = document.createElement("script");
  5756. script1.type = "text/javascript";
  5757. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5758. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5759. const script2 = document.createElement("script");
  5760. script2.type = "text/javascript";
  5761. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5762. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5763. const script3 = document.createElement("script");
  5764. script3.type = "text/javascript";
  5765. script3.charset = "UTF-8";
  5766. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5767. const script4 = document.createElement("script");
  5768. script4.type = "text/javascript";
  5769. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5770. script4.src = window.origin + "/js/Common/jietu2E.js";
  5771. if (_iframe) {
  5772. if (str == 'doc') {
  5773. _iframe = _formdiv.querySelector('iframe')
  5774. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5775. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5776. _iframe.contentWindow.document.body.appendChild(script1);
  5777. _iframe.contentWindow.document.body.appendChild(script2);
  5778. // _iframe.contentWindow.document.body.appendChild(script3);
  5779. _iframe.contentWindow.document.body.appendChild(script4);
  5780. })
  5781. if (onloadListener) {
  5782. _iframe.contentDocument.location.reload()
  5783. } else {
  5784. _iframe.contentDocument.location.reload()
  5785. }
  5786. } else if (str == 'courseDesign') {
  5787. U.UF.DL.iframeLoad(_iframe, function () {
  5788. // _iframe.contentWindow.U.MD.O.W.load();
  5789. // _iframe.contentWindow.document.body.appendChild(script1);
  5790. _iframe.contentWindow.document.body.appendChild(script2);
  5791. _iframe.contentWindow.document.body.appendChild(script4);
  5792. })
  5793. } else if (str == 'mind') {
  5794. _iframe = _formdiv.querySelector('iframe')
  5795. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5796. //
  5797. _iframe.contentWindow.document.body.appendChild(script1);
  5798. _iframe.contentWindow.document.body.appendChild(script2);
  5799. _iframe.contentWindow.document.body.appendChild(script4);
  5800. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5801. })
  5802. if (onloadListener) {
  5803. _iframe.contentDocument.location.reload()
  5804. } else {
  5805. _iframe.contentDocument.location.reload()
  5806. }
  5807. } else if (str == 'whiteboard') {
  5808. _iframe = _formdiv.querySelector('iframe')
  5809. let onloadListener = _iframe.onload = () => {
  5810. _iframe.contentWindow.document.body.appendChild(script1);
  5811. _iframe.contentWindow.document.body.appendChild(script2);
  5812. _iframe.contentWindow.document.body.appendChild(script4);
  5813. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5814. };
  5815. if (onloadListener) {
  5816. _iframe.contentDocument.location.reload()
  5817. } else {
  5818. _iframe.contentDocument.location.reload()
  5819. }
  5820. } else {
  5821. _iframe.onload = () => {
  5822. _iframe.contentWindow.document.body.appendChild(script1);
  5823. _iframe.contentWindow.document.body.appendChild(script2);
  5824. // _iframe.contentWindow.document.body.appendChild(script3);
  5825. _iframe.contentWindow.document.body.appendChild(script4);
  5826. };
  5827. }
  5828. _jie.onclick = async () => {
  5829. let text = ''
  5830. if (aTool == 1) {
  5831. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5832. } else if (aTool == 6) {
  5833. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5834. } else if (aTool == 3) {
  5835. text = await U.MD.D.I.getEditorContent(_iframe);
  5836. }
  5837. _loading.style.display = 'flex'
  5838. console.log(_loading);
  5839. var _ajs = _iframe.contentWindow.document.createElement("script");
  5840. _ajs.type = "text/javascript";
  5841. _ajs.innerHTML =
  5842. // 'console.log(' + _loading + ');\n' +
  5843. 'var _js = document.createElement("script");\n' +
  5844. '_js.type="text/javascript";\n' +
  5845. '_js.charset="UTF-8";\n' +
  5846. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5847. "_js.onload = function(){\n" +
  5848. ' var a = document.getElementsByTagName("img")\n' +
  5849. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5850. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5851. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5852. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5853. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5854. "beforeUpload_shishi(file," +
  5855. "'" +
  5856. _userid +
  5857. "'" +
  5858. ", " +
  5859. "'" +
  5860. _cid +
  5861. "'" +
  5862. ", " +
  5863. "'" +
  5864. _stage +
  5865. "'" +
  5866. ", " +
  5867. "'" +
  5868. _task +
  5869. "'" +
  5870. ", " +
  5871. "'" +
  5872. _tool +
  5873. "'" +
  5874. ", " +
  5875. "'" +
  5876. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5877. "'" +
  5878. ", " +
  5879. "'" +
  5880. aTool +
  5881. "'" +
  5882. ", " +
  5883. "`" +
  5884. text +
  5885. "`" +
  5886. ")\n" +
  5887. " });\n" +
  5888. "}\n" +
  5889. "document.head.appendChild(_js);\n";
  5890. _iframe.contentWindow.document.head.appendChild(_ajs);
  5891. }
  5892. }
  5893. //U.MD.D.I.openClick(str);
  5894. //如果有任务栏信息
  5895. // if (_taskbar) {
  5896. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5897. // }
  5898. }
  5899. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5900. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5901. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5902. _userid = student.userid, //登录用户id
  5903. _username = student.student //用户名字
  5904. let _iframe;
  5905. let _cid = cid,
  5906. _stage = stage,
  5907. _task = task,
  5908. _tool = tool;
  5909. var _jie = $$("div", {
  5910. "style": {
  5911. "position": "absolute",
  5912. "bottom": "50px",
  5913. "right": "50px",
  5914. "zIndex": "9999",
  5915. "backgroundColor": "#2268bc",
  5916. "color": "#fff",
  5917. "padding": "12px 20px",
  5918. "cursor": "pointer",
  5919. "borderRadius": "4px",
  5920. },
  5921. "innerHTML": "提交作业"
  5922. })
  5923. let aTool = ''
  5924. let _loading = document.createElement('div')
  5925. _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;"
  5926. // _loading.id = "";
  5927. let _lchild = document.createElement('div')
  5928. let _limg = document.createElement('img')
  5929. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5930. _limg.style = "width: 26px;margin-right: 10px;"
  5931. _lchild.appendChild(_limg)
  5932. let _lspan = document.createElement('span')
  5933. _lspan.innerHTML = "上传中..."
  5934. _lchild.appendChild(_lspan)
  5935. _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%);"
  5936. _loading.appendChild(_lchild)
  5937. var _box = $$('div', {
  5938. "style": {
  5939. "position": "relative",
  5940. "width": "100%",
  5941. "height": "100%",
  5942. },
  5943. })
  5944. _box.appendChild(_loading)
  5945. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5946. switch (str) {
  5947. case "whiteboard":
  5948. aTool = 1;
  5949. _iframe = $$("iframe", {
  5950. "frameborder": "no",
  5951. "border": "0",
  5952. "scrolling ": "no",
  5953. "style": {
  5954. "cssText": "border:0;width:100%;height:100%"
  5955. },
  5956. "src": "https://iwb.cocorobo.cn/"
  5957. })
  5958. _box.appendChild(_iframe);
  5959. _box.appendChild(_jie);
  5960. _formdiv = new U.UF.UI.form(
  5961. "电子白板-" + _username,
  5962. _box, {
  5963. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5964. "style": {
  5965. "width": "90%",
  5966. "height": "90%",
  5967. "overflow": 'hidden'
  5968. },
  5969. "onresize": function () { }
  5970. }, {
  5971. closecallback: function () { }
  5972. }, {
  5973. "style": {
  5974. "height": "36px"
  5975. }
  5976. }).form; //创建窗体
  5977. _taskbar = {
  5978. "id": str + _formdiv.id,
  5979. "style": {
  5980. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5981. },
  5982. "name": "电子白板",
  5983. "forms": _formdiv,
  5984. "click": function () {
  5985. U.MD.D.I.openApplication(str, obj, info);
  5986. }
  5987. }
  5988. break;
  5989. case "mind":
  5990. aTool = 3;
  5991. _iframe = $$("iframe", {
  5992. "frameborder": "no",
  5993. "border": "0",
  5994. "scrolling ": "no",
  5995. "style": {
  5996. "cssText": "border:0;width:100%;height:100%"
  5997. },
  5998. "src": "/kityminder-editor/dist/index.html"
  5999. })
  6000. _box.appendChild(_iframe);
  6001. _box.appendChild(_jie);
  6002. _formdiv = new U.UF.UI.form(
  6003. "思维导图-" + _username,
  6004. _box, { //"/jsmind/example/demo.html"
  6005. "id": "mind" + cid + stage + task + tool + _userid,
  6006. "style": {
  6007. "width": "90%",
  6008. "height": "90%",
  6009. "overflow": 'hidden'
  6010. },
  6011. "onresize": function () { }
  6012. }, {
  6013. closecallback: function () { }
  6014. }, {
  6015. "style": {
  6016. "height": "36px"
  6017. }
  6018. }).form; //创建窗体
  6019. _taskbar = {
  6020. "id": str + _formdiv.id,
  6021. "style": {
  6022. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6023. },
  6024. "name": "思维导图",
  6025. "forms": _formdiv,
  6026. "click": function () {
  6027. U.MD.D.I.openApplication(str, obj, info);
  6028. }
  6029. }
  6030. break;
  6031. case "MindMap":
  6032. aTool = 3;
  6033. _iframe = $$("iframe", {
  6034. "frameborder": "no",
  6035. "border": "0",
  6036. "scrolling ": "no",
  6037. "style": {
  6038. "cssText": "border:0;width:100%;height:100%"
  6039. },
  6040. "src": "//cloud.cocorobo.cn/mind/"
  6041. })
  6042. _box.appendChild(_iframe);
  6043. _box.appendChild(_jie);
  6044. _formdiv = new U.UF.UI.form(
  6045. "思维导图-" + _username,
  6046. _box, { //"/jsmind/example/demo.html"
  6047. "id": "mind" + cid + stage + task + tool + _userid,
  6048. "style": {
  6049. "width": "90%",
  6050. "height": "90%",
  6051. "overflow": 'hidden'
  6052. },
  6053. "onresize": function () { }
  6054. }, {
  6055. closecallback: function () { }
  6056. }, {
  6057. "style": {
  6058. "height": "36px"
  6059. }
  6060. }).form; //创建窗体
  6061. _taskbar = {
  6062. "id": str + _formdiv.id,
  6063. "style": {
  6064. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6065. },
  6066. "name": "思维导图",
  6067. "forms": _formdiv,
  6068. "click": function () {
  6069. U.MD.D.I.openApplication(str, obj, info);
  6070. }
  6071. }
  6072. break;
  6073. case "doc":
  6074. aTool = 6;
  6075. _iframe = $$("iframe", {
  6076. "frameborder": "no",
  6077. "border": "0",
  6078. "scrolling ": "no",
  6079. "style": {
  6080. "cssText": "border:0;width:100%;height:100%"
  6081. },
  6082. "src": "/Office/Word/WordEditArea.htm"
  6083. })
  6084. _box.appendChild(_iframe);
  6085. _box.appendChild(_jie);
  6086. _formdiv = new U.UF.UI.form(
  6087. "协同文档-" + _username,
  6088. _box, {
  6089. "id": "doc" + cid + stage + task + tool + _userid,
  6090. "style": {
  6091. "width": "90%",
  6092. "height": "90%",
  6093. "overflow": 'hidden'
  6094. },
  6095. "onresize": function () { }
  6096. }, {
  6097. closecallback: function () { }
  6098. }, {
  6099. "style": {
  6100. "height": "36px"
  6101. }
  6102. }).form; //创建窗体
  6103. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6104. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6105. })
  6106. _taskbar = {
  6107. "id": str + _formdiv.id,
  6108. "style": {
  6109. "backgroundImage": "url(/img/icon/doc.png)"
  6110. },
  6111. "name": "协同文档",
  6112. "forms": _formdiv,
  6113. "click": function () {
  6114. U.MD.D.I.openApplication(str, obj, info);
  6115. }
  6116. }
  6117. break;
  6118. case "mindNetwork": //好友打开
  6119. aTool = 7;
  6120. _iframe = $$("iframe", {
  6121. "webkitallowfullscreen": "",
  6122. "mozallowfullscreen": "",
  6123. "allowfullscreen": "",
  6124. "frameborder": "no",
  6125. "border": "0",
  6126. "scrolling ": "no",
  6127. "style": {
  6128. "cssText": "border:0; width:100%; height:100%;"
  6129. },
  6130. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6131. })
  6132. _box.appendChild(_iframe);
  6133. _box.appendChild(_jie);
  6134. _formdiv = new U.UF.UI.form(
  6135. "思维网格-" + _username,
  6136. _box, {
  6137. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6138. "style": {
  6139. "width": "90%",
  6140. "height": "90%",
  6141. "overflow": 'hidden'
  6142. },
  6143. "onresize": function () { }
  6144. }, {
  6145. closecallback: function () { }
  6146. }, {
  6147. "style": {
  6148. "height": "36px"
  6149. }
  6150. }).form; //创建窗体
  6151. _taskbar = {
  6152. "id": str + _formdiv.id,
  6153. "style": {
  6154. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6155. },
  6156. "name": "思维网格",
  6157. "forms": _formdiv,
  6158. "click": function () {
  6159. U.MD.D.I.openApplication(str, obj, info);
  6160. }
  6161. }
  6162. break;
  6163. case "courseDesign":
  6164. _iframe = $$("iframe", {
  6165. "webkitallowfullscreen": "",
  6166. "mozallowfullscreen": "",
  6167. "allowfullscreen": "",
  6168. "frameborder": "no",
  6169. "border": "0",
  6170. "scrolling ": "no",
  6171. "style": {
  6172. "cssText": "border:0; width:100%; height:100%;"
  6173. },
  6174. "src": "/course-design-vue"
  6175. })
  6176. _box.appendChild(_iframe);
  6177. _box.appendChild(_jie);
  6178. _formdiv = new U.UF.UI.form(
  6179. "项目设计-" + _username,
  6180. _box, {
  6181. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6182. "style": {
  6183. "width": "90%",
  6184. "height": "90%",
  6185. "overflow": 'hidden'
  6186. },
  6187. "onresize": function () { }
  6188. }, {
  6189. closecallback: function () { }
  6190. }, {
  6191. "style": {
  6192. "height": "36px"
  6193. }
  6194. }).form; //创建窗体
  6195. _taskbar = {
  6196. "id": str + _formdiv.id,
  6197. "style": {
  6198. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6199. },
  6200. "name": "项目设计",
  6201. "forms": _formdiv,
  6202. "click": function () {
  6203. U.MD.D.I.openApplication(str, obj, info);
  6204. }
  6205. }
  6206. break;
  6207. }
  6208. const script1 = document.createElement("script");
  6209. script1.type = "text/javascript";
  6210. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6211. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6212. const script2 = document.createElement("script");
  6213. script2.type = "text/javascript";
  6214. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6215. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6216. const script3 = document.createElement("script");
  6217. script3.type = "text/javascript";
  6218. script3.charset = "UTF-8";
  6219. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6220. const script4 = document.createElement("script");
  6221. script4.type = "text/javascript";
  6222. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6223. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6224. if (_iframe) {
  6225. if (str == 'doc') {
  6226. _iframe = _formdiv.querySelector('iframe')
  6227. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6228. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6229. _iframe.contentWindow.document.body.appendChild(script1);
  6230. _iframe.contentWindow.document.body.appendChild(script2);
  6231. // _iframe.contentWindow.document.body.appendChild(script3);
  6232. _iframe.contentWindow.document.body.appendChild(script4);
  6233. })
  6234. if (onloadListener) {
  6235. _iframe.contentDocument.location.reload()
  6236. } else {
  6237. _iframe.contentDocument.location.reload()
  6238. }
  6239. } else if (str == 'courseDesign') {
  6240. U.UF.DL.iframeLoad(_iframe, function () {
  6241. // _iframe.contentWindow.U.MD.O.W.load();
  6242. // _iframe.contentWindow.document.body.appendChild(script1);
  6243. _iframe.contentWindow.document.body.appendChild(script2);
  6244. _iframe.contentWindow.document.body.appendChild(script4);
  6245. })
  6246. } else if (str == 'mind') {
  6247. _iframe = _formdiv.querySelector('iframe')
  6248. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6249. //
  6250. _iframe.contentWindow.document.body.appendChild(script1);
  6251. _iframe.contentWindow.document.body.appendChild(script2);
  6252. _iframe.contentWindow.document.body.appendChild(script4);
  6253. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6254. })
  6255. if (onloadListener) {
  6256. _iframe.contentDocument.location.reload()
  6257. } else {
  6258. _iframe.contentDocument.location.reload()
  6259. }
  6260. } else if (str == 'whiteboard') {
  6261. _iframe = _formdiv.querySelector('iframe')
  6262. let onloadListener = _iframe.onload = () => {
  6263. _iframe.contentWindow.document.body.appendChild(script1);
  6264. _iframe.contentWindow.document.body.appendChild(script2);
  6265. _iframe.contentWindow.document.body.appendChild(script4);
  6266. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6267. };
  6268. if (onloadListener) {
  6269. _iframe.contentDocument.location.reload()
  6270. } else {
  6271. _iframe.contentDocument.location.reload()
  6272. }
  6273. } else {
  6274. _iframe.onload = () => {
  6275. _iframe.contentWindow.document.body.appendChild(script1);
  6276. _iframe.contentWindow.document.body.appendChild(script2);
  6277. // _iframe.contentWindow.document.body.appendChild(script3);
  6278. _iframe.contentWindow.document.body.appendChild(script4);
  6279. };
  6280. }
  6281. _jie.onclick = async () => {
  6282. let text = ''
  6283. if (aTool == 1) {
  6284. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6285. } else if (aTool == 6) {
  6286. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6287. } else if (aTool == 3) {
  6288. text = await U.MD.D.I.getEditorContent(_iframe);
  6289. }
  6290. _loading.style.display = 'flex'
  6291. console.log(_loading);
  6292. var _ajs = _iframe.contentWindow.document.createElement("script");
  6293. _ajs.type = "text/javascript";
  6294. _ajs.innerHTML =
  6295. // 'console.log(' + _loading + ');\n' +
  6296. 'var _js = document.createElement("script");\n' +
  6297. '_js.type="text/javascript";\n' +
  6298. '_js.charset="UTF-8";\n' +
  6299. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6300. "_js.onload = function(){\n" +
  6301. ' var a = document.getElementsByTagName("img")\n' +
  6302. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6303. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6304. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6305. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6306. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6307. "beforeUpload_shishi(file," +
  6308. "'" +
  6309. _userid +
  6310. "'" +
  6311. ", " +
  6312. "'" +
  6313. _cid +
  6314. "'" +
  6315. ", " +
  6316. "'" +
  6317. _stage +
  6318. "'" +
  6319. ", " +
  6320. "'" +
  6321. _task +
  6322. "'" +
  6323. ", " +
  6324. "'" +
  6325. _tool +
  6326. "'" +
  6327. ", " +
  6328. "'" +
  6329. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6330. "'" +
  6331. ", " +
  6332. "'" +
  6333. aTool +
  6334. "'" +
  6335. ", " +
  6336. "`" +
  6337. text +
  6338. "`" +
  6339. ")\n" +
  6340. " });\n" +
  6341. "}\n" +
  6342. "document.head.appendChild(_js);\n";
  6343. _iframe.contentWindow.document.head.appendChild(_ajs);
  6344. }
  6345. }
  6346. }
  6347. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6348. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6349. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6350. _userid = student.userid, //登录用户id
  6351. _username = student.student //用户名字
  6352. let _iframe;
  6353. let _cid = cid,
  6354. _stage = stage,
  6355. _task = task,
  6356. _tool = tool;
  6357. var _jie = $$("div", {
  6358. "style": {
  6359. "position": "absolute",
  6360. "bottom": "50px",
  6361. "right": "50px",
  6362. "zIndex": "9999",
  6363. "backgroundColor": "#2268bc",
  6364. "color": "#fff",
  6365. "padding": "12px 20px",
  6366. "cursor": "pointer",
  6367. "borderRadius": "4px",
  6368. },
  6369. "innerHTML": "提交作业"
  6370. })
  6371. let aTool = ''
  6372. let _loading = document.createElement('div')
  6373. _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;"
  6374. // _loading.id = "";
  6375. let _lchild = document.createElement('div')
  6376. let _limg = document.createElement('img')
  6377. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6378. _limg.style = "width: 26px;margin-right: 10px;"
  6379. _lchild.appendChild(_limg)
  6380. let _lspan = document.createElement('span')
  6381. _lspan.innerHTML = "上传中..."
  6382. _lchild.appendChild(_lspan)
  6383. _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%);"
  6384. _loading.appendChild(_lchild)
  6385. var _box = $$('div', {
  6386. "style": {
  6387. "position": "relative",
  6388. "width": "100%",
  6389. "height": "100%",
  6390. },
  6391. })
  6392. _box.appendChild(_loading)
  6393. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6394. switch (str) {
  6395. case "whiteboard":
  6396. aTool = 1;
  6397. _iframe = $$("iframe", {
  6398. "frameborder": "no",
  6399. "border": "0",
  6400. "scrolling ": "no",
  6401. "style": {
  6402. "cssText": "border:0;width:100%;height:100%"
  6403. },
  6404. "src": "https://iwb.cocorobo.cn/"
  6405. })
  6406. _box.appendChild(_iframe);
  6407. _box.appendChild(_jie);
  6408. _formdiv = new U.UF.UI.form(
  6409. "电子白板-" + _username,
  6410. _box, {
  6411. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6412. "style": {
  6413. "width": "90%",
  6414. "height": "90%",
  6415. "overflow": 'hidden'
  6416. },
  6417. "onresize": function () { }
  6418. }, {
  6419. closecallback: function () { }
  6420. }, {
  6421. "style": {
  6422. "height": "36px"
  6423. }
  6424. }).form; //创建窗体
  6425. _taskbar = {
  6426. "id": str + _formdiv.id,
  6427. "style": {
  6428. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6429. },
  6430. "name": "电子白板",
  6431. "forms": _formdiv,
  6432. "click": function () {
  6433. U.MD.D.I.openApplication(str, obj, info);
  6434. }
  6435. }
  6436. break;
  6437. case "mind":
  6438. aTool = 3;
  6439. _iframe = $$("iframe", {
  6440. "frameborder": "no",
  6441. "border": "0",
  6442. "scrolling ": "no",
  6443. "style": {
  6444. "cssText": "border:0;width:100%;height:100%"
  6445. },
  6446. "src": "/kityminder-editor/dist/index.html"
  6447. })
  6448. _box.appendChild(_iframe);
  6449. _box.appendChild(_jie);
  6450. _formdiv = new U.UF.UI.form(
  6451. "思维导图-" + _username,
  6452. _box, { //"/jsmind/example/demo.html"
  6453. "id": "mind" + cid + stage + task + tool + _userid,
  6454. "style": {
  6455. "width": "90%",
  6456. "height": "90%",
  6457. "overflow": 'hidden'
  6458. },
  6459. "onresize": function () { }
  6460. }, {
  6461. closecallback: function () { }
  6462. }, {
  6463. "style": {
  6464. "height": "36px"
  6465. }
  6466. }).form; //创建窗体
  6467. _taskbar = {
  6468. "id": str + _formdiv.id,
  6469. "style": {
  6470. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6471. },
  6472. "name": "思维导图",
  6473. "forms": _formdiv,
  6474. "click": function () {
  6475. U.MD.D.I.openApplication(str, obj, info);
  6476. }
  6477. }
  6478. break;
  6479. case "MindMap":
  6480. aTool = 3;
  6481. _iframe = $$("iframe", {
  6482. "frameborder": "no",
  6483. "border": "0",
  6484. "scrolling ": "no",
  6485. "style": {
  6486. "cssText": "border:0;width:100%;height:100%"
  6487. },
  6488. "src": "//cloud.cocorobo.cn/mind/"
  6489. })
  6490. _box.appendChild(_iframe);
  6491. _box.appendChild(_jie);
  6492. _formdiv = new U.UF.UI.form(
  6493. "思维导图-" + _username,
  6494. _box, { //"/jsmind/example/demo.html"
  6495. "id": "mind" + cid + stage + task + tool + _userid,
  6496. "style": {
  6497. "width": "90%",
  6498. "height": "90%",
  6499. "overflow": 'hidden'
  6500. },
  6501. "onresize": function () { }
  6502. }, {
  6503. closecallback: function () { }
  6504. }, {
  6505. "style": {
  6506. "height": "36px"
  6507. }
  6508. }).form; //创建窗体
  6509. _taskbar = {
  6510. "id": str + _formdiv.id,
  6511. "style": {
  6512. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6513. },
  6514. "name": "思维导图",
  6515. "forms": _formdiv,
  6516. "click": function () {
  6517. U.MD.D.I.openApplication(str, obj, info);
  6518. }
  6519. }
  6520. break;
  6521. case "doc":
  6522. aTool = 6;
  6523. _iframe = $$("iframe", {
  6524. "frameborder": "no",
  6525. "border": "0",
  6526. "scrolling ": "no",
  6527. "style": {
  6528. "cssText": "border:0;width:100%;height:100%"
  6529. },
  6530. "src": "/Office/Word/WordEditArea.htm"
  6531. })
  6532. _box.appendChild(_iframe);
  6533. _box.appendChild(_jie);
  6534. _formdiv = new U.UF.UI.form(
  6535. "协同文档-" + _username,
  6536. _box, {
  6537. "id": "doc" + cid + stage + task + tool + _userid,
  6538. "style": {
  6539. "width": "90%",
  6540. "height": "90%",
  6541. "overflow": 'hidden'
  6542. },
  6543. "onresize": function () { }
  6544. }, {
  6545. closecallback: function () { }
  6546. }, {
  6547. "style": {
  6548. "height": "36px"
  6549. }
  6550. }).form; //创建窗体
  6551. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6552. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6553. })
  6554. _taskbar = {
  6555. "id": str + _formdiv.id,
  6556. "style": {
  6557. "backgroundImage": "url(/img/icon/doc.png)"
  6558. },
  6559. "name": "协同文档",
  6560. "forms": _formdiv,
  6561. "click": function () {
  6562. U.MD.D.I.openApplication(str, obj, info);
  6563. }
  6564. }
  6565. break;
  6566. case "mindNetwork": //好友打开
  6567. aTool = 7;
  6568. _iframe = $$("iframe", {
  6569. "webkitallowfullscreen": "",
  6570. "mozallowfullscreen": "",
  6571. "allowfullscreen": "",
  6572. "frameborder": "no",
  6573. "border": "0",
  6574. "scrolling ": "no",
  6575. "style": {
  6576. "cssText": "border:0; width:100%; height:100%;"
  6577. },
  6578. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6579. })
  6580. _box.appendChild(_iframe);
  6581. _box.appendChild(_jie);
  6582. _formdiv = new U.UF.UI.form(
  6583. "思维网格-" + _username,
  6584. _box, {
  6585. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6586. "style": {
  6587. "width": "90%",
  6588. "height": "90%",
  6589. "overflow": 'hidden'
  6590. },
  6591. "onresize": function () { }
  6592. }, {
  6593. closecallback: function () { }
  6594. }, {
  6595. "style": {
  6596. "height": "36px"
  6597. }
  6598. }).form; //创建窗体
  6599. _taskbar = {
  6600. "id": str + _formdiv.id,
  6601. "style": {
  6602. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6603. },
  6604. "name": "思维网格",
  6605. "forms": _formdiv,
  6606. "click": function () {
  6607. U.MD.D.I.openApplication(str, obj, info);
  6608. }
  6609. }
  6610. break;
  6611. case "courseDesign":
  6612. _iframe = $$("iframe", {
  6613. "webkitallowfullscreen": "",
  6614. "mozallowfullscreen": "",
  6615. "allowfullscreen": "",
  6616. "frameborder": "no",
  6617. "border": "0",
  6618. "scrolling ": "no",
  6619. "style": {
  6620. "cssText": "border:0; width:100%; height:100%;"
  6621. },
  6622. "src": "/course-design-vue"
  6623. })
  6624. _box.appendChild(_iframe);
  6625. _box.appendChild(_jie);
  6626. _formdiv = new U.UF.UI.form(
  6627. "项目设计-" + _username,
  6628. _box, {
  6629. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6630. "style": {
  6631. "width": "90%",
  6632. "height": "90%",
  6633. "overflow": 'hidden'
  6634. },
  6635. "onresize": function () { }
  6636. }, {
  6637. closecallback: function () { }
  6638. }, {
  6639. "style": {
  6640. "height": "36px"
  6641. }
  6642. }).form; //创建窗体
  6643. _taskbar = {
  6644. "id": str + _formdiv.id,
  6645. "style": {
  6646. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6647. },
  6648. "name": "项目设计",
  6649. "forms": _formdiv,
  6650. "click": function () {
  6651. U.MD.D.I.openApplication(str, obj, info);
  6652. }
  6653. }
  6654. break;
  6655. }
  6656. const script1 = document.createElement("script");
  6657. script1.type = "text/javascript";
  6658. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6659. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6660. const script2 = document.createElement("script");
  6661. script2.type = "text/javascript";
  6662. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6663. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6664. const script3 = document.createElement("script");
  6665. script3.type = "text/javascript";
  6666. script3.charset = "UTF-8";
  6667. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6668. const script4 = document.createElement("script");
  6669. script4.type = "text/javascript";
  6670. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6671. script4.src = window.origin + "/js/Common/jietu2E.js";
  6672. if (_iframe) {
  6673. if (str == 'doc') {
  6674. _iframe = _formdiv.querySelector('iframe')
  6675. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6676. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6677. _iframe.contentWindow.document.body.appendChild(script1);
  6678. _iframe.contentWindow.document.body.appendChild(script2);
  6679. // _iframe.contentWindow.document.body.appendChild(script3);
  6680. _iframe.contentWindow.document.body.appendChild(script4);
  6681. })
  6682. if (onloadListener) {
  6683. _iframe.contentDocument.location.reload()
  6684. } else {
  6685. _iframe.contentDocument.location.reload()
  6686. }
  6687. } else if (str == 'courseDesign') {
  6688. U.UF.DL.iframeLoad(_iframe, function () {
  6689. // _iframe.contentWindow.U.MD.O.W.load();
  6690. // _iframe.contentWindow.document.body.appendChild(script1);
  6691. _iframe.contentWindow.document.body.appendChild(script2);
  6692. _iframe.contentWindow.document.body.appendChild(script4);
  6693. })
  6694. } else if (str == 'mind') {
  6695. _iframe = _formdiv.querySelector('iframe')
  6696. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6697. //
  6698. _iframe.contentWindow.document.body.appendChild(script1);
  6699. _iframe.contentWindow.document.body.appendChild(script2);
  6700. _iframe.contentWindow.document.body.appendChild(script4);
  6701. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6702. })
  6703. if (onloadListener) {
  6704. _iframe.contentDocument.location.reload()
  6705. } else {
  6706. _iframe.contentDocument.location.reload()
  6707. }
  6708. } else if (str == 'whiteboard') {
  6709. _iframe = _formdiv.querySelector('iframe')
  6710. let onloadListener = _iframe.onload = () => {
  6711. _iframe.contentWindow.document.body.appendChild(script1);
  6712. _iframe.contentWindow.document.body.appendChild(script2);
  6713. _iframe.contentWindow.document.body.appendChild(script4);
  6714. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6715. };
  6716. if (onloadListener) {
  6717. _iframe.contentDocument.location.reload()
  6718. } else {
  6719. _iframe.contentDocument.location.reload()
  6720. }
  6721. } else {
  6722. _iframe.onload = () => {
  6723. _iframe.contentWindow.document.body.appendChild(script1);
  6724. _iframe.contentWindow.document.body.appendChild(script2);
  6725. // _iframe.contentWindow.document.body.appendChild(script3);
  6726. _iframe.contentWindow.document.body.appendChild(script4);
  6727. };
  6728. }
  6729. _jie.onclick = async () => {
  6730. let text = ''
  6731. if (aTool == 1) {
  6732. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6733. } else if (aTool == 6) {
  6734. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6735. } else if (aTool == 3) {
  6736. text = await U.MD.D.I.getEditorContent(_iframe);
  6737. }
  6738. _loading.style.display = 'flex'
  6739. console.log(_loading);
  6740. var _ajs = _iframe.contentWindow.document.createElement("script");
  6741. _ajs.type = "text/javascript";
  6742. _ajs.innerHTML =
  6743. // 'console.log(' + _loading + ');\n' +
  6744. 'var _js = document.createElement("script");\n' +
  6745. '_js.type="text/javascript";\n' +
  6746. '_js.charset="UTF-8";\n' +
  6747. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6748. "_js.onload = function(){\n" +
  6749. ' var a = document.getElementsByTagName("img")\n' +
  6750. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6751. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6752. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6753. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6754. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6755. "beforeUpload_shishi(file," +
  6756. "'" +
  6757. _userid +
  6758. "'" +
  6759. ", " +
  6760. "'" +
  6761. _cid +
  6762. "'" +
  6763. ", " +
  6764. "'" +
  6765. _stage +
  6766. "'" +
  6767. ", " +
  6768. "'" +
  6769. _task +
  6770. "'" +
  6771. ", " +
  6772. "'" +
  6773. _tool +
  6774. "'" +
  6775. ", " +
  6776. "'" +
  6777. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6778. "'" +
  6779. ", " +
  6780. "'" +
  6781. aTool +
  6782. "'" +
  6783. ", " +
  6784. "`" +
  6785. text +
  6786. "`" +
  6787. ")\n" +
  6788. " });\n" +
  6789. "}\n" +
  6790. "document.head.appendChild(_js);\n";
  6791. _iframe.contentWindow.document.head.appendChild(_ajs);
  6792. }
  6793. }
  6794. }
  6795. U.MD.D.I.getEditorContent = function (iframe) {
  6796. return new Promise((resolve, reject) => {
  6797. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6798. console.log(content);
  6799. resolve(content)
  6800. });
  6801. });
  6802. }
  6803. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6804. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6805. // if (res.value[0].length > 0) {
  6806. // // resolve(res.value[0][0].text);
  6807. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6808. // $(fileInput).val('');
  6809. // });
  6810. // }
  6811. // }, [], { "type": "GET", "withCredentials": true });
  6812. var xmlhttp;
  6813. var Mac, Sn, DeviceId
  6814. if (window.XMLHttpRequest) {
  6815. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6816. xmlhttp = new XMLHttpRequest();
  6817. } else {
  6818. // IE6, IE5 浏览器执行代码
  6819. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6820. }
  6821. xmlhttp.onreadystatechange = function () {
  6822. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6823. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6824. // resolve(res.value[0][0].text);
  6825. if (type == '2') {
  6826. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6827. } else if (type == '3') {
  6828. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6829. }
  6830. } else {
  6831. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6832. }
  6833. }
  6834. }
  6835. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6836. xmlhttp.send();
  6837. }
  6838. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6839. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6840. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6841. _userinfo = US.userInfo, //登录用户信息
  6842. _userid = US.userInfo.userid //登录用户id
  6843. let _iframe;
  6844. let _cid = cid,
  6845. _stage = stage,
  6846. _task = task,
  6847. _tool = tool;
  6848. var _jie = $$("div", {
  6849. "style": {
  6850. "position": "absolute",
  6851. "bottom": "50px",
  6852. "right": "50px",
  6853. "zIndex": "9999",
  6854. "backgroundColor": "#2268bc",
  6855. "color": "#fff",
  6856. "padding": "12px 20px",
  6857. "cursor": "pointer",
  6858. "borderRadius": "4px",
  6859. },
  6860. "innerHTML": "确认并提交"
  6861. })
  6862. let aTool = ''
  6863. let _loading = document.createElement('div')
  6864. _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;"
  6865. // _loading.id = "";
  6866. let _lchild = document.createElement('div')
  6867. let _limg = document.createElement('img')
  6868. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6869. _limg.style = "width: 26px;margin-right: 10px;"
  6870. _lchild.appendChild(_limg)
  6871. let _lspan = document.createElement('span')
  6872. _lspan.innerHTML = "上传中..."
  6873. _lchild.appendChild(_lspan)
  6874. _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%);"
  6875. _loading.appendChild(_lchild)
  6876. var _box = $$('div', {
  6877. "style": {
  6878. "position": "relative",
  6879. "width": "100%",
  6880. "height": "100%",
  6881. },
  6882. })
  6883. _box.appendChild(_loading)
  6884. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6885. switch (str) {
  6886. case "whiteboard":
  6887. aTool = 1;
  6888. _iframe = $$("iframe", {
  6889. "frameborder": "no",
  6890. "border": "0",
  6891. "scrolling ": "no",
  6892. "style": {
  6893. "cssText": "border:0;width:100%;height:100%"
  6894. },
  6895. "src": "https://iwb.cocorobo.cn/"
  6896. })
  6897. _box.appendChild(_iframe);
  6898. _box.appendChild(_jie);
  6899. _formdiv = new U.UF.UI.form(
  6900. "电子白板",
  6901. _box, {
  6902. "id": "whiteboards" + cid + stage + task + tool,
  6903. "style": {
  6904. "width": "90%",
  6905. "height": "90%",
  6906. "overflow": 'hidden'
  6907. },
  6908. "onresize": function () { }
  6909. }, {
  6910. closecallback: function () { }
  6911. }, {
  6912. "style": {
  6913. "height": "36px"
  6914. }
  6915. }).form; //创建窗体
  6916. _taskbar = {
  6917. "id": str + _formdiv.id,
  6918. "style": {
  6919. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6920. },
  6921. "name": "电子白板",
  6922. "forms": _formdiv,
  6923. "click": function () {
  6924. U.MD.D.I.openApplication(str, obj, info);
  6925. }
  6926. }
  6927. break;
  6928. case "mind":
  6929. aTool = 3;
  6930. _iframe = $$("iframe", {
  6931. "frameborder": "no",
  6932. "border": "0",
  6933. "scrolling ": "no",
  6934. "style": {
  6935. "cssText": "border:0;width:100%;height:100%"
  6936. },
  6937. "src": "/kityminder-editor/dist/index.html"
  6938. });
  6939. _box.appendChild(_iframe);
  6940. _box.appendChild(_jie);
  6941. _formdiv = new U.UF.UI.form(
  6942. "思维导图",
  6943. _box, { //"/jsmind/example/demo.html"
  6944. "id": "minds" + cid + stage + task + tool,
  6945. "style": {
  6946. "width": "90%",
  6947. "height": "90%",
  6948. "overflow": 'hidden'
  6949. },
  6950. "onresize": function () { }
  6951. }, {
  6952. closecallback: function () { }
  6953. }, {
  6954. "style": {
  6955. "height": "36px"
  6956. }
  6957. }).form; //创建窗体
  6958. _taskbar = {
  6959. "id": str + _formdiv.id,
  6960. "style": {
  6961. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6962. },
  6963. "name": "思维导图",
  6964. "forms": _formdiv,
  6965. "click": function () {
  6966. U.MD.D.I.openApplication(str, obj, info);
  6967. }
  6968. }
  6969. break;
  6970. case "doc":
  6971. aTool = 6;
  6972. _iframe = $$("iframe", {
  6973. "frameborder": "no",
  6974. "border": "0",
  6975. "scrolling ": "no",
  6976. "style": {
  6977. "cssText": "border:0;width:100%;height:100%"
  6978. },
  6979. "src": "/Office/Word/WordEditArea.htm"
  6980. })
  6981. _box.appendChild(_iframe);
  6982. _box.appendChild(_jie);
  6983. _formdiv = new U.UF.UI.form(
  6984. "协同文档",
  6985. _box, {
  6986. "id": "docs" + cid + stage + task + tool,
  6987. "style": {
  6988. "width": "90%",
  6989. "height": "90%",
  6990. "overflow": 'hidden'
  6991. },
  6992. "onresize": function () { }
  6993. }, {
  6994. closecallback: function () { }
  6995. }, {
  6996. "style": {
  6997. "height": "36px"
  6998. }
  6999. }).form; //创建窗体
  7000. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7001. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7002. })
  7003. _taskbar = {
  7004. "id": str + _formdiv.id,
  7005. "style": {
  7006. "backgroundImage": "url(/img/icon/doc.png)"
  7007. },
  7008. "name": "协同文档",
  7009. "forms": _formdiv,
  7010. "click": function () {
  7011. U.MD.D.I.openApplication(str, obj, info);
  7012. }
  7013. }
  7014. break;
  7015. }
  7016. const script1 = document.createElement("script");
  7017. script1.type = "text/javascript";
  7018. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7019. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7020. const script2 = document.createElement("script");
  7021. script2.type = "text/javascript";
  7022. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7023. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7024. const script3 = document.createElement("script");
  7025. script3.type = "text/javascript";
  7026. script3.charset = "UTF-8";
  7027. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7028. const script4 = document.createElement("script");
  7029. script4.type = "text/javascript";
  7030. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7031. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7032. if (_iframe) {
  7033. if (str == 'doc') {
  7034. _iframe = _formdiv.querySelector('iframe')
  7035. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7036. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7037. _iframe.contentWindow.document.body.appendChild(script1);
  7038. _iframe.contentWindow.document.body.appendChild(script2);
  7039. // _iframe.contentWindow.document.body.appendChild(script3);
  7040. _iframe.contentWindow.document.body.appendChild(script4);
  7041. })
  7042. if (onloadListener) {
  7043. _iframe.contentDocument.location.reload()
  7044. } else {
  7045. _iframe.contentDocument.location.reload()
  7046. }
  7047. } else if (str == 'mind') {
  7048. _iframe = _formdiv.querySelector('iframe')
  7049. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7050. _iframe.contentWindow.document.body.appendChild(script1);
  7051. _iframe.contentWindow.document.body.appendChild(script2);
  7052. _iframe.contentWindow.document.body.appendChild(script4);
  7053. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7054. })
  7055. if (onloadListener) {
  7056. _iframe.contentDocument.location.reload()
  7057. } else {
  7058. _iframe.contentDocument.location.reload()
  7059. }
  7060. } else {
  7061. _iframe.onload = () => {
  7062. _iframe.contentWindow.document.body.appendChild(script1);
  7063. _iframe.contentWindow.document.body.appendChild(script2);
  7064. // _iframe.contentWindow.document.body.appendChild(script3);
  7065. _iframe.contentWindow.document.body.appendChild(script4);
  7066. };
  7067. }
  7068. _jie.onclick = async () => {
  7069. let text = ''
  7070. if (aTool == 6) {
  7071. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7072. } else if (aTool == 3) {
  7073. text = await U.MD.D.I.getEditorContent(_iframe);
  7074. }
  7075. _loading.style.display = 'flex'
  7076. console.log(_loading);
  7077. var _ajs = _iframe.contentWindow.document.createElement("script");
  7078. _ajs.type = "text/javascript";
  7079. _ajs.innerHTML =
  7080. // 'console.log(' + _loading + ');\n' +
  7081. 'var _js = document.createElement("script");\n' +
  7082. '_js.type="text/javascript";\n' +
  7083. '_js.charset="UTF-8";\n' +
  7084. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7085. "_js.onload = function(){\n" +
  7086. ' var a = document.getElementsByTagName("img")\n' +
  7087. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7088. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7089. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7090. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7091. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7092. "beforeUpload_shishi(file," +
  7093. "'" +
  7094. _userid +
  7095. "'" +
  7096. ", " +
  7097. "'" +
  7098. _cid +
  7099. "'" +
  7100. ", " +
  7101. "'" +
  7102. _stage +
  7103. "'" +
  7104. ", " +
  7105. "'" +
  7106. _task +
  7107. "'" +
  7108. ", " +
  7109. "'" +
  7110. _tool +
  7111. "'" +
  7112. ", " +
  7113. "'" +
  7114. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7115. "'" +
  7116. ", " +
  7117. "'" +
  7118. aTool +
  7119. "'" +
  7120. ", " +
  7121. "`" +
  7122. text +
  7123. "`" +
  7124. ")\n" +
  7125. " });\n" +
  7126. "}\n" +
  7127. "document.head.appendChild(_js);\n";
  7128. _iframe.contentWindow.document.head.appendChild(_ajs);
  7129. }
  7130. }
  7131. //U.MD.D.I.openClick(str);
  7132. //如果有任务栏信息
  7133. // if (_taskbar) {
  7134. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7135. // }
  7136. }
  7137. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7138. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7139. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7140. _userinfo = US.userInfo, //登录用户信息
  7141. _userid = US.userInfo.userid //登录用户id
  7142. let _iframe;
  7143. let _cid = cid,
  7144. _stage = stage,
  7145. _task = task,
  7146. _tool = tool;
  7147. var _jie = $$("div", {
  7148. "style": {
  7149. "position": "absolute",
  7150. "bottom": "50px",
  7151. "right": "50px",
  7152. "zIndex": "9999",
  7153. "backgroundColor": "#2268bc",
  7154. "color": "#fff",
  7155. "padding": "12px 20px",
  7156. "cursor": "pointer",
  7157. "borderRadius": "4px",
  7158. },
  7159. "innerHTML": "确认并提交"
  7160. })
  7161. let aTool = ''
  7162. let _loading = document.createElement('div')
  7163. _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;"
  7164. // _loading.id = "";
  7165. let _lchild = document.createElement('div')
  7166. let _limg = document.createElement('img')
  7167. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7168. _limg.style = "width: 26px;margin-right: 10px;"
  7169. _lchild.appendChild(_limg)
  7170. let _lspan = document.createElement('span')
  7171. _lspan.innerHTML = "上传中..."
  7172. _lchild.appendChild(_lspan)
  7173. _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%);"
  7174. _loading.appendChild(_lchild)
  7175. var _box = $$('div', {
  7176. "style": {
  7177. "position": "relative",
  7178. "width": "100%",
  7179. "height": "100%",
  7180. },
  7181. })
  7182. _box.appendChild(_loading)
  7183. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7184. switch (str) {
  7185. case "whiteboard":
  7186. aTool = 1;
  7187. _iframe = $$("iframe", {
  7188. "frameborder": "no",
  7189. "border": "0",
  7190. "scrolling ": "no",
  7191. "style": {
  7192. "cssText": "border:0;width:100%;height:100%"
  7193. },
  7194. "src": "https://iwb.cocorobo.cn/"
  7195. })
  7196. _box.appendChild(_iframe);
  7197. _box.appendChild(_jie);
  7198. _formdiv = new U.UF.UI.form(
  7199. "电子白板",
  7200. _box, {
  7201. "id": "whiteboards" + cid + stage + task + tool,
  7202. "style": {
  7203. "width": "90%",
  7204. "height": "90%",
  7205. "overflow": 'hidden'
  7206. },
  7207. "onresize": function () { }
  7208. }, {
  7209. closecallback: function () { }
  7210. }, {
  7211. "style": {
  7212. "height": "36px"
  7213. }
  7214. }).form; //创建窗体
  7215. _taskbar = {
  7216. "id": str + _formdiv.id,
  7217. "style": {
  7218. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7219. },
  7220. "name": "电子白板",
  7221. "forms": _formdiv,
  7222. "click": function () {
  7223. U.MD.D.I.openApplication(str, obj, info);
  7224. }
  7225. }
  7226. break;
  7227. case "mind":
  7228. aTool = 3;
  7229. _iframe = $$("iframe", {
  7230. "frameborder": "no",
  7231. "border": "0",
  7232. "scrolling ": "no",
  7233. "style": {
  7234. "cssText": "border:0;width:100%;height:100%"
  7235. },
  7236. "src": "/kityminder-editor/dist/index.html"
  7237. });
  7238. _box.appendChild(_iframe);
  7239. _box.appendChild(_jie);
  7240. _formdiv = new U.UF.UI.form(
  7241. "思维导图",
  7242. _box, { //"/jsmind/example/demo.html"
  7243. "id": "minds" + cid + stage + task + tool,
  7244. "style": {
  7245. "width": "90%",
  7246. "height": "90%",
  7247. "overflow": 'hidden'
  7248. },
  7249. "onresize": function () { }
  7250. }, {
  7251. closecallback: function () { }
  7252. }, {
  7253. "style": {
  7254. "height": "36px"
  7255. }
  7256. }).form; //创建窗体
  7257. _taskbar = {
  7258. "id": str + _formdiv.id,
  7259. "style": {
  7260. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7261. },
  7262. "name": "思维导图",
  7263. "forms": _formdiv,
  7264. "click": function () {
  7265. U.MD.D.I.openApplication(str, obj, info);
  7266. }
  7267. }
  7268. break;
  7269. case "doc":
  7270. aTool = 6;
  7271. _iframe = $$("iframe", {
  7272. "frameborder": "no",
  7273. "border": "0",
  7274. "scrolling ": "no",
  7275. "style": {
  7276. "cssText": "border:0;width:100%;height:100%"
  7277. },
  7278. "src": "/Office/Word/WordEditArea.htm"
  7279. })
  7280. _box.appendChild(_iframe);
  7281. _box.appendChild(_jie);
  7282. _formdiv = new U.UF.UI.form(
  7283. "协同文档",
  7284. _box, {
  7285. "id": "docs" + cid + stage + task + tool,
  7286. "style": {
  7287. "width": "90%",
  7288. "height": "90%",
  7289. "overflow": 'hidden'
  7290. },
  7291. "onresize": function () { }
  7292. }, {
  7293. closecallback: function () { }
  7294. }, {
  7295. "style": {
  7296. "height": "36px"
  7297. }
  7298. }).form; //创建窗体
  7299. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7300. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7301. })
  7302. _taskbar = {
  7303. "id": str + _formdiv.id,
  7304. "style": {
  7305. "backgroundImage": "url(/img/icon/doc.png)"
  7306. },
  7307. "name": "协同文档",
  7308. "forms": _formdiv,
  7309. "click": function () {
  7310. U.MD.D.I.openApplication(str, obj, info);
  7311. }
  7312. }
  7313. break;
  7314. }
  7315. const script1 = document.createElement("script");
  7316. script1.type = "text/javascript";
  7317. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7318. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7319. const script2 = document.createElement("script");
  7320. script2.type = "text/javascript";
  7321. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7322. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7323. const script3 = document.createElement("script");
  7324. script3.type = "text/javascript";
  7325. script3.charset = "UTF-8";
  7326. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7327. const script4 = document.createElement("script");
  7328. script4.type = "text/javascript";
  7329. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7330. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7331. if (_iframe) {
  7332. if (str == 'doc') {
  7333. _iframe = _formdiv.querySelector('iframe')
  7334. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7335. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7336. _iframe.contentWindow.document.body.appendChild(script1);
  7337. _iframe.contentWindow.document.body.appendChild(script2);
  7338. // _iframe.contentWindow.document.body.appendChild(script3);
  7339. _iframe.contentWindow.document.body.appendChild(script4);
  7340. })
  7341. if (onloadListener) {
  7342. _iframe.contentDocument.location.reload()
  7343. } else {
  7344. _iframe.contentDocument.location.reload()
  7345. }
  7346. } else if (str == 'mind') {
  7347. _iframe = _formdiv.querySelector('iframe')
  7348. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7349. _iframe.contentWindow.document.body.appendChild(script1);
  7350. _iframe.contentWindow.document.body.appendChild(script2);
  7351. _iframe.contentWindow.document.body.appendChild(script4);
  7352. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7353. })
  7354. if (onloadListener) {
  7355. _iframe.contentDocument.location.reload()
  7356. } else {
  7357. _iframe.contentDocument.location.reload()
  7358. }
  7359. } else {
  7360. _iframe.onload = () => {
  7361. _iframe.contentWindow.document.body.appendChild(script1);
  7362. _iframe.contentWindow.document.body.appendChild(script2);
  7363. // _iframe.contentWindow.document.body.appendChild(script3);
  7364. _iframe.contentWindow.document.body.appendChild(script4);
  7365. };
  7366. }
  7367. _jie.onclick = async () => {
  7368. let text = ''
  7369. if (aTool == 6) {
  7370. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7371. } else if (aTool == 3) {
  7372. text = await U.MD.D.I.getEditorContent(_iframe);
  7373. }
  7374. _loading.style.display = 'flex'
  7375. console.log(_loading);
  7376. var _ajs = _iframe.contentWindow.document.createElement("script");
  7377. _ajs.type = "text/javascript";
  7378. _ajs.innerHTML =
  7379. // 'console.log(' + _loading + ');\n' +
  7380. 'var _js = document.createElement("script");\n' +
  7381. '_js.type="text/javascript";\n' +
  7382. '_js.charset="UTF-8";\n' +
  7383. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7384. "_js.onload = function(){\n" +
  7385. ' var a = document.getElementsByTagName("img")\n' +
  7386. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7387. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7388. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7389. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7390. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7391. "beforeUpload_shishi(file," +
  7392. "'" +
  7393. _userid +
  7394. "'" +
  7395. ", " +
  7396. "'" +
  7397. _cid +
  7398. "'" +
  7399. ", " +
  7400. "'" +
  7401. _stage +
  7402. "'" +
  7403. ", " +
  7404. "'" +
  7405. _task +
  7406. "'" +
  7407. ", " +
  7408. "'" +
  7409. _tool +
  7410. "'" +
  7411. ", " +
  7412. "'" +
  7413. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7414. "'" +
  7415. ", " +
  7416. "'" +
  7417. aTool +
  7418. "'" +
  7419. ", " +
  7420. "`" +
  7421. text +
  7422. "`" +
  7423. ")\n" +
  7424. " });\n" +
  7425. "}\n" +
  7426. "document.head.appendChild(_js);\n";
  7427. _iframe.contentWindow.document.head.appendChild(_ajs);
  7428. }
  7429. }
  7430. //U.MD.D.I.openClick(str);
  7431. //如果有任务栏信息
  7432. // if (_taskbar) {
  7433. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7434. // }
  7435. }
  7436. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7437. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7438. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7439. _userinfo = US.userInfo, //登录用户信息
  7440. _userid = US.userInfo.userid //登录用户id
  7441. let _iframe;
  7442. let _cid = cid,
  7443. _stage = stage,
  7444. _task = task,
  7445. _tool = tool;
  7446. var _jie = $$("div", {
  7447. "style": {
  7448. "position": "absolute",
  7449. "bottom": "50px",
  7450. "right": "50px",
  7451. "zIndex": "9999",
  7452. "backgroundColor": "#2268bc",
  7453. "color": "#fff",
  7454. "padding": "12px 20px",
  7455. "cursor": "pointer",
  7456. "borderRadius": "4px",
  7457. },
  7458. "innerHTML": "上传模板"
  7459. })
  7460. let aTool = ''
  7461. let _loading = document.createElement('div')
  7462. _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;"
  7463. // _loading.id = "";
  7464. let _lchild = document.createElement('div')
  7465. let _limg = document.createElement('img')
  7466. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7467. _limg.style = "width: 26px;margin-right: 10px;"
  7468. _lchild.appendChild(_limg)
  7469. let _lspan = document.createElement('span')
  7470. _lspan.innerHTML = "上传中..."
  7471. _lchild.appendChild(_lspan)
  7472. _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%);"
  7473. _loading.appendChild(_lchild)
  7474. var _box = $$('div', {
  7475. "style": {
  7476. "position": "relative",
  7477. "width": "100%",
  7478. "height": "100%",
  7479. },
  7480. })
  7481. _box.appendChild(_loading)
  7482. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7483. switch (str) {
  7484. case "whiteboard":
  7485. aTool = 1;
  7486. _iframe = $$("iframe", {
  7487. "frameborder": "no",
  7488. "border": "0",
  7489. "scrolling ": "no",
  7490. "style": {
  7491. "cssText": "border:0;width:100%;height:100%"
  7492. },
  7493. "src": "https://iwb.cocorobo.cn/"
  7494. })
  7495. _box.appendChild(_iframe);
  7496. _box.appendChild(_jie);
  7497. _formdiv = new U.UF.UI.form(
  7498. "电子白板",
  7499. _box, {
  7500. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7501. "style": {
  7502. "width": "90%",
  7503. "height": "90%",
  7504. "overflow": 'hidden'
  7505. },
  7506. "onresize": function () { }
  7507. }, {
  7508. closecallback: function () { }
  7509. }, {
  7510. "style": {
  7511. "height": "36px"
  7512. }
  7513. }).form; //创建窗体
  7514. _taskbar = {
  7515. "id": str + _formdiv.id,
  7516. "style": {
  7517. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7518. },
  7519. "name": "电子白板",
  7520. "forms": _formdiv,
  7521. "click": function () {
  7522. U.MD.D.I.openApplication(str, obj, info);
  7523. }
  7524. }
  7525. break;
  7526. case "mind":
  7527. aTool = 3;
  7528. _iframe = $$("iframe", {
  7529. "frameborder": "no",
  7530. "border": "0",
  7531. "scrolling ": "no",
  7532. "style": {
  7533. "cssText": "border:0;width:100%;height:100%"
  7534. },
  7535. "src": "/kityminder-editor/dist/index.html"
  7536. });
  7537. _box.appendChild(_iframe);
  7538. _box.appendChild(_jie);
  7539. _formdiv = new U.UF.UI.form(
  7540. "思维导图",
  7541. _box, { //"/jsmind/example/demo.html"
  7542. "id": "minds_Yu" + cid + stage + task + tool,
  7543. "style": {
  7544. "width": "90%",
  7545. "height": "90%",
  7546. "overflow": 'hidden'
  7547. },
  7548. "onresize": function () { }
  7549. }, {
  7550. closecallback: function () { }
  7551. }, {
  7552. "style": {
  7553. "height": "36px"
  7554. }
  7555. }).form; //创建窗体
  7556. _taskbar = {
  7557. "id": str + _formdiv.id,
  7558. "style": {
  7559. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7560. },
  7561. "name": "思维导图",
  7562. "forms": _formdiv,
  7563. "click": function () {
  7564. U.MD.D.I.openApplication(str, obj, info);
  7565. }
  7566. }
  7567. break;
  7568. case "doc":
  7569. aTool = 6;
  7570. _iframe = $$("iframe", {
  7571. "frameborder": "no",
  7572. "border": "0",
  7573. "scrolling ": "no",
  7574. "style": {
  7575. "cssText": "border:0;width:100%;height:100%"
  7576. },
  7577. "src": "/Office/Word/WordEditArea.htm"
  7578. })
  7579. _box.appendChild(_iframe);
  7580. _box.appendChild(_jie);
  7581. _formdiv = new U.UF.UI.form(
  7582. "协同文档",
  7583. _box, {
  7584. "id": "docs_Yu" + cid + stage + task + tool,
  7585. "style": {
  7586. "width": "90%",
  7587. "height": "90%",
  7588. "overflow": 'hidden'
  7589. },
  7590. "onresize": function () { }
  7591. }, {
  7592. closecallback: function () { }
  7593. }, {
  7594. "style": {
  7595. "height": "36px"
  7596. }
  7597. }).form; //创建窗体
  7598. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7599. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7600. })
  7601. _taskbar = {
  7602. "id": str + _formdiv.id,
  7603. "style": {
  7604. "backgroundImage": "url(/img/icon/doc.png)"
  7605. },
  7606. "name": "协同文档",
  7607. "forms": _formdiv,
  7608. "click": function () {
  7609. U.MD.D.I.openApplication(str, obj, info);
  7610. }
  7611. }
  7612. break;
  7613. case "CocoPi":
  7614. aTool = 57;
  7615. _iframe = $$("iframe", {
  7616. "allowpaymentrequest": "allowpaymentrequest",
  7617. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7618. "webkitallowfullscreen": "",
  7619. "mozallowfullscreen": "",
  7620. "frameborder": "no",
  7621. "border": "0",
  7622. "scrolling ": "no",
  7623. "style": {
  7624. "cssText": "border:0;width:100%;height:100%"
  7625. },
  7626. "src": "https://pi.cocorobo.cn/"
  7627. })
  7628. _box.appendChild(_iframe);
  7629. _box.appendChild(_jie);
  7630. _formdiv = new U.UF.UI.form(
  7631. "CocoPi",
  7632. _box, {
  7633. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7634. "style": {
  7635. "width": "90%",
  7636. "height": "90%",
  7637. "overflow": 'hidden'
  7638. },
  7639. "onresize": function () { }
  7640. }, {
  7641. closecallback: function () { }
  7642. }, {
  7643. "style": {
  7644. "height": "36px"
  7645. }
  7646. }).form; //创建窗体
  7647. _taskbar = {
  7648. "id": str + _formdiv.id,
  7649. "style": {
  7650. "backgroundImage": "url(/img/icon/cocopi.png)"
  7651. },
  7652. "name": "CocoPi",
  7653. "forms": _formdiv,
  7654. "click": function () {
  7655. U.MD.D.I.openApplication(str, obj, info);
  7656. }
  7657. }
  7658. break;
  7659. }
  7660. if (_iframe) {
  7661. if (str == 'doc') {
  7662. _iframe = _formdiv.querySelector('iframe')
  7663. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7664. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7665. })
  7666. if (onloadListener) {
  7667. _iframe.contentDocument.location.reload()
  7668. } else {
  7669. _iframe.contentDocument.location.reload()
  7670. }
  7671. } else if (str == 'mind') {
  7672. _iframe = _formdiv.querySelector('iframe')
  7673. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7674. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7675. })
  7676. if (onloadListener) {
  7677. _iframe.contentDocument.location.reload()
  7678. } else {
  7679. _iframe.contentDocument.location.reload()
  7680. }
  7681. } else if (str == 'whiteboard') {
  7682. _iframe = _formdiv.querySelector('iframe')
  7683. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7684. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7685. })
  7686. if (onloadListener) {
  7687. _iframe.contentDocument.location.reload()
  7688. } else {
  7689. _iframe.contentDocument.location.reload()
  7690. }
  7691. } else if (str == 'CocoPi') {
  7692. _iframe = _formdiv.querySelector('iframe')
  7693. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7694. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7695. })
  7696. if (onloadListener) {
  7697. _iframe.contentDocument.location.reload()
  7698. } else {
  7699. _iframe.contentDocument.location.reload()
  7700. }
  7701. } else {
  7702. _iframe.onload = () => { };
  7703. }
  7704. _jie.onclick = async () => {
  7705. let text = ''
  7706. let type = '2'
  7707. if (aTool == 1) {
  7708. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7709. type = '3'
  7710. } else if (aTool == 6) {
  7711. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7712. type = '1'
  7713. } else if (aTool == 3) {
  7714. text = await U.MD.D.I.getEditorContent(_iframe);
  7715. type = '2'
  7716. } else if (aTool == 57) {
  7717. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7718. type = '4'
  7719. }
  7720. _loading.style.display = 'flex'
  7721. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7722. }
  7723. }
  7724. //U.MD.D.I.openClick(str);
  7725. //如果有任务栏信息
  7726. // if (_taskbar) {
  7727. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7728. // }
  7729. }
  7730. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7731. var xmlhttp;
  7732. var Mac, Sn, DeviceId
  7733. if (window.XMLHttpRequest) {
  7734. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7735. xmlhttp = new XMLHttpRequest();
  7736. } else {
  7737. // IE6, IE5 浏览器执行代码
  7738. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7739. }
  7740. xmlhttp.onreadystatechange = function () {
  7741. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7742. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7743. // resolve(res.value[0][0].text);
  7744. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7745. }
  7746. }
  7747. }
  7748. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7749. xmlhttp.send();
  7750. }
  7751. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7752. var xmlhttp;
  7753. var Mac, Sn, DeviceId
  7754. if (window.XMLHttpRequest) {
  7755. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7756. xmlhttp = new XMLHttpRequest();
  7757. } else {
  7758. // IE6, IE5 浏览器执行代码
  7759. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7760. }
  7761. xmlhttp.onreadystatechange = function () {
  7762. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7763. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7764. // resolve(res.value[0][0].text);
  7765. if (type == '2') {
  7766. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7767. } else if (type == '3') {
  7768. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7769. } else if (type == '4') {
  7770. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7771. }
  7772. } else {
  7773. if (type == '2') {
  7774. iframe.contentWindow.editor.minder.importData('json', '')
  7775. } else if (type == '3') {
  7776. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7777. } else if (type == '4') {
  7778. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7779. }
  7780. }
  7781. }
  7782. }
  7783. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7784. xmlhttp.send();
  7785. }
  7786. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7787. var xmlhttp;
  7788. var Mac, Sn, DeviceId
  7789. if (window.XMLHttpRequest) {
  7790. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7791. xmlhttp = new XMLHttpRequest();
  7792. } else {
  7793. // IE6, IE5 浏览器执行代码
  7794. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7795. }
  7796. xmlhttp.onreadystatechange = function () {
  7797. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7798. if (xmlhttp.response) {
  7799. // resolve(res.value[0][0].text);
  7800. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7801. // $(fileInput).val('');
  7802. // });
  7803. span.innerHTML = '上传成功'
  7804. setTimeout(() => {
  7805. loading.style.display = 'none'
  7806. }, 1000);
  7807. }
  7808. }
  7809. }
  7810. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7811. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7812. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7813. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7814. // 设置请求头,表示请求体的编码格式
  7815. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7816. // 设置请求体,使用url-encoded格式的数据
  7817. }
  7818. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7819. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7820. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7821. _userinfo = US.userInfo, //登录用户信息
  7822. _userid = US.userInfo.userid //登录用户id
  7823. let _iframe;
  7824. let _cid = cid,
  7825. _stage = stage,
  7826. _task = task,
  7827. _tool = tool;
  7828. var _jie = $$("div", {
  7829. "style": {
  7830. "position": "absolute",
  7831. "bottom": "50px",
  7832. "right": "50px",
  7833. "zIndex": "9999",
  7834. "backgroundColor": "#2268bc",
  7835. "color": "#fff",
  7836. "padding": "12px 20px",
  7837. "cursor": "pointer",
  7838. "borderRadius": "4px",
  7839. },
  7840. "innerHTML": "提交作业"
  7841. })
  7842. let aTool = ''
  7843. let _loading = document.createElement('div')
  7844. _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;"
  7845. // _loading.id = "";
  7846. let _lchild = document.createElement('div')
  7847. let _limg = document.createElement('img')
  7848. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7849. _limg.style = "width: 26px;margin-right: 10px;"
  7850. _lchild.appendChild(_limg)
  7851. let _lspan = document.createElement('span')
  7852. _lspan.innerHTML = "上传中..."
  7853. _lchild.appendChild(_lspan)
  7854. _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%);"
  7855. _loading.appendChild(_lchild)
  7856. var _box = $$('div', {
  7857. "style": {
  7858. "position": "relative",
  7859. "width": "100%",
  7860. "height": "100%",
  7861. },
  7862. })
  7863. _box.appendChild(_loading)
  7864. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7865. switch (str) {
  7866. case "CocoPi":
  7867. aTool = 57;
  7868. _iframe = $$("iframe", {
  7869. "allowpaymentrequest": "allowpaymentrequest",
  7870. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7871. "webkitallowfullscreen": "",
  7872. "mozallowfullscreen": "",
  7873. "frameborder": "no",
  7874. "border": "0",
  7875. "scrolling ": "no",
  7876. "style": {
  7877. "cssText": "border:0;width:100%;height:100%"
  7878. },
  7879. "src": "https://pi.cocorobo.cn/"
  7880. })
  7881. _box.appendChild(_iframe);
  7882. _box.appendChild(_jie);
  7883. _formdiv = new U.UF.UI.form(
  7884. "CocoPi",
  7885. _box, {
  7886. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7887. "style": {
  7888. "width": "90%",
  7889. "height": "90%",
  7890. "overflow": 'hidden'
  7891. },
  7892. "onresize": function () { }
  7893. }, {
  7894. closecallback: function () { }
  7895. }, {
  7896. "style": {
  7897. "height": "36px"
  7898. }
  7899. }).form; //创建窗体
  7900. _taskbar = {
  7901. "id": str + _formdiv.id,
  7902. "style": {
  7903. "backgroundImage": "url(/img/icon/cocopi.png)"
  7904. },
  7905. "name": "CocoPi",
  7906. "forms": _formdiv,
  7907. "click": function () {
  7908. U.MD.D.I.openApplication(str, obj, info);
  7909. }
  7910. }
  7911. break;
  7912. }
  7913. if (_iframe) {
  7914. if (str == 'CocoPi') {
  7915. _iframe = _formdiv.querySelector('iframe')
  7916. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7917. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7918. })
  7919. if (onloadListener) {
  7920. _iframe.contentDocument.location.reload()
  7921. } else {
  7922. _iframe.contentDocument.location.reload()
  7923. }
  7924. }
  7925. _jie.onclick = async () => {
  7926. let text = ''
  7927. if (aTool == 57) {
  7928. text = _iframe.contentWindow.getLoadXmlStr()
  7929. }
  7930. _loading.style.display = 'flex'
  7931. console.log(_loading);
  7932. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7933. _loading.style.display = 'none'
  7934. let _div = document.createElement('div')
  7935. _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;"
  7936. let _inner = document.createElement('div')
  7937. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7938. _inner.innerHTML = "上传成功"
  7939. _div.appendChild(_inner)
  7940. _iframe.contentWindow.window.document.body.appendChild(_div)
  7941. _div.onclick = () => {
  7942. _iframe.contentWindow.window.document.body.removeChild(_div)
  7943. }
  7944. setTimeout(() => {
  7945. _iframe.contentWindow.window.document.body.removeChild(_div)
  7946. }, 1000);
  7947. }, [], { "type": "POST", "withCredentials": true });
  7948. }
  7949. }
  7950. }
  7951. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7952. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7953. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7954. _userid = student.userid, //登录用户id
  7955. _username = student.student //用户名字
  7956. let _iframe;
  7957. let _cid = cid,
  7958. _stage = stage,
  7959. _task = task,
  7960. _tool = tool;
  7961. var _jie = $$("div", {
  7962. "style": {
  7963. "position": "absolute",
  7964. "bottom": "50px",
  7965. "right": "50px",
  7966. "zIndex": "9999",
  7967. "backgroundColor": "#2268bc",
  7968. "color": "#fff",
  7969. "padding": "12px 20px",
  7970. "cursor": "pointer",
  7971. "borderRadius": "4px",
  7972. },
  7973. "innerHTML": "提交作业"
  7974. })
  7975. let aTool = ''
  7976. let _loading = document.createElement('div')
  7977. _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;"
  7978. // _loading.id = "";
  7979. let _lchild = document.createElement('div')
  7980. let _limg = document.createElement('img')
  7981. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7982. _limg.style = "width: 26px;margin-right: 10px;"
  7983. _lchild.appendChild(_limg)
  7984. let _lspan = document.createElement('span')
  7985. _lspan.innerHTML = "上传中..."
  7986. _lchild.appendChild(_lspan)
  7987. _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%);"
  7988. _loading.appendChild(_lchild)
  7989. var _box = $$('div', {
  7990. "style": {
  7991. "position": "relative",
  7992. "width": "100%",
  7993. "height": "100%",
  7994. },
  7995. })
  7996. _box.appendChild(_loading)
  7997. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7998. switch (str) {
  7999. case "CocoPi":
  8000. aTool = 57;
  8001. _iframe = $$("iframe", {
  8002. "allowpaymentrequest": "allowpaymentrequest",
  8003. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8004. "webkitallowfullscreen": "",
  8005. "mozallowfullscreen": "",
  8006. "frameborder": "no",
  8007. "border": "0",
  8008. "scrolling ": "no",
  8009. "style": {
  8010. "cssText": "border:0;width:100%;height:100%"
  8011. },
  8012. "src": "https://pi.cocorobo.cn/"
  8013. })
  8014. _box.appendChild(_iframe);
  8015. _box.appendChild(_jie);
  8016. _formdiv = new U.UF.UI.form(
  8017. "CocoPi-" + _username,
  8018. _box, {
  8019. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8020. "style": {
  8021. "width": "90%",
  8022. "height": "90%",
  8023. "overflow": 'hidden'
  8024. },
  8025. "onresize": function () { }
  8026. }, {
  8027. closecallback: function () { }
  8028. }, {
  8029. "style": {
  8030. "height": "36px"
  8031. }
  8032. }).form; //创建窗体
  8033. _taskbar = {
  8034. "id": str + _formdiv.id,
  8035. "style": {
  8036. "backgroundImage": "url(/img/icon/cocopi.png)"
  8037. },
  8038. "name": "CocoPi",
  8039. "forms": _formdiv,
  8040. "click": function () {
  8041. U.MD.D.I.openApplication(str, obj, info);
  8042. }
  8043. }
  8044. break;
  8045. }
  8046. if (_iframe) {
  8047. if (str == 'CocoPi') {
  8048. _iframe = _formdiv.querySelector('iframe')
  8049. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8050. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8051. })
  8052. if (onloadListener) {
  8053. _iframe.contentDocument.location.reload()
  8054. } else {
  8055. _iframe.contentDocument.location.reload()
  8056. }
  8057. }
  8058. _jie.onclick = async () => {
  8059. let text = ''
  8060. if (aTool == 57) {
  8061. text = _iframe.contentWindow.getLoadXmlStr()
  8062. }
  8063. _loading.style.display = 'flex'
  8064. console.log(_loading);
  8065. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8066. _loading.style.display = 'none'
  8067. let _div = document.createElement('div')
  8068. _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;"
  8069. let _inner = document.createElement('div')
  8070. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8071. _inner.innerHTML = "上传成功"
  8072. _div.appendChild(_inner)
  8073. _iframe.contentWindow.window.document.body.appendChild(_div)
  8074. _div.onclick = () => {
  8075. _iframe.contentWindow.window.document.body.removeChild(_div)
  8076. }
  8077. setTimeout(() => {
  8078. _iframe.contentWindow.window.document.body.removeChild(_div)
  8079. }, 1000);
  8080. }, [], { "type": "POST", "withCredentials": true });
  8081. }
  8082. }
  8083. }
  8084. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8085. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8086. if (res.value[0].length > 0) {
  8087. if (atool == 57) {
  8088. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8089. }
  8090. } else {
  8091. if (atool == 57) {
  8092. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8093. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8094. }
  8095. }
  8096. }, [], { "type": "POST", "withCredentials": true });
  8097. }