DeskTop.js 465 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968
  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. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  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": "项目管理", "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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. // { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.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": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //#region 桌面初始化a
  963. /**
  964. * 初始化桌面的起始函数
  965. *
  966. */
  967. U.MD.D.I.init = function () {
  968. if ($("#U_MD_D_K")[0]) {
  969. //初始化桌面图标
  970. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  971. // var clickUrl = ':12588/requestIp.php';
  972. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  973. // U.MD.D.I.Ip = data;
  974. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  975. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  976. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  977. // })
  978. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  979. // })
  980. }
  981. }
  982. /**
  983. * 模式切换
  984. *
  985. */
  986. U.MD.D.I.ModeCheck = function (type) {
  987. if (US.Config.type == type) {
  988. return
  989. }
  990. US.Config.type = type
  991. $('.U_PBL_Check .active')[0].className = ''
  992. if (type == 1) {
  993. $('.U_PBL_Check div')[0].className = 'active'
  994. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  995. } else {
  996. $('.U_PBL_Check div')[1].className = 'active'
  997. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  998. }
  999. //初始化桌面图标
  1000. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1001. if (type == 2) {
  1002. U.MD.D.I.openApplication("project")
  1003. }
  1004. }
  1005. /**
  1006. * 隐藏任务栏
  1007. *
  1008. * @param {element} 桌面元素
  1009. */
  1010. U.MD.D.I.hiddenTaskbar = function (el) {
  1011. //任务栏位置变小
  1012. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1013. //桌面的位置变大
  1014. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1015. }
  1016. /**
  1017. * 隐藏任务栏
  1018. *
  1019. * @param {element} 桌面元素
  1020. */
  1021. U.MD.D.I.hiddenTaskbarout = function (el) {
  1022. //任务栏位置变小
  1023. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1024. //任务栏位置变化
  1025. U.selectEl(el).css({ "bottom": "-60px" });
  1026. //桌面的位置变大
  1027. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1028. }
  1029. }
  1030. /**
  1031. * 初始化打印桌面图标
  1032. *
  1033. * @param {element} 桌面元素
  1034. */
  1035. U.MD.D.I.initDesktopIcons = function (el, type) {
  1036. var i, //用于循环
  1037. _content, //桌面图标元素
  1038. _iconcontent, //桌面图标元素
  1039. _frag = $$("frag"), //定义一个碎片元素
  1040. _type = US.userInfo.type,
  1041. _org = US.userInfo.org,
  1042. _oid = US.userInfo.organizeid,
  1043. _role = US.userInfo.role,
  1044. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1045. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1046. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1047. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1048. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1049. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1050. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1051. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1052. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1053. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1054. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1055. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1056. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1057. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1058. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1059. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1060. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1061. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1062. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1063. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1064. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1065. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1066. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1067. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1068. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1069. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1070. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1071. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1072. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1073. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1074. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1075. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1076. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1077. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1078. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1079. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1080. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1081. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1082. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1083. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1084. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1085. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1086. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1087. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1088. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1089. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1090. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1091. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1092. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1093. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1094. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1095. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1096. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1097. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1098. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1099. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1100. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1101. 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'];
  1102. 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'];
  1103. //清楚桌面图标
  1104. el.innerHTML = "";
  1105. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1106. _teacherDesktopIconInfo.push(
  1107. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1108. { "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)" } },
  1109. )
  1110. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1111. }
  1112. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1113. _teacherDesktopIconInfo.push(
  1114. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1115. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1116. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1118. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1119. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1120. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1121. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1122. // { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1123. // { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1124. )
  1125. }
  1126. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1127. _teacherDesktopIconInfo.push(
  1128. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1129. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1130. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1131. )
  1132. }
  1133. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1134. _teacherDesktopIconInfo.push(
  1135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1136. )
  1137. }
  1138. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1139. _teacherDesktopIconInfo.push(
  1140. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1141. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1142. )
  1143. _studentDesktopIconInfo.push(
  1144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1145. )
  1146. }
  1147. //麒麟二中 和 民新小学
  1148. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1149. _teacherDesktopIconInfo.push(
  1150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1151. )
  1152. }
  1153. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1154. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1155. _teacherDesktopIconInfo.push(
  1156. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1157. )
  1158. }
  1159. //麒麟二中
  1160. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1161. _studentDesktopIconInfo.push(
  1162. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1163. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1164. )
  1165. }
  1166. //万科双语
  1167. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1168. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1169. if (el.Name == '项目管理') {
  1170. el.Name = 'PBL项目'
  1171. }
  1172. return el
  1173. })
  1174. _studentDesktopIconInfo3.push(
  1175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1176. )
  1177. }
  1178. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1179. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1180. return el.Name != '魔盒识字' && el.Name != '24点'
  1181. })
  1182. }
  1183. 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) {
  1184. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1185. }
  1186. //循环创建桌面图标
  1187. if (type == 1) {
  1188. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1189. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1190. _content = $$("div", {
  1191. className: "U_MD_D_KO",
  1192. "onmousedown": U.UF.C.closure(function (obj) {
  1193. //防止拖动图标即打开了桌面应用
  1194. U.MD.D.click(this, obj);
  1195. }, [_studentDesktopIconInfo[i]]),
  1196. "onclick": U.UF.C.closure(function (obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_studentDesktopIconInfo[i]])
  1200. }, _frag); //
  1201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1204. }
  1205. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1206. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1207. _content = $$("div", {
  1208. className: "U_MD_D_KO",
  1209. "onmousedown": U.UF.C.closure(function (obj) {
  1210. //防止拖动图标即打开了桌面应用
  1211. U.MD.D.click(this, obj);
  1212. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1213. "onclick": U.UF.C.closure(function (obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_hkZJLSStudentDeskIconInfo[i]])
  1217. }, _frag); //
  1218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1221. } //
  1222. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1223. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1224. _content = $$("div", {
  1225. className: "U_MD_D_KO",
  1226. "onmousedown": U.UF.C.closure(function (obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_thuioeStudentDeskIconInfo[i]]),
  1230. "onclick": U.UF.C.closure(function (obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_thuioeStudentDeskIconInfo[i]])
  1234. }, _frag); //
  1235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1238. }
  1239. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1240. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1241. _content = $$("div", {
  1242. className: "U_MD_D_KO",
  1243. "onmousedown": U.UF.C.closure(function (obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_tpcStudentDeskIconInfo[i]]),
  1247. "onclick": U.UF.C.closure(function (obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_tpcStudentDeskIconInfo[i]])
  1251. }, _frag); //
  1252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1255. } //
  1256. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1257. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1258. _content = $$("div", {
  1259. className: "U_MD_D_KO",
  1260. "onmousedown": U.UF.C.closure(function (obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_chjyjStudentDeskIconInfo[i]]),
  1264. "onclick": U.UF.C.closure(function (obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_chjyjStudentDeskIconInfo[i]])
  1268. }, _frag); //
  1269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1272. }
  1273. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1274. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1275. _content = $$("div", {
  1276. className: "U_MD_D_KO",
  1277. "onmousedown": U.UF.C.closure(function (obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_szjkyStudentDeskIconInfo[i]]),
  1281. "onclick": U.UF.C.closure(function (obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_szjkyStudentDeskIconInfo[i]])
  1285. }, _frag); //
  1286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1289. }
  1290. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1291. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1292. _content = $$("div", {
  1293. className: "U_MD_D_KO",
  1294. "onmousedown": U.UF.C.closure(function (obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_dseiStudentDeskIconInfo[i]]),
  1298. "onclick": U.UF.C.closure(function (obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_dseiStudentDeskIconInfo[i]])
  1302. }, _frag); //
  1303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1306. }
  1307. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1308. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1309. _content = $$("div", {
  1310. className: "U_MD_D_KO",
  1311. "onmousedown": U.UF.C.closure(function (obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_siesStudentDeskIconInfo[i]]),
  1315. "onclick": U.UF.C.closure(function (obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_siesStudentDeskIconInfo[i]])
  1319. }, _frag); //
  1320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1323. }
  1324. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1325. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1326. _content = $$("div", {
  1327. className: "U_MD_D_KO",
  1328. "onmousedown": U.UF.C.closure(function (obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_hkStudentDeskIconInfo[i]]),
  1332. "onclick": U.UF.C.closure(function (obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_hkStudentDeskIconInfo[i]])
  1336. }, _frag); //
  1337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1340. }
  1341. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1342. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1343. _content = $$("div", {
  1344. className: "U_MD_D_KO",
  1345. "onmousedown": U.UF.C.closure(function (obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_studentDesktopIconInfo[i]]),
  1349. "onclick": U.UF.C.closure(function (obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_studentDesktopIconInfo[i]])
  1353. }, _frag); //
  1354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1357. }
  1358. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1359. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1360. _content = $$("div", {
  1361. className: "U_MD_D_KO",
  1362. "onmousedown": U.UF.C.closure(function (obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_tcStudentDeskIconInfo[i]]),
  1366. "onclick": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_tcStudentDeskIconInfo[i]])
  1370. }, _frag); //
  1371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1374. }
  1375. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1376. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1377. _content = $$("div", {
  1378. className: "U_MD_D_KO",
  1379. "onmousedown": U.UF.C.closure(function (obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_szscStudentDeskIconInfo[i]]),
  1383. "onclick": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_szscStudentDeskIconInfo[i]])
  1387. }, _frag); //
  1388. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1391. }
  1392. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1393. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  1400. "onclick": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_studentDesktopIconInfo3[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1408. }
  1409. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1410. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  1417. "onclick": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_studentDesktopIconInfo2[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1425. }
  1426. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1427. for (i = 0; i < _wanketeacherDesktopIconInfo.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. }, [_wanketeacherDesktopIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_wanketeacherDesktopIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1442. }
  1443. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1444. for (i = 0; i < _wankeAdminDesktopIconInfo.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. }, [_wankeAdminDesktopIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_wankeAdminDesktopIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1461. for (i = 0; i < _tpcOrganizerDeskIconInfo.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. }, [_tpcOrganizerDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_tpcOrganizerDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1478. for (i = 0; i < _tpcTeacherDeskIconInfo.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. }, [_tpcTeacherDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_tpcTeacherDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1493. }
  1494. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1495. for (i = 0; i < _teacherDesktopIconInfo2.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. }, [_teacherDesktopIconInfo2[i]]),
  1502. "onclick": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_teacherDesktopIconInfo2[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1510. }
  1511. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1512. for (i = 0; i < _thuioeTeacherDeskIconInfo.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. }, [_thuioeTeacherDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_thuioeTeacherDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1527. }
  1528. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1529. for (i = 0; i < _lotechTeacherDeskIconInfo.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. }, [_lotechTeacherDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_lotechTeacherDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1544. }//
  1545. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1546. for (i = 0; i < _siesTeacherDeskIconInfo.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. }, [_siesTeacherDeskIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_siesTeacherDeskIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1563. for (i = 0; i < _longhuaTeacherDeskIconInfo.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. }, [_longhuaTeacherDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_longhuaTeacherDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1578. }
  1579. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1580. for (i = 0; i < _yunhaiTeacherDeskIconInfo.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. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_yunhaiTeacherDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1595. } //_hkStudentDeskIconInfo
  1596. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1597. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.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. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1604. "onclick": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1612. }
  1613. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1614. for (i = 0; i < _hkTeacherDeskIconInfo.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. }, [_hkTeacherDeskIconInfo[i]]),
  1621. "onclick": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_hkTeacherDeskIconInfo[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1629. }
  1630. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1631. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  1638. "onclick": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_gdjgAdminDeskIconInfo[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1646. }
  1647. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1648. for (i = 0; i < _gdjgTeacherDeskIconInfo.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. }, [_gdjgTeacherDeskIconInfo[i]]),
  1655. "onclick": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_gdjgTeacherDeskIconInfo[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1663. }
  1664. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1665. for (i = 0; i < _szherTeacherDeskIconInfo.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. }, [_szherTeacherDeskIconInfo[i]]),
  1672. "onclick": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_szherTeacherDeskIconInfo[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1682. for (i = 0; i < _heyuannAdminDeskIconInfo.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. }, [_heyuannAdminDeskIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_heyuannAdminDeskIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1699. for (i = 0; i < _heyuanTeacherDeskIconInfo.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. }, [_heyuanTeacherDeskIconInfo[i]]),
  1706. "onclick": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_heyuanTeacherDeskIconInfo[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1714. } //
  1715. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1716. for (i = 0; i < _dseiAdminDeskIconInfo.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. }, [_dseiAdminDeskIconInfo[i]]),
  1723. "onclick": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_dseiAdminDeskIconInfo[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1733. for (i = 0; i < _dseiTeacherDeskIconInfo.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. }, [_dseiTeacherDeskIconInfo[i]]),
  1740. "onclick": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_dseiTeacherDeskIconInfo[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1748. } //
  1749. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1750. for (i = 0; i < _chjyjAdminDeskIconInfo.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. }, [_chjyjAdminDeskIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_chjyjAdminDeskIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1765. }//
  1766. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1767. for (i = 0; i < _chjyjTeacherDeskIconInfo.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. }, [_chjyjTeacherDeskIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_chjyjTeacherDeskIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1784. for (i = 0; i < _szjkyAdminDeskIconInfo.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. }, [_szjkyAdminDeskIconInfo[i]]),
  1791. "onclick": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_szjkyAdminDeskIconInfo[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1799. }//
  1800. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1801. for (i = 0; i < _szjkyTeacherDeskIconInfo.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. }, [_szjkyTeacherDeskIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_szjkyTeacherDeskIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1816. }
  1817. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1818. for (i = 0; i < _futianAdminDeskIconInfo.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. }, [_futianAdminDeskIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_futianAdminDeskIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1833. }
  1834. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1835. for (i = 0; i < _futianTeacherDeskIconInfo.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. }, [_futianTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_futianTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1852. for (i = 0; i < _MingdeTeacherDeskIcon.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. }, [_MingdeTeacherDeskIcon[i]]),
  1859. "onclick": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_MingdeTeacherDeskIcon[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1869. for (i = 0; i < _lhsAdminDesktopIconInfo.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. }, [_lhsAdminDesktopIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_lhsAdminDesktopIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1884. }
  1885. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1886. for (i = 0; i < _lhsteacherDesktopIconInfo.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. }, [_lhsteacherDesktopIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_lhsteacherDesktopIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1903. for (i = 0; i < _zhoujiateacherDesktopIconInfo.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. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_zhoujiateacherDesktopIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1920. for (i = 0; i < _hanDeskIcon.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. }, [_hanDeskIcon[i]]),
  1927. "onclick": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_hanDeskIcon[i]])
  1931. }, _frag); //
  1932. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1933. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1934. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1935. }
  1936. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1937. for (i = 0; i < _orgStemDeskIcon.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. }, [_orgStemDeskIcon[i]]),
  1944. "onclick": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_orgStemDeskIcon[i]])
  1948. }, _frag); //
  1949. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1950. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1951. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1952. }
  1953. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1954. for (i = 0; i < _szulsDeskIcon.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. }, [_szulsDeskIcon[i]]),
  1961. "onclick": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_szulsDeskIcon[i]])
  1965. }, _frag); //
  1966. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1967. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1968. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1969. }
  1970. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1971. for (i = 0; i < _orgDesktopIconInfo.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. }, [_orgDesktopIconInfo[i]]),
  1978. "onclick": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_orgDesktopIconInfo[i]])
  1982. }, _frag); //
  1983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1986. }
  1987. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1988. for (i = 0; i < _schoolDesktopIconInfo.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. }, [_schoolDesktopIconInfo[i]]),
  1995. "onclick": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_schoolDesktopIconInfo[i]])
  1999. }, _frag); //
  2000. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2001. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2002. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2003. }
  2004. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2005. for (i = 0; i < _GMteacherDesktopIconInfo.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. }, [_GMteacherDesktopIconInfo[i]]),
  2012. "onclick": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_GMteacherDesktopIconInfo[i]])
  2016. }, _frag); //
  2017. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2018. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2019. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2020. }
  2021. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2022. for (i = 0; i < _SONGteacherDesktopIconInfo.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. }, [_SONGteacherDesktopIconInfo[i]]),
  2029. "onclick": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_SONGteacherDesktopIconInfo[i]])
  2033. }, _frag); //
  2034. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2035. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2036. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2037. }
  2038. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2039. for (i = 0; i < _GMstudentDesktopIconInfo.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. }, [_GMstudentDesktopIconInfo[i]]),
  2046. "onclick": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_GMstudentDesktopIconInfo[i]])
  2050. }, _frag); //
  2051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2054. }
  2055. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2056. for (i = 0; i < _tcTeacherDeskIconInfo.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. }, [_tcTeacherDeskIconInfo[i]]),
  2063. "onclick": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_tcTeacherDeskIconInfo[i]])
  2067. }, _frag); //
  2068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2071. }
  2072. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2073. for (i = 0; i < _tcOrganizerDeskIconInfo.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. }, [_tcOrganizerDeskIconInfo[i]]),
  2080. "onclick": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_tcOrganizerDeskIconInfo[i]])
  2084. }, _frag); //
  2085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2088. }
  2089. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2090. for (i = 0; i < _szscTeacherDeskIconInfo.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. }, [_szscTeacherDeskIconInfo[i]]),
  2097. "onclick": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_szscTeacherDeskIconInfo[i]])
  2101. }, _frag); //
  2102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2105. }
  2106. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2107. for (i = 0; i < _szscOrganizerDeskIconInfo.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. }, [_szscOrganizerDeskIconInfo[i]]),
  2114. "onclick": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_szscOrganizerDeskIconInfo[i]])
  2118. }, _frag); //
  2119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2122. }
  2123. } else {
  2124. for (i = 0; i < _teacherDesktopIconInfo.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. }, [_teacherDesktopIconInfo[i]]),
  2131. "onclick": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_teacherDesktopIconInfo[i]])
  2135. }, _frag); //
  2136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2139. }
  2140. }
  2141. } else {
  2142. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2143. _content = $$("div", {
  2144. className: "U_MD_D_KO",
  2145. style: { 'width': '124px', 'height': '145px' },
  2146. "onmousedown": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_easyDesktopIconInfo[i]]),
  2150. "onclick": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_easyDesktopIconInfo[i]])
  2154. }, _frag); //
  2155. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2158. }
  2159. }
  2160. if (type == 1) {
  2161. //加载好后给图标定位
  2162. U.MD.D.iconPostion($(_frag).Child());
  2163. } else {
  2164. //加载好后给图标定位
  2165. U.MD.D.iconPostion2($(_frag).Child());
  2166. }
  2167. //把图标加载到页面
  2168. el.appendChild(_frag);
  2169. }
  2170. /**
  2171. * 显示任务栏
  2172. *
  2173. * @param {element} 桌面元素
  2174. */
  2175. U.MD.D.I.displayTaskbar = function (el) {
  2176. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2177. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2178. //任务栏位置变化
  2179. U.selectEl(el).css({ "bottom": "0px" });
  2180. //桌面位置变话
  2181. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2182. }
  2183. }
  2184. //#region 桌面图标拖动逻辑
  2185. /**
  2186. * 桌面排列图标
  2187. *
  2188. * @param {element} 桌面元素
  2189. * @param {object} 上下相距的距离
  2190. * @param {object} 左右相距的距离
  2191. * @return {object} 命名空间
  2192. */
  2193. U.MD.D.iconPostion = function (childs, top, left) {
  2194. var i; //用于循环处理
  2195. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2196. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2197. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2198. for (i = 0; i < childs.length; i++) {
  2199. //如果竖排top超过了范围处理
  2200. if (top + 95 > US.height - 10) {
  2201. //left超过了页面范围处理,则向上重叠打印处理
  2202. if ((left + 180) > US.width) {
  2203. top -= 110;
  2204. left -= 90;
  2205. }
  2206. //没有超过范围,那么left+90添加到下一个竖排打印
  2207. else {
  2208. left += 90;
  2209. top = 15;
  2210. };
  2211. }
  2212. //给图标的位置赋值
  2213. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2214. if (i < childs.length - 1) {
  2215. //页面图标每次向下加95
  2216. top += 95;
  2217. }
  2218. }
  2219. //返回最后调用的图标的位置
  2220. return [top, left];
  2221. }
  2222. /**
  2223. * 桌面排列图标
  2224. *
  2225. * @param {element} 桌面元素
  2226. * @param {object} 上下相距的距离
  2227. * @param {object} 左右相距的距离
  2228. * @return {object} 命名空间
  2229. */
  2230. U.MD.D.iconPostion2 = function (childs, top, left) {
  2231. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2232. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2233. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2234. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2235. for (i = 0; i < childs.length; i++) {
  2236. //如果竖排top超过了范围处理
  2237. if (left + 150 > US.width - 10) {
  2238. //left超过了页面范围处理,则向上重叠打印处理
  2239. if ((top + 180) > US.Height) {
  2240. top -= 150;
  2241. left -= 150;
  2242. }
  2243. //没有超过范围,那么left+90添加到下一个竖排打印
  2244. else {
  2245. top += 150;
  2246. left = ol;
  2247. };
  2248. }
  2249. //给图标的位置赋值
  2250. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2251. if (i < childs.length - 1) {
  2252. //页面图标每次向下加95
  2253. left += 150;
  2254. }
  2255. }
  2256. //返回最后调用的图标的位置
  2257. return [top, left];
  2258. }
  2259. /**
  2260. * 桌面点击事件逻辑
  2261. *
  2262. * @param {element} 桌面元素
  2263. * @param {object} 上下相距的距离
  2264. * @param {object} 左右相距的距离
  2265. * @return {object} 命名空间
  2266. */
  2267. U.MD.D.click = function (el, obj) {
  2268. var _buttonnumber = event.button; //点击的按钮的事件值
  2269. var _userinfo = US.userInfo;
  2270. U.UF.EV.stopBubble(); //阻止向上冒泡
  2271. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2272. if (_buttonnumber < 2) {
  2273. //如果是click事件的处理
  2274. if (event.type == "click") {
  2275. //如果元素在mousemove事件中没有移动则出发click事件
  2276. if (!U.MD.D.I.IsDrag) {
  2277. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2278. U.alert("请先登录您的账号!");
  2279. setTimeout(() => {
  2280. U.MD.U.L.login();
  2281. }, 2000);
  2282. } else {
  2283. //打开应用处理
  2284. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2285. }
  2286. }
  2287. }
  2288. //如果是mouse事件的处理
  2289. else {
  2290. if (US.Config.type == '1') {
  2291. //拖动处理,添加拖动和拖动结束事件
  2292. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2293. }
  2294. }
  2295. U.MD.D.I.IsDrag = false;
  2296. }
  2297. }
  2298. /**
  2299. * 拖动的处理
  2300. *
  2301. */
  2302. U.MD.D.iconMove = function () {
  2303. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2304. U.MD.D.I.IsDrag = true;
  2305. }
  2306. /**
  2307. * 拖动结束后,这里是定位处理,以网状的形式定位
  2308. *
  2309. * @param {element} 拖动的元素
  2310. * @return {object} 命名空间
  2311. */
  2312. U.MD.D.iconUp = function (el) {
  2313. var _top = 15,
  2314. _left = 20,
  2315. _margin,
  2316. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2317. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2318. if (_positioninfo["OT"] > 15) {
  2319. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2320. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2321. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2322. }
  2323. if (_positioninfo["OL"] > 20) {
  2324. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2325. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2326. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2327. }
  2328. //while循环判断么一个重叠的元素
  2329. do {
  2330. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2331. _top = _positioninfo[0] + 95; //得到定位后的top
  2332. _left = _positioninfo[1]; //得到定位后的left
  2333. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2334. }
  2335. /**
  2336. * 判断拖动后图标是否重叠
  2337. *
  2338. * @param {element} 拖动的元素
  2339. * @param {element} 桌面所有的元素
  2340. * @param {array} 拖动元素的位置
  2341. ----------[0] 上 top
  2342. ----------[1] 左 left
  2343. * @return {object} 命名空间
  2344. */
  2345. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2346. //循环所有的图标
  2347. for (var i = 0; i < childs.length; i++) {
  2348. //判断有没有和该图标诶子重叠的元素
  2349. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2350. return childs[i]; //如果有返回
  2351. }
  2352. }
  2353. }
  2354. //#endregion
  2355. //#endregion
  2356. //#region 桌面应用
  2357. /**
  2358. * 打开应用
  2359. *
  2360. * @param {string} 类型
  2361. -----------------Disk 网盘系统
  2362. -----------------PDisk 学习系统网盘
  2363. -----------------Poto 图片
  2364. -----------------Video 视频
  2365. -----------------Music 音乐
  2366. -----------------Word word
  2367. -----------------Excel excel
  2368. -----------------Txt 记事本
  2369. -----------------PB 学习系统
  2370. -----------------Blog 朋友圈系统
  2371. -----------------FTP ftp系统
  2372. -----------------Group 好友群
  2373. -----------------SY 首页系统
  2374. -----------------Set 个人设置
  2375. -----------------XSet 系统设置
  2376. -----------------App 我们所有的app
  2377. -----------------BC c.1473.cn 平台
  2378. -----------------CWeb d.1473.cn 变成平台
  2379. -----------------其他的外联系统 我们统一用iframe打开
  2380. * @param {array} 类型
  2381. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2382. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2383. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2384. 如果第一个参数为其他,则无第二个参数
  2385. * @returns {array}
  2386. */
  2387. window.addEventListener('message', function (e) { // 监听 message 事件
  2388. // alert(e.data.type);
  2389. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2390. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2391. //3是展示全部阶段 2学生 1老师 4专家
  2392. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2393. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2394. //3是展示全部阶段 2学生 1老师 4专家
  2395. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2396. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2397. //3是展示全部阶段 2学生 1老师 4专家
  2398. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2399. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2400. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2401. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2402. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2403. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2404. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2405. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2406. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2407. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2408. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2409. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2410. //3是展示全部阶段 2学生 1老师 4专家
  2411. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2412. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2413. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2414. U.MD.D.I.selectUser();
  2415. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2416. var _formel = document.getElementById("study");
  2417. U.UF.F.windowZooming(_formel);
  2418. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2419. var _formel = document.getElementById("studyDetail");
  2420. U.UF.F.windowZooming(_formel);
  2421. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2422. var _formel = document.getElementById("studyDetail");
  2423. U.UF.F.windowZooming(_formel);
  2424. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2425. var _formel = document.getElementById("studentStudy");
  2426. U.UF.F.windowZooming(_formel);
  2427. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2428. // var _formel = document.getElementById("study");
  2429. //如果最大化了,那么就把他缩小
  2430. // if (_formel.ismaximize) {
  2431. // return;
  2432. // }
  2433. // U.UF.F.windowZooming(_formel);
  2434. // U.UF.F.topWindow(_formel);
  2435. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2436. // var _formel = document.getElementById("studyDetail");
  2437. //如果最大化了,那么就把他缩小
  2438. // if (_formel.ismaximize) {
  2439. // return;
  2440. // }
  2441. // U.UF.F.windowZooming(_formel);
  2442. // U.UF.F.topWindow(_formel);
  2443. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2444. // var _formel = document.getElementById("studentStudy");
  2445. // if (_formel.ismaximize) {
  2446. // return;
  2447. // }
  2448. // U.UF.F.windowZooming(_formel);
  2449. // U.UF.F.topWindow(_formel);
  2450. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2451. var _formel = document.getElementById("study");
  2452. // if (_formel.ismaximize) {
  2453. // return;
  2454. // }
  2455. // U.UF.F.windowZooming(_formel);
  2456. U.UF.F.topWindow(_formel);
  2457. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2458. var _formel = document.getElementById("studentIndex");
  2459. U.UF.F.windowZooming(_formel);
  2460. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2461. var _formel = document.getElementById("studyDetailS");
  2462. U.UF.F.windowZooming(_formel);
  2463. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2464. var _formel = document.getElementById("studioIndex");
  2465. U.UF.F.windowZooming(_formel);
  2466. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2467. var _formel = document.getElementById("studyDetailStudio");
  2468. U.UF.F.windowZooming(_formel);
  2469. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2470. var _formel = document.getElementById("studyDetailStudio");
  2471. U.UF.F.windowZooming(_formel);
  2472. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2473. var _formel = document.getElementById("studyDetailNT");
  2474. U.UF.F.windowZooming(_formel);
  2475. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2476. var _formel = document.getElementById("studyDetailS");
  2477. U.UF.F.windowZooming(_formel);
  2478. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2479. var _formel = document.getElementById("studyDetailS");
  2480. U.UF.F.topWindow(_formel);
  2481. } else if (e.data.tools && e.data.tools == "1") {
  2482. // U.MD.D.I.openApplication("whiteboard")
  2483. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2484. } else if (e.data.tools && e.data.tools == "2") {
  2485. U.MD.D.I.openApplication("note")
  2486. } else if (e.data.tools && e.data.tools == "3") {
  2487. // U.MD.D.I.openApplication("mind")
  2488. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2489. } else if (e.data.tools && e.data.tools == "4") {
  2490. U.MD.D.I.openApplication("investigation")
  2491. } else if (e.data.tools && e.data.tools == "6") {
  2492. // U.MD.D.I.openApplication("doc")
  2493. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2494. } else if (e.data.tools && e.data.tools == "7") {
  2495. // U.MD.D.I.openApplication("mindNetwork")
  2496. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2497. } else if (e.data.tools && e.data.tools == "8") {
  2498. U.MD.D.I.openApplication("library")
  2499. } else if (e.data.tools && e.data.tools == "17") {
  2500. U.MD.D.I.openApplication("stuLibrary")
  2501. } else if (e.data.tools && e.data.tools == "18") {
  2502. U.MD.D.I.openApplication("train")
  2503. } else if (e.data.tools && e.data.tools == "21") {
  2504. U.MD.D.I.openApplication("program")
  2505. } else if (e.data.tools && e.data.tools == "22") {
  2506. U.MD.D.I.openApplication("AIprogram2")
  2507. } else if (e.data.tools && e.data.tools == "23") {
  2508. U.MD.D.I.openApplication("Pythonprogram")
  2509. } else if (e.data.tools && e.data.tools == "24") {
  2510. U.MD.D.I.openApplication("AIprogram")
  2511. } else if (e.data.tools && e.data.tools == "25") {
  2512. U.MD.D.I.openApplication("sys")
  2513. } else if (e.data.tools && e.data.tools == "26") {
  2514. // U.MD.D.I.openApplication("courseDesign")
  2515. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2516. } else if (e.data.tools && e.data.tools == "31") {
  2517. U.MD.D.I.openApplication("netWorkPanel")
  2518. } else if (e.data.tools && e.data.tools == "32") {
  2519. U.MD.D.I.openApplication("codeEdit")
  2520. } else if (e.data.tools && e.data.tools == "57") {
  2521. U.MD.D.I.openApplication("CocoPi")
  2522. } else if (e.data.tools && e.data.tools == "63") {
  2523. U.MD.D.I.openApplication("Wood")
  2524. } else if (e.data.tools && e.data.tools == "58") {
  2525. U.MD.D.I.openApplication("car")
  2526. } else if (e.data.tools && e.data.tools == "59") {
  2527. U.MD.D.I.openApplication("lineSearch")
  2528. } else if (e.data.tools && e.data.tools == "60") {
  2529. U.MD.D.I.openApplication("deepLearning")
  2530. } else if (e.data.tools && e.data.tools == "61") {
  2531. U.MD.D.I.openApplication("allHistory")
  2532. } else if (e.data.tools && e.data.tools == "28") {
  2533. U.MD.D.I.openApplication("translation")
  2534. } else if (e.data.tools && e.data.tools == "37") {
  2535. U.MD.D.I.openApplication("mohe")
  2536. } else if (e.data.tools && e.data.tools == "38") {
  2537. U.MD.D.I.openApplication("24game")
  2538. } else if (e.data.tools && e.data.tools == "39") {
  2539. U.MD.D.I.openApplication("GeoGebra")
  2540. } else if (e.data.tools && e.data.tools == "43") {
  2541. U.MD.D.I.openApplication("studentEvaluate")
  2542. } else if (e.data.tools && e.data.tools == "44") {
  2543. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2544. } else if (e.data.tools && e.data.tools == "46") {
  2545. U.MD.D.I.openApplication("project")
  2546. } else if (e.data.tools && e.data.tools == "1s") {
  2547. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2548. } else if (e.data.tools && e.data.tools == "3s") {
  2549. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2550. } else if (e.data.tools && e.data.tools == "6s") {
  2551. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2552. } else if (e.data.tools && e.data.tools == "1studio") {
  2553. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2554. } else if (e.data.tools && e.data.tools == "3studio") {
  2555. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2556. } else if (e.data.tools && e.data.tools == "6studio") {
  2557. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2558. } else if (e.data.tools && e.data.tools == "3y") {
  2559. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2560. } else if (e.data.tools && e.data.tools == "1y") {
  2561. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2562. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2563. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2564. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2565. U.MD.D.I.openApplication("AIAnalyse")
  2566. } else if (e.data.tools && e.data.tools == "1teacher") {
  2567. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2568. } else if (e.data.tools && e.data.tools == "3teacher") {
  2569. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2570. } else if (e.data.tools && e.data.tools == "7teacher") {
  2571. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2572. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2573. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2574. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2575. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2576. } else if (e.data.tools && e.data.tools == "1E") {
  2577. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2578. } else if (e.data.tools && e.data.tools == "3E") {
  2579. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2580. } else if (e.data.tools && e.data.tools == "57y") {
  2581. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2582. } else if (e.data.tools && e.data.tools == "57u") {
  2583. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2584. } else if (e.data.tools && e.data.tools == "57teacher") {
  2585. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2586. } else if (e.data.tools && e.data.tools == "64") {
  2587. U.MD.D.I.openApplication("AIChat")
  2588. } else if (e.data.tools && e.data.tools == "66") {
  2589. U.MD.D.I.openApplication("formulaEdi")
  2590. } else if (e.data.tools && e.data.tools == "67") {
  2591. U.MD.D.I.openApplication("molStr")
  2592. } else if (e.data.tools && e.data.tools == "68") {
  2593. U.MD.D.I.openApplication("timeAxis")
  2594. } else if (e.data.tools && e.data.tools == "openCourse") {
  2595. let _data = {
  2596. typea: e.data.typea || '',
  2597. typeb: e.data.typeb || '',
  2598. typed: e.data.typed || '',
  2599. }
  2600. U.MD.D.I.openInApplication("index", _data)
  2601. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2602. let _data = {
  2603. classid: e.data.classid || '',
  2604. }
  2605. U.MD.D.I.openInApplication("dataClass", _data)
  2606. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2607. let _data = {
  2608. cid: e.data.cid || '',
  2609. gid: e.data.gid || '',
  2610. }
  2611. U.MD.D.I.openInApplication("opencCscl", _data)
  2612. }
  2613. });
  2614. U.MD.D.I.selectUser = function () {
  2615. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2616. if (res.value[0].length > 0) {
  2617. US.userInfo = res.value[0][0];
  2618. $(".userName")[0].innerHTML = US.userInfo.username;
  2619. }
  2620. }, [], { "type": "GET", "withCredentials": true });
  2621. }
  2622. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2623. var _userinfo = US.userInfo, //登录用户信息
  2624. _userid = US.userInfo.userid, //登录用户id
  2625. _oid = _userinfo.organizeid,
  2626. _type = US.userInfo.type,
  2627. _org = US.userInfo.org,
  2628. _role = US.userInfo.role,
  2629. _classId = US.userInfo.classid;
  2630. if (_type == 4) {
  2631. tType = 4
  2632. }
  2633. switch (str) {
  2634. case "studyDetailNT": //无终端模式
  2635. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2636. setTimeout(() => {
  2637. U.MD.U.L.login();
  2638. }, 2000);
  2639. } else {
  2640. _formdiv = new U.UF.UI.form(
  2641. "课程详情",
  2642. $$("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 }), {
  2643. "id": "studyDetailNT",
  2644. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2645. "onresize": function () { }
  2646. }, {
  2647. closecallback: function () { }
  2648. }, { "style": { "height": "36px" } }).form; //创建窗体
  2649. _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); } }
  2650. break;
  2651. }
  2652. case "studyDetail":
  2653. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2654. setTimeout(() => {
  2655. U.MD.U.L.login();
  2656. }, 2000);
  2657. } else {
  2658. _formdiv = new U.UF.UI.form(
  2659. "课程详情",
  2660. $$("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 }), {
  2661. "id": "studyDetail",
  2662. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2663. "onresize": function () { }
  2664. }, {
  2665. closecallback: function () { }
  2666. }, { "style": { "height": "36px" } }).form; //创建窗体
  2667. _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); } }
  2668. break;
  2669. }
  2670. case "studyDetailS":
  2671. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2672. setTimeout(() => {
  2673. U.MD.U.L.login();
  2674. }, 2000);
  2675. } else {
  2676. _formdiv = new U.UF.UI.form(
  2677. "项目详情",
  2678. $$("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 }), {
  2679. "id": "studyDetailS",
  2680. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2681. "onresize": function () { }
  2682. }, {
  2683. closecallback: function () { }
  2684. }, { "style": { "height": "36px" } }).form; //创建窗体
  2685. _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); } }
  2686. break;
  2687. }
  2688. case "studyDetailStudio":
  2689. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2690. setTimeout(() => {
  2691. U.MD.U.L.login();
  2692. }, 2000);
  2693. } else {
  2694. _formdiv = new U.UF.UI.form(
  2695. "工作详情",
  2696. $$("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 }), {
  2697. "id": "studyDetailStudio",
  2698. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2699. "onresize": function () { }
  2700. }, {
  2701. closecallback: function () { }
  2702. }, { "style": { "height": "36px" } }).form; //创建窗体
  2703. _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); } }
  2704. break;
  2705. }
  2706. case "studyDetailS5":
  2707. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2708. setTimeout(() => {
  2709. U.MD.U.L.login();
  2710. }, 2000);
  2711. } else {
  2712. _formdiv = new U.UF.UI.form(
  2713. "项目详情",
  2714. $$("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 }), {
  2715. "id": "studyDetailS",
  2716. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2717. "onresize": function () { }
  2718. }, {
  2719. closecallback: function () { }
  2720. }, { "style": { "height": "36px" } }).form; //创建窗体
  2721. _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); } }
  2722. break;
  2723. }
  2724. case "studyDetailGM":
  2725. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2726. setTimeout(() => {
  2727. U.MD.U.L.login();
  2728. }, 2000);
  2729. } else {
  2730. _formdiv = new U.UF.UI.form(
  2731. "课程详情",
  2732. $$("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 }), {
  2733. "id": "studyDetail",
  2734. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2735. "onresize": function () { }
  2736. }, {
  2737. closecallback: function () { }
  2738. }, { "style": { "height": "36px" } }).form; //创建窗体
  2739. _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); } }
  2740. break;
  2741. }
  2742. case "hanUrl":
  2743. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2744. setTimeout(() => {
  2745. U.MD.U.L.login();
  2746. }, 2000);
  2747. } else {
  2748. _formdiv = new U.UF.UI.form(
  2749. "汉字宫",
  2750. $$("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" }), {
  2751. "id": "hanUrl",
  2752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2753. "onresize": function () { }
  2754. }, {
  2755. closecallback: function () { }
  2756. }, { "style": { "height": "36px" } }).form; //创建窗体
  2757. _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); } }
  2758. break;
  2759. }
  2760. case "index":
  2761. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2762. setTimeout(() => {
  2763. U.MD.U.L.login();
  2764. }, 2000);
  2765. } else {
  2766. _formdiv = new U.UF.UI.form(
  2767. "课程中心",
  2768. $$("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 }), {
  2769. "id": "study",
  2770. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2771. "onresize": function () { }
  2772. }, {
  2773. closecallback: function () { }
  2774. }, { "style": { "height": "36px" } }).form; //创建窗体
  2775. _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); } }
  2776. break;
  2777. }
  2778. case "dataClass":
  2779. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2780. setTimeout(() => {
  2781. U.MD.U.L.login();
  2782. }, 2000);
  2783. } else {
  2784. _formdiv = new U.UF.UI.form(
  2785. "数据报告",
  2786. $$("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 }), {
  2787. "id": "dataClass",
  2788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2789. "onresize": function () { }
  2790. }, {
  2791. closecallback: function () { }
  2792. }, { "style": { "height": "36px" } }).form; //创建窗体
  2793. _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); } }
  2794. break;
  2795. }
  2796. case "opencCscl":
  2797. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2798. setTimeout(() => {
  2799. U.MD.U.L.login();
  2800. }, 2000);
  2801. } else {
  2802. _formdiv = new U.UF.UI.form(
  2803. "协同建构",
  2804. $$("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 }), {
  2805. "id": "futureClass",
  2806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2807. "onresize": function () { }
  2808. }, {
  2809. closecallback: function () { }
  2810. }, { "style": { "height": "36px" } }).form; //创建窗体
  2811. _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); } }
  2812. break;
  2813. }
  2814. }
  2815. }
  2816. U.MD.D.I.openApplication = function (str, obj, info) {
  2817. obj = obj || {};
  2818. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2819. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2820. _userinfo = US.userInfo, //登录用户信息
  2821. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2822. _oid = obj.organizeid || _userinfo.organizeid,
  2823. _type = US.userInfo.type,
  2824. _org = US.userInfo.org,
  2825. _role = US.userInfo.role,
  2826. _classId = US.userInfo.classid,
  2827. _TscreenType = 1
  2828. _screenType = 2,
  2829. _SscreenType = 3;
  2830. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2831. return;
  2832. }
  2833. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2834. switch (str) {
  2835. case "studnetProject": //好友打开
  2836. _formdiv = new U.UF.UI.form(
  2837. "我的项目",
  2838. $$("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 }), {
  2839. "id": "studnetProject",
  2840. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2841. "onresize": function () { }
  2842. }, {
  2843. closecallback: function () { }
  2844. }, { "style": { "height": "36px" } }).form; //创建窗体
  2845. _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); } }
  2846. break;
  2847. case "studentEvaluate": //好友打开
  2848. _formdiv = new U.UF.UI.form(
  2849. "我的评价",
  2850. $$("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 }), {
  2851. "id": "studentEvaluate",
  2852. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2853. "onresize": function () { }
  2854. }, {
  2855. closecallback: function () { }
  2856. }, { "style": { "height": "36px" } }).form; //创建窗体
  2857. _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); } }
  2858. break;
  2859. case "my":
  2860. _formdiv = new U.UF.UI.form(
  2861. "我的资料",
  2862. $$("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 }), {
  2863. "id": "my",
  2864. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2865. "onresize": function () { }
  2866. }, {
  2867. closecallback: function () { }
  2868. }, { "style": { "height": "36px" } }).form; //创建窗体
  2869. _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); } }
  2870. break;
  2871. case "program":
  2872. _formdiv = new U.UF.UI.form(
  2873. "编程平台",
  2874. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2875. "id": "program",
  2876. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2877. "onresize": function () { }
  2878. }, {
  2879. closecallback: function () { }
  2880. }, { "style": { "height": "36px" } }).form; //创建窗体
  2881. _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); } }
  2882. break;
  2883. case "library":
  2884. _formdiv = new U.UF.UI.form(
  2885. "素材库",
  2886. $$("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 }), {
  2887. "id": "library",
  2888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _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); } }
  2894. break;
  2895. case "whiteboard":
  2896. _formdiv = new U.UF.UI.form(
  2897. "电子白板",
  2898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2899. "id": "whiteboard",
  2900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2901. "onresize": function () { }
  2902. }, {
  2903. closecallback: function () { }
  2904. }, { "style": { "height": "36px" } }).form; //创建窗体
  2905. _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); } }
  2906. break;
  2907. case "investigation":
  2908. _formdiv = new U.UF.UI.form(
  2909. "问卷调查",
  2910. $$("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 }), {
  2911. "id": "investigation",
  2912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2913. "onresize": function () { }
  2914. }, {
  2915. closecallback: function () { }
  2916. }, { "style": { "height": "36px" } }).form; //创建窗体
  2917. _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); } }
  2918. break;
  2919. case "note":
  2920. _formdiv = new U.UF.UI.form(
  2921. "便签分类",
  2922. $$("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 }), {
  2923. "id": "note",
  2924. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2925. "onresize": function () { }
  2926. }, {
  2927. closecallback: function () { }
  2928. }, { "style": { "height": "36px" } }).form; //创建窗体
  2929. _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); } }
  2930. break;
  2931. // case "score":
  2932. // _formdiv = new U.UF.UI.form(
  2933. // "量规评分",
  2934. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2935. // "id": "score",
  2936. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2937. // "onresize": function() {}
  2938. // }, {
  2939. // closecallback: function() {}
  2940. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2941. // _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); } }
  2942. // break;
  2943. case "mind":
  2944. _formdiv = new U.UF.UI.form(
  2945. "思维导图",
  2946. $$("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"
  2947. "id": "mind",
  2948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2949. "onresize": function () { }
  2950. }, {
  2951. closecallback: function () { }
  2952. }, { "style": { "height": "36px" } }).form; //创建窗体
  2953. _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); } }
  2954. break;
  2955. case "doc":
  2956. // U.MD.D.I.isRoom();
  2957. _formdiv = new U.UF.UI.form(
  2958. "协同文档",
  2959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2960. "id": "doc",
  2961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2962. "onresize": function () { }
  2963. }, {
  2964. closecallback: function () { }
  2965. }, { "style": { "height": "36px" } }).form; //创建窗体
  2966. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2967. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2968. // })
  2969. _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); } }
  2970. break;
  2971. case "studentStudy":
  2972. _formdiv = new U.UF.UI.form(
  2973. "课程中心",
  2974. $$("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
  2975. "id": "studentStudy",
  2976. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2977. "onresize": function () { }
  2978. }, {
  2979. closecallback: function () { }
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. case "train": //好友打开
  2984. _formdiv = new U.UF.UI.form(
  2985. "训练平台",
  2986. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2987. "id": "train",
  2988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function () { }
  2990. }, {
  2991. closecallback: function () { }
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2994. break;
  2995. case "mindNetwork": //好友打开
  2996. _formdiv = new U.UF.UI.form(
  2997. "思维网格",
  2998. $$("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 }), {
  2999. "id": "mindNetwork",
  3000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3001. "onresize": function () { }
  3002. }, {
  3003. closecallback: function () { }
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _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); } }
  3006. break;
  3007. case "studentClassRoom": //好友打开
  3008. _formdiv = new U.UF.UI.form(
  3009. "实时课堂",
  3010. $$("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 }), {
  3011. "id": "studentClassRoom",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function () { }
  3014. }, {
  3015. closecallback: function () { }
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. setTimeout(() => {
  3019. U.UF.F.windowZooming(_formdiv)
  3020. }, 0);
  3021. break;
  3022. }
  3023. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3024. switch (str) {
  3025. case "studnetProject": //好友打开
  3026. _formdiv = new U.UF.UI.form(
  3027. "我的项目",
  3028. $$("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 }), {
  3029. "id": "studnetProject",
  3030. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function () { }
  3032. }, {
  3033. closecallback: function () { }
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _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); } }
  3036. break;
  3037. case "studentEvaluate": //好友打开
  3038. _formdiv = new U.UF.UI.form(
  3039. "我的评价",
  3040. $$("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 }), {
  3041. "id": "studentEvaluate",
  3042. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3043. "onresize": function () { }
  3044. }, {
  3045. closecallback: function () { }
  3046. }, { "style": { "height": "36px" } }).form; //创建窗体
  3047. _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); } }
  3048. break;
  3049. case "my":
  3050. _formdiv = new U.UF.UI.form(
  3051. "我的资料",
  3052. $$("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 }), {
  3053. "id": "my",
  3054. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3055. "onresize": function () { }
  3056. }, {
  3057. closecallback: function () { }
  3058. }, { "style": { "height": "36px" } }).form; //创建窗体
  3059. _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); } }
  3060. break;
  3061. case "program":
  3062. _formdiv = new U.UF.UI.form(
  3063. "编程平台",
  3064. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3065. "id": "program",
  3066. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3067. "onresize": function () { }
  3068. }, {
  3069. closecallback: function () { }
  3070. }, { "style": { "height": "36px" } }).form; //创建窗体
  3071. _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); } }
  3072. break;
  3073. case "library":
  3074. _formdiv = new U.UF.UI.form(
  3075. "素材库",
  3076. $$("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 }), {
  3077. "id": "library",
  3078. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3079. "onresize": function () { }
  3080. }, {
  3081. closecallback: function () { }
  3082. }, { "style": { "height": "36px" } }).form; //创建窗体
  3083. _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); } }
  3084. break;
  3085. case "whiteboard":
  3086. _formdiv = new U.UF.UI.form(
  3087. "电子白板",
  3088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3089. "id": "whiteboard",
  3090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3091. "onresize": function () { }
  3092. }, {
  3093. closecallback: function () { }
  3094. }, { "style": { "height": "36px" } }).form; //创建窗体
  3095. _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); } }
  3096. break;
  3097. case "investigation":
  3098. _formdiv = new U.UF.UI.form(
  3099. "问卷调查",
  3100. $$("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 }), {
  3101. "id": "investigation",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function () { }
  3104. }, {
  3105. closecallback: function () { }
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. _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); } }
  3108. break;
  3109. case "note":
  3110. _formdiv = new U.UF.UI.form(
  3111. "便签分类",
  3112. $$("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 }), {
  3113. "id": "note",
  3114. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3115. "onresize": function () { }
  3116. }, {
  3117. closecallback: function () { }
  3118. }, { "style": { "height": "36px" } }).form; //创建窗体
  3119. _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); } }
  3120. break;
  3121. // case "score":
  3122. // _formdiv = new U.UF.UI.form(
  3123. // "量规评分",
  3124. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3125. // "id": "score",
  3126. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3127. // "onresize": function() {}
  3128. // }, {
  3129. // closecallback: function() {}
  3130. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3131. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3132. // break;
  3133. case "mind":
  3134. _formdiv = new U.UF.UI.form(
  3135. "思维导图",
  3136. $$("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"
  3137. "id": "mind",
  3138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3144. break;
  3145. case "doc":
  3146. // U.MD.D.I.isRoom();
  3147. _formdiv = new U.UF.UI.form(
  3148. "协同文档",
  3149. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3150. "id": "doc",
  3151. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3152. "onresize": function () { }
  3153. }, {
  3154. closecallback: function () { }
  3155. }, { "style": { "height": "36px" } }).form; //创建窗体
  3156. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3157. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3158. })
  3159. _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); } }
  3160. break;
  3161. case "train": //好友打开
  3162. _formdiv = new U.UF.UI.form(
  3163. "训练平台",
  3164. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3165. "id": "train",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3172. break;
  3173. case "studentStudy":
  3174. _formdiv = new U.UF.UI.form(
  3175. "课程中心",
  3176. $$("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
  3177. "id": "studentStudy",
  3178. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. case "mindNetwork": //好友打开
  3186. _formdiv = new U.UF.UI.form(
  3187. "思维网格",
  3188. $$("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 }), {
  3189. "id": "mindNetwork",
  3190. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. "onresize": function () { }
  3192. }, {
  3193. closecallback: function () { }
  3194. }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. _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); } }
  3196. break;
  3197. case "studentClassRoom": //好友打开
  3198. _formdiv = new U.UF.UI.form(
  3199. "实时课堂",
  3200. $$("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 }), {
  3201. "id": "studentClassRoom",
  3202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _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); } }
  3208. setTimeout(() => {
  3209. U.UF.F.windowZooming(_formdiv)
  3210. }, 0);
  3211. break;
  3212. }
  3213. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3214. //选择应用处理
  3215. switch (str) {
  3216. case "project": //好友打开
  3217. _formdiv = new U.UF.UI.form(
  3218. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3219. $$("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 }), {
  3220. "id": "project",
  3221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3222. "onresize": function () { }
  3223. }, {
  3224. closecallback: function () { }
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. _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); } }
  3227. break;
  3228. case "student":
  3229. _formdiv = new U.UF.UI.form(
  3230. "学生管理",
  3231. $$("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 }), {
  3232. "id": "student",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function () { }
  3235. }, {
  3236. closecallback: function () { }
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. _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); } }
  3239. break;
  3240. case "evaluate":
  3241. _formdiv = new U.UF.UI.form(
  3242. "学生评价",
  3243. $$("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 }), {
  3244. "id": "evaluate",
  3245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3246. "onresize": function () { }
  3247. }, {
  3248. closecallback: function () { }
  3249. }, { "style": { "height": "36px" } }).form; //创建窗体
  3250. _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); } }
  3251. break;
  3252. case "sys":
  3253. _formdiv = new U.UF.UI.form(
  3254. "目标管理",
  3255. $$("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 }), {
  3256. "id": "sys",
  3257. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3258. "onresize": function () { }
  3259. }, {
  3260. closecallback: function () { }
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _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); } }
  3263. break;
  3264. case "courseDesign":
  3265. _formdiv = new U.UF.UI.form(
  3266. "项目设计",
  3267. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3268. "id": "courseDesign",
  3269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3270. "onresize": function () { }
  3271. }, {
  3272. closecallback: function () { }
  3273. }, { "style": { "height": "36px" } }).form; //创建窗体
  3274. _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); } }
  3275. break;
  3276. case "program":
  3277. _formdiv = new U.UF.UI.form(
  3278. "编程平台",
  3279. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3280. "id": "program",
  3281. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _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); } }
  3287. break;
  3288. case "class":
  3289. _formdiv = new U.UF.UI.form(
  3290. "班级管理",
  3291. $$("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 }), {
  3292. "id": "class",
  3293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _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); } }
  3299. break;
  3300. case "Grade":
  3301. _formdiv = new U.UF.UI.form(
  3302. "年级管理",
  3303. $$("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 }), {
  3304. "id": "Grade",
  3305. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3306. "onresize": function () { }
  3307. }, {
  3308. closecallback: function () { }
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _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); } }
  3311. break;
  3312. case "teacherOffice":
  3313. _formdiv = new U.UF.UI.form(
  3314. "教研室",
  3315. $$("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 }), {
  3316. "id": "teacherOffice",
  3317. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _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); } }
  3323. break;
  3324. case "my":
  3325. _formdiv = new U.UF.UI.form(
  3326. "我的资料",
  3327. $$("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 }), {
  3328. "id": "my",
  3329. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _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); } }
  3335. break;
  3336. case "notice":
  3337. _formdiv = new U.UF.UI.form(
  3338. "通知公告",
  3339. $$("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 }), {
  3340. "id": "notice",
  3341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _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); } }
  3347. break;
  3348. case "library":
  3349. _formdiv = new U.UF.UI.form(
  3350. "素材库",
  3351. $$("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 }), {
  3352. "id": "library",
  3353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. "onresize": function () { }
  3355. }, {
  3356. closecallback: function () { }
  3357. }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. _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); } }
  3359. break;
  3360. case "whiteboard":
  3361. _formdiv = new U.UF.UI.form(
  3362. "电子白板",
  3363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3364. "id": "whiteboard",
  3365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _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); } }
  3371. break;
  3372. case "investigation":
  3373. _formdiv = new U.UF.UI.form(
  3374. "问卷调查",
  3375. $$("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 }), {
  3376. "id": "investigation",
  3377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3378. "onresize": function () { }
  3379. }, {
  3380. closecallback: function () { }
  3381. }, { "style": { "height": "36px" } }).form; //创建窗体
  3382. _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); } }
  3383. break;
  3384. case "note":
  3385. _formdiv = new U.UF.UI.form(
  3386. "便签分类",
  3387. $$("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 }), {
  3388. "id": "note",
  3389. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function () { }
  3391. }, {
  3392. closecallback: function () { }
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _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); } }
  3395. break;
  3396. // case "score":
  3397. // _formdiv = new U.UF.UI.form(
  3398. // "量规评分",
  3399. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3400. // "id": "score",
  3401. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3402. // "onresize": function() {}
  3403. // }, {
  3404. // closecallback: function() {}
  3405. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3406. // _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); } }
  3407. // break;
  3408. case "mind":
  3409. _formdiv = new U.UF.UI.form(
  3410. "思维导图",
  3411. $$("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"
  3412. "id": "mind",
  3413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3414. "onresize": function () { }
  3415. }, {
  3416. closecallback: function () { }
  3417. }, { "style": { "height": "36px" } }).form; //创建窗体
  3418. _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); } }
  3419. break;
  3420. case "doc":
  3421. // U.MD.D.I.isRoom();
  3422. _formdiv = new U.UF.UI.form(
  3423. "协同文档",
  3424. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3425. "id": "doc",
  3426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3432. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3433. })
  3434. _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); } }
  3435. break;
  3436. case "study":
  3437. _formdiv = new U.UF.UI.form(
  3438. "课程中心",
  3439. $$("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
  3440. "id": "study",
  3441. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3442. "onresize": function () { }
  3443. }, {
  3444. closecallback: function () { }
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "mindNetwork": //好友打开
  3449. _formdiv = new U.UF.UI.form(
  3450. "思维网格",
  3451. $$("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 }), {
  3452. "id": "mindNetwork",
  3453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. break;
  3460. case "train": //好友打开
  3461. _formdiv = new U.UF.UI.form(
  3462. "训练平台",
  3463. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3464. "id": "mindNetwork",
  3465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3466. "onresize": function () { }
  3467. }, {
  3468. closecallback: function () { }
  3469. }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. _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); } }
  3471. break;
  3472. case "teacherClassRoom": //好友打开
  3473. _formdiv = new U.UF.UI.form(
  3474. "实时课堂",
  3475. $$("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 }), {
  3476. "id": "teacherClassRoom",
  3477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. setTimeout(() => {
  3484. U.UF.F.windowZooming(_formdiv)
  3485. }, 0);
  3486. break;
  3487. }
  3488. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3489. switch (str) {
  3490. case "project": //好友打开
  3491. _formdiv = new U.UF.UI.form(
  3492. "课程管理",
  3493. $$("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 }), {
  3494. "id": "project",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "evaluate":
  3503. _formdiv = new U.UF.UI.form(
  3504. "学生评价",
  3505. $$("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 }), {
  3506. "id": "evaluate",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. case "notice":
  3515. _formdiv = new U.UF.UI.form(
  3516. "通知公告",
  3517. $$("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 }), {
  3518. "id": "notice",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "stuLibrary":
  3527. _formdiv = new U.UF.UI.form(
  3528. "学习资料",
  3529. $$("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 }), {
  3530. "id": "stuLibrary",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. case "program":
  3539. _formdiv = new U.UF.UI.form(
  3540. "编程平台",
  3541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3542. "id": "program",
  3543. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3544. "onresize": function () { }
  3545. }, {
  3546. closecallback: function () { }
  3547. }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. _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); } }
  3549. break;
  3550. case "whiteboard":
  3551. _formdiv = new U.UF.UI.form(
  3552. "电子白板",
  3553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3554. "id": "whiteboard",
  3555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "investigation":
  3563. _formdiv = new U.UF.UI.form(
  3564. "问卷调查",
  3565. $$("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 }), {
  3566. "id": "investigation",
  3567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function () { }
  3569. }, {
  3570. closecallback: function () { }
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _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); } }
  3573. break;
  3574. case "mind":
  3575. _formdiv = new U.UF.UI.form(
  3576. "思维导图",
  3577. $$("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"
  3578. "id": "mind",
  3579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function () { }
  3581. }, {
  3582. closecallback: function () { }
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _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); } }
  3585. break;
  3586. case "doc":
  3587. // U.MD.D.I.isRoom();
  3588. _formdiv = new U.UF.UI.form(
  3589. "协同文档",
  3590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3591. "id": "doc",
  3592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3598. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3599. })
  3600. _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); } }
  3601. break;
  3602. case "study":
  3603. _formdiv = new U.UF.UI.form(
  3604. "课程中心",
  3605. $$("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
  3606. "id": "study",
  3607. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "mindNetwork": //好友打开
  3615. _formdiv = new U.UF.UI.form(
  3616. "思维网格",
  3617. $$("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 }), {
  3618. "id": "mindNetwork",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function () { }
  3621. }, {
  3622. closecallback: function () { }
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3625. break;
  3626. case "train": //好友打开
  3627. _formdiv = new U.UF.UI.form(
  3628. "训练平台",
  3629. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3630. "id": "train",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function () { }
  3633. }, {
  3634. closecallback: function () { }
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3637. break;
  3638. case "sys":
  3639. _formdiv = new U.UF.UI.form(
  3640. "目标管理",
  3641. $$("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 }), {
  3642. "id": "sys",
  3643. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3644. "onresize": function () { }
  3645. }, {
  3646. closecallback: function () { }
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "courseDesign":
  3651. _formdiv = new U.UF.UI.form(
  3652. "项目设计",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3654. "id": "courseDesign",
  3655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function () { }
  3657. }, {
  3658. closecallback: function () { }
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. _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); } }
  3661. break;
  3662. }
  3663. } else if (!_type) {
  3664. switch (str) {
  3665. case "my":
  3666. _formdiv = new U.UF.UI.form(
  3667. "我的资料",
  3668. $$("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 }), {
  3669. "id": "my",
  3670. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. }
  3678. }
  3679. switch (str) {
  3680. // AIprogram2 AI体验 aihub.cocorobo.cn
  3681. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3682. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3683. case "formulaEdi": //公式编辑
  3684. _formdiv = new U.UF.UI.form(
  3685. "公式编辑",
  3686. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3687. "id": "formulaEdi",
  3688. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3689. "onresize": function () { }
  3690. }, {
  3691. closecallback: function () { }
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _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); } }
  3694. break;
  3695. case "molStr": //分子结构
  3696. _formdiv = new U.UF.UI.form(
  3697. "分子结构",
  3698. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3699. "id": "molStr",
  3700. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. closecallback: function () { }
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. _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); } }
  3706. break;
  3707. case "timeAxis": //时间轴
  3708. _formdiv = new U.UF.UI.form(
  3709. "时间轴",
  3710. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3711. "id": "timeAxis",
  3712. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3713. "onresize": function () { }
  3714. }, {
  3715. closecallback: function () { }
  3716. }, { "style": { "height": "36px" } }).form; //创建窗体
  3717. _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); } }
  3718. break;
  3719. case "AIprogram2": //AI体验
  3720. _formdiv = new U.UF.UI.form(
  3721. "AI体验",
  3722. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3723. "id": "AIprogram2",
  3724. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3725. "onresize": function () { }
  3726. }, {
  3727. closecallback: function () { }
  3728. }, { "style": { "height": "36px" } }).form; //创建窗体
  3729. _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); } }
  3730. break;
  3731. case "Pythonprogram": //python编程
  3732. _formdiv = new U.UF.UI.form(
  3733. "Python编程",
  3734. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3735. "id": "Pythonprogram",
  3736. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3737. "onresize": function () { }
  3738. }, {
  3739. closecallback: function () { }
  3740. }, { "style": { "height": "36px" } }).form; //创建窗体
  3741. _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); } }
  3742. break;
  3743. case "AIprogram": //ai编程
  3744. _formdiv = new U.UF.UI.form(
  3745. "AI编程平台",
  3746. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3747. "id": "AIprogram",
  3748. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3749. "onresize": function () { }
  3750. }, {
  3751. closecallback: function () { }
  3752. }, { "style": { "height": "36px" } }).form; //创建窗体
  3753. _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); } }
  3754. break;
  3755. case "CocoPi": //CocoPi
  3756. _formdiv = new U.UF.UI.form(
  3757. "CocoPi",
  3758. $$("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" }), {
  3759. "id": "CocoPi",
  3760. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //创建窗体
  3765. _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); } }
  3766. break;
  3767. case "Wood": //Wood
  3768. _formdiv = new U.UF.UI.form(
  3769. "海龟编程",
  3770. $$("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/" }), {
  3771. "id": "Wood",
  3772. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _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); } }
  3778. break;
  3779. case "car": //模拟驾驶
  3780. _formdiv = new U.UF.UI.form(
  3781. "模拟驾驶",
  3782. $$("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/" }), {
  3783. "id": "car",
  3784. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "lineSearch": //路径搜索
  3792. _formdiv = new U.UF.UI.form(
  3793. "路径搜索",
  3794. $$("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/" }), {
  3795. "id": "lineSearch",
  3796. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "deepLearning": //深度学习
  3804. _formdiv = new U.UF.UI.form(
  3805. "深度学习",
  3806. $$("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/#" }), {
  3807. "id": "deepLearning",
  3808. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "allHistory": //深度学习
  3816. _formdiv = new U.UF.UI.form(
  3817. "全历史",
  3818. $$("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/" }), {
  3819. "id": "allHistory",
  3820. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. case "chatPDF": //ai编程
  3828. _formdiv = new U.UF.UI.form(
  3829. "chatPDF",
  3830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3831. "id": "chatPDF",
  3832. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "resources": //国家教育
  3840. _formdiv = new U.UF.UI.form(
  3841. "国家教育",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3843. "id": "resources",
  3844. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "codeEdit": //源码编辑
  3852. _formdiv = new U.UF.UI.form(
  3853. "源码编辑",
  3854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3855. "id": "codeEdit",
  3856. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break; //
  3863. case "MindMap": //MindMap
  3864. _formdiv = new U.UF.UI.form(
  3865. "MindMap",
  3866. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3867. "id": "MindMap",
  3868. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function () { }
  3870. }, {
  3871. closecallback: function () { }
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. case "netWorkPanel": //netWorkPanel
  3876. _formdiv = new U.UF.UI.form(
  3877. "netWorkPanel",
  3878. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3879. "id": "netWorkPanel",
  3880. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function () { }
  3882. }, {
  3883. closecallback: function () { }
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. case "GeoGebra": //GeoGebra
  3888. _formdiv = new U.UF.UI.form(
  3889. "GeoGebra",
  3890. $$("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" }), {
  3891. "id": "GeoGebra",
  3892. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function () { }
  3894. }, {
  3895. closecallback: function () { }
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. case "translation": //翻译
  3900. _formdiv = new U.UF.UI.form(
  3901. "翻译",
  3902. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3903. "id": "translation",
  3904. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function () { }
  3906. }, {
  3907. closecallback: function () { }
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. _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); } }
  3910. break;
  3911. case "mohe": //魔盒
  3912. _formdiv = new U.UF.UI.form(
  3913. "魔盒识字",
  3914. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3915. "id": "mohe",
  3916. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3917. "onresize": function () { }
  3918. }, {
  3919. closecallback: function () { }
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "24game": //24点
  3924. _formdiv = new U.UF.UI.form(
  3925. "24点",
  3926. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3927. "id": "24game",
  3928. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. case "case":
  3936. _formdiv = new U.UF.UI.form(
  3937. "课程进展",
  3938. $$("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 }), {
  3939. "id": "case",
  3940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3941. "onresize": function () { }
  3942. }, {
  3943. closecallback: function () { }
  3944. }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. _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); } }
  3946. break;
  3947. case "snf":
  3948. _formdiv = new U.UF.UI.form(
  3949. "赛诺梵",
  3950. $$("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" }), {
  3951. "id": "snf",
  3952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. case "hanFamily":
  3960. _formdiv = new U.UF.UI.form(
  3961. "汉字家族",
  3962. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3963. "id": "hanFamily",
  3964. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3965. "onresize": function () { }
  3966. }, {
  3967. closecallback: function () { }
  3968. }, { "style": { "height": "36px" } }).form; //创建窗体
  3969. _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); } }
  3970. break;
  3971. case "hanClassics":
  3972. _formdiv = new U.UF.UI.form(
  3973. "国学经典",
  3974. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3975. "id": "hanClassics",
  3976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3977. "onresize": function () { }
  3978. }, {
  3979. closecallback: function () { }
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. case "hanTraining":
  3984. _formdiv = new U.UF.UI.form(
  3985. "笔画训练",
  3986. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3987. "id": "hanTraining",
  3988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3989. "onresize": function () { }
  3990. }, {
  3991. closecallback: function () { }
  3992. }, { "style": { "height": "36px" } }).form; //创建窗体
  3993. _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); } }
  3994. break;
  3995. case "hanClass":
  3996. _formdiv = new U.UF.UI.form(
  3997. "书法课堂",
  3998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3999. "id": "hanClass",
  4000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _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); } }
  4006. break;
  4007. case "han":
  4008. _formdiv = new U.UF.UI.form(
  4009. "汉字宫",
  4010. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4011. "id": "han",
  4012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4013. "onresize": function () { }
  4014. }, {
  4015. closecallback: function () { }
  4016. }, { "style": { "height": "36px" } }).form; //创建窗体
  4017. _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); } }
  4018. break;
  4019. case "projectGM": //课程管理
  4020. _formdiv = new U.UF.UI.form(
  4021. "课程管理",
  4022. $$("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 }), {
  4023. "id": "projectGM",
  4024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4025. "onresize": function () { }
  4026. }, {
  4027. closecallback: function () { }
  4028. }, { "style": { "height": "36px" } }).form; //创建窗体
  4029. _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); } }
  4030. break;
  4031. case "studyGM": //课程中心
  4032. _formdiv = new U.UF.UI.form(
  4033. "课程中心",
  4034. $$("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
  4035. "id": "study",
  4036. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4037. "onresize": function () { }
  4038. }, {
  4039. closecallback: function () { }
  4040. }, { "style": { "height": "36px" } }).form; //创建窗体
  4041. _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); } }
  4042. break;
  4043. // studentGM
  4044. case "studentGM": //学生管理
  4045. _formdiv = new U.UF.UI.form(
  4046. "学生管理",
  4047. $$("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 }), {
  4048. "id": "studentGM",
  4049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _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); } }
  4055. break;
  4056. case "evaluateGM": //学生评价
  4057. _formdiv = new U.UF.UI.form(
  4058. "学生评价",
  4059. $$("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 }), {
  4060. "id": "evaluateGM",
  4061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _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); } }
  4067. break;
  4068. // classGM
  4069. case "classGM": //班级管理
  4070. _formdiv = new U.UF.UI.form(
  4071. "班级管理",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4073. "id": "classGM",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. // dataGM
  4082. case "dataGM":
  4083. _formdiv = new U.UF.UI.form(
  4084. "我的资料",
  4085. $$("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 }), {
  4086. "id": "dataGM",
  4087. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4093. break;
  4094. // caseGM
  4095. case "caseGM": //课程进展
  4096. _formdiv = new U.UF.UI.form(
  4097. "课程进展",
  4098. $$("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 }), {
  4099. "id": "caseGM",
  4100. "style": { "width": "90%", "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/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4106. break;
  4107. // meterialGM
  4108. case "meterialGM": //素材库
  4109. _formdiv = new U.UF.UI.form(
  4110. "素材库",
  4111. $$("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 }), {
  4112. "id": "meterialGM",
  4113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4114. "onresize": function () { }
  4115. }, {
  4116. closecallback: function () { }
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. _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); } }
  4119. break;
  4120. // evaluateSGM
  4121. case "evaluateSGM": //我的评价
  4122. _formdiv = new U.UF.UI.form(
  4123. "我的评价",
  4124. $$("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 }), {
  4125. "id": "evaluateSGM",
  4126. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "jupyter": //jupyter
  4134. _formdiv = new U.UF.UI.form(
  4135. "jupyter",
  4136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4137. "id": "jupyter",
  4138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "number": //数字实验室
  4146. _formdiv = new U.UF.UI.form(
  4147. "数字实验室",
  4148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4149. "id": "number",
  4150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. case "studentCourse": //项目管理 学生
  4158. _formdiv = new U.UF.UI.form(
  4159. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4160. $$("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 }), {
  4161. "id": "studentCourse",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. case "studentCourseS": //项目管理 老师
  4170. _formdiv = new U.UF.UI.form(
  4171. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4172. $$("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 }), {
  4173. "id": "studentCourseS",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "studentIndex": //项目中心
  4182. _formdiv = new U.UF.UI.form(
  4183. "项目中心",
  4184. $$("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 }), {
  4185. "id": "studentIndex",
  4186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. case "CaseDesignS":
  4194. _formdiv = new U.UF.UI.form(
  4195. "项目进展",
  4196. $$("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 }), {
  4197. "id": "case",
  4198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4199. "onresize": function () { }
  4200. }, {
  4201. closecallback: function () { }
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "tcStudent": //腾讯学生管理
  4206. _formdiv = new U.UF.UI.form(
  4207. "学生管理",
  4208. $$("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 }), {
  4209. "id": "tcStudent",
  4210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4211. "onresize": function () { }
  4212. }, {
  4213. closecallback: function () { }
  4214. }, { "style": { "height": "36px" } }).form; //创建窗体
  4215. _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); } }
  4216. break;
  4217. case "tcSchool": //腾讯学校管理
  4218. _formdiv = new U.UF.UI.form(
  4219. "学校管理",
  4220. $$("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 }), {
  4221. "id": "tcSchool",
  4222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4223. "onresize": function () { }
  4224. }, {
  4225. closecallback: function () { }
  4226. }, { "style": { "height": "36px" } }).form; //创建窗体
  4227. _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); } }
  4228. break;
  4229. case "tcTeacher": //腾讯学校管理
  4230. _formdiv = new U.UF.UI.form(
  4231. "教师管理",
  4232. $$("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 }), {
  4233. "id": "tcTeacher",
  4234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4235. "onresize": function () { }
  4236. }, {
  4237. closecallback: function () { }
  4238. }, { "style": { "height": "36px" } }).form; //创建窗体
  4239. _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); } }
  4240. break;
  4241. case "tcData": //腾讯我的资料
  4242. _formdiv = new U.UF.UI.form(
  4243. "我的资料",
  4244. $$("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 }), {
  4245. "id": "tcData",
  4246. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4247. "onresize": function () { }
  4248. }, {
  4249. closecallback: function () { }
  4250. }, { "style": { "height": "36px" } }).form; //创建窗体
  4251. _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); } }
  4252. break;
  4253. case "tcNotice": //腾讯消息通知
  4254. _formdiv = new U.UF.UI.form(
  4255. "消息通知",
  4256. $$("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 }), {
  4257. "id": "tcNotice",
  4258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4259. "onresize": function () { }
  4260. }, {
  4261. closecallback: function () { }
  4262. }, { "style": { "height": "36px" } }).form; //创建窗体
  4263. _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); } }
  4264. break;
  4265. case "myReport": //好友打开
  4266. _formdiv = new U.UF.UI.form(
  4267. "我的评价",
  4268. $$("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 }), {
  4269. "id": "myReport",
  4270. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4271. "onresize": function () { }
  4272. }, {
  4273. closecallback: function () { }
  4274. }, { "style": { "height": "36px" } }).form; //创建窗体
  4275. _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); } }
  4276. break;
  4277. case "learnAna": //好友打开
  4278. _formdiv = new U.UF.UI.form(
  4279. "学习分析",
  4280. $$("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 }), {
  4281. "id": "learnAna",
  4282. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4283. "onresize": function () { }
  4284. }, {
  4285. closecallback: function () { }
  4286. }, { "style": { "height": "36px" } }).form; //创建窗体
  4287. _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); } }
  4288. break;
  4289. case "AIChat": //AI共创
  4290. _formdiv = new U.UF.UI.form(
  4291. "AI共创",
  4292. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4293. "id": "AIChat",
  4294. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4295. "onresize": function () { }
  4296. }, {
  4297. istop: true,
  4298. closecallback: function () { $("#aichat_icon").remove(); },
  4299. narrowcallback: function () {
  4300. if (!$("#aichat_icon")[0]) {
  4301. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4302. }
  4303. },
  4304. }, { "style": { "height": "36px" } }).form; //创建窗体
  4305. _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); } }
  4306. break;
  4307. case "ainew": //AI共创
  4308. _formdiv = new U.UF.UI.form(
  4309. "AI协同",
  4310. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4311. "id": "ainew",
  4312. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4318. break;
  4319. case "futureClass": //AI共创
  4320. _formdiv = new U.UF.UI.form(
  4321. "协同建构",
  4322. $$("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
  4323. "id": "synergyCourse",
  4324. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4325. "onresize": function () { }
  4326. }, {
  4327. closecallback: function () { }
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4330. break;
  4331. case "aiagent": //ai agent
  4332. _formdiv = new U.UF.UI.form(
  4333. "AI Agent",
  4334. $$("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" }), {
  4335. "id": "AIAgent",
  4336. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4337. "onresize": function () { }
  4338. }, {
  4339. closecallback: function () { }
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4342. break;
  4343. case "dataBoard": //数据看板
  4344. _formdiv = new U.UF.UI.form(
  4345. "数据看板",
  4346. $$("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 }), {
  4347. "id": "dataBoard",
  4348. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4349. "onresize": function () { }
  4350. }, {
  4351. closecallback: function () { }
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4354. break;
  4355. case "dataBoardSies": //数据看板
  4356. _formdiv = new U.UF.UI.form(
  4357. "数据看板",
  4358. $$("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 }), {
  4359. "id": "dataBoardSies",
  4360. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4361. "onresize": function () { }
  4362. }, {
  4363. closecallback: function () { }
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4366. break;
  4367. case "AIAnalyse": //AI共创
  4368. _formdiv = new U.UF.UI.form(
  4369. "AI分析",
  4370. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4371. "id": "AIAnalyse",
  4372. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4373. "onresize": function () { }
  4374. }, {
  4375. closecallback: function () { }
  4376. }, { "style": { "height": "36px" } }).form; //创建窗体
  4377. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4378. break;
  4379. case "studioCourse": //AI共创
  4380. _formdiv = new U.UF.UI.form(
  4381. "工作管理",
  4382. $$("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 }), {
  4383. "id": "studioCourse",
  4384. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4390. break;
  4391. case "studioIndex": //AI共创
  4392. _formdiv = new U.UF.UI.form(
  4393. "工作中心",
  4394. $$("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 }), {
  4395. "id": "studioIndex",
  4396. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4397. "onresize": function () { }
  4398. }, {
  4399. closecallback: function () { }
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4402. break;
  4403. case "source":
  4404. _formdiv = new U.UF.UI.form(
  4405. "教学资源",
  4406. $$("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 }), {
  4407. "id": "source",
  4408. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4414. break;
  4415. case "testTeacher":
  4416. _formdiv = new U.UF.UI.form(
  4417. "评测管理",
  4418. $$("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 }), {
  4419. "id": "testTeacher",
  4420. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4426. break;
  4427. case "testStudent":
  4428. _formdiv = new U.UF.UI.form(
  4429. "评测中心",
  4430. $$("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 }), {
  4431. "id": "testStudent",
  4432. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4438. break;
  4439. }
  4440. //U.MD.D.I.openClick(str);
  4441. //如果有任务栏信息
  4442. if (_taskbar) {
  4443. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4444. }
  4445. }
  4446. // U.MD.D.I.openClick = function(str){
  4447. // var click = '';
  4448. // switch(str){
  4449. // case 'friend':
  4450. // click = '我的好友';
  4451. // break;
  4452. // case 'domain':
  4453. // click = '域名管理';
  4454. // break;
  4455. // case 'disk':
  4456. // click = '我的云盘';
  4457. // break;
  4458. // case 'word':
  4459. // click = 'Word';
  4460. // break;
  4461. // case 'excel':
  4462. // click = 'Execl';
  4463. // break;
  4464. // case 'txt':
  4465. // click = '文本文件';
  4466. // break;
  4467. // case 'lookupFriend':
  4468. // click = '查找好友';
  4469. // break;
  4470. // case 'ftp':
  4471. // click = 'FTP';
  4472. // break;
  4473. // case 'group':
  4474. // click = '群组';
  4475. // break;
  4476. // case 'set':
  4477. // click = '我的设置';
  4478. // break;
  4479. // case 'systemSet':
  4480. // click = '系统设置';
  4481. // break;
  4482. // case 'boomYun':
  4483. // click = '互联办公';
  4484. // break;
  4485. // case 'xz':
  4486. // click = '云端下载';
  4487. // break;
  4488. // case 'client':
  4489. // click = '有思浏览器';
  4490. // break;
  4491. // case 'backEndProgramming':
  4492. // click = '在线后台编程';
  4493. // break;
  4494. // case 'frontEndProgramming':
  4495. // click = '在线前端编程';
  4496. // break;
  4497. // default: break;
  4498. // }
  4499. // if(U.MD.D.I.Ip && click){
  4500. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4501. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4502. // })
  4503. // }
  4504. // }
  4505. /**
  4506. *函数作用:ajax简易函数,使用post格式
  4507. *@param url {data} 后台地址
  4508. *@param data {data} 参数json
  4509. *@param fn {data} 回调函数
  4510. *
  4511. */
  4512. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4513. // var xhr = new XMLHttpRequest();
  4514. // xhr.open("GET",url,true);
  4515. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4516. // xhr.onreadystatechange = function(){
  4517. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4518. // fn.call(this,xhr.responseText);
  4519. // }
  4520. // };
  4521. // xhr.send();
  4522. // }
  4523. /*判断是否是内网IP*/
  4524. // U.MD.D.I.isInnerIPFn = function(str){
  4525. // var curPageUrl = str;
  4526. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4527. // curPageUrl =curPageUrl.replace(reg1,'');
  4528. // // console.log('curPageUrl-1 '+curPageUrl);
  4529. // var reg2 = /\:+/g;//替换冒号为一点
  4530. // curPageUrl =curPageUrl.replace(reg2,'.');
  4531. // // console.log('curPageUrl-2 '+curPageUrl);
  4532. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4533. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4534. // if(curPageUrl[2] != '16'){
  4535. // return ipAddress;
  4536. // }else{
  4537. // return false;
  4538. // }
  4539. // }
  4540. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4541. // //compatibility for firefox and chrome
  4542. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4543. // var pc = new myPeerConnection({
  4544. // iceServers: []
  4545. // }),
  4546. // noop = function() {},
  4547. // localIPs = {},
  4548. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4549. // key;
  4550. // function iterateIP(ip) {
  4551. // if (!localIPs[ip]) onNewIP(ip);
  4552. // localIPs[ip] = true;
  4553. // }
  4554. // //create a bogus data channel
  4555. // pc.createDataChannel("");
  4556. // // create offer and set local description
  4557. // pc.createOffer().then(function(sdp) {
  4558. // sdp.sdp.split('\n').forEach(function(line) {
  4559. // if (line.indexOf('candidate') < 0) return;
  4560. // line.match(ipRegex).forEach(iterateIP);
  4561. // });
  4562. // pc.setLocalDescription(sdp, noop, noop);
  4563. // }).catch(function(reason) {
  4564. // // An error occurred, so handle the failure to connect
  4565. // });
  4566. // //sten for candidate events
  4567. // pc.onicecandidate = function(ice) {
  4568. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4569. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4570. // };
  4571. // }
  4572. // U.MD.D.I.getUserIpBool = function(callback){
  4573. // U.MD.D.I.getUserIP(function(ip){
  4574. // alert("Got IP! :" + ip);
  4575. // });
  4576. //}
  4577. //#endregion
  4578. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4579. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4580. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4581. _userinfo = US.userInfo, //登录用户信息
  4582. _userid = US.userInfo.userid //登录用户id
  4583. let _iframe;
  4584. let _cid = cid,
  4585. _stage = stage,
  4586. _task = task,
  4587. _tool = tool;
  4588. var _jie = $$("div", {
  4589. "style": {
  4590. "position": "absolute",
  4591. "bottom": "50px",
  4592. "right": "50px",
  4593. "zIndex": "9999",
  4594. "backgroundColor": "#2268bc",
  4595. "color": "#fff",
  4596. "padding": "12px 20px",
  4597. "cursor": "pointer",
  4598. "borderRadius": "4px",
  4599. },
  4600. "innerHTML": "提交作业"
  4601. })
  4602. let aTool = ''
  4603. let _loading = document.createElement('div')
  4604. _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;"
  4605. // _loading.id = "";
  4606. let _lchild = document.createElement('div')
  4607. let _limg = document.createElement('img')
  4608. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4609. _limg.style = "width: 26px;margin-right: 10px;"
  4610. _lchild.appendChild(_limg)
  4611. let _lspan = document.createElement('span')
  4612. _lspan.innerHTML = "上传中..."
  4613. _lchild.appendChild(_lspan)
  4614. _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%);"
  4615. _loading.appendChild(_lchild)
  4616. var _box = $$('div', {
  4617. "style": {
  4618. "position": "relative",
  4619. "width": "100%",
  4620. "height": "100%",
  4621. },
  4622. })
  4623. _box.appendChild(_loading)
  4624. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4625. switch (str) {
  4626. case "whiteboard":
  4627. aTool = 1;
  4628. _iframe = $$("iframe", {
  4629. "frameborder": "no",
  4630. "border": "0",
  4631. "scrolling ": "no",
  4632. "style": {
  4633. "cssText": "border:0;width:100%;height:100%"
  4634. },
  4635. "src": "https://iwb.cocorobo.cn/"
  4636. })
  4637. _box.appendChild(_iframe);
  4638. _box.appendChild(_jie);
  4639. _formdiv = new U.UF.UI.form(
  4640. "电子白板",
  4641. _box, {
  4642. "id": "whiteboard" + cid + stage + task + tool,
  4643. "style": {
  4644. "width": "90%",
  4645. "height": "90%",
  4646. "overflow": 'hidden'
  4647. },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () { }
  4651. }, {
  4652. "style": {
  4653. "height": "36px"
  4654. }
  4655. }).form; //创建窗体
  4656. _taskbar = {
  4657. "id": str + _formdiv.id,
  4658. "style": {
  4659. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4660. },
  4661. "name": "电子白板",
  4662. "forms": _formdiv,
  4663. "click": function () {
  4664. U.MD.D.I.openApplication(str, obj, info);
  4665. }
  4666. }
  4667. break;
  4668. case "mind":
  4669. aTool = 3;
  4670. _iframe = $$("iframe", {
  4671. "frameborder": "no",
  4672. "border": "0",
  4673. "scrolling ": "no",
  4674. "style": {
  4675. "cssText": "border:0;width:100%;height:100%"
  4676. },
  4677. "src": "/kityminder-editor/dist/index.html"
  4678. })
  4679. _box.appendChild(_iframe);
  4680. _box.appendChild(_jie);
  4681. _formdiv = new U.UF.UI.form(
  4682. "思维导图",
  4683. _box, { //"/jsmind/example/demo.html"
  4684. "id": "mind" + cid + stage + task + tool,
  4685. "style": {
  4686. "width": "90%",
  4687. "height": "90%",
  4688. "overflow": 'hidden'
  4689. },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, {
  4694. "style": {
  4695. "height": "36px"
  4696. }
  4697. }).form; //创建窗体
  4698. _taskbar = {
  4699. "id": str + _formdiv.id,
  4700. "style": {
  4701. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4702. },
  4703. "name": "思维导图",
  4704. "forms": _formdiv,
  4705. "click": function () {
  4706. U.MD.D.I.openApplication(str, obj, info);
  4707. }
  4708. }
  4709. break;
  4710. case "MindMap":
  4711. aTool = 3;
  4712. _iframe = $$("iframe", {
  4713. "frameborder": "no",
  4714. "border": "0",
  4715. "scrolling ": "no",
  4716. "style": {
  4717. "cssText": "border:0;width:100%;height:100%"
  4718. },
  4719. "src": "//cloud.cocorobo.cn/mind/"
  4720. })
  4721. _box.appendChild(_iframe);
  4722. _box.appendChild(_jie);
  4723. _formdiv = new U.UF.UI.form(
  4724. "思维导图",
  4725. _box, { //"/jsmind/example/demo.html"
  4726. "id": "mind" + cid + stage + task + tool,
  4727. "style": {
  4728. "width": "90%",
  4729. "height": "90%",
  4730. "overflow": 'hidden'
  4731. },
  4732. "onresize": function () { }
  4733. }, {
  4734. closecallback: function () { }
  4735. }, {
  4736. "style": {
  4737. "height": "36px"
  4738. }
  4739. }).form; //创建窗体
  4740. _taskbar = {
  4741. "id": str + _formdiv.id,
  4742. "style": {
  4743. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4744. },
  4745. "name": "思维导图",
  4746. "forms": _formdiv,
  4747. "click": function () {
  4748. U.MD.D.I.openApplication(str, obj, info);
  4749. }
  4750. }
  4751. break;
  4752. case "doc":
  4753. aTool = 6;
  4754. _iframe = $$("iframe", {
  4755. "frameborder": "no",
  4756. "border": "0",
  4757. "scrolling ": "no",
  4758. "style": {
  4759. "cssText": "border:0;width:100%;height:100%"
  4760. },
  4761. "src": "/Office/Word/WordEditArea.htm"
  4762. })
  4763. _box.appendChild(_iframe);
  4764. _box.appendChild(_jie);
  4765. _formdiv = new U.UF.UI.form(
  4766. "协同文档",
  4767. _box, {
  4768. "id": "doc" + cid + stage + task + tool,
  4769. "style": {
  4770. "width": "90%",
  4771. "height": "90%",
  4772. "overflow": 'hidden'
  4773. },
  4774. "onresize": function () { }
  4775. }, {
  4776. closecallback: function () { }
  4777. }, {
  4778. "style": {
  4779. "height": "36px"
  4780. }
  4781. }).form; //创建窗体
  4782. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4783. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4784. })
  4785. _taskbar = {
  4786. "id": str + _formdiv.id,
  4787. "style": {
  4788. "backgroundImage": "url(/img/icon/doc.png)"
  4789. },
  4790. "name": "协同文档",
  4791. "forms": _formdiv,
  4792. "click": function () {
  4793. U.MD.D.I.openApplication(str, obj, info);
  4794. }
  4795. }
  4796. break;
  4797. case "mindNetwork": //好友打开
  4798. aTool = 7;
  4799. _iframe = $$("iframe", {
  4800. "webkitallowfullscreen": "",
  4801. "mozallowfullscreen": "",
  4802. "allowfullscreen": "",
  4803. "frameborder": "no",
  4804. "border": "0",
  4805. "scrolling ": "no",
  4806. "style": {
  4807. "cssText": "border:0; width:100%; height:100%;"
  4808. },
  4809. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4810. })
  4811. _box.appendChild(_iframe);
  4812. _box.appendChild(_jie);
  4813. _formdiv = new U.UF.UI.form(
  4814. "思维网格",
  4815. _box, {
  4816. "id": "mindNetwork" + cid + stage + task + tool,
  4817. "style": {
  4818. "width": "90%",
  4819. "height": "90%",
  4820. "overflow": 'hidden'
  4821. },
  4822. "onresize": function () { }
  4823. }, {
  4824. closecallback: function () { }
  4825. }, {
  4826. "style": {
  4827. "height": "36px"
  4828. }
  4829. }).form; //创建窗体
  4830. _taskbar = {
  4831. "id": str + _formdiv.id,
  4832. "style": {
  4833. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4834. },
  4835. "name": "思维网格",
  4836. "forms": _formdiv,
  4837. "click": function () {
  4838. U.MD.D.I.openApplication(str, obj, info);
  4839. }
  4840. }
  4841. break;
  4842. case "courseDesign":
  4843. _iframe = $$("iframe", {
  4844. "webkitallowfullscreen": "",
  4845. "mozallowfullscreen": "",
  4846. "allowfullscreen": "",
  4847. "frameborder": "no",
  4848. "border": "0",
  4849. "scrolling ": "no",
  4850. "style": {
  4851. "cssText": "border:0; width:100%; height:100%;"
  4852. },
  4853. "src": "/course-design-vue"
  4854. })
  4855. _box.appendChild(_iframe);
  4856. _box.appendChild(_jie);
  4857. _formdiv = new U.UF.UI.form(
  4858. "项目设计",
  4859. _box, {
  4860. "id": "courseDesign" + cid + stage + task + tool,
  4861. "style": {
  4862. "width": "90%",
  4863. "height": "90%",
  4864. "overflow": 'hidden'
  4865. },
  4866. "onresize": function () { }
  4867. }, {
  4868. closecallback: function () { }
  4869. }, {
  4870. "style": {
  4871. "height": "36px"
  4872. }
  4873. }).form; //创建窗体
  4874. _taskbar = {
  4875. "id": str + _formdiv.id,
  4876. "style": {
  4877. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4878. },
  4879. "name": "项目设计",
  4880. "forms": _formdiv,
  4881. "click": function () {
  4882. U.MD.D.I.openApplication(str, obj, info);
  4883. }
  4884. }
  4885. break;
  4886. }
  4887. const script1 = document.createElement("script");
  4888. script1.type = "text/javascript";
  4889. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4890. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4891. const script2 = document.createElement("script");
  4892. script2.type = "text/javascript";
  4893. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4894. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4895. const script3 = document.createElement("script");
  4896. script3.type = "text/javascript";
  4897. script3.charset = "UTF-8";
  4898. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4899. const script4 = document.createElement("script");
  4900. script4.type = "text/javascript";
  4901. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4902. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4903. if (_iframe) {
  4904. if (str == 'doc') {
  4905. _iframe = _formdiv.querySelector('iframe')
  4906. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4907. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4908. _iframe.contentWindow.document.body.appendChild(script1);
  4909. _iframe.contentWindow.document.body.appendChild(script2);
  4910. // _iframe.contentWindow.document.body.appendChild(script3);
  4911. _iframe.contentWindow.document.body.appendChild(script4);
  4912. })
  4913. if (onloadListener) {
  4914. _iframe.contentDocument.location.reload()
  4915. } else {
  4916. _iframe.contentDocument.location.reload()
  4917. }
  4918. } else if (str == 'courseDesign') {
  4919. U.UF.DL.iframeLoad(_iframe, function () {
  4920. // _iframe.contentWindow.U.MD.O.W.load();
  4921. // _iframe.contentWindow.document.body.appendChild(script1);
  4922. _iframe.contentWindow.document.body.appendChild(script2);
  4923. _iframe.contentWindow.document.body.appendChild(script4);
  4924. })
  4925. } else if (str == 'mind') {
  4926. _iframe = _formdiv.querySelector('iframe')
  4927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4928. //
  4929. _iframe.contentWindow.document.body.appendChild(script1);
  4930. _iframe.contentWindow.document.body.appendChild(script2);
  4931. _iframe.contentWindow.document.body.appendChild(script4);
  4932. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4933. })
  4934. if (onloadListener) {
  4935. _iframe.contentDocument.location.reload()
  4936. } else {
  4937. _iframe.contentDocument.location.reload()
  4938. }
  4939. } else if (str == 'whiteboard') {
  4940. _iframe = _formdiv.querySelector('iframe')
  4941. let onloadListener = _iframe.onload = () => {
  4942. _iframe.contentWindow.document.body.appendChild(script1);
  4943. _iframe.contentWindow.document.body.appendChild(script2);
  4944. _iframe.contentWindow.document.body.appendChild(script4);
  4945. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4946. };
  4947. if (onloadListener) {
  4948. _iframe.contentDocument.location.reload()
  4949. } else {
  4950. _iframe.contentDocument.location.reload()
  4951. }
  4952. } else {
  4953. _iframe.onload = () => {
  4954. _iframe.contentWindow.document.body.appendChild(script1);
  4955. _iframe.contentWindow.document.body.appendChild(script2);
  4956. // _iframe.contentWindow.document.body.appendChild(script3);
  4957. _iframe.contentWindow.document.body.appendChild(script4);
  4958. };
  4959. }
  4960. _jie.onclick = async () => {
  4961. let text = ''
  4962. if (aTool == 1) {
  4963. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4964. } else if (aTool == 6) {
  4965. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4966. } else if (aTool == 3) {
  4967. text = await U.MD.D.I.getEditorContent(_iframe);
  4968. }
  4969. _loading.style.display = 'flex'
  4970. console.log(_loading);
  4971. var _ajs = _iframe.contentWindow.document.createElement("script");
  4972. _ajs.type = "text/javascript";
  4973. _ajs.innerHTML =
  4974. // 'console.log(' + _loading + ');\n' +
  4975. 'var _js = document.createElement("script");\n' +
  4976. '_js.type="text/javascript";\n' +
  4977. '_js.charset="UTF-8";\n' +
  4978. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4979. "_js.onload = function(){\n" +
  4980. ' var a = document.getElementsByTagName("img")\n' +
  4981. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4982. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4983. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4984. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4985. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4986. "beforeUpload_shishi(file," +
  4987. "'" +
  4988. _userid +
  4989. "'" +
  4990. ", " +
  4991. "'" +
  4992. _cid +
  4993. "'" +
  4994. ", " +
  4995. "'" +
  4996. _stage +
  4997. "'" +
  4998. ", " +
  4999. "'" +
  5000. _task +
  5001. "'" +
  5002. ", " +
  5003. "'" +
  5004. _tool +
  5005. "'" +
  5006. ", " +
  5007. "'" +
  5008. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5009. "'" +
  5010. ", " +
  5011. "'" +
  5012. aTool +
  5013. "'" +
  5014. ", " +
  5015. "`" +
  5016. text +
  5017. "`" +
  5018. ")\n" +
  5019. " });\n" +
  5020. "}\n" +
  5021. "document.head.appendChild(_js);\n";
  5022. _iframe.contentWindow.document.head.appendChild(_ajs);
  5023. }
  5024. }
  5025. //U.MD.D.I.openClick(str);
  5026. //如果有任务栏信息
  5027. // if (_taskbar) {
  5028. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5029. // }
  5030. }
  5031. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5032. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5033. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5034. _userinfo = US.userInfo, //登录用户信息
  5035. _userid = US.userInfo.userid //登录用户id
  5036. let _iframe;
  5037. let _cid = cid,
  5038. _stage = stage,
  5039. _task = task,
  5040. _tool = tool;
  5041. var _jie = $$("div", {
  5042. "style": {
  5043. "position": "absolute",
  5044. "bottom": "50px",
  5045. "right": "50px",
  5046. "zIndex": "9999",
  5047. "backgroundColor": "#2268bc",
  5048. "color": "#fff",
  5049. "padding": "12px 20px",
  5050. "cursor": "pointer",
  5051. "borderRadius": "4px",
  5052. },
  5053. "innerHTML": "提交作业"
  5054. })
  5055. let aTool = ''
  5056. let _loading = document.createElement('div')
  5057. _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;"
  5058. // _loading.id = "";
  5059. let _lchild = document.createElement('div')
  5060. let _limg = document.createElement('img')
  5061. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5062. _limg.style = "width: 26px;margin-right: 10px;"
  5063. _lchild.appendChild(_limg)
  5064. let _lspan = document.createElement('span')
  5065. _lspan.innerHTML = "上传中..."
  5066. _lchild.appendChild(_lspan)
  5067. _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%);"
  5068. _loading.appendChild(_lchild)
  5069. var _box = $$('div', {
  5070. "style": {
  5071. "position": "relative",
  5072. "width": "100%",
  5073. "height": "100%",
  5074. },
  5075. })
  5076. _box.appendChild(_loading)
  5077. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5078. switch (str) {
  5079. case "whiteboard":
  5080. aTool = 1;
  5081. _iframe = $$("iframe", {
  5082. "frameborder": "no",
  5083. "border": "0",
  5084. "scrolling ": "no",
  5085. "style": {
  5086. "cssText": "border:0;width:100%;height:100%"
  5087. },
  5088. "src": "https://iwb.cocorobo.cn/"
  5089. })
  5090. _box.appendChild(_iframe);
  5091. _box.appendChild(_jie);
  5092. _formdiv = new U.UF.UI.form(
  5093. "电子白板",
  5094. _box, {
  5095. "id": "whiteboard" + cid + stage + task + tool,
  5096. "style": {
  5097. "width": "90%",
  5098. "height": "90%",
  5099. "overflow": 'hidden'
  5100. },
  5101. "onresize": function () { }
  5102. }, {
  5103. closecallback: function () { }
  5104. }, {
  5105. "style": {
  5106. "height": "36px"
  5107. }
  5108. }).form; //创建窗体
  5109. _taskbar = {
  5110. "id": str + _formdiv.id,
  5111. "style": {
  5112. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5113. },
  5114. "name": "电子白板",
  5115. "forms": _formdiv,
  5116. "click": function () {
  5117. U.MD.D.I.openApplication(str, obj, info);
  5118. }
  5119. }
  5120. break;
  5121. case "mind":
  5122. aTool = 3;
  5123. _iframe = $$("iframe", {
  5124. "frameborder": "no",
  5125. "border": "0",
  5126. "scrolling ": "no",
  5127. "style": {
  5128. "cssText": "border:0;width:100%;height:100%"
  5129. },
  5130. "src": "/kityminder-editor/dist/index.html"
  5131. })
  5132. _box.appendChild(_iframe);
  5133. _box.appendChild(_jie);
  5134. _formdiv = new U.UF.UI.form(
  5135. "思维导图",
  5136. _box, { //"/jsmind/example/demo.html"
  5137. "id": "mind" + cid + stage + task + tool,
  5138. "style": {
  5139. "width": "90%",
  5140. "height": "90%",
  5141. "overflow": 'hidden'
  5142. },
  5143. "onresize": function () { }
  5144. }, {
  5145. closecallback: function () { }
  5146. }, {
  5147. "style": {
  5148. "height": "36px"
  5149. }
  5150. }).form; //创建窗体
  5151. _taskbar = {
  5152. "id": str + _formdiv.id,
  5153. "style": {
  5154. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5155. },
  5156. "name": "思维导图",
  5157. "forms": _formdiv,
  5158. "click": function () {
  5159. U.MD.D.I.openApplication(str, obj, info);
  5160. }
  5161. }
  5162. break;
  5163. case "MindMap":
  5164. aTool = 3;
  5165. _iframe = $$("iframe", {
  5166. "frameborder": "no",
  5167. "border": "0",
  5168. "scrolling ": "no",
  5169. "style": {
  5170. "cssText": "border:0;width:100%;height:100%"
  5171. },
  5172. "src": "//cloud.cocorobo.cn/mind/"
  5173. })
  5174. _box.appendChild(_iframe);
  5175. _box.appendChild(_jie);
  5176. _formdiv = new U.UF.UI.form(
  5177. "思维导图",
  5178. _box, { //"/jsmind/example/demo.html"
  5179. "id": "mind" + cid + stage + task + tool,
  5180. "style": {
  5181. "width": "90%",
  5182. "height": "90%",
  5183. "overflow": 'hidden'
  5184. },
  5185. "onresize": function () { }
  5186. }, {
  5187. closecallback: function () { }
  5188. }, {
  5189. "style": {
  5190. "height": "36px"
  5191. }
  5192. }).form; //创建窗体
  5193. _taskbar = {
  5194. "id": str + _formdiv.id,
  5195. "style": {
  5196. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5197. },
  5198. "name": "思维导图",
  5199. "forms": _formdiv,
  5200. "click": function () {
  5201. U.MD.D.I.openApplication(str, obj, info);
  5202. }
  5203. }
  5204. break;
  5205. case "doc":
  5206. aTool = 6;
  5207. _iframe = $$("iframe", {
  5208. "frameborder": "no",
  5209. "border": "0",
  5210. "scrolling ": "no",
  5211. "style": {
  5212. "cssText": "border:0;width:100%;height:100%"
  5213. },
  5214. "src": "/Office/Word/WordEditArea.htm"
  5215. })
  5216. _box.appendChild(_iframe);
  5217. _box.appendChild(_jie);
  5218. _formdiv = new U.UF.UI.form(
  5219. "协同文档",
  5220. _box, {
  5221. "id": "doc" + cid + stage + task + tool,
  5222. "style": {
  5223. "width": "90%",
  5224. "height": "90%",
  5225. "overflow": 'hidden'
  5226. },
  5227. "onresize": function () { }
  5228. }, {
  5229. closecallback: function () { }
  5230. }, {
  5231. "style": {
  5232. "height": "36px"
  5233. }
  5234. }).form; //创建窗体
  5235. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5236. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5237. })
  5238. _taskbar = {
  5239. "id": str + _formdiv.id,
  5240. "style": {
  5241. "backgroundImage": "url(/img/icon/doc.png)"
  5242. },
  5243. "name": "协同文档",
  5244. "forms": _formdiv,
  5245. "click": function () {
  5246. U.MD.D.I.openApplication(str, obj, info);
  5247. }
  5248. }
  5249. break;
  5250. case "mindNetwork": //好友打开
  5251. aTool = 7;
  5252. _iframe = $$("iframe", {
  5253. "webkitallowfullscreen": "",
  5254. "mozallowfullscreen": "",
  5255. "allowfullscreen": "",
  5256. "frameborder": "no",
  5257. "border": "0",
  5258. "scrolling ": "no",
  5259. "style": {
  5260. "cssText": "border:0; width:100%; height:100%;"
  5261. },
  5262. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5263. })
  5264. _box.appendChild(_iframe);
  5265. _box.appendChild(_jie);
  5266. _formdiv = new U.UF.UI.form(
  5267. "思维网格",
  5268. _box, {
  5269. "id": "mindNetwork" + cid + stage + task + tool,
  5270. "style": {
  5271. "width": "90%",
  5272. "height": "90%",
  5273. "overflow": 'hidden'
  5274. },
  5275. "onresize": function () { }
  5276. }, {
  5277. closecallback: function () { }
  5278. }, {
  5279. "style": {
  5280. "height": "36px"
  5281. }
  5282. }).form; //创建窗体
  5283. _taskbar = {
  5284. "id": str + _formdiv.id,
  5285. "style": {
  5286. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5287. },
  5288. "name": "思维网格",
  5289. "forms": _formdiv,
  5290. "click": function () {
  5291. U.MD.D.I.openApplication(str, obj, info);
  5292. }
  5293. }
  5294. break;
  5295. case "courseDesign":
  5296. _iframe = $$("iframe", {
  5297. "webkitallowfullscreen": "",
  5298. "mozallowfullscreen": "",
  5299. "allowfullscreen": "",
  5300. "frameborder": "no",
  5301. "border": "0",
  5302. "scrolling ": "no",
  5303. "style": {
  5304. "cssText": "border:0; width:100%; height:100%;"
  5305. },
  5306. "src": "/course-design-vue"
  5307. })
  5308. _box.appendChild(_iframe);
  5309. _box.appendChild(_jie);
  5310. _formdiv = new U.UF.UI.form(
  5311. "项目设计",
  5312. _box, {
  5313. "id": "courseDesign" + cid + stage + task + tool,
  5314. "style": {
  5315. "width": "90%",
  5316. "height": "90%",
  5317. "overflow": 'hidden'
  5318. },
  5319. "onresize": function () { }
  5320. }, {
  5321. closecallback: function () { }
  5322. }, {
  5323. "style": {
  5324. "height": "36px"
  5325. }
  5326. }).form; //创建窗体
  5327. _taskbar = {
  5328. "id": str + _formdiv.id,
  5329. "style": {
  5330. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5331. },
  5332. "name": "项目设计",
  5333. "forms": _formdiv,
  5334. "click": function () {
  5335. U.MD.D.I.openApplication(str, obj, info);
  5336. }
  5337. }
  5338. break;
  5339. }
  5340. const script1 = document.createElement("script");
  5341. script1.type = "text/javascript";
  5342. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5343. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5344. const script2 = document.createElement("script");
  5345. script2.type = "text/javascript";
  5346. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5347. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5348. const script3 = document.createElement("script");
  5349. script3.type = "text/javascript";
  5350. script3.charset = "UTF-8";
  5351. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5352. const script4 = document.createElement("script");
  5353. script4.type = "text/javascript";
  5354. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5355. script4.src = window.origin + "/js/Common/jietu2E.js";
  5356. if (_iframe) {
  5357. if (str == 'doc') {
  5358. _iframe = _formdiv.querySelector('iframe')
  5359. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5360. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5361. _iframe.contentWindow.document.body.appendChild(script1);
  5362. _iframe.contentWindow.document.body.appendChild(script2);
  5363. // _iframe.contentWindow.document.body.appendChild(script3);
  5364. _iframe.contentWindow.document.body.appendChild(script4);
  5365. })
  5366. if (onloadListener) {
  5367. _iframe.contentDocument.location.reload()
  5368. } else {
  5369. _iframe.contentDocument.location.reload()
  5370. }
  5371. } else if (str == 'courseDesign') {
  5372. U.UF.DL.iframeLoad(_iframe, function () {
  5373. // _iframe.contentWindow.U.MD.O.W.load();
  5374. // _iframe.contentWindow.document.body.appendChild(script1);
  5375. _iframe.contentWindow.document.body.appendChild(script2);
  5376. _iframe.contentWindow.document.body.appendChild(script4);
  5377. })
  5378. } else if (str == 'mind') {
  5379. _iframe = _formdiv.querySelector('iframe')
  5380. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5381. //
  5382. _iframe.contentWindow.document.body.appendChild(script1);
  5383. _iframe.contentWindow.document.body.appendChild(script2);
  5384. _iframe.contentWindow.document.body.appendChild(script4);
  5385. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5386. })
  5387. if (onloadListener) {
  5388. _iframe.contentDocument.location.reload()
  5389. } else {
  5390. _iframe.contentDocument.location.reload()
  5391. }
  5392. } else if (str == 'whiteboard') {
  5393. _iframe = _formdiv.querySelector('iframe')
  5394. let onloadListener = _iframe.onload = () => {
  5395. _iframe.contentWindow.document.body.appendChild(script1);
  5396. _iframe.contentWindow.document.body.appendChild(script2);
  5397. _iframe.contentWindow.document.body.appendChild(script4);
  5398. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5399. };
  5400. if (onloadListener) {
  5401. _iframe.contentDocument.location.reload()
  5402. } else {
  5403. _iframe.contentDocument.location.reload()
  5404. }
  5405. } else {
  5406. _iframe.onload = () => {
  5407. _iframe.contentWindow.document.body.appendChild(script1);
  5408. _iframe.contentWindow.document.body.appendChild(script2);
  5409. // _iframe.contentWindow.document.body.appendChild(script3);
  5410. _iframe.contentWindow.document.body.appendChild(script4);
  5411. };
  5412. }
  5413. _jie.onclick = async () => {
  5414. let text = ''
  5415. if (aTool == 1) {
  5416. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5417. } else if (aTool == 6) {
  5418. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5419. } else if (aTool == 3) {
  5420. text = await U.MD.D.I.getEditorContent(_iframe);
  5421. }
  5422. _loading.style.display = 'flex'
  5423. console.log(_loading);
  5424. var _ajs = _iframe.contentWindow.document.createElement("script");
  5425. _ajs.type = "text/javascript";
  5426. _ajs.innerHTML =
  5427. // 'console.log(' + _loading + ');\n' +
  5428. 'var _js = document.createElement("script");\n' +
  5429. '_js.type="text/javascript";\n' +
  5430. '_js.charset="UTF-8";\n' +
  5431. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5432. "_js.onload = function(){\n" +
  5433. ' var a = document.getElementsByTagName("img")\n' +
  5434. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5435. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5436. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5437. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5438. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5439. "beforeUpload_shishi(file," +
  5440. "'" +
  5441. _userid +
  5442. "'" +
  5443. ", " +
  5444. "'" +
  5445. _cid +
  5446. "'" +
  5447. ", " +
  5448. "'" +
  5449. _stage +
  5450. "'" +
  5451. ", " +
  5452. "'" +
  5453. _task +
  5454. "'" +
  5455. ", " +
  5456. "'" +
  5457. _tool +
  5458. "'" +
  5459. ", " +
  5460. "'" +
  5461. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5462. "'" +
  5463. ", " +
  5464. "'" +
  5465. aTool +
  5466. "'" +
  5467. ", " +
  5468. "`" +
  5469. text +
  5470. "`" +
  5471. ")\n" +
  5472. " });\n" +
  5473. "}\n" +
  5474. "document.head.appendChild(_js);\n";
  5475. _iframe.contentWindow.document.head.appendChild(_ajs);
  5476. }
  5477. }
  5478. //U.MD.D.I.openClick(str);
  5479. //如果有任务栏信息
  5480. // if (_taskbar) {
  5481. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5482. // }
  5483. }
  5484. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5485. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5486. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5487. _userid = student.userid, //登录用户id
  5488. _username = student.student //用户名字
  5489. let _iframe;
  5490. let _cid = cid,
  5491. _stage = stage,
  5492. _task = task,
  5493. _tool = tool;
  5494. var _jie = $$("div", {
  5495. "style": {
  5496. "position": "absolute",
  5497. "bottom": "50px",
  5498. "right": "50px",
  5499. "zIndex": "9999",
  5500. "backgroundColor": "#2268bc",
  5501. "color": "#fff",
  5502. "padding": "12px 20px",
  5503. "cursor": "pointer",
  5504. "borderRadius": "4px",
  5505. },
  5506. "innerHTML": "提交作业"
  5507. })
  5508. let aTool = ''
  5509. let _loading = document.createElement('div')
  5510. _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;"
  5511. // _loading.id = "";
  5512. let _lchild = document.createElement('div')
  5513. let _limg = document.createElement('img')
  5514. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5515. _limg.style = "width: 26px;margin-right: 10px;"
  5516. _lchild.appendChild(_limg)
  5517. let _lspan = document.createElement('span')
  5518. _lspan.innerHTML = "上传中..."
  5519. _lchild.appendChild(_lspan)
  5520. _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%);"
  5521. _loading.appendChild(_lchild)
  5522. var _box = $$('div', {
  5523. "style": {
  5524. "position": "relative",
  5525. "width": "100%",
  5526. "height": "100%",
  5527. },
  5528. })
  5529. _box.appendChild(_loading)
  5530. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5531. switch (str) {
  5532. case "whiteboard":
  5533. aTool = 1;
  5534. _iframe = $$("iframe", {
  5535. "frameborder": "no",
  5536. "border": "0",
  5537. "scrolling ": "no",
  5538. "style": {
  5539. "cssText": "border:0;width:100%;height:100%"
  5540. },
  5541. "src": "https://iwb.cocorobo.cn/"
  5542. })
  5543. _box.appendChild(_iframe);
  5544. _box.appendChild(_jie);
  5545. _formdiv = new U.UF.UI.form(
  5546. "电子白板-" + _username,
  5547. _box, {
  5548. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5549. "style": {
  5550. "width": "90%",
  5551. "height": "90%",
  5552. "overflow": 'hidden'
  5553. },
  5554. "onresize": function () { }
  5555. }, {
  5556. closecallback: function () { }
  5557. }, {
  5558. "style": {
  5559. "height": "36px"
  5560. }
  5561. }).form; //创建窗体
  5562. _taskbar = {
  5563. "id": str + _formdiv.id,
  5564. "style": {
  5565. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5566. },
  5567. "name": "电子白板",
  5568. "forms": _formdiv,
  5569. "click": function () {
  5570. U.MD.D.I.openApplication(str, obj, info);
  5571. }
  5572. }
  5573. break;
  5574. case "mind":
  5575. aTool = 3;
  5576. _iframe = $$("iframe", {
  5577. "frameborder": "no",
  5578. "border": "0",
  5579. "scrolling ": "no",
  5580. "style": {
  5581. "cssText": "border:0;width:100%;height:100%"
  5582. },
  5583. "src": "/kityminder-editor/dist/index.html"
  5584. })
  5585. _box.appendChild(_iframe);
  5586. _box.appendChild(_jie);
  5587. _formdiv = new U.UF.UI.form(
  5588. "思维导图-" + _username,
  5589. _box, { //"/jsmind/example/demo.html"
  5590. "id": "mind" + cid + stage + task + tool + _userid,
  5591. "style": {
  5592. "width": "90%",
  5593. "height": "90%",
  5594. "overflow": 'hidden'
  5595. },
  5596. "onresize": function () { }
  5597. }, {
  5598. closecallback: function () { }
  5599. }, {
  5600. "style": {
  5601. "height": "36px"
  5602. }
  5603. }).form; //创建窗体
  5604. _taskbar = {
  5605. "id": str + _formdiv.id,
  5606. "style": {
  5607. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5608. },
  5609. "name": "思维导图",
  5610. "forms": _formdiv,
  5611. "click": function () {
  5612. U.MD.D.I.openApplication(str, obj, info);
  5613. }
  5614. }
  5615. break;
  5616. case "MindMap":
  5617. aTool = 3;
  5618. _iframe = $$("iframe", {
  5619. "frameborder": "no",
  5620. "border": "0",
  5621. "scrolling ": "no",
  5622. "style": {
  5623. "cssText": "border:0;width:100%;height:100%"
  5624. },
  5625. "src": "//cloud.cocorobo.cn/mind/"
  5626. })
  5627. _box.appendChild(_iframe);
  5628. _box.appendChild(_jie);
  5629. _formdiv = new U.UF.UI.form(
  5630. "思维导图-" + _username,
  5631. _box, { //"/jsmind/example/demo.html"
  5632. "id": "mind" + cid + stage + task + tool + _userid,
  5633. "style": {
  5634. "width": "90%",
  5635. "height": "90%",
  5636. "overflow": 'hidden'
  5637. },
  5638. "onresize": function () { }
  5639. }, {
  5640. closecallback: function () { }
  5641. }, {
  5642. "style": {
  5643. "height": "36px"
  5644. }
  5645. }).form; //创建窗体
  5646. _taskbar = {
  5647. "id": str + _formdiv.id,
  5648. "style": {
  5649. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5650. },
  5651. "name": "思维导图",
  5652. "forms": _formdiv,
  5653. "click": function () {
  5654. U.MD.D.I.openApplication(str, obj, info);
  5655. }
  5656. }
  5657. break;
  5658. case "doc":
  5659. aTool = 6;
  5660. _iframe = $$("iframe", {
  5661. "frameborder": "no",
  5662. "border": "0",
  5663. "scrolling ": "no",
  5664. "style": {
  5665. "cssText": "border:0;width:100%;height:100%"
  5666. },
  5667. "src": "/Office/Word/WordEditArea.htm"
  5668. })
  5669. _box.appendChild(_iframe);
  5670. _box.appendChild(_jie);
  5671. _formdiv = new U.UF.UI.form(
  5672. "协同文档-" + _username,
  5673. _box, {
  5674. "id": "doc" + cid + stage + task + tool + _userid,
  5675. "style": {
  5676. "width": "90%",
  5677. "height": "90%",
  5678. "overflow": 'hidden'
  5679. },
  5680. "onresize": function () { }
  5681. }, {
  5682. closecallback: function () { }
  5683. }, {
  5684. "style": {
  5685. "height": "36px"
  5686. }
  5687. }).form; //创建窗体
  5688. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5689. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5690. })
  5691. _taskbar = {
  5692. "id": str + _formdiv.id,
  5693. "style": {
  5694. "backgroundImage": "url(/img/icon/doc.png)"
  5695. },
  5696. "name": "协同文档",
  5697. "forms": _formdiv,
  5698. "click": function () {
  5699. U.MD.D.I.openApplication(str, obj, info);
  5700. }
  5701. }
  5702. break;
  5703. case "mindNetwork": //好友打开
  5704. aTool = 7;
  5705. _iframe = $$("iframe", {
  5706. "webkitallowfullscreen": "",
  5707. "mozallowfullscreen": "",
  5708. "allowfullscreen": "",
  5709. "frameborder": "no",
  5710. "border": "0",
  5711. "scrolling ": "no",
  5712. "style": {
  5713. "cssText": "border:0; width:100%; height:100%;"
  5714. },
  5715. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5716. })
  5717. _box.appendChild(_iframe);
  5718. _box.appendChild(_jie);
  5719. _formdiv = new U.UF.UI.form(
  5720. "思维网格-" + _username,
  5721. _box, {
  5722. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5723. "style": {
  5724. "width": "90%",
  5725. "height": "90%",
  5726. "overflow": 'hidden'
  5727. },
  5728. "onresize": function () { }
  5729. }, {
  5730. closecallback: function () { }
  5731. }, {
  5732. "style": {
  5733. "height": "36px"
  5734. }
  5735. }).form; //创建窗体
  5736. _taskbar = {
  5737. "id": str + _formdiv.id,
  5738. "style": {
  5739. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5740. },
  5741. "name": "思维网格",
  5742. "forms": _formdiv,
  5743. "click": function () {
  5744. U.MD.D.I.openApplication(str, obj, info);
  5745. }
  5746. }
  5747. break;
  5748. case "courseDesign":
  5749. _iframe = $$("iframe", {
  5750. "webkitallowfullscreen": "",
  5751. "mozallowfullscreen": "",
  5752. "allowfullscreen": "",
  5753. "frameborder": "no",
  5754. "border": "0",
  5755. "scrolling ": "no",
  5756. "style": {
  5757. "cssText": "border:0; width:100%; height:100%;"
  5758. },
  5759. "src": "/course-design-vue"
  5760. })
  5761. _box.appendChild(_iframe);
  5762. _box.appendChild(_jie);
  5763. _formdiv = new U.UF.UI.form(
  5764. "项目设计-" + _username,
  5765. _box, {
  5766. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5767. "style": {
  5768. "width": "90%",
  5769. "height": "90%",
  5770. "overflow": 'hidden'
  5771. },
  5772. "onresize": function () { }
  5773. }, {
  5774. closecallback: function () { }
  5775. }, {
  5776. "style": {
  5777. "height": "36px"
  5778. }
  5779. }).form; //创建窗体
  5780. _taskbar = {
  5781. "id": str + _formdiv.id,
  5782. "style": {
  5783. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5784. },
  5785. "name": "项目设计",
  5786. "forms": _formdiv,
  5787. "click": function () {
  5788. U.MD.D.I.openApplication(str, obj, info);
  5789. }
  5790. }
  5791. break;
  5792. }
  5793. const script1 = document.createElement("script");
  5794. script1.type = "text/javascript";
  5795. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5796. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5797. const script2 = document.createElement("script");
  5798. script2.type = "text/javascript";
  5799. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5800. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5801. const script3 = document.createElement("script");
  5802. script3.type = "text/javascript";
  5803. script3.charset = "UTF-8";
  5804. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5805. const script4 = document.createElement("script");
  5806. script4.type = "text/javascript";
  5807. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5808. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5809. if (_iframe) {
  5810. if (str == 'doc') {
  5811. _iframe = _formdiv.querySelector('iframe')
  5812. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5813. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5814. _iframe.contentWindow.document.body.appendChild(script1);
  5815. _iframe.contentWindow.document.body.appendChild(script2);
  5816. // _iframe.contentWindow.document.body.appendChild(script3);
  5817. _iframe.contentWindow.document.body.appendChild(script4);
  5818. })
  5819. if (onloadListener) {
  5820. _iframe.contentDocument.location.reload()
  5821. } else {
  5822. _iframe.contentDocument.location.reload()
  5823. }
  5824. } else if (str == 'courseDesign') {
  5825. U.UF.DL.iframeLoad(_iframe, function () {
  5826. // _iframe.contentWindow.U.MD.O.W.load();
  5827. // _iframe.contentWindow.document.body.appendChild(script1);
  5828. _iframe.contentWindow.document.body.appendChild(script2);
  5829. _iframe.contentWindow.document.body.appendChild(script4);
  5830. })
  5831. } else if (str == 'mind') {
  5832. _iframe = _formdiv.querySelector('iframe')
  5833. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5834. //
  5835. _iframe.contentWindow.document.body.appendChild(script1);
  5836. _iframe.contentWindow.document.body.appendChild(script2);
  5837. _iframe.contentWindow.document.body.appendChild(script4);
  5838. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5839. })
  5840. if (onloadListener) {
  5841. _iframe.contentDocument.location.reload()
  5842. } else {
  5843. _iframe.contentDocument.location.reload()
  5844. }
  5845. } else if (str == 'whiteboard') {
  5846. _iframe = _formdiv.querySelector('iframe')
  5847. let onloadListener = _iframe.onload = () => {
  5848. _iframe.contentWindow.document.body.appendChild(script1);
  5849. _iframe.contentWindow.document.body.appendChild(script2);
  5850. _iframe.contentWindow.document.body.appendChild(script4);
  5851. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5852. };
  5853. if (onloadListener) {
  5854. _iframe.contentDocument.location.reload()
  5855. } else {
  5856. _iframe.contentDocument.location.reload()
  5857. }
  5858. } else {
  5859. _iframe.onload = () => {
  5860. _iframe.contentWindow.document.body.appendChild(script1);
  5861. _iframe.contentWindow.document.body.appendChild(script2);
  5862. // _iframe.contentWindow.document.body.appendChild(script3);
  5863. _iframe.contentWindow.document.body.appendChild(script4);
  5864. };
  5865. }
  5866. _jie.onclick = async () => {
  5867. let text = ''
  5868. if (aTool == 1) {
  5869. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5870. } else if (aTool == 6) {
  5871. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5872. } else if (aTool == 3) {
  5873. text = await U.MD.D.I.getEditorContent(_iframe);
  5874. }
  5875. _loading.style.display = 'flex'
  5876. console.log(_loading);
  5877. var _ajs = _iframe.contentWindow.document.createElement("script");
  5878. _ajs.type = "text/javascript";
  5879. _ajs.innerHTML =
  5880. // 'console.log(' + _loading + ');\n' +
  5881. 'var _js = document.createElement("script");\n' +
  5882. '_js.type="text/javascript";\n' +
  5883. '_js.charset="UTF-8";\n' +
  5884. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5885. "_js.onload = function(){\n" +
  5886. ' var a = document.getElementsByTagName("img")\n' +
  5887. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5888. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5889. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5890. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5891. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5892. "beforeUpload_shishi(file," +
  5893. "'" +
  5894. _userid +
  5895. "'" +
  5896. ", " +
  5897. "'" +
  5898. _cid +
  5899. "'" +
  5900. ", " +
  5901. "'" +
  5902. _stage +
  5903. "'" +
  5904. ", " +
  5905. "'" +
  5906. _task +
  5907. "'" +
  5908. ", " +
  5909. "'" +
  5910. _tool +
  5911. "'" +
  5912. ", " +
  5913. "'" +
  5914. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5915. "'" +
  5916. ", " +
  5917. "'" +
  5918. aTool +
  5919. "'" +
  5920. ", " +
  5921. "`" +
  5922. text +
  5923. "`" +
  5924. ")\n" +
  5925. " });\n" +
  5926. "}\n" +
  5927. "document.head.appendChild(_js);\n";
  5928. _iframe.contentWindow.document.head.appendChild(_ajs);
  5929. }
  5930. }
  5931. }
  5932. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5933. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5934. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5935. _userid = student.userid, //登录用户id
  5936. _username = student.student //用户名字
  5937. let _iframe;
  5938. let _cid = cid,
  5939. _stage = stage,
  5940. _task = task,
  5941. _tool = tool;
  5942. var _jie = $$("div", {
  5943. "style": {
  5944. "position": "absolute",
  5945. "bottom": "50px",
  5946. "right": "50px",
  5947. "zIndex": "9999",
  5948. "backgroundColor": "#2268bc",
  5949. "color": "#fff",
  5950. "padding": "12px 20px",
  5951. "cursor": "pointer",
  5952. "borderRadius": "4px",
  5953. },
  5954. "innerHTML": "提交作业"
  5955. })
  5956. let aTool = ''
  5957. let _loading = document.createElement('div')
  5958. _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;"
  5959. // _loading.id = "";
  5960. let _lchild = document.createElement('div')
  5961. let _limg = document.createElement('img')
  5962. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5963. _limg.style = "width: 26px;margin-right: 10px;"
  5964. _lchild.appendChild(_limg)
  5965. let _lspan = document.createElement('span')
  5966. _lspan.innerHTML = "上传中..."
  5967. _lchild.appendChild(_lspan)
  5968. _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%);"
  5969. _loading.appendChild(_lchild)
  5970. var _box = $$('div', {
  5971. "style": {
  5972. "position": "relative",
  5973. "width": "100%",
  5974. "height": "100%",
  5975. },
  5976. })
  5977. _box.appendChild(_loading)
  5978. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5979. switch (str) {
  5980. case "whiteboard":
  5981. aTool = 1;
  5982. _iframe = $$("iframe", {
  5983. "frameborder": "no",
  5984. "border": "0",
  5985. "scrolling ": "no",
  5986. "style": {
  5987. "cssText": "border:0;width:100%;height:100%"
  5988. },
  5989. "src": "https://iwb.cocorobo.cn/"
  5990. })
  5991. _box.appendChild(_iframe);
  5992. _box.appendChild(_jie);
  5993. _formdiv = new U.UF.UI.form(
  5994. "电子白板-" + _username,
  5995. _box, {
  5996. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5997. "style": {
  5998. "width": "90%",
  5999. "height": "90%",
  6000. "overflow": 'hidden'
  6001. },
  6002. "onresize": function () { }
  6003. }, {
  6004. closecallback: function () { }
  6005. }, {
  6006. "style": {
  6007. "height": "36px"
  6008. }
  6009. }).form; //创建窗体
  6010. _taskbar = {
  6011. "id": str + _formdiv.id,
  6012. "style": {
  6013. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6014. },
  6015. "name": "电子白板",
  6016. "forms": _formdiv,
  6017. "click": function () {
  6018. U.MD.D.I.openApplication(str, obj, info);
  6019. }
  6020. }
  6021. break;
  6022. case "mind":
  6023. aTool = 3;
  6024. _iframe = $$("iframe", {
  6025. "frameborder": "no",
  6026. "border": "0",
  6027. "scrolling ": "no",
  6028. "style": {
  6029. "cssText": "border:0;width:100%;height:100%"
  6030. },
  6031. "src": "/kityminder-editor/dist/index.html"
  6032. })
  6033. _box.appendChild(_iframe);
  6034. _box.appendChild(_jie);
  6035. _formdiv = new U.UF.UI.form(
  6036. "思维导图-" + _username,
  6037. _box, { //"/jsmind/example/demo.html"
  6038. "id": "mind" + cid + stage + task + tool + _userid,
  6039. "style": {
  6040. "width": "90%",
  6041. "height": "90%",
  6042. "overflow": 'hidden'
  6043. },
  6044. "onresize": function () { }
  6045. }, {
  6046. closecallback: function () { }
  6047. }, {
  6048. "style": {
  6049. "height": "36px"
  6050. }
  6051. }).form; //创建窗体
  6052. _taskbar = {
  6053. "id": str + _formdiv.id,
  6054. "style": {
  6055. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6056. },
  6057. "name": "思维导图",
  6058. "forms": _formdiv,
  6059. "click": function () {
  6060. U.MD.D.I.openApplication(str, obj, info);
  6061. }
  6062. }
  6063. break;
  6064. case "MindMap":
  6065. aTool = 3;
  6066. _iframe = $$("iframe", {
  6067. "frameborder": "no",
  6068. "border": "0",
  6069. "scrolling ": "no",
  6070. "style": {
  6071. "cssText": "border:0;width:100%;height:100%"
  6072. },
  6073. "src": "//cloud.cocorobo.cn/mind/"
  6074. })
  6075. _box.appendChild(_iframe);
  6076. _box.appendChild(_jie);
  6077. _formdiv = new U.UF.UI.form(
  6078. "思维导图-" + _username,
  6079. _box, { //"/jsmind/example/demo.html"
  6080. "id": "mind" + cid + stage + task + tool + _userid,
  6081. "style": {
  6082. "width": "90%",
  6083. "height": "90%",
  6084. "overflow": 'hidden'
  6085. },
  6086. "onresize": function () { }
  6087. }, {
  6088. closecallback: function () { }
  6089. }, {
  6090. "style": {
  6091. "height": "36px"
  6092. }
  6093. }).form; //创建窗体
  6094. _taskbar = {
  6095. "id": str + _formdiv.id,
  6096. "style": {
  6097. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6098. },
  6099. "name": "思维导图",
  6100. "forms": _formdiv,
  6101. "click": function () {
  6102. U.MD.D.I.openApplication(str, obj, info);
  6103. }
  6104. }
  6105. break;
  6106. case "doc":
  6107. aTool = 6;
  6108. _iframe = $$("iframe", {
  6109. "frameborder": "no",
  6110. "border": "0",
  6111. "scrolling ": "no",
  6112. "style": {
  6113. "cssText": "border:0;width:100%;height:100%"
  6114. },
  6115. "src": "/Office/Word/WordEditArea.htm"
  6116. })
  6117. _box.appendChild(_iframe);
  6118. _box.appendChild(_jie);
  6119. _formdiv = new U.UF.UI.form(
  6120. "协同文档-" + _username,
  6121. _box, {
  6122. "id": "doc" + cid + stage + task + tool + _userid,
  6123. "style": {
  6124. "width": "90%",
  6125. "height": "90%",
  6126. "overflow": 'hidden'
  6127. },
  6128. "onresize": function () { }
  6129. }, {
  6130. closecallback: function () { }
  6131. }, {
  6132. "style": {
  6133. "height": "36px"
  6134. }
  6135. }).form; //创建窗体
  6136. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6137. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6138. })
  6139. _taskbar = {
  6140. "id": str + _formdiv.id,
  6141. "style": {
  6142. "backgroundImage": "url(/img/icon/doc.png)"
  6143. },
  6144. "name": "协同文档",
  6145. "forms": _formdiv,
  6146. "click": function () {
  6147. U.MD.D.I.openApplication(str, obj, info);
  6148. }
  6149. }
  6150. break;
  6151. case "mindNetwork": //好友打开
  6152. aTool = 7;
  6153. _iframe = $$("iframe", {
  6154. "webkitallowfullscreen": "",
  6155. "mozallowfullscreen": "",
  6156. "allowfullscreen": "",
  6157. "frameborder": "no",
  6158. "border": "0",
  6159. "scrolling ": "no",
  6160. "style": {
  6161. "cssText": "border:0; width:100%; height:100%;"
  6162. },
  6163. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6164. })
  6165. _box.appendChild(_iframe);
  6166. _box.appendChild(_jie);
  6167. _formdiv = new U.UF.UI.form(
  6168. "思维网格-" + _username,
  6169. _box, {
  6170. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6171. "style": {
  6172. "width": "90%",
  6173. "height": "90%",
  6174. "overflow": 'hidden'
  6175. },
  6176. "onresize": function () { }
  6177. }, {
  6178. closecallback: function () { }
  6179. }, {
  6180. "style": {
  6181. "height": "36px"
  6182. }
  6183. }).form; //创建窗体
  6184. _taskbar = {
  6185. "id": str + _formdiv.id,
  6186. "style": {
  6187. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6188. },
  6189. "name": "思维网格",
  6190. "forms": _formdiv,
  6191. "click": function () {
  6192. U.MD.D.I.openApplication(str, obj, info);
  6193. }
  6194. }
  6195. break;
  6196. case "courseDesign":
  6197. _iframe = $$("iframe", {
  6198. "webkitallowfullscreen": "",
  6199. "mozallowfullscreen": "",
  6200. "allowfullscreen": "",
  6201. "frameborder": "no",
  6202. "border": "0",
  6203. "scrolling ": "no",
  6204. "style": {
  6205. "cssText": "border:0; width:100%; height:100%;"
  6206. },
  6207. "src": "/course-design-vue"
  6208. })
  6209. _box.appendChild(_iframe);
  6210. _box.appendChild(_jie);
  6211. _formdiv = new U.UF.UI.form(
  6212. "项目设计-" + _username,
  6213. _box, {
  6214. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6215. "style": {
  6216. "width": "90%",
  6217. "height": "90%",
  6218. "overflow": 'hidden'
  6219. },
  6220. "onresize": function () { }
  6221. }, {
  6222. closecallback: function () { }
  6223. }, {
  6224. "style": {
  6225. "height": "36px"
  6226. }
  6227. }).form; //创建窗体
  6228. _taskbar = {
  6229. "id": str + _formdiv.id,
  6230. "style": {
  6231. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6232. },
  6233. "name": "项目设计",
  6234. "forms": _formdiv,
  6235. "click": function () {
  6236. U.MD.D.I.openApplication(str, obj, info);
  6237. }
  6238. }
  6239. break;
  6240. }
  6241. const script1 = document.createElement("script");
  6242. script1.type = "text/javascript";
  6243. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6244. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6245. const script2 = document.createElement("script");
  6246. script2.type = "text/javascript";
  6247. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6248. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6249. const script3 = document.createElement("script");
  6250. script3.type = "text/javascript";
  6251. script3.charset = "UTF-8";
  6252. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6253. const script4 = document.createElement("script");
  6254. script4.type = "text/javascript";
  6255. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6256. script4.src = window.origin + "/js/Common/jietu2E.js";
  6257. if (_iframe) {
  6258. if (str == 'doc') {
  6259. _iframe = _formdiv.querySelector('iframe')
  6260. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6261. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6262. _iframe.contentWindow.document.body.appendChild(script1);
  6263. _iframe.contentWindow.document.body.appendChild(script2);
  6264. // _iframe.contentWindow.document.body.appendChild(script3);
  6265. _iframe.contentWindow.document.body.appendChild(script4);
  6266. })
  6267. if (onloadListener) {
  6268. _iframe.contentDocument.location.reload()
  6269. } else {
  6270. _iframe.contentDocument.location.reload()
  6271. }
  6272. } else if (str == 'courseDesign') {
  6273. U.UF.DL.iframeLoad(_iframe, function () {
  6274. // _iframe.contentWindow.U.MD.O.W.load();
  6275. // _iframe.contentWindow.document.body.appendChild(script1);
  6276. _iframe.contentWindow.document.body.appendChild(script2);
  6277. _iframe.contentWindow.document.body.appendChild(script4);
  6278. })
  6279. } else if (str == 'mind') {
  6280. _iframe = _formdiv.querySelector('iframe')
  6281. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6282. //
  6283. _iframe.contentWindow.document.body.appendChild(script1);
  6284. _iframe.contentWindow.document.body.appendChild(script2);
  6285. _iframe.contentWindow.document.body.appendChild(script4);
  6286. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6287. })
  6288. if (onloadListener) {
  6289. _iframe.contentDocument.location.reload()
  6290. } else {
  6291. _iframe.contentDocument.location.reload()
  6292. }
  6293. } else if (str == 'whiteboard') {
  6294. _iframe = _formdiv.querySelector('iframe')
  6295. let onloadListener = _iframe.onload = () => {
  6296. _iframe.contentWindow.document.body.appendChild(script1);
  6297. _iframe.contentWindow.document.body.appendChild(script2);
  6298. _iframe.contentWindow.document.body.appendChild(script4);
  6299. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6300. };
  6301. if (onloadListener) {
  6302. _iframe.contentDocument.location.reload()
  6303. } else {
  6304. _iframe.contentDocument.location.reload()
  6305. }
  6306. } else {
  6307. _iframe.onload = () => {
  6308. _iframe.contentWindow.document.body.appendChild(script1);
  6309. _iframe.contentWindow.document.body.appendChild(script2);
  6310. // _iframe.contentWindow.document.body.appendChild(script3);
  6311. _iframe.contentWindow.document.body.appendChild(script4);
  6312. };
  6313. }
  6314. _jie.onclick = async () => {
  6315. let text = ''
  6316. if (aTool == 1) {
  6317. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6318. } else if (aTool == 6) {
  6319. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6320. } else if (aTool == 3) {
  6321. text = await U.MD.D.I.getEditorContent(_iframe);
  6322. }
  6323. _loading.style.display = 'flex'
  6324. console.log(_loading);
  6325. var _ajs = _iframe.contentWindow.document.createElement("script");
  6326. _ajs.type = "text/javascript";
  6327. _ajs.innerHTML =
  6328. // 'console.log(' + _loading + ');\n' +
  6329. 'var _js = document.createElement("script");\n' +
  6330. '_js.type="text/javascript";\n' +
  6331. '_js.charset="UTF-8";\n' +
  6332. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6333. "_js.onload = function(){\n" +
  6334. ' var a = document.getElementsByTagName("img")\n' +
  6335. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6336. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6337. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6338. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6339. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6340. "beforeUpload_shishi(file," +
  6341. "'" +
  6342. _userid +
  6343. "'" +
  6344. ", " +
  6345. "'" +
  6346. _cid +
  6347. "'" +
  6348. ", " +
  6349. "'" +
  6350. _stage +
  6351. "'" +
  6352. ", " +
  6353. "'" +
  6354. _task +
  6355. "'" +
  6356. ", " +
  6357. "'" +
  6358. _tool +
  6359. "'" +
  6360. ", " +
  6361. "'" +
  6362. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6363. "'" +
  6364. ", " +
  6365. "'" +
  6366. aTool +
  6367. "'" +
  6368. ", " +
  6369. "`" +
  6370. text +
  6371. "`" +
  6372. ")\n" +
  6373. " });\n" +
  6374. "}\n" +
  6375. "document.head.appendChild(_js);\n";
  6376. _iframe.contentWindow.document.head.appendChild(_ajs);
  6377. }
  6378. }
  6379. }
  6380. U.MD.D.I.getEditorContent = function (iframe) {
  6381. return new Promise((resolve, reject) => {
  6382. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6383. console.log(content);
  6384. resolve(content)
  6385. });
  6386. });
  6387. }
  6388. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6389. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6390. // if (res.value[0].length > 0) {
  6391. // // resolve(res.value[0][0].text);
  6392. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6393. // $(fileInput).val('');
  6394. // });
  6395. // }
  6396. // }, [], { "type": "GET", "withCredentials": true });
  6397. var xmlhttp;
  6398. var Mac, Sn, DeviceId
  6399. if (window.XMLHttpRequest) {
  6400. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6401. xmlhttp = new XMLHttpRequest();
  6402. } else {
  6403. // IE6, IE5 浏览器执行代码
  6404. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6405. }
  6406. xmlhttp.onreadystatechange = function () {
  6407. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6408. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6409. // resolve(res.value[0][0].text);
  6410. if (type == '2') {
  6411. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6412. } else if (type == '3') {
  6413. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6414. }
  6415. } else {
  6416. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6417. }
  6418. }
  6419. }
  6420. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6421. xmlhttp.send();
  6422. }
  6423. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6424. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6425. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6426. _userinfo = US.userInfo, //登录用户信息
  6427. _userid = US.userInfo.userid //登录用户id
  6428. let _iframe;
  6429. let _cid = cid,
  6430. _stage = stage,
  6431. _task = task,
  6432. _tool = tool;
  6433. var _jie = $$("div", {
  6434. "style": {
  6435. "position": "absolute",
  6436. "bottom": "50px",
  6437. "right": "50px",
  6438. "zIndex": "9999",
  6439. "backgroundColor": "#2268bc",
  6440. "color": "#fff",
  6441. "padding": "12px 20px",
  6442. "cursor": "pointer",
  6443. "borderRadius": "4px",
  6444. },
  6445. "innerHTML": "确认并提交"
  6446. })
  6447. let aTool = ''
  6448. let _loading = document.createElement('div')
  6449. _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;"
  6450. // _loading.id = "";
  6451. let _lchild = document.createElement('div')
  6452. let _limg = document.createElement('img')
  6453. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6454. _limg.style = "width: 26px;margin-right: 10px;"
  6455. _lchild.appendChild(_limg)
  6456. let _lspan = document.createElement('span')
  6457. _lspan.innerHTML = "上传中..."
  6458. _lchild.appendChild(_lspan)
  6459. _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%);"
  6460. _loading.appendChild(_lchild)
  6461. var _box = $$('div', {
  6462. "style": {
  6463. "position": "relative",
  6464. "width": "100%",
  6465. "height": "100%",
  6466. },
  6467. })
  6468. _box.appendChild(_loading)
  6469. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6470. switch (str) {
  6471. case "whiteboard":
  6472. aTool = 1;
  6473. _iframe = $$("iframe", {
  6474. "frameborder": "no",
  6475. "border": "0",
  6476. "scrolling ": "no",
  6477. "style": {
  6478. "cssText": "border:0;width:100%;height:100%"
  6479. },
  6480. "src": "https://iwb.cocorobo.cn/"
  6481. })
  6482. _box.appendChild(_iframe);
  6483. _box.appendChild(_jie);
  6484. _formdiv = new U.UF.UI.form(
  6485. "电子白板",
  6486. _box, {
  6487. "id": "whiteboards" + cid + stage + task + tool,
  6488. "style": {
  6489. "width": "90%",
  6490. "height": "90%",
  6491. "overflow": 'hidden'
  6492. },
  6493. "onresize": function () { }
  6494. }, {
  6495. closecallback: function () { }
  6496. }, {
  6497. "style": {
  6498. "height": "36px"
  6499. }
  6500. }).form; //创建窗体
  6501. _taskbar = {
  6502. "id": str + _formdiv.id,
  6503. "style": {
  6504. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6505. },
  6506. "name": "电子白板",
  6507. "forms": _formdiv,
  6508. "click": function () {
  6509. U.MD.D.I.openApplication(str, obj, info);
  6510. }
  6511. }
  6512. break;
  6513. case "mind":
  6514. aTool = 3;
  6515. _iframe = $$("iframe", {
  6516. "frameborder": "no",
  6517. "border": "0",
  6518. "scrolling ": "no",
  6519. "style": {
  6520. "cssText": "border:0;width:100%;height:100%"
  6521. },
  6522. "src": "/kityminder-editor/dist/index.html"
  6523. });
  6524. _box.appendChild(_iframe);
  6525. _box.appendChild(_jie);
  6526. _formdiv = new U.UF.UI.form(
  6527. "思维导图",
  6528. _box, { //"/jsmind/example/demo.html"
  6529. "id": "minds" + cid + stage + task + tool,
  6530. "style": {
  6531. "width": "90%",
  6532. "height": "90%",
  6533. "overflow": 'hidden'
  6534. },
  6535. "onresize": function () { }
  6536. }, {
  6537. closecallback: function () { }
  6538. }, {
  6539. "style": {
  6540. "height": "36px"
  6541. }
  6542. }).form; //创建窗体
  6543. _taskbar = {
  6544. "id": str + _formdiv.id,
  6545. "style": {
  6546. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6547. },
  6548. "name": "思维导图",
  6549. "forms": _formdiv,
  6550. "click": function () {
  6551. U.MD.D.I.openApplication(str, obj, info);
  6552. }
  6553. }
  6554. break;
  6555. case "doc":
  6556. aTool = 6;
  6557. _iframe = $$("iframe", {
  6558. "frameborder": "no",
  6559. "border": "0",
  6560. "scrolling ": "no",
  6561. "style": {
  6562. "cssText": "border:0;width:100%;height:100%"
  6563. },
  6564. "src": "/Office/Word/WordEditArea.htm"
  6565. })
  6566. _box.appendChild(_iframe);
  6567. _box.appendChild(_jie);
  6568. _formdiv = new U.UF.UI.form(
  6569. "协同文档",
  6570. _box, {
  6571. "id": "docs" + cid + stage + task + tool,
  6572. "style": {
  6573. "width": "90%",
  6574. "height": "90%",
  6575. "overflow": 'hidden'
  6576. },
  6577. "onresize": function () { }
  6578. }, {
  6579. closecallback: function () { }
  6580. }, {
  6581. "style": {
  6582. "height": "36px"
  6583. }
  6584. }).form; //创建窗体
  6585. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6586. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6587. })
  6588. _taskbar = {
  6589. "id": str + _formdiv.id,
  6590. "style": {
  6591. "backgroundImage": "url(/img/icon/doc.png)"
  6592. },
  6593. "name": "协同文档",
  6594. "forms": _formdiv,
  6595. "click": function () {
  6596. U.MD.D.I.openApplication(str, obj, info);
  6597. }
  6598. }
  6599. break;
  6600. }
  6601. const script1 = document.createElement("script");
  6602. script1.type = "text/javascript";
  6603. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6604. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6605. const script2 = document.createElement("script");
  6606. script2.type = "text/javascript";
  6607. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6608. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6609. const script3 = document.createElement("script");
  6610. script3.type = "text/javascript";
  6611. script3.charset = "UTF-8";
  6612. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6613. const script4 = document.createElement("script");
  6614. script4.type = "text/javascript";
  6615. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6616. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6617. if (_iframe) {
  6618. if (str == 'doc') {
  6619. _iframe = _formdiv.querySelector('iframe')
  6620. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6621. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6622. _iframe.contentWindow.document.body.appendChild(script1);
  6623. _iframe.contentWindow.document.body.appendChild(script2);
  6624. // _iframe.contentWindow.document.body.appendChild(script3);
  6625. _iframe.contentWindow.document.body.appendChild(script4);
  6626. })
  6627. if (onloadListener) {
  6628. _iframe.contentDocument.location.reload()
  6629. } else {
  6630. _iframe.contentDocument.location.reload()
  6631. }
  6632. } else if (str == 'mind') {
  6633. _iframe = _formdiv.querySelector('iframe')
  6634. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6635. _iframe.contentWindow.document.body.appendChild(script1);
  6636. _iframe.contentWindow.document.body.appendChild(script2);
  6637. _iframe.contentWindow.document.body.appendChild(script4);
  6638. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6639. })
  6640. if (onloadListener) {
  6641. _iframe.contentDocument.location.reload()
  6642. } else {
  6643. _iframe.contentDocument.location.reload()
  6644. }
  6645. } else {
  6646. _iframe.onload = () => {
  6647. _iframe.contentWindow.document.body.appendChild(script1);
  6648. _iframe.contentWindow.document.body.appendChild(script2);
  6649. // _iframe.contentWindow.document.body.appendChild(script3);
  6650. _iframe.contentWindow.document.body.appendChild(script4);
  6651. };
  6652. }
  6653. _jie.onclick = async () => {
  6654. let text = ''
  6655. if (aTool == 6) {
  6656. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6657. } else if (aTool == 3) {
  6658. text = await U.MD.D.I.getEditorContent(_iframe);
  6659. }
  6660. _loading.style.display = 'flex'
  6661. console.log(_loading);
  6662. var _ajs = _iframe.contentWindow.document.createElement("script");
  6663. _ajs.type = "text/javascript";
  6664. _ajs.innerHTML =
  6665. // 'console.log(' + _loading + ');\n' +
  6666. 'var _js = document.createElement("script");\n' +
  6667. '_js.type="text/javascript";\n' +
  6668. '_js.charset="UTF-8";\n' +
  6669. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6670. "_js.onload = function(){\n" +
  6671. ' var a = document.getElementsByTagName("img")\n' +
  6672. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6673. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6674. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6675. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6676. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6677. "beforeUpload_shishi(file," +
  6678. "'" +
  6679. _userid +
  6680. "'" +
  6681. ", " +
  6682. "'" +
  6683. _cid +
  6684. "'" +
  6685. ", " +
  6686. "'" +
  6687. _stage +
  6688. "'" +
  6689. ", " +
  6690. "'" +
  6691. _task +
  6692. "'" +
  6693. ", " +
  6694. "'" +
  6695. _tool +
  6696. "'" +
  6697. ", " +
  6698. "'" +
  6699. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6700. "'" +
  6701. ", " +
  6702. "'" +
  6703. aTool +
  6704. "'" +
  6705. ", " +
  6706. "`" +
  6707. text +
  6708. "`" +
  6709. ")\n" +
  6710. " });\n" +
  6711. "}\n" +
  6712. "document.head.appendChild(_js);\n";
  6713. _iframe.contentWindow.document.head.appendChild(_ajs);
  6714. }
  6715. }
  6716. //U.MD.D.I.openClick(str);
  6717. //如果有任务栏信息
  6718. // if (_taskbar) {
  6719. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6720. // }
  6721. }
  6722. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6723. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6724. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6725. _userinfo = US.userInfo, //登录用户信息
  6726. _userid = US.userInfo.userid //登录用户id
  6727. let _iframe;
  6728. let _cid = cid,
  6729. _stage = stage,
  6730. _task = task,
  6731. _tool = tool;
  6732. var _jie = $$("div", {
  6733. "style": {
  6734. "position": "absolute",
  6735. "bottom": "50px",
  6736. "right": "50px",
  6737. "zIndex": "9999",
  6738. "backgroundColor": "#2268bc",
  6739. "color": "#fff",
  6740. "padding": "12px 20px",
  6741. "cursor": "pointer",
  6742. "borderRadius": "4px",
  6743. },
  6744. "innerHTML": "确认并提交"
  6745. })
  6746. let aTool = ''
  6747. let _loading = document.createElement('div')
  6748. _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;"
  6749. // _loading.id = "";
  6750. let _lchild = document.createElement('div')
  6751. let _limg = document.createElement('img')
  6752. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6753. _limg.style = "width: 26px;margin-right: 10px;"
  6754. _lchild.appendChild(_limg)
  6755. let _lspan = document.createElement('span')
  6756. _lspan.innerHTML = "上传中..."
  6757. _lchild.appendChild(_lspan)
  6758. _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%);"
  6759. _loading.appendChild(_lchild)
  6760. var _box = $$('div', {
  6761. "style": {
  6762. "position": "relative",
  6763. "width": "100%",
  6764. "height": "100%",
  6765. },
  6766. })
  6767. _box.appendChild(_loading)
  6768. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6769. switch (str) {
  6770. case "whiteboard":
  6771. aTool = 1;
  6772. _iframe = $$("iframe", {
  6773. "frameborder": "no",
  6774. "border": "0",
  6775. "scrolling ": "no",
  6776. "style": {
  6777. "cssText": "border:0;width:100%;height:100%"
  6778. },
  6779. "src": "https://iwb.cocorobo.cn/"
  6780. })
  6781. _box.appendChild(_iframe);
  6782. _box.appendChild(_jie);
  6783. _formdiv = new U.UF.UI.form(
  6784. "电子白板",
  6785. _box, {
  6786. "id": "whiteboards" + cid + stage + task + tool,
  6787. "style": {
  6788. "width": "90%",
  6789. "height": "90%",
  6790. "overflow": 'hidden'
  6791. },
  6792. "onresize": function () { }
  6793. }, {
  6794. closecallback: function () { }
  6795. }, {
  6796. "style": {
  6797. "height": "36px"
  6798. }
  6799. }).form; //创建窗体
  6800. _taskbar = {
  6801. "id": str + _formdiv.id,
  6802. "style": {
  6803. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6804. },
  6805. "name": "电子白板",
  6806. "forms": _formdiv,
  6807. "click": function () {
  6808. U.MD.D.I.openApplication(str, obj, info);
  6809. }
  6810. }
  6811. break;
  6812. case "mind":
  6813. aTool = 3;
  6814. _iframe = $$("iframe", {
  6815. "frameborder": "no",
  6816. "border": "0",
  6817. "scrolling ": "no",
  6818. "style": {
  6819. "cssText": "border:0;width:100%;height:100%"
  6820. },
  6821. "src": "/kityminder-editor/dist/index.html"
  6822. });
  6823. _box.appendChild(_iframe);
  6824. _box.appendChild(_jie);
  6825. _formdiv = new U.UF.UI.form(
  6826. "思维导图",
  6827. _box, { //"/jsmind/example/demo.html"
  6828. "id": "minds" + cid + stage + task + tool,
  6829. "style": {
  6830. "width": "90%",
  6831. "height": "90%",
  6832. "overflow": 'hidden'
  6833. },
  6834. "onresize": function () { }
  6835. }, {
  6836. closecallback: function () { }
  6837. }, {
  6838. "style": {
  6839. "height": "36px"
  6840. }
  6841. }).form; //创建窗体
  6842. _taskbar = {
  6843. "id": str + _formdiv.id,
  6844. "style": {
  6845. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6846. },
  6847. "name": "思维导图",
  6848. "forms": _formdiv,
  6849. "click": function () {
  6850. U.MD.D.I.openApplication(str, obj, info);
  6851. }
  6852. }
  6853. break;
  6854. case "doc":
  6855. aTool = 6;
  6856. _iframe = $$("iframe", {
  6857. "frameborder": "no",
  6858. "border": "0",
  6859. "scrolling ": "no",
  6860. "style": {
  6861. "cssText": "border:0;width:100%;height:100%"
  6862. },
  6863. "src": "/Office/Word/WordEditArea.htm"
  6864. })
  6865. _box.appendChild(_iframe);
  6866. _box.appendChild(_jie);
  6867. _formdiv = new U.UF.UI.form(
  6868. "协同文档",
  6869. _box, {
  6870. "id": "docs" + cid + stage + task + tool,
  6871. "style": {
  6872. "width": "90%",
  6873. "height": "90%",
  6874. "overflow": 'hidden'
  6875. },
  6876. "onresize": function () { }
  6877. }, {
  6878. closecallback: function () { }
  6879. }, {
  6880. "style": {
  6881. "height": "36px"
  6882. }
  6883. }).form; //创建窗体
  6884. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6885. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6886. })
  6887. _taskbar = {
  6888. "id": str + _formdiv.id,
  6889. "style": {
  6890. "backgroundImage": "url(/img/icon/doc.png)"
  6891. },
  6892. "name": "协同文档",
  6893. "forms": _formdiv,
  6894. "click": function () {
  6895. U.MD.D.I.openApplication(str, obj, info);
  6896. }
  6897. }
  6898. break;
  6899. }
  6900. const script1 = document.createElement("script");
  6901. script1.type = "text/javascript";
  6902. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6903. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6904. const script2 = document.createElement("script");
  6905. script2.type = "text/javascript";
  6906. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6907. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6908. const script3 = document.createElement("script");
  6909. script3.type = "text/javascript";
  6910. script3.charset = "UTF-8";
  6911. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6912. const script4 = document.createElement("script");
  6913. script4.type = "text/javascript";
  6914. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6915. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6916. if (_iframe) {
  6917. if (str == 'doc') {
  6918. _iframe = _formdiv.querySelector('iframe')
  6919. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6920. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6921. _iframe.contentWindow.document.body.appendChild(script1);
  6922. _iframe.contentWindow.document.body.appendChild(script2);
  6923. // _iframe.contentWindow.document.body.appendChild(script3);
  6924. _iframe.contentWindow.document.body.appendChild(script4);
  6925. })
  6926. if (onloadListener) {
  6927. _iframe.contentDocument.location.reload()
  6928. } else {
  6929. _iframe.contentDocument.location.reload()
  6930. }
  6931. } else if (str == 'mind') {
  6932. _iframe = _formdiv.querySelector('iframe')
  6933. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6934. _iframe.contentWindow.document.body.appendChild(script1);
  6935. _iframe.contentWindow.document.body.appendChild(script2);
  6936. _iframe.contentWindow.document.body.appendChild(script4);
  6937. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6938. })
  6939. if (onloadListener) {
  6940. _iframe.contentDocument.location.reload()
  6941. } else {
  6942. _iframe.contentDocument.location.reload()
  6943. }
  6944. } else {
  6945. _iframe.onload = () => {
  6946. _iframe.contentWindow.document.body.appendChild(script1);
  6947. _iframe.contentWindow.document.body.appendChild(script2);
  6948. // _iframe.contentWindow.document.body.appendChild(script3);
  6949. _iframe.contentWindow.document.body.appendChild(script4);
  6950. };
  6951. }
  6952. _jie.onclick = async () => {
  6953. let text = ''
  6954. if (aTool == 6) {
  6955. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6956. } else if (aTool == 3) {
  6957. text = await U.MD.D.I.getEditorContent(_iframe);
  6958. }
  6959. _loading.style.display = 'flex'
  6960. console.log(_loading);
  6961. var _ajs = _iframe.contentWindow.document.createElement("script");
  6962. _ajs.type = "text/javascript";
  6963. _ajs.innerHTML =
  6964. // 'console.log(' + _loading + ');\n' +
  6965. 'var _js = document.createElement("script");\n' +
  6966. '_js.type="text/javascript";\n' +
  6967. '_js.charset="UTF-8";\n' +
  6968. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6969. "_js.onload = function(){\n" +
  6970. ' var a = document.getElementsByTagName("img")\n' +
  6971. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6972. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6973. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6974. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6975. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6976. "beforeUpload_shishi(file," +
  6977. "'" +
  6978. _userid +
  6979. "'" +
  6980. ", " +
  6981. "'" +
  6982. _cid +
  6983. "'" +
  6984. ", " +
  6985. "'" +
  6986. _stage +
  6987. "'" +
  6988. ", " +
  6989. "'" +
  6990. _task +
  6991. "'" +
  6992. ", " +
  6993. "'" +
  6994. _tool +
  6995. "'" +
  6996. ", " +
  6997. "'" +
  6998. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6999. "'" +
  7000. ", " +
  7001. "'" +
  7002. aTool +
  7003. "'" +
  7004. ", " +
  7005. "`" +
  7006. text +
  7007. "`" +
  7008. ")\n" +
  7009. " });\n" +
  7010. "}\n" +
  7011. "document.head.appendChild(_js);\n";
  7012. _iframe.contentWindow.document.head.appendChild(_ajs);
  7013. }
  7014. }
  7015. //U.MD.D.I.openClick(str);
  7016. //如果有任务栏信息
  7017. // if (_taskbar) {
  7018. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7019. // }
  7020. }
  7021. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7022. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7023. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7024. _userinfo = US.userInfo, //登录用户信息
  7025. _userid = US.userInfo.userid //登录用户id
  7026. let _iframe;
  7027. let _cid = cid,
  7028. _stage = stage,
  7029. _task = task,
  7030. _tool = tool;
  7031. var _jie = $$("div", {
  7032. "style": {
  7033. "position": "absolute",
  7034. "bottom": "50px",
  7035. "right": "50px",
  7036. "zIndex": "9999",
  7037. "backgroundColor": "#2268bc",
  7038. "color": "#fff",
  7039. "padding": "12px 20px",
  7040. "cursor": "pointer",
  7041. "borderRadius": "4px",
  7042. },
  7043. "innerHTML": "上传模板"
  7044. })
  7045. let aTool = ''
  7046. let _loading = document.createElement('div')
  7047. _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;"
  7048. // _loading.id = "";
  7049. let _lchild = document.createElement('div')
  7050. let _limg = document.createElement('img')
  7051. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7052. _limg.style = "width: 26px;margin-right: 10px;"
  7053. _lchild.appendChild(_limg)
  7054. let _lspan = document.createElement('span')
  7055. _lspan.innerHTML = "上传中..."
  7056. _lchild.appendChild(_lspan)
  7057. _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%);"
  7058. _loading.appendChild(_lchild)
  7059. var _box = $$('div', {
  7060. "style": {
  7061. "position": "relative",
  7062. "width": "100%",
  7063. "height": "100%",
  7064. },
  7065. })
  7066. _box.appendChild(_loading)
  7067. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7068. switch (str) {
  7069. case "whiteboard":
  7070. aTool = 1;
  7071. _iframe = $$("iframe", {
  7072. "frameborder": "no",
  7073. "border": "0",
  7074. "scrolling ": "no",
  7075. "style": {
  7076. "cssText": "border:0;width:100%;height:100%"
  7077. },
  7078. "src": "https://iwb.cocorobo.cn/"
  7079. })
  7080. _box.appendChild(_iframe);
  7081. _box.appendChild(_jie);
  7082. _formdiv = new U.UF.UI.form(
  7083. "电子白板",
  7084. _box, {
  7085. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7086. "style": {
  7087. "width": "90%",
  7088. "height": "90%",
  7089. "overflow": 'hidden'
  7090. },
  7091. "onresize": function () { }
  7092. }, {
  7093. closecallback: function () { }
  7094. }, {
  7095. "style": {
  7096. "height": "36px"
  7097. }
  7098. }).form; //创建窗体
  7099. _taskbar = {
  7100. "id": str + _formdiv.id,
  7101. "style": {
  7102. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7103. },
  7104. "name": "电子白板",
  7105. "forms": _formdiv,
  7106. "click": function () {
  7107. U.MD.D.I.openApplication(str, obj, info);
  7108. }
  7109. }
  7110. break;
  7111. case "mind":
  7112. aTool = 3;
  7113. _iframe = $$("iframe", {
  7114. "frameborder": "no",
  7115. "border": "0",
  7116. "scrolling ": "no",
  7117. "style": {
  7118. "cssText": "border:0;width:100%;height:100%"
  7119. },
  7120. "src": "/kityminder-editor/dist/index.html"
  7121. });
  7122. _box.appendChild(_iframe);
  7123. _box.appendChild(_jie);
  7124. _formdiv = new U.UF.UI.form(
  7125. "思维导图",
  7126. _box, { //"/jsmind/example/demo.html"
  7127. "id": "minds_Yu" + cid + stage + task + tool,
  7128. "style": {
  7129. "width": "90%",
  7130. "height": "90%",
  7131. "overflow": 'hidden'
  7132. },
  7133. "onresize": function () { }
  7134. }, {
  7135. closecallback: function () { }
  7136. }, {
  7137. "style": {
  7138. "height": "36px"
  7139. }
  7140. }).form; //创建窗体
  7141. _taskbar = {
  7142. "id": str + _formdiv.id,
  7143. "style": {
  7144. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7145. },
  7146. "name": "思维导图",
  7147. "forms": _formdiv,
  7148. "click": function () {
  7149. U.MD.D.I.openApplication(str, obj, info);
  7150. }
  7151. }
  7152. break;
  7153. case "doc":
  7154. aTool = 6;
  7155. _iframe = $$("iframe", {
  7156. "frameborder": "no",
  7157. "border": "0",
  7158. "scrolling ": "no",
  7159. "style": {
  7160. "cssText": "border:0;width:100%;height:100%"
  7161. },
  7162. "src": "/Office/Word/WordEditArea.htm"
  7163. })
  7164. _box.appendChild(_iframe);
  7165. _box.appendChild(_jie);
  7166. _formdiv = new U.UF.UI.form(
  7167. "协同文档",
  7168. _box, {
  7169. "id": "docs_Yu" + cid + stage + task + tool,
  7170. "style": {
  7171. "width": "90%",
  7172. "height": "90%",
  7173. "overflow": 'hidden'
  7174. },
  7175. "onresize": function () { }
  7176. }, {
  7177. closecallback: function () { }
  7178. }, {
  7179. "style": {
  7180. "height": "36px"
  7181. }
  7182. }).form; //创建窗体
  7183. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7184. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7185. })
  7186. _taskbar = {
  7187. "id": str + _formdiv.id,
  7188. "style": {
  7189. "backgroundImage": "url(/img/icon/doc.png)"
  7190. },
  7191. "name": "协同文档",
  7192. "forms": _formdiv,
  7193. "click": function () {
  7194. U.MD.D.I.openApplication(str, obj, info);
  7195. }
  7196. }
  7197. break;
  7198. case "CocoPi":
  7199. aTool = 57;
  7200. _iframe = $$("iframe", {
  7201. "allowpaymentrequest": "allowpaymentrequest",
  7202. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7203. "webkitallowfullscreen": "",
  7204. "mozallowfullscreen": "",
  7205. "frameborder": "no",
  7206. "border": "0",
  7207. "scrolling ": "no",
  7208. "style": {
  7209. "cssText": "border:0;width:100%;height:100%"
  7210. },
  7211. "src": "https://pi.cocorobo.cn/"
  7212. })
  7213. _box.appendChild(_iframe);
  7214. _box.appendChild(_jie);
  7215. _formdiv = new U.UF.UI.form(
  7216. "CocoPi",
  7217. _box, {
  7218. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7219. "style": {
  7220. "width": "90%",
  7221. "height": "90%",
  7222. "overflow": 'hidden'
  7223. },
  7224. "onresize": function () { }
  7225. }, {
  7226. closecallback: function () { }
  7227. }, {
  7228. "style": {
  7229. "height": "36px"
  7230. }
  7231. }).form; //创建窗体
  7232. _taskbar = {
  7233. "id": str + _formdiv.id,
  7234. "style": {
  7235. "backgroundImage": "url(/img/icon/cocopi.png)"
  7236. },
  7237. "name": "CocoPi",
  7238. "forms": _formdiv,
  7239. "click": function () {
  7240. U.MD.D.I.openApplication(str, obj, info);
  7241. }
  7242. }
  7243. break;
  7244. }
  7245. if (_iframe) {
  7246. if (str == 'doc') {
  7247. _iframe = _formdiv.querySelector('iframe')
  7248. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7249. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7250. })
  7251. if (onloadListener) {
  7252. _iframe.contentDocument.location.reload()
  7253. } else {
  7254. _iframe.contentDocument.location.reload()
  7255. }
  7256. } else if (str == 'mind') {
  7257. _iframe = _formdiv.querySelector('iframe')
  7258. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7259. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7260. })
  7261. if (onloadListener) {
  7262. _iframe.contentDocument.location.reload()
  7263. } else {
  7264. _iframe.contentDocument.location.reload()
  7265. }
  7266. } else if (str == 'whiteboard') {
  7267. _iframe = _formdiv.querySelector('iframe')
  7268. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7269. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7270. })
  7271. if (onloadListener) {
  7272. _iframe.contentDocument.location.reload()
  7273. } else {
  7274. _iframe.contentDocument.location.reload()
  7275. }
  7276. } else if (str == 'CocoPi') {
  7277. _iframe = _formdiv.querySelector('iframe')
  7278. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7279. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7280. })
  7281. if (onloadListener) {
  7282. _iframe.contentDocument.location.reload()
  7283. } else {
  7284. _iframe.contentDocument.location.reload()
  7285. }
  7286. } else {
  7287. _iframe.onload = () => { };
  7288. }
  7289. _jie.onclick = async () => {
  7290. let text = ''
  7291. let type = '2'
  7292. if (aTool == 1) {
  7293. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7294. type = '3'
  7295. } else if (aTool == 6) {
  7296. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7297. type = '1'
  7298. } else if (aTool == 3) {
  7299. text = await U.MD.D.I.getEditorContent(_iframe);
  7300. type = '2'
  7301. } else if (aTool == 57) {
  7302. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7303. type = '4'
  7304. }
  7305. _loading.style.display = 'flex'
  7306. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7307. }
  7308. }
  7309. //U.MD.D.I.openClick(str);
  7310. //如果有任务栏信息
  7311. // if (_taskbar) {
  7312. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7313. // }
  7314. }
  7315. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7316. var xmlhttp;
  7317. var Mac, Sn, DeviceId
  7318. if (window.XMLHttpRequest) {
  7319. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7320. xmlhttp = new XMLHttpRequest();
  7321. } else {
  7322. // IE6, IE5 浏览器执行代码
  7323. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7324. }
  7325. xmlhttp.onreadystatechange = function () {
  7326. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7327. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7328. // resolve(res.value[0][0].text);
  7329. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7330. }
  7331. }
  7332. }
  7333. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7334. xmlhttp.send();
  7335. }
  7336. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7337. var xmlhttp;
  7338. var Mac, Sn, DeviceId
  7339. if (window.XMLHttpRequest) {
  7340. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7341. xmlhttp = new XMLHttpRequest();
  7342. } else {
  7343. // IE6, IE5 浏览器执行代码
  7344. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7345. }
  7346. xmlhttp.onreadystatechange = function () {
  7347. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7348. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7349. // resolve(res.value[0][0].text);
  7350. if (type == '2') {
  7351. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7352. } else if (type == '3') {
  7353. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7354. } else if (type == '4') {
  7355. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7356. }
  7357. } else {
  7358. if (type == '2') {
  7359. iframe.contentWindow.editor.minder.importData('json', '')
  7360. } else if (type == '3') {
  7361. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7362. } else if (type == '4') {
  7363. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7364. }
  7365. }
  7366. }
  7367. }
  7368. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7369. xmlhttp.send();
  7370. }
  7371. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7372. var xmlhttp;
  7373. var Mac, Sn, DeviceId
  7374. if (window.XMLHttpRequest) {
  7375. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7376. xmlhttp = new XMLHttpRequest();
  7377. } else {
  7378. // IE6, IE5 浏览器执行代码
  7379. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7380. }
  7381. xmlhttp.onreadystatechange = function () {
  7382. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7383. if (xmlhttp.response) {
  7384. // resolve(res.value[0][0].text);
  7385. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7386. // $(fileInput).val('');
  7387. // });
  7388. span.innerHTML = '上传成功'
  7389. setTimeout(() => {
  7390. loading.style.display = 'none'
  7391. }, 1000);
  7392. }
  7393. }
  7394. }
  7395. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7396. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7397. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7398. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7399. // 设置请求头,表示请求体的编码格式
  7400. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7401. // 设置请求体,使用url-encoded格式的数据
  7402. }
  7403. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7404. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7405. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7406. _userinfo = US.userInfo, //登录用户信息
  7407. _userid = US.userInfo.userid //登录用户id
  7408. let _iframe;
  7409. let _cid = cid,
  7410. _stage = stage,
  7411. _task = task,
  7412. _tool = tool;
  7413. var _jie = $$("div", {
  7414. "style": {
  7415. "position": "absolute",
  7416. "bottom": "50px",
  7417. "right": "50px",
  7418. "zIndex": "9999",
  7419. "backgroundColor": "#2268bc",
  7420. "color": "#fff",
  7421. "padding": "12px 20px",
  7422. "cursor": "pointer",
  7423. "borderRadius": "4px",
  7424. },
  7425. "innerHTML": "提交作业"
  7426. })
  7427. let aTool = ''
  7428. let _loading = document.createElement('div')
  7429. _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;"
  7430. // _loading.id = "";
  7431. let _lchild = document.createElement('div')
  7432. let _limg = document.createElement('img')
  7433. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7434. _limg.style = "width: 26px;margin-right: 10px;"
  7435. _lchild.appendChild(_limg)
  7436. let _lspan = document.createElement('span')
  7437. _lspan.innerHTML = "上传中..."
  7438. _lchild.appendChild(_lspan)
  7439. _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%);"
  7440. _loading.appendChild(_lchild)
  7441. var _box = $$('div', {
  7442. "style": {
  7443. "position": "relative",
  7444. "width": "100%",
  7445. "height": "100%",
  7446. },
  7447. })
  7448. _box.appendChild(_loading)
  7449. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7450. switch (str) {
  7451. case "CocoPi":
  7452. aTool = 57;
  7453. _iframe = $$("iframe", {
  7454. "allowpaymentrequest": "allowpaymentrequest",
  7455. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7456. "webkitallowfullscreen": "",
  7457. "mozallowfullscreen": "",
  7458. "frameborder": "no",
  7459. "border": "0",
  7460. "scrolling ": "no",
  7461. "style": {
  7462. "cssText": "border:0;width:100%;height:100%"
  7463. },
  7464. "src": "https://pi.cocorobo.cn/"
  7465. })
  7466. _box.appendChild(_iframe);
  7467. _box.appendChild(_jie);
  7468. _formdiv = new U.UF.UI.form(
  7469. "CocoPi",
  7470. _box, {
  7471. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7472. "style": {
  7473. "width": "90%",
  7474. "height": "90%",
  7475. "overflow": 'hidden'
  7476. },
  7477. "onresize": function () { }
  7478. }, {
  7479. closecallback: function () { }
  7480. }, {
  7481. "style": {
  7482. "height": "36px"
  7483. }
  7484. }).form; //创建窗体
  7485. _taskbar = {
  7486. "id": str + _formdiv.id,
  7487. "style": {
  7488. "backgroundImage": "url(/img/icon/cocopi.png)"
  7489. },
  7490. "name": "CocoPi",
  7491. "forms": _formdiv,
  7492. "click": function () {
  7493. U.MD.D.I.openApplication(str, obj, info);
  7494. }
  7495. }
  7496. break;
  7497. }
  7498. if (_iframe) {
  7499. if (str == 'CocoPi') {
  7500. _iframe = _formdiv.querySelector('iframe')
  7501. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7502. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7503. })
  7504. if (onloadListener) {
  7505. _iframe.contentDocument.location.reload()
  7506. } else {
  7507. _iframe.contentDocument.location.reload()
  7508. }
  7509. }
  7510. _jie.onclick = async () => {
  7511. let text = ''
  7512. if (aTool == 57) {
  7513. text = _iframe.contentWindow.getLoadXmlStr()
  7514. }
  7515. _loading.style.display = 'flex'
  7516. console.log(_loading);
  7517. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7518. _loading.style.display = 'none'
  7519. let _div = document.createElement('div')
  7520. _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;"
  7521. let _inner = document.createElement('div')
  7522. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7523. _inner.innerHTML = "上传成功"
  7524. _div.appendChild(_inner)
  7525. _iframe.contentWindow.window.document.body.appendChild(_div)
  7526. _div.onclick = () => {
  7527. _iframe.contentWindow.window.document.body.removeChild(_div)
  7528. }
  7529. setTimeout(() => {
  7530. _iframe.contentWindow.window.document.body.removeChild(_div)
  7531. }, 1000);
  7532. }, [], { "type": "POST", "withCredentials": true });
  7533. }
  7534. }
  7535. }
  7536. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7537. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7538. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7539. _userid = student.userid, //登录用户id
  7540. _username = student.student //用户名字
  7541. let _iframe;
  7542. let _cid = cid,
  7543. _stage = stage,
  7544. _task = task,
  7545. _tool = tool;
  7546. var _jie = $$("div", {
  7547. "style": {
  7548. "position": "absolute",
  7549. "bottom": "50px",
  7550. "right": "50px",
  7551. "zIndex": "9999",
  7552. "backgroundColor": "#2268bc",
  7553. "color": "#fff",
  7554. "padding": "12px 20px",
  7555. "cursor": "pointer",
  7556. "borderRadius": "4px",
  7557. },
  7558. "innerHTML": "提交作业"
  7559. })
  7560. let aTool = ''
  7561. let _loading = document.createElement('div')
  7562. _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;"
  7563. // _loading.id = "";
  7564. let _lchild = document.createElement('div')
  7565. let _limg = document.createElement('img')
  7566. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7567. _limg.style = "width: 26px;margin-right: 10px;"
  7568. _lchild.appendChild(_limg)
  7569. let _lspan = document.createElement('span')
  7570. _lspan.innerHTML = "上传中..."
  7571. _lchild.appendChild(_lspan)
  7572. _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%);"
  7573. _loading.appendChild(_lchild)
  7574. var _box = $$('div', {
  7575. "style": {
  7576. "position": "relative",
  7577. "width": "100%",
  7578. "height": "100%",
  7579. },
  7580. })
  7581. _box.appendChild(_loading)
  7582. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7583. switch (str) {
  7584. case "CocoPi":
  7585. aTool = 57;
  7586. _iframe = $$("iframe", {
  7587. "allowpaymentrequest": "allowpaymentrequest",
  7588. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7589. "webkitallowfullscreen": "",
  7590. "mozallowfullscreen": "",
  7591. "frameborder": "no",
  7592. "border": "0",
  7593. "scrolling ": "no",
  7594. "style": {
  7595. "cssText": "border:0;width:100%;height:100%"
  7596. },
  7597. "src": "https://pi.cocorobo.cn/"
  7598. })
  7599. _box.appendChild(_iframe);
  7600. _box.appendChild(_jie);
  7601. _formdiv = new U.UF.UI.form(
  7602. "CocoPi-" + _username,
  7603. _box, {
  7604. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7605. "style": {
  7606. "width": "90%",
  7607. "height": "90%",
  7608. "overflow": 'hidden'
  7609. },
  7610. "onresize": function () { }
  7611. }, {
  7612. closecallback: function () { }
  7613. }, {
  7614. "style": {
  7615. "height": "36px"
  7616. }
  7617. }).form; //创建窗体
  7618. _taskbar = {
  7619. "id": str + _formdiv.id,
  7620. "style": {
  7621. "backgroundImage": "url(/img/icon/cocopi.png)"
  7622. },
  7623. "name": "CocoPi",
  7624. "forms": _formdiv,
  7625. "click": function () {
  7626. U.MD.D.I.openApplication(str, obj, info);
  7627. }
  7628. }
  7629. break;
  7630. }
  7631. if (_iframe) {
  7632. if (str == 'CocoPi') {
  7633. _iframe = _formdiv.querySelector('iframe')
  7634. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7635. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7636. })
  7637. if (onloadListener) {
  7638. _iframe.contentDocument.location.reload()
  7639. } else {
  7640. _iframe.contentDocument.location.reload()
  7641. }
  7642. }
  7643. _jie.onclick = async () => {
  7644. let text = ''
  7645. if (aTool == 57) {
  7646. text = _iframe.contentWindow.getLoadXmlStr()
  7647. }
  7648. _loading.style.display = 'flex'
  7649. console.log(_loading);
  7650. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7651. _loading.style.display = 'none'
  7652. let _div = document.createElement('div')
  7653. _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;"
  7654. let _inner = document.createElement('div')
  7655. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7656. _inner.innerHTML = "上传成功"
  7657. _div.appendChild(_inner)
  7658. _iframe.contentWindow.window.document.body.appendChild(_div)
  7659. _div.onclick = () => {
  7660. _iframe.contentWindow.window.document.body.removeChild(_div)
  7661. }
  7662. setTimeout(() => {
  7663. _iframe.contentWindow.window.document.body.removeChild(_div)
  7664. }, 1000);
  7665. }, [], { "type": "POST", "withCredentials": true });
  7666. }
  7667. }
  7668. }
  7669. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7670. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7671. if (res.value[0].length > 0) {
  7672. if (atool == 57) {
  7673. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7674. }
  7675. } else {
  7676. if (atool == 57) {
  7677. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7678. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7679. }
  7680. }
  7681. }, [], { "type": "POST", "withCredentials": true });
  7682. }