DeskTop.js 498 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. ];
  695. //hk
  696. U.MD.D.I.hkStudentDeskIcon = [
  697. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  703. ];
  704. //hk
  705. U.MD.D.I.hkaceteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  710. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  711. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  712. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  713. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  714. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  715. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  716. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  717. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  718. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  719. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  722. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  723. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  724. ];
  725. //hk
  726. U.MD.D.I.hkaceStudentDeskIcon = [
  727. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. ];
  734. //香海正覺蓮社佛教正覺中學
  735. U.MD.D.I.hkZJLSteacherDeskIcon = [
  736. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  737. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  738. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  739. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  740. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  741. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  742. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  743. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  744. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  745. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  746. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  747. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  749. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  752. ];
  753. //香海正覺蓮社佛教正覺中學
  754. U.MD.D.I.hkZJLSStudentDeskIcon = [
  755. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  759. ];
  760. //云海
  761. U.MD.D.I.yunhaiTeacherDeskIcon = [
  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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  769. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  770. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  771. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  772. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  773. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  774. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  775. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  780. ];
  781. //福田
  782. U.MD.D.I.heyuanTeacherDeskIcon = [
  783. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  784. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  785. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  786. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  787. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  788. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  789. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  790. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  791. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  792. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  794. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  795. ];
  796. //福田
  797. U.MD.D.I.heyuanAdminDeskIcon = [
  798. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  808. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  809. ];
  810. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  811. U.MD.D.I.szherTeacherDeskIcon = [
  812. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  813. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  814. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  815. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  816. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  817. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  822. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  823. ];
  824. //dsei
  825. U.MD.D.I.dseiTeacherDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  829. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  830. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  833. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  834. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  835. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  836. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  837. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  838. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  839. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  840. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  841. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  842. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  843. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  844. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  845. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  846. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  847. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  848. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  849. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  850. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  851. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  852. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  853. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  854. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  855. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  856. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  857. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  858. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  859. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  860. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  866. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  867. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  868. ];
  869. //dsei
  870. U.MD.D.I.dseiAdminDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  878. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  879. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  880. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  881. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  882. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  883. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  884. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  885. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  886. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  887. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  888. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  889. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  890. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  891. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  892. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  893. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  894. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  895. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  896. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  897. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  898. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  899. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  900. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  901. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  902. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  903. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  904. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  905. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  906. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  908. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  912. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  913. ];
  914. //dsei
  915. U.MD.D.I.dseiStudentDeskIcon = [
  916. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  917. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  918. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //未来教育基地
  924. U.MD.D.I.szjkyTeacherDeskIcon = [
  925. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  926. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  927. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  928. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  929. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  930. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  931. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  932. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  933. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  934. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  935. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  936. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  937. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  938. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  940. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  941. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  942. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  943. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  944. ];
  945. //未来教育基地
  946. U.MD.D.I.szjkyAdminDeskIcon = [
  947. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  954. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  955. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  956. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  957. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  958. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  959. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  961. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  963. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  964. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  965. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  966. ];
  967. //未来教育基地
  968. U.MD.D.I.szjkyStudentDeskIcon = [
  969. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  970. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  971. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  972. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  973. ];
  974. //成华教育局
  975. U.MD.D.I.chjyjTeacherDeskIcon = [
  976. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  977. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  981. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  982. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  983. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  984. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  985. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  986. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  987. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  988. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  989. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  990. ];
  991. //成华教育局chjyj
  992. U.MD.D.I.chjyjAdminDeskIcon = [
  993. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  994. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  995. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  996. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  997. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  998. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  999. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1000. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1001. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1002. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1003. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1004. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1005. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1006. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1007. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1008. ];
  1009. //成华教育局chjyj
  1010. U.MD.D.I.chjyjStudentDeskIcon = [
  1011. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //tpc
  1017. U.MD.D.I.tpcStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcTeacherDeskIcon = [
  1025. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1026. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1031. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1032. ];
  1033. //tpc
  1034. U.MD.D.I.tpcAdminDeskIcon = [
  1035. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1036. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1037. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1038. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1039. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1040. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1041. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1042. ];
  1043. //THU-IOE
  1044. U.MD.D.I.thuioeTeacherDeskIcon = [
  1045. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1046. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1047. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1048. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1049. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1050. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1051. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1052. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1053. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1054. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1055. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1056. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1057. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1058. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1059. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1060. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1061. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1062. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1063. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1064. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1065. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1066. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1067. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1068. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1069. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1070. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1071. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1072. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1073. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1074. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1075. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1076. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1077. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1078. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1079. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1080. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1081. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1082. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1083. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1084. ];
  1085. //THU-IOE
  1086. U.MD.D.I.thuioeStudentDeskIcon = [
  1087. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1088. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1089. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1090. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. ];
  1092. //jccssyl
  1093. U.MD.D.I.jccssylTeacherDeskIcon = [
  1094. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1095. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1097. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1098. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1099. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1100. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1101. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1102. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1103. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1104. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1105. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1106. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1107. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1108. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1109. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1110. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1111. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1112. ];
  1113. //jccssyl
  1114. U.MD.D.I.jccssylStudentDeskIcon = [
  1115. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1116. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1117. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1118. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1119. ];
  1120. //#region 桌面初始化a
  1121. /**
  1122. * 初始化桌面的起始函数
  1123. *
  1124. */
  1125. U.MD.D.I.init = function () {
  1126. if ($("#U_MD_D_K")[0]) {
  1127. //初始化桌面图标
  1128. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1129. // var clickUrl = ':12588/requestIp.php';
  1130. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1131. // U.MD.D.I.Ip = data;
  1132. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1133. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1134. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1135. // })
  1136. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1137. // })
  1138. }
  1139. }
  1140. /**
  1141. * 模式切换
  1142. *
  1143. */
  1144. U.MD.D.I.ModeCheck = function (type) {
  1145. if (US.Config.type == type) {
  1146. return
  1147. }
  1148. US.Config.type = type
  1149. $('.U_PBL_Check .active')[0].className = ''
  1150. if (type == 1) {
  1151. $('.U_PBL_Check div')[0].className = 'active'
  1152. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1153. } else {
  1154. $('.U_PBL_Check div')[1].className = 'active'
  1155. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1156. }
  1157. //初始化桌面图标
  1158. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1159. if (type == 2) {
  1160. U.MD.D.I.openApplication("project")
  1161. }
  1162. }
  1163. /**
  1164. * 隐藏任务栏
  1165. *
  1166. * @param {element} 桌面元素
  1167. */
  1168. U.MD.D.I.hiddenTaskbar = function (el) {
  1169. //任务栏位置变小
  1170. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1171. //桌面的位置变大
  1172. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1173. }
  1174. /**
  1175. * 隐藏任务栏
  1176. *
  1177. * @param {element} 桌面元素
  1178. */
  1179. U.MD.D.I.hiddenTaskbarout = function (el) {
  1180. //任务栏位置变小
  1181. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1182. //任务栏位置变化
  1183. U.selectEl(el).css({ "bottom": "-60px" });
  1184. //桌面的位置变大
  1185. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1186. }
  1187. }
  1188. /**
  1189. * 初始化打印桌面图标
  1190. *
  1191. * @param {element} 桌面元素
  1192. */
  1193. U.MD.D.I.initDesktopIcons = function (el, type) {
  1194. var i, //用于循环
  1195. _content, //桌面图标元素
  1196. _iconcontent, //桌面图标元素
  1197. _frag = $$("frag"), //定义一个碎片元素
  1198. _type = US.userInfo.type,
  1199. _org = US.userInfo.org,
  1200. _oid = US.userInfo.organizeid,
  1201. _role = US.userInfo.role,
  1202. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1203. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1204. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1205. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1206. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1207. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1208. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1209. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1210. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1211. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1212. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1213. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1214. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1215. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1216. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1217. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1218. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1219. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1220. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1221. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1222. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1223. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1224. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1225. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1226. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1227. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1228. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1229. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1230. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1231. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1232. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1233. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1234. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1235. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1236. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1237. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1238. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1239. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1240. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1241. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1242. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1243. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1244. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1245. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1246. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1247. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1248. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1249. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1250. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1251. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1252. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1253. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1254. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1255. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1256. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1257. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1258. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1259. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1260. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1261. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1262. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1263. 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'];
  1264. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1265. //清楚桌面图标
  1266. el.innerHTML = "";
  1267. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1268. _teacherDesktopIconInfo.push(
  1269. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1270. { "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)" } },
  1271. )
  1272. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1273. }
  1274. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1275. _teacherDesktopIconInfo.push(
  1276. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1277. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1278. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1279. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1280. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1281. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1282. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1283. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1284. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1285. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1286. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1287. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1288. )
  1289. }
  1290. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1291. // _teacherDesktopIconInfo.push(
  1292. // )
  1293. // }
  1294. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1295. _teacherDesktopIconInfo.push(
  1296. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1297. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. )
  1299. }
  1300. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1301. _teacherDesktopIconInfo.push(
  1302. )
  1303. }
  1304. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1305. _teacherDesktopIconInfo.push(
  1306. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1307. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1308. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1309. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1310. )
  1311. _studentDesktopIconInfo.push(
  1312. )
  1313. }
  1314. //麒麟二中 和 民新小学
  1315. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1316. _teacherDesktopIconInfo.push(
  1317. )
  1318. }
  1319. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1320. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1321. _teacherDesktopIconInfo.push(
  1322. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1323. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1324. )
  1325. }
  1326. //麒麟二中
  1327. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1328. _studentDesktopIconInfo.push(
  1329. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1330. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1331. )
  1332. }
  1333. //万科双语
  1334. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1335. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1336. if (el.Name == '项目管理') {
  1337. el.Name = 'PBL项目'
  1338. }
  1339. return el
  1340. })
  1341. _studentDesktopIconInfo3.push(
  1342. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1343. )
  1344. }
  1345. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1346. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1347. return el.Name != '魔盒识字' && el.Name != '24点'
  1348. })
  1349. }
  1350. 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) {
  1351. _studentDesktopIconInfo.push(
  1352. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1353. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1354. )
  1355. }
  1356. //循环创建桌面图标
  1357. if (type == 1) {
  1358. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1359. for (i = 0; i < _studentDesktopIconInfo.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. }, [_studentDesktopIconInfo[i]]),
  1366. "onclick": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_studentDesktopIconInfo[i]])
  1370. }, _frag); //
  1371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1374. }
  1375. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1376. for (i = 0; i < _hkZJLSStudentDeskIconInfo.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. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1383. "onclick": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSStudentDeskIconInfo[i]])
  1387. }, _frag); //
  1388. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1391. } //
  1392. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1393. for (i = 0; i < _jccssylStudentDeskIconInfo.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. }, [_jccssylStudentDeskIconInfo[i]]),
  1400. "onclick": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_jccssylStudentDeskIconInfo[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1408. }
  1409. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1410. for (i = 0; i < _thuioeStudentDeskIconInfo.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. }, [_thuioeStudentDeskIconInfo[i]]),
  1417. "onclick": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_thuioeStudentDeskIconInfo[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1425. }
  1426. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1427. for (i = 0; i < _tpcStudentDeskIconInfo.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. }, [_tpcStudentDeskIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_tpcStudentDeskIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1442. } //
  1443. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1444. for (i = 0; i < _chjyjStudentDeskIconInfo.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. }, [_chjyjStudentDeskIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_chjyjStudentDeskIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1461. for (i = 0; i < _szjkyStudentDeskIconInfo.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. }, [_szjkyStudentDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_szjkyStudentDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1478. for (i = 0; i < _dseiStudentDeskIconInfo.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. }, [_dseiStudentDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiStudentDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1493. }
  1494. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1495. for (i = 0; i < _siesStudentDeskIconInfo.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. }, [_siesStudentDeskIconInfo[i]]),
  1502. "onclick": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_siesStudentDeskIconInfo[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1510. }
  1511. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1512. for (i = 0; i < _hkStudentDeskIconInfo.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. }, [_hkStudentDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_hkStudentDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1527. }
  1528. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1529. for (i = 0; i < _hkaceStudentDeskIconInfo.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. }, [_hkaceStudentDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_hkaceStudentDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1544. }
  1545. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1546. for (i = 0; i < _studentDesktopIconInfo.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. }, [_studentDesktopIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_studentDesktopIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1563. for (i = 0; i < _tcStudentDeskIconInfo.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. }, [_tcStudentDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_tcStudentDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1578. }
  1579. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1580. for (i = 0; i < _szscStudentDeskIconInfo.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. }, [_szscStudentDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szscStudentDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1595. }
  1596. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1597. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  1604. "onclick": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo3[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1612. }
  1613. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1614. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  1621. "onclick": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_studentDesktopIconInfo2[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1629. }
  1630. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1631. for (i = 0; i < _wanketeacherDesktopIconInfo.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. }, [_wanketeacherDesktopIconInfo[i]]),
  1638. "onclick": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_wanketeacherDesktopIconInfo[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1646. }
  1647. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1648. for (i = 0; i < _wankeAdminDesktopIconInfo.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. }, [_wankeAdminDesktopIconInfo[i]]),
  1655. "onclick": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_wankeAdminDesktopIconInfo[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1663. }
  1664. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1665. for (i = 0; i < _jccssylTeacherDeskIconInfo.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. }, [_jccssylTeacherDeskIconInfo[i]]),
  1672. "onclick": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_jccssylTeacherDeskIconInfo[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1682. for (i = 0; i < _tpcOrganizerDeskIconInfo.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. }, [_tpcOrganizerDeskIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tpcOrganizerDeskIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1699. for (i = 0; i < _tpcTeacherDeskIconInfo.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. }, [_tpcTeacherDeskIconInfo[i]]),
  1706. "onclick": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_tpcTeacherDeskIconInfo[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1714. }
  1715. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1716. for (i = 0; i < _teacherDesktopIconInfo2.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. }, [_teacherDesktopIconInfo2[i]]),
  1723. "onclick": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_teacherDesktopIconInfo2[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1733. for (i = 0; i < _thuioeTeacherDeskIconInfo.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. }, [_thuioeTeacherDeskIconInfo[i]]),
  1740. "onclick": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_thuioeTeacherDeskIconInfo[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1748. }
  1749. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1750. for (i = 0; i < _lotechTeacherDeskIconInfo.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. }, [_lotechTeacherDeskIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_lotechTeacherDeskIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1765. }//
  1766. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1767. for (i = 0; i < _siesTeacherDeskIconInfo.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. }, [_siesTeacherDeskIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_siesTeacherDeskIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1784. for (i = 0; i < _longhuaTeacherDeskIconInfo.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. }, [_longhuaTeacherDeskIconInfo[i]]),
  1791. "onclick": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_longhuaTeacherDeskIconInfo[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1799. }
  1800. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1801. for (i = 0; i < _yunhaiTeacherDeskIconInfo.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. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_yunhaiTeacherDeskIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1816. } //_hkStudentDeskIconInfo
  1817. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1818. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.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. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1833. }
  1834. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1835. for (i = 0; i < _hkTeacherDeskIconInfo.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. }, [_hkTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_hkTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1852. for (i = 0; i < _hkaceTeacherDeskIconInfo.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. }, [_hkaceTeacherDeskIconInfo[i]]),
  1859. "onclick": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_hkaceTeacherDeskIconInfo[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1869. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_gdjgAdminDeskIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1884. }
  1885. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1886. for (i = 0; i < _gdjgTeacherDeskIconInfo.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. }, [_gdjgTeacherDeskIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_gdjgTeacherDeskIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1903. for (i = 0; i < _szherTeacherDeskIconInfo.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. }, [_szherTeacherDeskIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_szherTeacherDeskIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1920. for (i = 0; i < _heyuannAdminDeskIconInfo.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. }, [_heyuannAdminDeskIconInfo[i]]),
  1927. "onclick": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_heyuannAdminDeskIconInfo[i]])
  1931. }, _frag); //
  1932. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1933. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1934. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1935. }
  1936. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1937. for (i = 0; i < _heyuanTeacherDeskIconInfo.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. }, [_heyuanTeacherDeskIconInfo[i]]),
  1944. "onclick": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_heyuanTeacherDeskIconInfo[i]])
  1948. }, _frag); //
  1949. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1950. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1951. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1952. } //
  1953. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1954. for (i = 0; i < _dseiAdminDeskIconInfo.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. }, [_dseiAdminDeskIconInfo[i]]),
  1961. "onclick": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_dseiAdminDeskIconInfo[i]])
  1965. }, _frag); //
  1966. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1967. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1968. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1969. }
  1970. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1971. for (i = 0; i < _dseiTeacherDeskIconInfo.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. }, [_dseiTeacherDeskIconInfo[i]]),
  1978. "onclick": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_dseiTeacherDeskIconInfo[i]])
  1982. }, _frag); //
  1983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1986. } //
  1987. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1988. for (i = 0; i < _chjyjAdminDeskIconInfo.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. }, [_chjyjAdminDeskIconInfo[i]]),
  1995. "onclick": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_chjyjAdminDeskIconInfo[i]])
  1999. }, _frag); //
  2000. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2001. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2002. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2003. }//
  2004. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2005. for (i = 0; i < _chjyjTeacherDeskIconInfo.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. }, [_chjyjTeacherDeskIconInfo[i]]),
  2012. "onclick": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_chjyjTeacherDeskIconInfo[i]])
  2016. }, _frag); //
  2017. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2018. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2019. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2020. }
  2021. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2022. for (i = 0; i < _szjkyAdminDeskIconInfo.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. }, [_szjkyAdminDeskIconInfo[i]]),
  2029. "onclick": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_szjkyAdminDeskIconInfo[i]])
  2033. }, _frag); //
  2034. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2035. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2036. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2037. }//
  2038. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2039. for (i = 0; i < _szjkyTeacherDeskIconInfo.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. }, [_szjkyTeacherDeskIconInfo[i]]),
  2046. "onclick": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_szjkyTeacherDeskIconInfo[i]])
  2050. }, _frag); //
  2051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2054. }
  2055. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2056. for (i = 0; i < _futianAdminDeskIconInfo.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. }, [_futianAdminDeskIconInfo[i]]),
  2063. "onclick": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_futianAdminDeskIconInfo[i]])
  2067. }, _frag); //
  2068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2071. }
  2072. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2073. for (i = 0; i < _futianTeacherDeskIconInfo.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. }, [_futianTeacherDeskIconInfo[i]]),
  2080. "onclick": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_futianTeacherDeskIconInfo[i]])
  2084. }, _frag); //
  2085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2088. }
  2089. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2090. for (i = 0; i < _MingdeTeacherDeskIcon.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. }, [_MingdeTeacherDeskIcon[i]]),
  2097. "onclick": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_MingdeTeacherDeskIcon[i]])
  2101. }, _frag); //
  2102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2105. }
  2106. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2107. for (i = 0; i < _lhsAdminDesktopIconInfo.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. }, [_lhsAdminDesktopIconInfo[i]]),
  2114. "onclick": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_lhsAdminDesktopIconInfo[i]])
  2118. }, _frag); //
  2119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2122. }
  2123. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2124. for (i = 0; i < _lhsteacherDesktopIconInfo.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. }, [_lhsteacherDesktopIconInfo[i]]),
  2131. "onclick": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_lhsteacherDesktopIconInfo[i]])
  2135. }, _frag); //
  2136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2139. }
  2140. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2141. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2142. _content = $$("div", {
  2143. className: "U_MD_D_KO",
  2144. "onmousedown": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2148. "onclick": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_zhoujiateacherDesktopIconInfo[i]])
  2152. }, _frag); //
  2153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2156. }
  2157. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2158. for (i = 0; i < _hanDeskIcon.length; i++) {
  2159. _content = $$("div", {
  2160. className: "U_MD_D_KO",
  2161. "onmousedown": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_hanDeskIcon[i]]),
  2165. "onclick": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_hanDeskIcon[i]])
  2169. }, _frag); //
  2170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2173. }
  2174. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2175. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2176. _content = $$("div", {
  2177. className: "U_MD_D_KO",
  2178. "onmousedown": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_orgStemDeskIcon[i]]),
  2182. "onclick": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_orgStemDeskIcon[i]])
  2186. }, _frag); //
  2187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2190. }
  2191. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2192. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2193. _content = $$("div", {
  2194. className: "U_MD_D_KO",
  2195. "onmousedown": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_szulsDeskIcon[i]]),
  2199. "onclick": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_szulsDeskIcon[i]])
  2203. }, _frag); //
  2204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2207. }
  2208. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2209. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2210. _content = $$("div", {
  2211. className: "U_MD_D_KO",
  2212. "onmousedown": U.UF.C.closure(function (obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_orgDesktopIconInfo[i]]),
  2216. "onclick": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_orgDesktopIconInfo[i]])
  2220. }, _frag); //
  2221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2224. }
  2225. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2226. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2227. _content = $$("div", {
  2228. className: "U_MD_D_KO",
  2229. "onmousedown": U.UF.C.closure(function (obj) {
  2230. //防止拖动图标即打开了桌面应用
  2231. U.MD.D.click(this, obj);
  2232. }, [_schoolDesktopIconInfo[i]]),
  2233. "onclick": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_schoolDesktopIconInfo[i]])
  2237. }, _frag); //
  2238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2241. }
  2242. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2243. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. "onmousedown": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_GMteacherDesktopIconInfo[i]]),
  2250. "onclick": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_GMteacherDesktopIconInfo[i]])
  2254. }, _frag); //
  2255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2258. }
  2259. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2260. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2261. _content = $$("div", {
  2262. className: "U_MD_D_KO",
  2263. "onmousedown": U.UF.C.closure(function (obj) {
  2264. //防止拖动图标即打开了桌面应用
  2265. U.MD.D.click(this, obj);
  2266. }, [_SONGteacherDesktopIconInfo[i]]),
  2267. "onclick": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_SONGteacherDesktopIconInfo[i]])
  2271. }, _frag); //
  2272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2275. }
  2276. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2277. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2278. _content = $$("div", {
  2279. className: "U_MD_D_KO",
  2280. "onmousedown": U.UF.C.closure(function (obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_GMstudentDesktopIconInfo[i]]),
  2284. "onclick": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_GMstudentDesktopIconInfo[i]])
  2288. }, _frag); //
  2289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2292. }
  2293. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2294. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2295. _content = $$("div", {
  2296. className: "U_MD_D_KO",
  2297. "onmousedown": U.UF.C.closure(function (obj) {
  2298. //防止拖动图标即打开了桌面应用
  2299. U.MD.D.click(this, obj);
  2300. }, [_tcTeacherDeskIconInfo[i]]),
  2301. "onclick": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_tcTeacherDeskIconInfo[i]])
  2305. }, _frag); //
  2306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2309. }
  2310. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2311. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2312. _content = $$("div", {
  2313. className: "U_MD_D_KO",
  2314. "onmousedown": U.UF.C.closure(function (obj) {
  2315. //防止拖动图标即打开了桌面应用
  2316. U.MD.D.click(this, obj);
  2317. }, [_tcOrganizerDeskIconInfo[i]]),
  2318. "onclick": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_tcOrganizerDeskIconInfo[i]])
  2322. }, _frag); //
  2323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2326. }
  2327. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2328. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2329. _content = $$("div", {
  2330. className: "U_MD_D_KO",
  2331. "onmousedown": U.UF.C.closure(function (obj) {
  2332. //防止拖动图标即打开了桌面应用
  2333. U.MD.D.click(this, obj);
  2334. }, [_szscTeacherDeskIconInfo[i]]),
  2335. "onclick": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_szscTeacherDeskIconInfo[i]])
  2339. }, _frag); //
  2340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2343. }
  2344. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2345. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2346. _content = $$("div", {
  2347. className: "U_MD_D_KO",
  2348. "onmousedown": U.UF.C.closure(function (obj) {
  2349. //防止拖动图标即打开了桌面应用
  2350. U.MD.D.click(this, obj);
  2351. }, [_szscOrganizerDeskIconInfo[i]]),
  2352. "onclick": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_szscOrganizerDeskIconInfo[i]])
  2356. }, _frag); //
  2357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2360. }
  2361. } else {
  2362. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2363. _content = $$("div", {
  2364. className: "U_MD_D_KO",
  2365. "onmousedown": U.UF.C.closure(function (obj) {
  2366. //防止拖动图标即打开了桌面应用
  2367. U.MD.D.click(this, obj);
  2368. }, [_teacherDesktopIconInfo[i]]),
  2369. "onclick": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_teacherDesktopIconInfo[i]])
  2373. }, _frag); //
  2374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2377. }
  2378. }
  2379. } else {
  2380. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2381. _content = $$("div", {
  2382. className: "U_MD_D_KO",
  2383. style: { 'width': '124px', 'height': '145px' },
  2384. "onmousedown": U.UF.C.closure(function (obj) {
  2385. //防止拖动图标即打开了桌面应用
  2386. U.MD.D.click(this, obj);
  2387. }, [_easyDesktopIconInfo[i]]),
  2388. "onclick": U.UF.C.closure(function (obj) {
  2389. //防止拖动图标即打开了桌面应用
  2390. U.MD.D.click(this, obj);
  2391. }, [_easyDesktopIconInfo[i]])
  2392. }, _frag); //
  2393. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2396. }
  2397. }
  2398. if (type == 1) {
  2399. //加载好后给图标定位
  2400. U.MD.D.iconPostion($(_frag).Child());
  2401. } else {
  2402. //加载好后给图标定位
  2403. U.MD.D.iconPostion2($(_frag).Child());
  2404. }
  2405. //把图标加载到页面
  2406. el.appendChild(_frag);
  2407. }
  2408. /**
  2409. * 显示任务栏
  2410. *
  2411. * @param {element} 桌面元素
  2412. */
  2413. U.MD.D.I.displayTaskbar = function (el) {
  2414. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2415. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2416. //任务栏位置变化
  2417. U.selectEl(el).css({ "bottom": "0px" });
  2418. //桌面位置变话
  2419. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2420. }
  2421. }
  2422. //#region 桌面图标拖动逻辑
  2423. /**
  2424. * 桌面排列图标
  2425. *
  2426. * @param {element} 桌面元素
  2427. * @param {object} 上下相距的距离
  2428. * @param {object} 左右相距的距离
  2429. * @return {object} 命名空间
  2430. */
  2431. U.MD.D.iconPostion = function (childs, top, left) {
  2432. var i; //用于循环处理
  2433. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2434. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2435. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2436. for (i = 0; i < childs.length; i++) {
  2437. //如果竖排top超过了范围处理
  2438. if (top + 95 > US.height - 10) {
  2439. //left超过了页面范围处理,则向上重叠打印处理
  2440. if ((left + 180) > US.width) {
  2441. top -= 110;
  2442. left -= 90;
  2443. }
  2444. //没有超过范围,那么left+90添加到下一个竖排打印
  2445. else {
  2446. left += 90;
  2447. top = 15;
  2448. };
  2449. }
  2450. //给图标的位置赋值
  2451. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2452. if (i < childs.length - 1) {
  2453. //页面图标每次向下加95
  2454. top += 95;
  2455. }
  2456. }
  2457. //返回最后调用的图标的位置
  2458. return [top, left];
  2459. }
  2460. /**
  2461. * 桌面排列图标
  2462. *
  2463. * @param {element} 桌面元素
  2464. * @param {object} 上下相距的距离
  2465. * @param {object} 左右相距的距离
  2466. * @return {object} 命名空间
  2467. */
  2468. U.MD.D.iconPostion2 = function (childs, top, left) {
  2469. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2470. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2471. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2472. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2473. for (i = 0; i < childs.length; i++) {
  2474. //如果竖排top超过了范围处理
  2475. if (left + 150 > US.width - 10) {
  2476. //left超过了页面范围处理,则向上重叠打印处理
  2477. if ((top + 180) > US.Height) {
  2478. top -= 150;
  2479. left -= 150;
  2480. }
  2481. //没有超过范围,那么left+90添加到下一个竖排打印
  2482. else {
  2483. top += 150;
  2484. left = ol;
  2485. };
  2486. }
  2487. //给图标的位置赋值
  2488. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2489. if (i < childs.length - 1) {
  2490. //页面图标每次向下加95
  2491. left += 150;
  2492. }
  2493. }
  2494. //返回最后调用的图标的位置
  2495. return [top, left];
  2496. }
  2497. /**
  2498. * 桌面点击事件逻辑
  2499. *
  2500. * @param {element} 桌面元素
  2501. * @param {object} 上下相距的距离
  2502. * @param {object} 左右相距的距离
  2503. * @return {object} 命名空间
  2504. */
  2505. U.MD.D.click = function (el, obj) {
  2506. var _buttonnumber = event.button; //点击的按钮的事件值
  2507. var _userinfo = US.userInfo;
  2508. U.UF.EV.stopBubble(); //阻止向上冒泡
  2509. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2510. if (_buttonnumber < 2) {
  2511. //如果是click事件的处理
  2512. if (event.type == "click") {
  2513. //如果元素在mousemove事件中没有移动则出发click事件
  2514. if (!U.MD.D.I.IsDrag) {
  2515. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2516. U.alert("请先登录您的账号!");
  2517. setTimeout(() => {
  2518. U.MD.U.L.login();
  2519. }, 2000);
  2520. } else {
  2521. //打开应用处理
  2522. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2523. }
  2524. }
  2525. }
  2526. //如果是mouse事件的处理
  2527. else {
  2528. if (US.Config.type == '1') {
  2529. //拖动处理,添加拖动和拖动结束事件
  2530. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2531. }
  2532. }
  2533. U.MD.D.I.IsDrag = false;
  2534. }
  2535. }
  2536. /**
  2537. * 拖动的处理
  2538. *
  2539. */
  2540. U.MD.D.iconMove = function () {
  2541. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2542. U.MD.D.I.IsDrag = true;
  2543. }
  2544. /**
  2545. * 拖动结束后,这里是定位处理,以网状的形式定位
  2546. *
  2547. * @param {element} 拖动的元素
  2548. * @return {object} 命名空间
  2549. */
  2550. U.MD.D.iconUp = function (el) {
  2551. var _top = 15,
  2552. _left = 20,
  2553. _margin,
  2554. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2555. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2556. if (_positioninfo["OT"] > 15) {
  2557. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2558. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2559. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2560. }
  2561. if (_positioninfo["OL"] > 20) {
  2562. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2563. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2564. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2565. }
  2566. //while循环判断么一个重叠的元素
  2567. do {
  2568. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2569. _top = _positioninfo[0] + 95; //得到定位后的top
  2570. _left = _positioninfo[1]; //得到定位后的left
  2571. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2572. }
  2573. /**
  2574. * 判断拖动后图标是否重叠
  2575. *
  2576. * @param {element} 拖动的元素
  2577. * @param {element} 桌面所有的元素
  2578. * @param {array} 拖动元素的位置
  2579. ----------[0] 上 top
  2580. ----------[1] 左 left
  2581. * @return {object} 命名空间
  2582. */
  2583. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2584. //循环所有的图标
  2585. for (var i = 0; i < childs.length; i++) {
  2586. //判断有没有和该图标诶子重叠的元素
  2587. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2588. return childs[i]; //如果有返回
  2589. }
  2590. }
  2591. }
  2592. //#endregion
  2593. //#endregion
  2594. //#region 桌面应用
  2595. /**
  2596. * 打开应用
  2597. *
  2598. * @param {string} 类型
  2599. -----------------Disk 网盘系统
  2600. -----------------PDisk 学习系统网盘
  2601. -----------------Poto 图片
  2602. -----------------Video 视频
  2603. -----------------Music 音乐
  2604. -----------------Word word
  2605. -----------------Excel excel
  2606. -----------------Txt 记事本
  2607. -----------------PB 学习系统
  2608. -----------------Blog 朋友圈系统
  2609. -----------------FTP ftp系统
  2610. -----------------Group 好友群
  2611. -----------------SY 首页系统
  2612. -----------------Set 个人设置
  2613. -----------------XSet 系统设置
  2614. -----------------App 我们所有的app
  2615. -----------------BC c.1473.cn 平台
  2616. -----------------CWeb d.1473.cn 变成平台
  2617. -----------------其他的外联系统 我们统一用iframe打开
  2618. * @param {array} 类型
  2619. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2620. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2621. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2622. 如果第一个参数为其他,则无第二个参数
  2623. * @returns {array}
  2624. */
  2625. window.addEventListener('message', function (e) { // 监听 message 事件
  2626. // alert(e.data.type);
  2627. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2629. //3是展示全部阶段 2学生 1老师 4专家
  2630. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2632. //3是展示全部阶段 2学生 1老师 4专家
  2633. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2635. //3是展示全部阶段 2学生 1老师 4专家
  2636. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2637. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2638. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2639. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2640. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2641. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2642. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2643. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2644. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2645. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2646. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2647. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2648. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2649. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2650. //3是展示全部阶段 2学生 1老师 4专家
  2651. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2652. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2653. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2654. U.MD.D.I.selectUser();
  2655. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2656. var _formel = document.getElementById("study");
  2657. U.UF.F.windowZooming(_formel);
  2658. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2659. var _formel = document.getElementById("studyDetail");
  2660. U.UF.F.windowZooming(_formel);
  2661. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2662. var _formel = document.getElementById("studyDetail");
  2663. U.UF.F.windowZooming(_formel);
  2664. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2665. var _formel = document.getElementById("studentStudy");
  2666. U.UF.F.windowZooming(_formel);
  2667. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2668. // var _formel = document.getElementById("study");
  2669. //如果最大化了,那么就把他缩小
  2670. // if (_formel.ismaximize) {
  2671. // return;
  2672. // }
  2673. // U.UF.F.windowZooming(_formel);
  2674. // U.UF.F.topWindow(_formel);
  2675. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2676. // var _formel = document.getElementById("studyDetail");
  2677. //如果最大化了,那么就把他缩小
  2678. // if (_formel.ismaximize) {
  2679. // return;
  2680. // }
  2681. // U.UF.F.windowZooming(_formel);
  2682. // U.UF.F.topWindow(_formel);
  2683. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2684. // var _formel = document.getElementById("studentStudy");
  2685. // if (_formel.ismaximize) {
  2686. // return;
  2687. // }
  2688. // U.UF.F.windowZooming(_formel);
  2689. // U.UF.F.topWindow(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2691. var _formel = document.getElementById("study");
  2692. // if (_formel.ismaximize) {
  2693. // return;
  2694. // }
  2695. // U.UF.F.windowZooming(_formel);
  2696. U.UF.F.topWindow(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2698. var _formel = document.getElementById("studentIndex");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2701. var _formel = document.getElementById("studyDetailS");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2704. var _formel = document.getElementById("studioIndex");
  2705. U.UF.F.windowZooming(_formel);
  2706. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2707. var _formel = document.getElementById("studyDetailStudio");
  2708. U.UF.F.windowZooming(_formel);
  2709. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2710. var _formel = document.getElementById("studyDetailStudio");
  2711. U.UF.F.windowZooming(_formel);
  2712. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2713. var _formel = document.getElementById("studyDetailNT");
  2714. U.UF.F.windowZooming(_formel);
  2715. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2716. var _formel = document.getElementById("studyDetailS");
  2717. U.UF.F.windowZooming(_formel);
  2718. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2719. var _formel = document.getElementById("studyDetailS");
  2720. U.UF.F.topWindow(_formel);
  2721. } else if (e.data.tools && e.data.tools == "1") {
  2722. // U.MD.D.I.openApplication("whiteboard")
  2723. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2724. } else if (e.data.tools && e.data.tools == "2") {
  2725. U.MD.D.I.openApplication("note")
  2726. } else if (e.data.tools && e.data.tools == "3") {
  2727. // U.MD.D.I.openApplication("mind")
  2728. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2729. } else if (e.data.tools && e.data.tools == "4") {
  2730. U.MD.D.I.openApplication("investigation")
  2731. } else if (e.data.tools && e.data.tools == "6") {
  2732. // U.MD.D.I.openApplication("doc")
  2733. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "7") {
  2735. // U.MD.D.I.openApplication("mindNetwork")
  2736. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2737. } else if (e.data.tools && e.data.tools == "8") {
  2738. U.MD.D.I.openApplication("library")
  2739. } else if (e.data.tools && e.data.tools == "17") {
  2740. U.MD.D.I.openApplication("stuLibrary")
  2741. } else if (e.data.tools && e.data.tools == "18") {
  2742. U.MD.D.I.openApplication("train")
  2743. } else if (e.data.tools && e.data.tools == "21") {
  2744. U.MD.D.I.openApplication("program")
  2745. } else if (e.data.tools && e.data.tools == "22") {
  2746. U.MD.D.I.openApplication("AIprogram2")
  2747. } else if (e.data.tools && e.data.tools == "23") {
  2748. U.MD.D.I.openApplication("Pythonprogram")
  2749. } else if (e.data.tools && e.data.tools == "24") {
  2750. U.MD.D.I.openApplication("AIprogram")
  2751. } else if (e.data.tools && e.data.tools == "25") {
  2752. U.MD.D.I.openApplication("sys")
  2753. } else if (e.data.tools && e.data.tools == "26") {
  2754. // U.MD.D.I.openApplication("courseDesign")
  2755. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2756. } else if (e.data.tools && e.data.tools == "31") {
  2757. U.MD.D.I.openApplication("netWorkPanel")
  2758. } else if (e.data.tools && e.data.tools == "32") {
  2759. U.MD.D.I.openApplication("codeEdit")
  2760. } else if (e.data.tools && e.data.tools == "57") {
  2761. U.MD.D.I.openApplication("CocoPi")
  2762. } else if (e.data.tools && e.data.tools == "63") {
  2763. U.MD.D.I.openApplication("Wood")
  2764. } else if (e.data.tools && e.data.tools == "58") {
  2765. U.MD.D.I.openApplication("car")
  2766. } else if (e.data.tools && e.data.tools == "59") {
  2767. U.MD.D.I.openApplication("lineSearch")
  2768. } else if (e.data.tools && e.data.tools == "60") {
  2769. U.MD.D.I.openApplication("deepLearning")
  2770. } else if (e.data.tools && e.data.tools == "61") {
  2771. U.MD.D.I.openApplication("allHistory")
  2772. } else if (e.data.tools && e.data.tools == "28") {
  2773. U.MD.D.I.openApplication("translation")
  2774. } else if (e.data.tools && e.data.tools == "37") {
  2775. U.MD.D.I.openApplication("mohe")
  2776. } else if (e.data.tools && e.data.tools == "38") {
  2777. U.MD.D.I.openApplication("24game")
  2778. } else if (e.data.tools && e.data.tools == "39") {
  2779. U.MD.D.I.openApplication("GeoGebra")
  2780. } else if (e.data.tools && e.data.tools == "43") {
  2781. U.MD.D.I.openApplication("studentEvaluate")
  2782. } else if (e.data.tools && e.data.tools == "44") {
  2783. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2784. } else if (e.data.tools && e.data.tools == "46") {
  2785. U.MD.D.I.openApplication("project")
  2786. } else if (e.data.tools && e.data.tools == "1s") {
  2787. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2788. } else if (e.data.tools && e.data.tools == "3s") {
  2789. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2790. } else if (e.data.tools && e.data.tools == "6s") {
  2791. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "1studio") {
  2793. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2794. } else if (e.data.tools && e.data.tools == "3studio") {
  2795. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "6studio") {
  2797. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "3y") {
  2799. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "1y") {
  2801. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2803. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2804. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2805. U.MD.D.I.openApplication("AIAnalyse")
  2806. } else if (e.data.tools && e.data.tools == "1teacher") {
  2807. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2808. } else if (e.data.tools && e.data.tools == "3teacher") {
  2809. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2810. } else if (e.data.tools && e.data.tools == "7teacher") {
  2811. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2812. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2813. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2815. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2816. } else if (e.data.tools && e.data.tools == "1E") {
  2817. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2818. } else if (e.data.tools && e.data.tools == "3E") {
  2819. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2820. } else if (e.data.tools && e.data.tools == "57y") {
  2821. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2822. } else if (e.data.tools && e.data.tools == "57u") {
  2823. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2824. } else if (e.data.tools && e.data.tools == "57teacher") {
  2825. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2826. } else if (e.data.tools && e.data.tools == "64") {
  2827. U.MD.D.I.openApplication("AIChat")
  2828. } else if (e.data.tools && e.data.tools == "66") {
  2829. U.MD.D.I.openApplication("formulaEdi")
  2830. } else if (e.data.tools && e.data.tools == "67") {
  2831. U.MD.D.I.openApplication("molStr")
  2832. } else if (e.data.tools && e.data.tools == "68") {
  2833. U.MD.D.I.openApplication("timeAxis")
  2834. } else if (e.data.tools && e.data.tools == "openCourse") {
  2835. let _data = {
  2836. typea: e.data.typea || '',
  2837. typeb: e.data.typeb || '',
  2838. typed: e.data.typed || '',
  2839. }
  2840. U.MD.D.I.openInApplication("index", _data)
  2841. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2842. let _data = {
  2843. classid: e.data.classid || '',
  2844. }
  2845. U.MD.D.I.openInApplication("dataClass", _data)
  2846. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2847. let _data = {
  2848. cid: e.data.cid || '',
  2849. gid: e.data.gid || '',
  2850. }
  2851. U.MD.D.I.openInApplication("opencCscl", _data)
  2852. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2853. U.MD.D.I.openApplication("dataBoardTest")
  2854. }
  2855. });
  2856. U.MD.D.I.selectUser = function () {
  2857. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2858. if (res.value[0].length > 0) {
  2859. US.userInfo = res.value[0][0];
  2860. $(".userName")[0].innerHTML = US.userInfo.username;
  2861. }
  2862. }, [], { "type": "GET", "withCredentials": true });
  2863. }
  2864. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2865. var _userinfo = US.userInfo, //登录用户信息
  2866. _userid = US.userInfo.userid, //登录用户id
  2867. _oid = _userinfo.organizeid,
  2868. _type = US.userInfo.type,
  2869. _org = US.userInfo.org,
  2870. _role = US.userInfo.role,
  2871. _classId = US.userInfo.classid;
  2872. if (_type == 4) {
  2873. tType = 4
  2874. }
  2875. switch (str) {
  2876. case "studyDetailNT": //无终端模式
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "课程详情",
  2884. $$("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 }), {
  2885. "id": "studyDetailNT",
  2886. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2887. "onresize": function () { }
  2888. }, {
  2889. closecallback: function () { }
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _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); } }
  2892. break;
  2893. }
  2894. case "studyDetail":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "课程详情",
  2902. $$("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 }), {
  2903. "id": "studyDetail",
  2904. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. }
  2912. case "studyDetailTrain":
  2913. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2914. setTimeout(() => {
  2915. U.MD.U.L.login();
  2916. }, 2000);
  2917. } else {
  2918. _formdiv = new U.UF.UI.form(
  2919. "培训详情",
  2920. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2921. "id": "studyDetailTrain",
  2922. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. }
  2930. case "studyDetailS":
  2931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2932. setTimeout(() => {
  2933. U.MD.U.L.login();
  2934. }, 2000);
  2935. } else {
  2936. _formdiv = new U.UF.UI.form(
  2937. "项目详情",
  2938. $$("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 }), {
  2939. "id": "studyDetailS",
  2940. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. }
  2948. case "studyDetailStudio":
  2949. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2950. setTimeout(() => {
  2951. U.MD.U.L.login();
  2952. }, 2000);
  2953. } else {
  2954. _formdiv = new U.UF.UI.form(
  2955. "工作详情",
  2956. $$("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 }), {
  2957. "id": "studyDetailStudio",
  2958. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. }
  2966. case "studyDetailS5":
  2967. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2968. setTimeout(() => {
  2969. U.MD.U.L.login();
  2970. }, 2000);
  2971. } else {
  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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2975. "id": "studyDetailS",
  2976. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2982. break;
  2983. }
  2984. case "studyDetailGM":
  2985. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2986. setTimeout(() => {
  2987. U.MD.U.L.login();
  2988. }, 2000);
  2989. } else {
  2990. _formdiv = new U.UF.UI.form(
  2991. "课程详情",
  2992. $$("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 }), {
  2993. "id": "studyDetail",
  2994. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2995. "onresize": function () { }
  2996. }, {
  2997. closecallback: function () { }
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _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); } }
  3000. break;
  3001. }
  3002. case "hanUrl":
  3003. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3004. setTimeout(() => {
  3005. U.MD.U.L.login();
  3006. }, 2000);
  3007. } else {
  3008. _formdiv = new U.UF.UI.form(
  3009. "汉字宫",
  3010. $$("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" }), {
  3011. "id": "hanUrl",
  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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3018. break;
  3019. }
  3020. case "index":
  3021. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3022. setTimeout(() => {
  3023. U.MD.U.L.login();
  3024. }, 2000);
  3025. } else {
  3026. _formdiv = new U.UF.UI.form(
  3027. "课程中心",
  3028. $$("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 }), {
  3029. "id": "study",
  3030. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3036. break;
  3037. }
  3038. case "dataClass":
  3039. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3040. setTimeout(() => {
  3041. U.MD.U.L.login();
  3042. }, 2000);
  3043. } else {
  3044. _formdiv = new U.UF.UI.form(
  3045. "数据报告",
  3046. $$("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 }), {
  3047. "id": "dataClass",
  3048. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3049. "onresize": function () { }
  3050. }, {
  3051. closecallback: function () { }
  3052. }, { "style": { "height": "36px" } }).form; //创建窗体
  3053. _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); } }
  3054. break;
  3055. }
  3056. case "opencCscl":
  3057. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3058. setTimeout(() => {
  3059. U.MD.U.L.login();
  3060. }, 2000);
  3061. } else {
  3062. _formdiv = new U.UF.UI.form(
  3063. "协同建构",
  3064. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3065. "id": "futureClass",
  3066. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3067. "onresize": function () { }
  3068. }, {
  3069. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3070. }, { "style": { "height": "36px" } }).form; //创建窗体
  3071. _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); } }
  3072. break;
  3073. }
  3074. }
  3075. }
  3076. U.MD.D.I.openApplication = function (str, obj, info) {
  3077. obj = obj || {};
  3078. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3079. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3080. _userinfo = US.userInfo, //登录用户信息
  3081. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3082. _oid = obj.organizeid || _userinfo.organizeid,
  3083. _type = US.userInfo.type,
  3084. _org = US.userInfo.org,
  3085. _role = US.userInfo.role,
  3086. _classId = US.userInfo.classid,
  3087. _TscreenType = 1
  3088. _screenType = 2,
  3089. _SscreenType = 3;
  3090. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3091. return;
  3092. }
  3093. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3094. switch (str) {
  3095. case "studnetProject": //好友打开
  3096. _formdiv = new U.UF.UI.form(
  3097. "我的项目",
  3098. $$("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 }), {
  3099. "id": "studnetProject",
  3100. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function () { }
  3102. }, {
  3103. closecallback: function () { }
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _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); } }
  3106. break;
  3107. case "studentEvaluate": //好友打开
  3108. _formdiv = new U.UF.UI.form(
  3109. "我的评价",
  3110. $$("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 }), {
  3111. "id": "studentEvaluate",
  3112. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _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); } }
  3118. break;
  3119. case "my":
  3120. _formdiv = new U.UF.UI.form(
  3121. "我的资料",
  3122. $$("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 }), {
  3123. "id": "my",
  3124. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function () { }
  3126. }, {
  3127. closecallback: function () { }
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. case "program":
  3132. _formdiv = new U.UF.UI.form(
  3133. "编程平台",
  3134. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3135. "id": "program",
  3136. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function () { }
  3138. }, {
  3139. closecallback: function () { }
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "library":
  3144. _formdiv = new U.UF.UI.form(
  3145. "素材库",
  3146. $$("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 }), {
  3147. "id": "library",
  3148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function () { }
  3150. }, {
  3151. closecallback: function () { }
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. case "whiteboard":
  3156. _formdiv = new U.UF.UI.form(
  3157. "电子白板",
  3158. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3159. "id": "whiteboard",
  3160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. "onresize": function () { }
  3162. }, {
  3163. closecallback: function () { }
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "investigation":
  3168. _formdiv = new U.UF.UI.form(
  3169. "问卷调查",
  3170. $$("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 }), {
  3171. "id": "investigation",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function () { }
  3174. }, {
  3175. closecallback: function () { }
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "note":
  3180. _formdiv = new U.UF.UI.form(
  3181. "便签分类",
  3182. $$("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 }), {
  3183. "id": "note",
  3184. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function () { }
  3186. }, {
  3187. closecallback: function () { }
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _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); } }
  3190. break;
  3191. // case "score":
  3192. // _formdiv = new U.UF.UI.form(
  3193. // "量规评分",
  3194. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3195. // "id": "score",
  3196. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3197. // "onresize": function() {}
  3198. // }, {
  3199. // closecallback: function() {}
  3200. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. // _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); } }
  3202. // break;
  3203. case "mind":
  3204. _formdiv = new U.UF.UI.form(
  3205. "思维导图",
  3206. $$("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"
  3207. "id": "mind",
  3208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. "onresize": function () { }
  3210. }, {
  3211. closecallback: function () { }
  3212. }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. _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); } }
  3214. break;
  3215. case "doc":
  3216. // U.MD.D.I.isRoom();
  3217. _formdiv = new U.UF.UI.form(
  3218. "协同文档",
  3219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3220. "id": "doc",
  3221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3222. "onresize": function () { }
  3223. }, {
  3224. closecallback: function () { }
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3227. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3228. // })
  3229. _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); } }
  3230. break;
  3231. case "studentStudy":
  3232. _formdiv = new U.UF.UI.form(
  3233. "课程中心",
  3234. $$("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
  3235. "id": "studentStudy",
  3236. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3237. "onresize": function () { }
  3238. }, {
  3239. closecallback: function () { }
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _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); } }
  3242. break;
  3243. case "train": //好友打开
  3244. _formdiv = new U.UF.UI.form(
  3245. "训练平台",
  3246. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3247. "id": "train",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function () { }
  3250. }, {
  3251. closecallback: function () { }
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3254. break;
  3255. case "mindNetwork": //好友打开
  3256. _formdiv = new U.UF.UI.form(
  3257. "思维网格",
  3258. $$("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 }), {
  3259. "id": "mindNetwork",
  3260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "studentClassRoom": //好友打开
  3268. _formdiv = new U.UF.UI.form(
  3269. "实时课堂",
  3270. $$("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 }), {
  3271. "id": "studentClassRoom",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3278. setTimeout(() => {
  3279. U.UF.F.windowZooming(_formdiv)
  3280. }, 0);
  3281. break;
  3282. }
  3283. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3284. switch (str) {
  3285. case "studnetProject": //好友打开
  3286. _formdiv = new U.UF.UI.form(
  3287. "我的项目",
  3288. $$("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 }), {
  3289. "id": "studnetProject",
  3290. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "studentEvaluate": //好友打开
  3298. _formdiv = new U.UF.UI.form(
  3299. "我的评价",
  3300. $$("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 }), {
  3301. "id": "studentEvaluate",
  3302. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function () { }
  3304. }, {
  3305. closecallback: function () { }
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. break;
  3309. case "my":
  3310. _formdiv = new U.UF.UI.form(
  3311. "我的资料",
  3312. $$("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 }), {
  3313. "id": "my",
  3314. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function () { }
  3316. }, {
  3317. closecallback: function () { }
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. case "program":
  3322. _formdiv = new U.UF.UI.form(
  3323. "编程平台",
  3324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3325. "id": "program",
  3326. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function () { }
  3328. }, {
  3329. closecallback: function () { }
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "library":
  3334. _formdiv = new U.UF.UI.form(
  3335. "素材库",
  3336. $$("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 }), {
  3337. "id": "library",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function () { }
  3340. }, {
  3341. closecallback: function () { }
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. case "whiteboard":
  3346. _formdiv = new U.UF.UI.form(
  3347. "电子白板",
  3348. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3349. "id": "whiteboard",
  3350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3351. "onresize": function () { }
  3352. }, {
  3353. closecallback: function () { }
  3354. }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. _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); } }
  3356. break;
  3357. case "investigation":
  3358. _formdiv = new U.UF.UI.form(
  3359. "问卷调查",
  3360. $$("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 }), {
  3361. "id": "investigation",
  3362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. "onresize": function () { }
  3364. }, {
  3365. closecallback: function () { }
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _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); } }
  3368. break;
  3369. case "note":
  3370. _formdiv = new U.UF.UI.form(
  3371. "便签分类",
  3372. $$("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 }), {
  3373. "id": "note",
  3374. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function () { }
  3376. }, {
  3377. closecallback: function () { }
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. _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); } }
  3380. break;
  3381. // case "score":
  3382. // _formdiv = new U.UF.UI.form(
  3383. // "量规评分",
  3384. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3385. // "id": "score",
  3386. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3387. // "onresize": function() {}
  3388. // }, {
  3389. // closecallback: function() {}
  3390. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3391. // _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); } }
  3392. // break;
  3393. case "mind":
  3394. _formdiv = new U.UF.UI.form(
  3395. "思维导图",
  3396. $$("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"
  3397. "id": "mind",
  3398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3399. "onresize": function () { }
  3400. }, {
  3401. closecallback: function () { }
  3402. }, { "style": { "height": "36px" } }).form; //创建窗体
  3403. _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); } }
  3404. break;
  3405. case "doc":
  3406. // U.MD.D.I.isRoom();
  3407. _formdiv = new U.UF.UI.form(
  3408. "协同文档",
  3409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3410. "id": "doc",
  3411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3417. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3418. })
  3419. _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); } }
  3420. break;
  3421. case "train": //好友打开
  3422. _formdiv = new U.UF.UI.form(
  3423. "训练平台",
  3424. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3425. "id": "train",
  3426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. break;
  3433. case "studentStudy":
  3434. _formdiv = new U.UF.UI.form(
  3435. "课程中心",
  3436. $$("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
  3437. "id": "studentStudy",
  3438. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3439. "onresize": function () { }
  3440. }, {
  3441. closecallback: function () { }
  3442. }, { "style": { "height": "36px" } }).form; //创建窗体
  3443. _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); } }
  3444. break;
  3445. case "mindNetwork": //好友打开
  3446. _formdiv = new U.UF.UI.form(
  3447. "思维网格",
  3448. $$("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 }), {
  3449. "id": "mindNetwork",
  3450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3451. "onresize": function () { }
  3452. }, {
  3453. closecallback: function () { }
  3454. }, { "style": { "height": "36px" } }).form; //创建窗体
  3455. _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); } }
  3456. break;
  3457. case "studentClassRoom": //好友打开
  3458. _formdiv = new U.UF.UI.form(
  3459. "实时课堂",
  3460. $$("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 }), {
  3461. "id": "studentClassRoom",
  3462. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3463. "onresize": function () { }
  3464. }, {
  3465. closecallback: function () { }
  3466. }, { "style": { "height": "36px" } }).form; //创建窗体
  3467. _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); } }
  3468. setTimeout(() => {
  3469. U.UF.F.windowZooming(_formdiv)
  3470. }, 0);
  3471. break;
  3472. }
  3473. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3474. //选择应用处理
  3475. switch (str) {
  3476. case "project": //好友打开
  3477. _formdiv = new U.UF.UI.form(
  3478. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3479. $$("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 }), {
  3480. "id": "project",
  3481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function () { }
  3483. }, {
  3484. closecallback: function () { }
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "student":
  3489. _formdiv = new U.UF.UI.form(
  3490. "学生管理",
  3491. $$("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 }), {
  3492. "id": "student",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. case "evaluate":
  3501. _formdiv = new U.UF.UI.form(
  3502. "学生评价",
  3503. $$("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 }), {
  3504. "id": "evaluate",
  3505. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. case "sys":
  3513. _formdiv = new U.UF.UI.form(
  3514. "目标管理",
  3515. $$("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 }), {
  3516. "id": "sys",
  3517. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "courseDesign":
  3525. _formdiv = new U.UF.UI.form(
  3526. "项目设计",
  3527. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3528. "id": "courseDesign",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "program":
  3537. _formdiv = new U.UF.UI.form(
  3538. "编程平台",
  3539. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3540. "id": "program",
  3541. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. break;
  3548. case "class":
  3549. _formdiv = new U.UF.UI.form(
  3550. "班级管理",
  3551. $$("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 }), {
  3552. "id": "class",
  3553. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3554. "onresize": function () { }
  3555. }, {
  3556. closecallback: function () { }
  3557. }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. _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); } }
  3559. break;
  3560. case "Grade":
  3561. _formdiv = new U.UF.UI.form(
  3562. "年级管理",
  3563. $$("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 }), {
  3564. "id": "Grade",
  3565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _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); } }
  3571. break;
  3572. case "teacherOffice":
  3573. _formdiv = new U.UF.UI.form(
  3574. "教研室",
  3575. $$("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 }), {
  3576. "id": "teacherOffice",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break;
  3584. case "my":
  3585. _formdiv = new U.UF.UI.form(
  3586. "我的资料",
  3587. $$("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 }), {
  3588. "id": "my",
  3589. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3590. "onresize": function () { }
  3591. }, {
  3592. closecallback: function () { }
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "notice":
  3597. _formdiv = new U.UF.UI.form(
  3598. "通知公告",
  3599. $$("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 }), {
  3600. "id": "notice",
  3601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function () { }
  3603. }, {
  3604. closecallback: function () { }
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "library":
  3609. _formdiv = new U.UF.UI.form(
  3610. "素材库",
  3611. $$("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 }), {
  3612. "id": "library",
  3613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. break;
  3620. case "whiteboard":
  3621. _formdiv = new U.UF.UI.form(
  3622. "电子白板",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3624. "id": "whiteboard",
  3625. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function () { }
  3627. }, {
  3628. closecallback: function () { }
  3629. }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. _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); } }
  3631. break;
  3632. case "investigation":
  3633. _formdiv = new U.UF.UI.form(
  3634. "问卷调查",
  3635. $$("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 }), {
  3636. "id": "investigation",
  3637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3638. "onresize": function () { }
  3639. }, {
  3640. closecallback: function () { }
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _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); } }
  3643. break;
  3644. case "note":
  3645. _formdiv = new U.UF.UI.form(
  3646. "便签分类",
  3647. $$("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 }), {
  3648. "id": "note",
  3649. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3650. "onresize": function () { }
  3651. }, {
  3652. closecallback: function () { }
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. _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); } }
  3655. break;
  3656. // case "score":
  3657. // _formdiv = new U.UF.UI.form(
  3658. // "量规评分",
  3659. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3660. // "id": "score",
  3661. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3662. // "onresize": function() {}
  3663. // }, {
  3664. // closecallback: function() {}
  3665. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3666. // _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); } }
  3667. // break;
  3668. case "mind":
  3669. _formdiv = new U.UF.UI.form(
  3670. "思维导图",
  3671. $$("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"
  3672. "id": "mind",
  3673. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3674. "onresize": function () { }
  3675. }, {
  3676. closecallback: function () { }
  3677. }, { "style": { "height": "36px" } }).form; //创建窗体
  3678. _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); } }
  3679. break;
  3680. case "doc":
  3681. // U.MD.D.I.isRoom();
  3682. _formdiv = new U.UF.UI.form(
  3683. "协同文档",
  3684. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3685. "id": "doc",
  3686. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3687. "onresize": function () { }
  3688. }, {
  3689. closecallback: function () { }
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3692. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3693. })
  3694. _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); } }
  3695. break;
  3696. case "study":
  3697. _formdiv = new U.UF.UI.form(
  3698. "课程中心",
  3699. $$("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
  3700. "id": "study",
  3701. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. break;
  3708. case "mindNetwork": //好友打开
  3709. _formdiv = new U.UF.UI.form(
  3710. "思维网格",
  3711. $$("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 }), {
  3712. "id": "mindNetwork",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "train": //好友打开
  3721. _formdiv = new U.UF.UI.form(
  3722. "训练平台",
  3723. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3724. "id": "mindNetwork",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. case "teacherClassRoom": //好友打开
  3733. _formdiv = new U.UF.UI.form(
  3734. "实时课堂",
  3735. $$("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 }), {
  3736. "id": "teacherClassRoom",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3743. setTimeout(() => {
  3744. U.UF.F.windowZooming(_formdiv)
  3745. }, 0);
  3746. break;
  3747. }
  3748. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3749. switch (str) {
  3750. case "project": //好友打开
  3751. _formdiv = new U.UF.UI.form(
  3752. "课程管理",
  3753. $$("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 }), {
  3754. "id": "project",
  3755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. case "evaluate":
  3763. _formdiv = new U.UF.UI.form(
  3764. "学生评价",
  3765. $$("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 }), {
  3766. "id": "evaluate",
  3767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _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); } }
  3773. break;
  3774. case "notice":
  3775. _formdiv = new U.UF.UI.form(
  3776. "通知公告",
  3777. $$("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 }), {
  3778. "id": "notice",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. case "stuLibrary":
  3787. _formdiv = new U.UF.UI.form(
  3788. "学习资料",
  3789. $$("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 }), {
  3790. "id": "stuLibrary",
  3791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. case "program":
  3799. _formdiv = new U.UF.UI.form(
  3800. "编程平台",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3802. "id": "program",
  3803. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "whiteboard":
  3811. _formdiv = new U.UF.UI.form(
  3812. "电子白板",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3814. "id": "whiteboard",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _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); } }
  3821. break;
  3822. case "investigation":
  3823. _formdiv = new U.UF.UI.form(
  3824. "问卷调查",
  3825. $$("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 }), {
  3826. "id": "investigation",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _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); } }
  3833. break;
  3834. case "mind":
  3835. _formdiv = new U.UF.UI.form(
  3836. "思维导图",
  3837. $$("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"
  3838. "id": "mind",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _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); } }
  3845. break;
  3846. case "doc":
  3847. // U.MD.D.I.isRoom();
  3848. _formdiv = new U.UF.UI.form(
  3849. "协同文档",
  3850. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3851. "id": "doc",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3858. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3859. })
  3860. _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); } }
  3861. break;
  3862. case "study":
  3863. _formdiv = new U.UF.UI.form(
  3864. "课程中心",
  3865. $$("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
  3866. "id": "study",
  3867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3868. "onresize": function () { }
  3869. }, {
  3870. closecallback: function () { }
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _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); } }
  3873. break;
  3874. case "mindNetwork": //好友打开
  3875. _formdiv = new U.UF.UI.form(
  3876. "思维网格",
  3877. $$("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 }), {
  3878. "id": "mindNetwork",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function () { }
  3881. }, {
  3882. closecallback: function () { }
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _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); } }
  3885. break;
  3886. case "train": //好友打开
  3887. _formdiv = new U.UF.UI.form(
  3888. "训练平台",
  3889. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3890. "id": "train",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _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); } }
  3897. break;
  3898. case "sys":
  3899. _formdiv = new U.UF.UI.form(
  3900. "目标管理",
  3901. $$("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 }), {
  3902. "id": "sys",
  3903. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3904. "onresize": function () { }
  3905. }, {
  3906. closecallback: function () { }
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. break;
  3910. case "courseDesign":
  3911. _formdiv = new U.UF.UI.form(
  3912. "项目设计",
  3913. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3914. "id": "courseDesign",
  3915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _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); } }
  3921. break;
  3922. }
  3923. } else if (!_type) {
  3924. switch (str) {
  3925. case "my":
  3926. _formdiv = new U.UF.UI.form(
  3927. "我的资料",
  3928. $$("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 }), {
  3929. "id": "my",
  3930. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. }
  3938. }
  3939. switch (str) {
  3940. // AIprogram2 AI体验 aihub.cocorobo.cn
  3941. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3942. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3943. case "formulaEdi": //公式编辑
  3944. _formdiv = new U.UF.UI.form(
  3945. "公式编辑",
  3946. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3947. "id": "formulaEdi",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. case "molStr": //分子结构
  3956. _formdiv = new U.UF.UI.form(
  3957. "分子结构",
  3958. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3959. "id": "molStr",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "timeAxis": //时间轴
  3968. _formdiv = new U.UF.UI.form(
  3969. "时间轴",
  3970. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3971. "id": "timeAxis",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "AIprogram2": //AI体验
  3980. _formdiv = new U.UF.UI.form(
  3981. "AI体验",
  3982. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3983. "id": "AIprogram2",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "Pythonprogram": //python编程
  3992. _formdiv = new U.UF.UI.form(
  3993. "Python编程",
  3994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3995. "id": "Pythonprogram",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "AIprogram": //ai编程
  4004. _formdiv = new U.UF.UI.form(
  4005. "AI编程平台",
  4006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4007. "id": "AIprogram",
  4008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function () { }
  4010. }, {
  4011. closecallback: function () { }
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _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); } }
  4014. break;
  4015. case "CocoPi": //CocoPi
  4016. _formdiv = new U.UF.UI.form(
  4017. "CocoPi",
  4018. $$("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" }), {
  4019. "id": "CocoPi",
  4020. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function () { }
  4022. }, {
  4023. closecallback: function () { }
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "Wood": //Wood
  4028. _formdiv = new U.UF.UI.form(
  4029. "海龟编程",
  4030. $$("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/" }), {
  4031. "id": "Wood",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "car": //模拟驾驶
  4040. _formdiv = new U.UF.UI.form(
  4041. "模拟驾驶",
  4042. $$("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/" }), {
  4043. "id": "car",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "lineSearch": //路径搜索
  4052. _formdiv = new U.UF.UI.form(
  4053. "路径搜索",
  4054. $$("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/" }), {
  4055. "id": "lineSearch",
  4056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function () { }
  4058. }, {
  4059. closecallback: function () { }
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "deepLearning": //深度学习
  4064. _formdiv = new U.UF.UI.form(
  4065. "深度学习",
  4066. $$("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/#" }), {
  4067. "id": "deepLearning",
  4068. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "allHistory": //深度学习
  4076. _formdiv = new U.UF.UI.form(
  4077. "全历史",
  4078. $$("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/" }), {
  4079. "id": "allHistory",
  4080. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function () { }
  4082. }, {
  4083. closecallback: function () { }
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break;
  4087. case "chatPDF": //ai编程
  4088. _formdiv = new U.UF.UI.form(
  4089. "chatPDF",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4091. "id": "chatPDF",
  4092. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function () { }
  4094. }, {
  4095. closecallback: function () { }
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "resources": //国家教育
  4100. _formdiv = new U.UF.UI.form(
  4101. "国家教育",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4103. "id": "resources",
  4104. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "codeEdit": //源码编辑
  4112. _formdiv = new U.UF.UI.form(
  4113. "源码编辑",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4115. "id": "codeEdit",
  4116. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break; //
  4123. case "MindMap": //MindMap
  4124. _formdiv = new U.UF.UI.form(
  4125. "MindMap",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4127. "id": "MindMap",
  4128. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "netWorkPanel": //netWorkPanel
  4136. _formdiv = new U.UF.UI.form(
  4137. "netWorkPanel",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4139. "id": "netWorkPanel",
  4140. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. case "GeoGebra": //GeoGebra
  4148. _formdiv = new U.UF.UI.form(
  4149. "GeoGebra",
  4150. $$("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" }), {
  4151. "id": "GeoGebra",
  4152. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4153. "onresize": function () { }
  4154. }, {
  4155. closecallback: function () { }
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "translation": //翻译
  4160. _formdiv = new U.UF.UI.form(
  4161. "翻译",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4163. "id": "translation",
  4164. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function () { }
  4166. }, {
  4167. closecallback: function () { }
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. case "mohe": //魔盒
  4172. _formdiv = new U.UF.UI.form(
  4173. "魔盒识字",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4175. "id": "mohe",
  4176. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4177. "onresize": function () { }
  4178. }, {
  4179. closecallback: function () { }
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. case "24game": //24点
  4184. _formdiv = new U.UF.UI.form(
  4185. "24点",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4187. "id": "24game",
  4188. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "case":
  4196. _formdiv = new U.UF.UI.form(
  4197. "课程进展",
  4198. $$("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 }), {
  4199. "id": "case",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function () { }
  4202. }, {
  4203. closecallback: function () { }
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "snf":
  4208. _formdiv = new U.UF.UI.form(
  4209. "赛诺梵",
  4210. $$("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" }), {
  4211. "id": "snf",
  4212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "hanFamily":
  4220. _formdiv = new U.UF.UI.form(
  4221. "汉字家族",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4223. "id": "hanFamily",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "hanClassics":
  4232. _formdiv = new U.UF.UI.form(
  4233. "国学经典",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4235. "id": "hanClassics",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "hanTraining":
  4244. _formdiv = new U.UF.UI.form(
  4245. "笔画训练",
  4246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4247. "id": "hanTraining",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _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); } }
  4254. break;
  4255. case "hanClass":
  4256. _formdiv = new U.UF.UI.form(
  4257. "书法课堂",
  4258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4259. "id": "hanClass",
  4260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. case "han":
  4268. _formdiv = new U.UF.UI.form(
  4269. "汉字宫",
  4270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4271. "id": "han",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _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); } }
  4278. break;
  4279. case "projectGM": //课程管理
  4280. _formdiv = new U.UF.UI.form(
  4281. "课程管理",
  4282. $$("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 }), {
  4283. "id": "projectGM",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. case "studyGM": //课程中心
  4292. _formdiv = new U.UF.UI.form(
  4293. "课程中心",
  4294. $$("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
  4295. "id": "study",
  4296. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. // studentGM
  4304. case "studentGM": //学生管理
  4305. _formdiv = new U.UF.UI.form(
  4306. "学生管理",
  4307. $$("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 }), {
  4308. "id": "studentGM",
  4309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4310. "onresize": function () { }
  4311. }, {
  4312. closecallback: function () { }
  4313. }, { "style": { "height": "36px" } }).form; //创建窗体
  4314. _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); } }
  4315. break;
  4316. case "evaluateGM": //学生评价
  4317. _formdiv = new U.UF.UI.form(
  4318. "学生评价",
  4319. $$("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 }), {
  4320. "id": "evaluateGM",
  4321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4322. "onresize": function () { }
  4323. }, {
  4324. closecallback: function () { }
  4325. }, { "style": { "height": "36px" } }).form; //创建窗体
  4326. _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); } }
  4327. break;
  4328. // classGM
  4329. case "classGM": //班级管理
  4330. _formdiv = new U.UF.UI.form(
  4331. "班级管理",
  4332. $$("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 }), {
  4333. "id": "classGM",
  4334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. // dataGM
  4342. case "dataGM":
  4343. _formdiv = new U.UF.UI.form(
  4344. "我的资料",
  4345. $$("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 }), {
  4346. "id": "dataGM",
  4347. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. // caseGM
  4355. case "caseGM": //课程进展
  4356. _formdiv = new U.UF.UI.form(
  4357. "课程进展",
  4358. $$("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 }), {
  4359. "id": "caseGM",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function () { }
  4362. }, {
  4363. closecallback: function () { }
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4366. break;
  4367. // meterialGM
  4368. case "meterialGM": //素材库
  4369. _formdiv = new U.UF.UI.form(
  4370. "素材库",
  4371. $$("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 }), {
  4372. "id": "meterialGM",
  4373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4374. "onresize": function () { }
  4375. }, {
  4376. closecallback: function () { }
  4377. }, { "style": { "height": "36px" } }).form; //创建窗体
  4378. _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); } }
  4379. break;
  4380. // evaluateSGM
  4381. case "evaluateSGM": //我的评价
  4382. _formdiv = new U.UF.UI.form(
  4383. "我的评价",
  4384. $$("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 }), {
  4385. "id": "evaluateSGM",
  4386. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "jupyter": //jupyter
  4394. _formdiv = new U.UF.UI.form(
  4395. "jupyter",
  4396. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4397. "id": "jupyter",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "number": //数字实验室
  4406. _formdiv = new U.UF.UI.form(
  4407. "数字实验室",
  4408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4409. "id": "number",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () { }
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _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); } }
  4416. break;
  4417. case "studentCourse": //项目管理 学生
  4418. _formdiv = new U.UF.UI.form(
  4419. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4420. $$("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 }), {
  4421. "id": "studentCourse",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "studentCourseS": //项目管理 老师
  4430. _formdiv = new U.UF.UI.form(
  4431. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4432. $$("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 }), {
  4433. "id": "studentCourseS",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "studentIndex": //项目中心
  4442. _formdiv = new U.UF.UI.form(
  4443. "项目中心",
  4444. $$("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 }), {
  4445. "id": "studentIndex",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _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); } }
  4452. break;
  4453. case "CaseDesignS":
  4454. _formdiv = new U.UF.UI.form(
  4455. "项目进展",
  4456. $$("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 }), {
  4457. "id": "case",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _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); } }
  4464. break;
  4465. case "tcStudent": //腾讯学生管理
  4466. _formdiv = new U.UF.UI.form(
  4467. "学生管理",
  4468. $$("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 }), {
  4469. "id": "tcStudent",
  4470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _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); } }
  4476. break;
  4477. case "tcSchool": //腾讯学校管理
  4478. _formdiv = new U.UF.UI.form(
  4479. "学校管理",
  4480. $$("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 }), {
  4481. "id": "tcSchool",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "tcTeacher": //腾讯学校管理
  4490. _formdiv = new U.UF.UI.form(
  4491. "教师管理",
  4492. $$("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 }), {
  4493. "id": "tcTeacher",
  4494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _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); } }
  4500. break;
  4501. case "tcData": //腾讯我的资料
  4502. _formdiv = new U.UF.UI.form(
  4503. "我的资料",
  4504. $$("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 }), {
  4505. "id": "tcData",
  4506. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _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); } }
  4512. break;
  4513. case "tcNotice": //腾讯消息通知
  4514. _formdiv = new U.UF.UI.form(
  4515. "消息通知",
  4516. $$("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 }), {
  4517. "id": "tcNotice",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _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); } }
  4524. break;
  4525. case "myReport": //好友打开
  4526. _formdiv = new U.UF.UI.form(
  4527. "我的评价",
  4528. $$("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 }), {
  4529. "id": "myReport",
  4530. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4531. "onresize": function () { }
  4532. }, {
  4533. closecallback: function () { }
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4536. break;
  4537. case "learnAna": //好友打开
  4538. _formdiv = new U.UF.UI.form(
  4539. "学习分析",
  4540. $$("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 }), {
  4541. "id": "learnAna",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () { }
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _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); } }
  4548. break;
  4549. case "AIChat": //AI共创
  4550. _formdiv = new U.UF.UI.form(
  4551. "AI共创",
  4552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4553. "id": "AIChat",
  4554. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4555. "onresize": function () { }
  4556. }, {
  4557. istop: true,
  4558. closecallback: function () { $("#aichat_icon").remove(); },
  4559. narrowcallback: function () {
  4560. if (!$("#aichat_icon")[0]) {
  4561. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4562. }
  4563. },
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "ainew": //AI共创
  4568. _formdiv = new U.UF.UI.form(
  4569. "AI协同",
  4570. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4571. "id": "ainew",
  4572. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4573. "onresize": function () { }
  4574. }, {
  4575. closecallback: function () { }
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _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); } }
  4578. break;
  4579. case "gpt4": //gpt4
  4580. _formdiv = new U.UF.UI.form(
  4581. "AI助手",
  4582. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4583. "id": "gpt4",
  4584. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4585. "onresize": function () { }
  4586. }, {
  4587. closecallback: function () { }
  4588. }, { "style": { "height": "36px" } }).form; //创建窗体
  4589. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4590. break;
  4591. case "aigpt": //gpt4
  4592. _formdiv = new U.UF.UI.form(
  4593. "AI助手+",
  4594. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4595. "id": "aigpt",
  4596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4597. "onresize": function () { }
  4598. }, {
  4599. closecallback: function () { }
  4600. }, { "style": { "height": "36px" } }).form; //创建窗体
  4601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4602. break;
  4603. case "futureClass": //AI共创
  4604. _formdiv = new U.UF.UI.form(
  4605. "协同建构",
  4606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4607. "id": "synergyCourse",
  4608. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4609. "onresize": function () { }
  4610. }, {
  4611. closecallback: function () {
  4612. $("iframe", _formdiv)[0].contentWindow.loginout();
  4613. }
  4614. }, { "style": { "height": "36px" } }).form; //创建窗体
  4615. _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); } }
  4616. break;
  4617. case "aiagent": //ai agent
  4618. _formdiv = new U.UF.UI.form(
  4619. "AI Agent",
  4620. $$("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" }), {
  4621. "id": "AIAgent",
  4622. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4623. "onresize": function () { }
  4624. }, {
  4625. closecallback: function () { }
  4626. }, { "style": { "height": "36px" } }).form; //创建窗体
  4627. _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); } }
  4628. break;
  4629. case "dataBoard": //数据看板
  4630. _formdiv = new U.UF.UI.form(
  4631. "数据看板",
  4632. $$("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 }), {
  4633. "id": "dataBoard",
  4634. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4635. "onresize": function () { }
  4636. }, {
  4637. closecallback: function () { }
  4638. }, { "style": { "height": "36px" } }).form; //创建窗体
  4639. _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); } }
  4640. break;
  4641. case "dataBoardSies": //数据融合
  4642. _formdiv = new U.UF.UI.form(
  4643. "数据融合",
  4644. $$("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 }), {
  4645. "id": "dataBoardSies",
  4646. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4647. "onresize": function () { }
  4648. }, {
  4649. closecallback: function () { }
  4650. }, { "style": { "height": "36px" } }).form; //创建窗体
  4651. _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); } }
  4652. break;
  4653. case "dataBoardNew": //数据看板
  4654. _formdiv = new U.UF.UI.form(
  4655. "综合看板",
  4656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4657. "id": "dataBoardNew",
  4658. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4659. "onresize": function () { }
  4660. }, {
  4661. closecallback: function () { }
  4662. }, { "style": { "height": "36px" } }).form; //创建窗体
  4663. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4664. break;
  4665. case "dataBoardTest": //数据看板
  4666. _formdiv = new U.UF.UI.form(
  4667. "评测看板",
  4668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4669. "id": "dataBoardTest",
  4670. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4671. "onresize": function () { }
  4672. }, {
  4673. closecallback: function () { }
  4674. }, { "style": { "height": "36px" } }).form; //创建窗体
  4675. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4676. break;
  4677. case "AIAnalyse": //AI共创
  4678. _formdiv = new U.UF.UI.form(
  4679. "AI分析",
  4680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4681. "id": "AIAnalyse",
  4682. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4683. "onresize": function () { }
  4684. }, {
  4685. closecallback: function () { }
  4686. }, { "style": { "height": "36px" } }).form; //创建窗体
  4687. _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); } }
  4688. break;
  4689. case "studioCourse": //AI共创
  4690. _formdiv = new U.UF.UI.form(
  4691. "工作管理",
  4692. $$("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 }), {
  4693. "id": "studioCourse",
  4694. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4695. "onresize": function () { }
  4696. }, {
  4697. closecallback: function () { }
  4698. }, { "style": { "height": "36px" } }).form; //创建窗体
  4699. _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); } }
  4700. break;
  4701. case "studioIndex": //AI共创
  4702. _formdiv = new U.UF.UI.form(
  4703. "工作中心",
  4704. $$("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 }), {
  4705. "id": "studioIndex",
  4706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4707. "onresize": function () { }
  4708. }, {
  4709. closecallback: function () { }
  4710. }, { "style": { "height": "36px" } }).form; //创建窗体
  4711. _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); } }
  4712. break;
  4713. case "source":
  4714. _formdiv = new U.UF.UI.form(
  4715. "教学资源",
  4716. $$("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 }), {
  4717. "id": "source",
  4718. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4719. "onresize": function () { }
  4720. }, {
  4721. closecallback: function () { }
  4722. }, { "style": { "height": "36px" } }).form; //创建窗体
  4723. _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); } }
  4724. break;
  4725. case "testTeacher":
  4726. _formdiv = new U.UF.UI.form(
  4727. "评测管理",
  4728. $$("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 }), {
  4729. "id": "testTeacher",
  4730. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //创建窗体
  4735. _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); } }
  4736. break;
  4737. case "testStudent":
  4738. _formdiv = new U.UF.UI.form(
  4739. "评测中心",
  4740. $$("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 }), {
  4741. "id": "testStudent",
  4742. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //创建窗体
  4747. _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); } }
  4748. break;
  4749. case "testTeacherSies":
  4750. _formdiv = new U.UF.UI.form(
  4751. "教师管理",
  4752. $$("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 }), {
  4753. "id": "testTeacherSies",
  4754. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //创建窗体
  4759. _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); } }
  4760. break;
  4761. case "testStudentSies":
  4762. _formdiv = new U.UF.UI.form(
  4763. "教师中心",
  4764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4765. "id": "testStudentSies",
  4766. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () { }
  4770. }, { "style": { "height": "36px" } }).form; //创建窗体
  4771. _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); } }
  4772. break;
  4773. case "ytpbl": //消息通知
  4774. _formdiv = new U.UF.UI.form(
  4775. "案例征集",
  4776. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4777. "id": "ytpbl",
  4778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4779. "onresize": function () { }
  4780. }, {
  4781. closecallback: function () { }
  4782. }, { "style": { "height": "36px" } }).form; //创建窗体
  4783. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4784. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4785. break;
  4786. }
  4787. //U.MD.D.I.openClick(str);
  4788. //如果有任务栏信息
  4789. if (_taskbar) {
  4790. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4791. }
  4792. }
  4793. // U.MD.D.I.openClick = function(str){
  4794. // var click = '';
  4795. // switch(str){
  4796. // case 'friend':
  4797. // click = '我的好友';
  4798. // break;
  4799. // case 'domain':
  4800. // click = '域名管理';
  4801. // break;
  4802. // case 'disk':
  4803. // click = '我的云盘';
  4804. // break;
  4805. // case 'word':
  4806. // click = 'Word';
  4807. // break;
  4808. // case 'excel':
  4809. // click = 'Execl';
  4810. // break;
  4811. // case 'txt':
  4812. // click = '文本文件';
  4813. // break;
  4814. // case 'lookupFriend':
  4815. // click = '查找好友';
  4816. // break;
  4817. // case 'ftp':
  4818. // click = 'FTP';
  4819. // break;
  4820. // case 'group':
  4821. // click = '群组';
  4822. // break;
  4823. // case 'set':
  4824. // click = '我的设置';
  4825. // break;
  4826. // case 'systemSet':
  4827. // click = '系统设置';
  4828. // break;
  4829. // case 'boomYun':
  4830. // click = '互联办公';
  4831. // break;
  4832. // case 'xz':
  4833. // click = '云端下载';
  4834. // break;
  4835. // case 'client':
  4836. // click = '有思浏览器';
  4837. // break;
  4838. // case 'backEndProgramming':
  4839. // click = '在线后台编程';
  4840. // break;
  4841. // case 'frontEndProgramming':
  4842. // click = '在线前端编程';
  4843. // break;
  4844. // default: break;
  4845. // }
  4846. // if(U.MD.D.I.Ip && click){
  4847. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4848. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4849. // })
  4850. // }
  4851. // }
  4852. /**
  4853. *函数作用:ajax简易函数,使用post格式
  4854. *@param url {data} 后台地址
  4855. *@param data {data} 参数json
  4856. *@param fn {data} 回调函数
  4857. *
  4858. */
  4859. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4860. // var xhr = new XMLHttpRequest();
  4861. // xhr.open("GET",url,true);
  4862. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4863. // xhr.onreadystatechange = function(){
  4864. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4865. // fn.call(this,xhr.responseText);
  4866. // }
  4867. // };
  4868. // xhr.send();
  4869. // }
  4870. /*判断是否是内网IP*/
  4871. // U.MD.D.I.isInnerIPFn = function(str){
  4872. // var curPageUrl = str;
  4873. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4874. // curPageUrl =curPageUrl.replace(reg1,'');
  4875. // // console.log('curPageUrl-1 '+curPageUrl);
  4876. // var reg2 = /\:+/g;//替换冒号为一点
  4877. // curPageUrl =curPageUrl.replace(reg2,'.');
  4878. // // console.log('curPageUrl-2 '+curPageUrl);
  4879. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4880. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4881. // if(curPageUrl[2] != '16'){
  4882. // return ipAddress;
  4883. // }else{
  4884. // return false;
  4885. // }
  4886. // }
  4887. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4888. // //compatibility for firefox and chrome
  4889. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4890. // var pc = new myPeerConnection({
  4891. // iceServers: []
  4892. // }),
  4893. // noop = function() {},
  4894. // localIPs = {},
  4895. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4896. // key;
  4897. // function iterateIP(ip) {
  4898. // if (!localIPs[ip]) onNewIP(ip);
  4899. // localIPs[ip] = true;
  4900. // }
  4901. // //create a bogus data channel
  4902. // pc.createDataChannel("");
  4903. // // create offer and set local description
  4904. // pc.createOffer().then(function(sdp) {
  4905. // sdp.sdp.split('\n').forEach(function(line) {
  4906. // if (line.indexOf('candidate') < 0) return;
  4907. // line.match(ipRegex).forEach(iterateIP);
  4908. // });
  4909. // pc.setLocalDescription(sdp, noop, noop);
  4910. // }).catch(function(reason) {
  4911. // // An error occurred, so handle the failure to connect
  4912. // });
  4913. // //sten for candidate events
  4914. // pc.onicecandidate = function(ice) {
  4915. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4916. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4917. // };
  4918. // }
  4919. // U.MD.D.I.getUserIpBool = function(callback){
  4920. // U.MD.D.I.getUserIP(function(ip){
  4921. // alert("Got IP! :" + ip);
  4922. // });
  4923. //}
  4924. //#endregion
  4925. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4926. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4927. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4928. _userinfo = US.userInfo, //登录用户信息
  4929. _userid = US.userInfo.userid //登录用户id
  4930. let _iframe;
  4931. let _cid = cid,
  4932. _stage = stage,
  4933. _task = task,
  4934. _tool = tool;
  4935. var _jie = $$("div", {
  4936. "style": {
  4937. "position": "absolute",
  4938. "bottom": "50px",
  4939. "right": "50px",
  4940. "zIndex": "9999",
  4941. "backgroundColor": "#2268bc",
  4942. "color": "#fff",
  4943. "padding": "12px 20px",
  4944. "cursor": "pointer",
  4945. "borderRadius": "4px",
  4946. },
  4947. "innerHTML": "提交作业"
  4948. })
  4949. let aTool = ''
  4950. let _loading = document.createElement('div')
  4951. _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;"
  4952. // _loading.id = "";
  4953. let _lchild = document.createElement('div')
  4954. let _limg = document.createElement('img')
  4955. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4956. _limg.style = "width: 26px;margin-right: 10px;"
  4957. _lchild.appendChild(_limg)
  4958. let _lspan = document.createElement('span')
  4959. _lspan.innerHTML = "上传中..."
  4960. _lchild.appendChild(_lspan)
  4961. _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%);"
  4962. _loading.appendChild(_lchild)
  4963. var _box = $$('div', {
  4964. "style": {
  4965. "position": "relative",
  4966. "width": "100%",
  4967. "height": "100%",
  4968. },
  4969. })
  4970. _box.appendChild(_loading)
  4971. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4972. switch (str) {
  4973. case "whiteboard":
  4974. aTool = 1;
  4975. _iframe = $$("iframe", {
  4976. "frameborder": "no",
  4977. "border": "0",
  4978. "scrolling ": "no",
  4979. "style": {
  4980. "cssText": "border:0;width:100%;height:100%"
  4981. },
  4982. "src": "https://iwb.cocorobo.cn/"
  4983. })
  4984. _box.appendChild(_iframe);
  4985. _box.appendChild(_jie);
  4986. _formdiv = new U.UF.UI.form(
  4987. "电子白板",
  4988. _box, {
  4989. "id": "whiteboard" + cid + stage + task + tool,
  4990. "style": {
  4991. "width": "90%",
  4992. "height": "90%",
  4993. "overflow": 'hidden'
  4994. },
  4995. "onresize": function () { }
  4996. }, {
  4997. closecallback: function () { }
  4998. }, {
  4999. "style": {
  5000. "height": "36px"
  5001. }
  5002. }).form; //创建窗体
  5003. _taskbar = {
  5004. "id": str + _formdiv.id,
  5005. "style": {
  5006. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5007. },
  5008. "name": "电子白板",
  5009. "forms": _formdiv,
  5010. "click": function () {
  5011. U.MD.D.I.openApplication(str, obj, info);
  5012. }
  5013. }
  5014. break;
  5015. case "mind":
  5016. aTool = 3;
  5017. _iframe = $$("iframe", {
  5018. "frameborder": "no",
  5019. "border": "0",
  5020. "scrolling ": "no",
  5021. "style": {
  5022. "cssText": "border:0;width:100%;height:100%"
  5023. },
  5024. "src": "/kityminder-editor/dist/index.html"
  5025. })
  5026. _box.appendChild(_iframe);
  5027. _box.appendChild(_jie);
  5028. _formdiv = new U.UF.UI.form(
  5029. "思维导图",
  5030. _box, { //"/jsmind/example/demo.html"
  5031. "id": "mind" + cid + stage + task + tool,
  5032. "style": {
  5033. "width": "90%",
  5034. "height": "90%",
  5035. "overflow": 'hidden'
  5036. },
  5037. "onresize": function () { }
  5038. }, {
  5039. closecallback: function () { }
  5040. }, {
  5041. "style": {
  5042. "height": "36px"
  5043. }
  5044. }).form; //创建窗体
  5045. _taskbar = {
  5046. "id": str + _formdiv.id,
  5047. "style": {
  5048. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5049. },
  5050. "name": "思维导图",
  5051. "forms": _formdiv,
  5052. "click": function () {
  5053. U.MD.D.I.openApplication(str, obj, info);
  5054. }
  5055. }
  5056. break;
  5057. case "MindMap":
  5058. aTool = 3;
  5059. _iframe = $$("iframe", {
  5060. "frameborder": "no",
  5061. "border": "0",
  5062. "scrolling ": "no",
  5063. "style": {
  5064. "cssText": "border:0;width:100%;height:100%"
  5065. },
  5066. "src": "//cloud.cocorobo.cn/mind/"
  5067. })
  5068. _box.appendChild(_iframe);
  5069. _box.appendChild(_jie);
  5070. _formdiv = new U.UF.UI.form(
  5071. "思维导图",
  5072. _box, { //"/jsmind/example/demo.html"
  5073. "id": "mind" + cid + stage + task + tool,
  5074. "style": {
  5075. "width": "90%",
  5076. "height": "90%",
  5077. "overflow": 'hidden'
  5078. },
  5079. "onresize": function () { }
  5080. }, {
  5081. closecallback: function () { }
  5082. }, {
  5083. "style": {
  5084. "height": "36px"
  5085. }
  5086. }).form; //创建窗体
  5087. _taskbar = {
  5088. "id": str + _formdiv.id,
  5089. "style": {
  5090. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5091. },
  5092. "name": "思维导图",
  5093. "forms": _formdiv,
  5094. "click": function () {
  5095. U.MD.D.I.openApplication(str, obj, info);
  5096. }
  5097. }
  5098. break;
  5099. case "doc":
  5100. aTool = 6;
  5101. _iframe = $$("iframe", {
  5102. "frameborder": "no",
  5103. "border": "0",
  5104. "scrolling ": "no",
  5105. "style": {
  5106. "cssText": "border:0;width:100%;height:100%"
  5107. },
  5108. "src": "/Office/Word/WordEditArea.htm"
  5109. })
  5110. _box.appendChild(_iframe);
  5111. _box.appendChild(_jie);
  5112. _formdiv = new U.UF.UI.form(
  5113. "协同文档",
  5114. _box, {
  5115. "id": "doc" + cid + stage + task + tool,
  5116. "style": {
  5117. "width": "90%",
  5118. "height": "90%",
  5119. "overflow": 'hidden'
  5120. },
  5121. "onresize": function () { }
  5122. }, {
  5123. closecallback: function () { }
  5124. }, {
  5125. "style": {
  5126. "height": "36px"
  5127. }
  5128. }).form; //创建窗体
  5129. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5130. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5131. })
  5132. _taskbar = {
  5133. "id": str + _formdiv.id,
  5134. "style": {
  5135. "backgroundImage": "url(/img/icon/doc.png)"
  5136. },
  5137. "name": "协同文档",
  5138. "forms": _formdiv,
  5139. "click": function () {
  5140. U.MD.D.I.openApplication(str, obj, info);
  5141. }
  5142. }
  5143. break;
  5144. case "mindNetwork": //好友打开
  5145. aTool = 7;
  5146. _iframe = $$("iframe", {
  5147. "webkitallowfullscreen": "",
  5148. "mozallowfullscreen": "",
  5149. "allowfullscreen": "",
  5150. "frameborder": "no",
  5151. "border": "0",
  5152. "scrolling ": "no",
  5153. "style": {
  5154. "cssText": "border:0; width:100%; height:100%;"
  5155. },
  5156. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5157. })
  5158. _box.appendChild(_iframe);
  5159. _box.appendChild(_jie);
  5160. _formdiv = new U.UF.UI.form(
  5161. "思维网格",
  5162. _box, {
  5163. "id": "mindNetwork" + cid + stage + task + tool,
  5164. "style": {
  5165. "width": "90%",
  5166. "height": "90%",
  5167. "overflow": 'hidden'
  5168. },
  5169. "onresize": function () { }
  5170. }, {
  5171. closecallback: function () { }
  5172. }, {
  5173. "style": {
  5174. "height": "36px"
  5175. }
  5176. }).form; //创建窗体
  5177. _taskbar = {
  5178. "id": str + _formdiv.id,
  5179. "style": {
  5180. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5181. },
  5182. "name": "思维网格",
  5183. "forms": _formdiv,
  5184. "click": function () {
  5185. U.MD.D.I.openApplication(str, obj, info);
  5186. }
  5187. }
  5188. break;
  5189. case "courseDesign":
  5190. _iframe = $$("iframe", {
  5191. "webkitallowfullscreen": "",
  5192. "mozallowfullscreen": "",
  5193. "allowfullscreen": "",
  5194. "frameborder": "no",
  5195. "border": "0",
  5196. "scrolling ": "no",
  5197. "style": {
  5198. "cssText": "border:0; width:100%; height:100%;"
  5199. },
  5200. "src": "/course-design-vue"
  5201. })
  5202. _box.appendChild(_iframe);
  5203. _box.appendChild(_jie);
  5204. _formdiv = new U.UF.UI.form(
  5205. "项目设计",
  5206. _box, {
  5207. "id": "courseDesign" + cid + stage + task + tool,
  5208. "style": {
  5209. "width": "90%",
  5210. "height": "90%",
  5211. "overflow": 'hidden'
  5212. },
  5213. "onresize": function () { }
  5214. }, {
  5215. closecallback: function () { }
  5216. }, {
  5217. "style": {
  5218. "height": "36px"
  5219. }
  5220. }).form; //创建窗体
  5221. _taskbar = {
  5222. "id": str + _formdiv.id,
  5223. "style": {
  5224. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5225. },
  5226. "name": "项目设计",
  5227. "forms": _formdiv,
  5228. "click": function () {
  5229. U.MD.D.I.openApplication(str, obj, info);
  5230. }
  5231. }
  5232. break;
  5233. }
  5234. const script1 = document.createElement("script");
  5235. script1.type = "text/javascript";
  5236. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5237. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5238. const script2 = document.createElement("script");
  5239. script2.type = "text/javascript";
  5240. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5241. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5242. const script3 = document.createElement("script");
  5243. script3.type = "text/javascript";
  5244. script3.charset = "UTF-8";
  5245. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5246. const script4 = document.createElement("script");
  5247. script4.type = "text/javascript";
  5248. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5249. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5250. if (_iframe) {
  5251. if (str == 'doc') {
  5252. _iframe = _formdiv.querySelector('iframe')
  5253. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5254. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5255. _iframe.contentWindow.document.body.appendChild(script1);
  5256. _iframe.contentWindow.document.body.appendChild(script2);
  5257. // _iframe.contentWindow.document.body.appendChild(script3);
  5258. _iframe.contentWindow.document.body.appendChild(script4);
  5259. })
  5260. if (onloadListener) {
  5261. _iframe.contentDocument.location.reload()
  5262. } else {
  5263. _iframe.contentDocument.location.reload()
  5264. }
  5265. } else if (str == 'courseDesign') {
  5266. U.UF.DL.iframeLoad(_iframe, function () {
  5267. // _iframe.contentWindow.U.MD.O.W.load();
  5268. // _iframe.contentWindow.document.body.appendChild(script1);
  5269. _iframe.contentWindow.document.body.appendChild(script2);
  5270. _iframe.contentWindow.document.body.appendChild(script4);
  5271. })
  5272. } else if (str == 'mind') {
  5273. _iframe = _formdiv.querySelector('iframe')
  5274. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5275. //
  5276. _iframe.contentWindow.document.body.appendChild(script1);
  5277. _iframe.contentWindow.document.body.appendChild(script2);
  5278. _iframe.contentWindow.document.body.appendChild(script4);
  5279. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5280. })
  5281. if (onloadListener) {
  5282. _iframe.contentDocument.location.reload()
  5283. } else {
  5284. _iframe.contentDocument.location.reload()
  5285. }
  5286. } else if (str == 'whiteboard') {
  5287. _iframe = _formdiv.querySelector('iframe')
  5288. let onloadListener = _iframe.onload = () => {
  5289. _iframe.contentWindow.document.body.appendChild(script1);
  5290. _iframe.contentWindow.document.body.appendChild(script2);
  5291. _iframe.contentWindow.document.body.appendChild(script4);
  5292. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5293. };
  5294. if (onloadListener) {
  5295. _iframe.contentDocument.location.reload()
  5296. } else {
  5297. _iframe.contentDocument.location.reload()
  5298. }
  5299. } else {
  5300. _iframe.onload = () => {
  5301. _iframe.contentWindow.document.body.appendChild(script1);
  5302. _iframe.contentWindow.document.body.appendChild(script2);
  5303. // _iframe.contentWindow.document.body.appendChild(script3);
  5304. _iframe.contentWindow.document.body.appendChild(script4);
  5305. };
  5306. }
  5307. _jie.onclick = async () => {
  5308. let text = ''
  5309. if (aTool == 1) {
  5310. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5311. } else if (aTool == 6) {
  5312. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5313. } else if (aTool == 3) {
  5314. text = await U.MD.D.I.getEditorContent(_iframe);
  5315. }
  5316. _loading.style.display = 'flex'
  5317. console.log(_loading);
  5318. var _ajs = _iframe.contentWindow.document.createElement("script");
  5319. _ajs.type = "text/javascript";
  5320. _ajs.innerHTML =
  5321. // 'console.log(' + _loading + ');\n' +
  5322. 'var _js = document.createElement("script");\n' +
  5323. '_js.type="text/javascript";\n' +
  5324. '_js.charset="UTF-8";\n' +
  5325. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5326. "_js.onload = function(){\n" +
  5327. ' var a = document.getElementsByTagName("img")\n' +
  5328. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5329. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5330. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5331. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5332. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5333. "beforeUpload_shishi(file," +
  5334. "'" +
  5335. _userid +
  5336. "'" +
  5337. ", " +
  5338. "'" +
  5339. _cid +
  5340. "'" +
  5341. ", " +
  5342. "'" +
  5343. _stage +
  5344. "'" +
  5345. ", " +
  5346. "'" +
  5347. _task +
  5348. "'" +
  5349. ", " +
  5350. "'" +
  5351. _tool +
  5352. "'" +
  5353. ", " +
  5354. "'" +
  5355. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5356. "'" +
  5357. ", " +
  5358. "'" +
  5359. aTool +
  5360. "'" +
  5361. ", " +
  5362. "`" +
  5363. text +
  5364. "`" +
  5365. ")\n" +
  5366. " });\n" +
  5367. "}\n" +
  5368. "document.head.appendChild(_js);\n";
  5369. _iframe.contentWindow.document.head.appendChild(_ajs);
  5370. }
  5371. }
  5372. //U.MD.D.I.openClick(str);
  5373. //如果有任务栏信息
  5374. // if (_taskbar) {
  5375. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5376. // }
  5377. }
  5378. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5379. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5380. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5381. _userinfo = US.userInfo, //登录用户信息
  5382. _userid = US.userInfo.userid //登录用户id
  5383. let _iframe;
  5384. let _cid = cid,
  5385. _stage = stage,
  5386. _task = task,
  5387. _tool = tool;
  5388. var _jie = $$("div", {
  5389. "style": {
  5390. "position": "absolute",
  5391. "bottom": "50px",
  5392. "right": "50px",
  5393. "zIndex": "9999",
  5394. "backgroundColor": "#2268bc",
  5395. "color": "#fff",
  5396. "padding": "12px 20px",
  5397. "cursor": "pointer",
  5398. "borderRadius": "4px",
  5399. },
  5400. "innerHTML": "提交作业"
  5401. })
  5402. let aTool = ''
  5403. let _loading = document.createElement('div')
  5404. _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;"
  5405. // _loading.id = "";
  5406. let _lchild = document.createElement('div')
  5407. let _limg = document.createElement('img')
  5408. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5409. _limg.style = "width: 26px;margin-right: 10px;"
  5410. _lchild.appendChild(_limg)
  5411. let _lspan = document.createElement('span')
  5412. _lspan.innerHTML = "上传中..."
  5413. _lchild.appendChild(_lspan)
  5414. _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%);"
  5415. _loading.appendChild(_lchild)
  5416. var _box = $$('div', {
  5417. "style": {
  5418. "position": "relative",
  5419. "width": "100%",
  5420. "height": "100%",
  5421. },
  5422. })
  5423. _box.appendChild(_loading)
  5424. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5425. switch (str) {
  5426. case "whiteboard":
  5427. aTool = 1;
  5428. _iframe = $$("iframe", {
  5429. "frameborder": "no",
  5430. "border": "0",
  5431. "scrolling ": "no",
  5432. "style": {
  5433. "cssText": "border:0;width:100%;height:100%"
  5434. },
  5435. "src": "https://iwb.cocorobo.cn/"
  5436. })
  5437. _box.appendChild(_iframe);
  5438. _box.appendChild(_jie);
  5439. _formdiv = new U.UF.UI.form(
  5440. "电子白板",
  5441. _box, {
  5442. "id": "whiteboard" + cid + stage + task + tool,
  5443. "style": {
  5444. "width": "90%",
  5445. "height": "90%",
  5446. "overflow": 'hidden'
  5447. },
  5448. "onresize": function () { }
  5449. }, {
  5450. closecallback: function () { }
  5451. }, {
  5452. "style": {
  5453. "height": "36px"
  5454. }
  5455. }).form; //创建窗体
  5456. _taskbar = {
  5457. "id": str + _formdiv.id,
  5458. "style": {
  5459. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5460. },
  5461. "name": "电子白板",
  5462. "forms": _formdiv,
  5463. "click": function () {
  5464. U.MD.D.I.openApplication(str, obj, info);
  5465. }
  5466. }
  5467. break;
  5468. case "mind":
  5469. aTool = 3;
  5470. _iframe = $$("iframe", {
  5471. "frameborder": "no",
  5472. "border": "0",
  5473. "scrolling ": "no",
  5474. "style": {
  5475. "cssText": "border:0;width:100%;height:100%"
  5476. },
  5477. "src": "/kityminder-editor/dist/index.html"
  5478. })
  5479. _box.appendChild(_iframe);
  5480. _box.appendChild(_jie);
  5481. _formdiv = new U.UF.UI.form(
  5482. "思维导图",
  5483. _box, { //"/jsmind/example/demo.html"
  5484. "id": "mind" + cid + stage + task + tool,
  5485. "style": {
  5486. "width": "90%",
  5487. "height": "90%",
  5488. "overflow": 'hidden'
  5489. },
  5490. "onresize": function () { }
  5491. }, {
  5492. closecallback: function () { }
  5493. }, {
  5494. "style": {
  5495. "height": "36px"
  5496. }
  5497. }).form; //创建窗体
  5498. _taskbar = {
  5499. "id": str + _formdiv.id,
  5500. "style": {
  5501. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5502. },
  5503. "name": "思维导图",
  5504. "forms": _formdiv,
  5505. "click": function () {
  5506. U.MD.D.I.openApplication(str, obj, info);
  5507. }
  5508. }
  5509. break;
  5510. case "MindMap":
  5511. aTool = 3;
  5512. _iframe = $$("iframe", {
  5513. "frameborder": "no",
  5514. "border": "0",
  5515. "scrolling ": "no",
  5516. "style": {
  5517. "cssText": "border:0;width:100%;height:100%"
  5518. },
  5519. "src": "//cloud.cocorobo.cn/mind/"
  5520. })
  5521. _box.appendChild(_iframe);
  5522. _box.appendChild(_jie);
  5523. _formdiv = new U.UF.UI.form(
  5524. "思维导图",
  5525. _box, { //"/jsmind/example/demo.html"
  5526. "id": "mind" + cid + stage + task + tool,
  5527. "style": {
  5528. "width": "90%",
  5529. "height": "90%",
  5530. "overflow": 'hidden'
  5531. },
  5532. "onresize": function () { }
  5533. }, {
  5534. closecallback: function () { }
  5535. }, {
  5536. "style": {
  5537. "height": "36px"
  5538. }
  5539. }).form; //创建窗体
  5540. _taskbar = {
  5541. "id": str + _formdiv.id,
  5542. "style": {
  5543. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5544. },
  5545. "name": "思维导图",
  5546. "forms": _formdiv,
  5547. "click": function () {
  5548. U.MD.D.I.openApplication(str, obj, info);
  5549. }
  5550. }
  5551. break;
  5552. case "doc":
  5553. aTool = 6;
  5554. _iframe = $$("iframe", {
  5555. "frameborder": "no",
  5556. "border": "0",
  5557. "scrolling ": "no",
  5558. "style": {
  5559. "cssText": "border:0;width:100%;height:100%"
  5560. },
  5561. "src": "/Office/Word/WordEditArea.htm"
  5562. })
  5563. _box.appendChild(_iframe);
  5564. _box.appendChild(_jie);
  5565. _formdiv = new U.UF.UI.form(
  5566. "协同文档",
  5567. _box, {
  5568. "id": "doc" + cid + stage + task + tool,
  5569. "style": {
  5570. "width": "90%",
  5571. "height": "90%",
  5572. "overflow": 'hidden'
  5573. },
  5574. "onresize": function () { }
  5575. }, {
  5576. closecallback: function () { }
  5577. }, {
  5578. "style": {
  5579. "height": "36px"
  5580. }
  5581. }).form; //创建窗体
  5582. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5583. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5584. })
  5585. _taskbar = {
  5586. "id": str + _formdiv.id,
  5587. "style": {
  5588. "backgroundImage": "url(/img/icon/doc.png)"
  5589. },
  5590. "name": "协同文档",
  5591. "forms": _formdiv,
  5592. "click": function () {
  5593. U.MD.D.I.openApplication(str, obj, info);
  5594. }
  5595. }
  5596. break;
  5597. case "mindNetwork": //好友打开
  5598. aTool = 7;
  5599. _iframe = $$("iframe", {
  5600. "webkitallowfullscreen": "",
  5601. "mozallowfullscreen": "",
  5602. "allowfullscreen": "",
  5603. "frameborder": "no",
  5604. "border": "0",
  5605. "scrolling ": "no",
  5606. "style": {
  5607. "cssText": "border:0; width:100%; height:100%;"
  5608. },
  5609. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5610. })
  5611. _box.appendChild(_iframe);
  5612. _box.appendChild(_jie);
  5613. _formdiv = new U.UF.UI.form(
  5614. "思维网格",
  5615. _box, {
  5616. "id": "mindNetwork" + cid + stage + task + tool,
  5617. "style": {
  5618. "width": "90%",
  5619. "height": "90%",
  5620. "overflow": 'hidden'
  5621. },
  5622. "onresize": function () { }
  5623. }, {
  5624. closecallback: function () { }
  5625. }, {
  5626. "style": {
  5627. "height": "36px"
  5628. }
  5629. }).form; //创建窗体
  5630. _taskbar = {
  5631. "id": str + _formdiv.id,
  5632. "style": {
  5633. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5634. },
  5635. "name": "思维网格",
  5636. "forms": _formdiv,
  5637. "click": function () {
  5638. U.MD.D.I.openApplication(str, obj, info);
  5639. }
  5640. }
  5641. break;
  5642. case "courseDesign":
  5643. _iframe = $$("iframe", {
  5644. "webkitallowfullscreen": "",
  5645. "mozallowfullscreen": "",
  5646. "allowfullscreen": "",
  5647. "frameborder": "no",
  5648. "border": "0",
  5649. "scrolling ": "no",
  5650. "style": {
  5651. "cssText": "border:0; width:100%; height:100%;"
  5652. },
  5653. "src": "/course-design-vue"
  5654. })
  5655. _box.appendChild(_iframe);
  5656. _box.appendChild(_jie);
  5657. _formdiv = new U.UF.UI.form(
  5658. "项目设计",
  5659. _box, {
  5660. "id": "courseDesign" + cid + stage + task + tool,
  5661. "style": {
  5662. "width": "90%",
  5663. "height": "90%",
  5664. "overflow": 'hidden'
  5665. },
  5666. "onresize": function () { }
  5667. }, {
  5668. closecallback: function () { }
  5669. }, {
  5670. "style": {
  5671. "height": "36px"
  5672. }
  5673. }).form; //创建窗体
  5674. _taskbar = {
  5675. "id": str + _formdiv.id,
  5676. "style": {
  5677. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5678. },
  5679. "name": "项目设计",
  5680. "forms": _formdiv,
  5681. "click": function () {
  5682. U.MD.D.I.openApplication(str, obj, info);
  5683. }
  5684. }
  5685. break;
  5686. }
  5687. const script1 = document.createElement("script");
  5688. script1.type = "text/javascript";
  5689. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5690. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5691. const script2 = document.createElement("script");
  5692. script2.type = "text/javascript";
  5693. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5694. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5695. const script3 = document.createElement("script");
  5696. script3.type = "text/javascript";
  5697. script3.charset = "UTF-8";
  5698. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5699. const script4 = document.createElement("script");
  5700. script4.type = "text/javascript";
  5701. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5702. script4.src = window.origin + "/js/Common/jietu2E.js";
  5703. if (_iframe) {
  5704. if (str == 'doc') {
  5705. _iframe = _formdiv.querySelector('iframe')
  5706. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5707. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5708. _iframe.contentWindow.document.body.appendChild(script1);
  5709. _iframe.contentWindow.document.body.appendChild(script2);
  5710. // _iframe.contentWindow.document.body.appendChild(script3);
  5711. _iframe.contentWindow.document.body.appendChild(script4);
  5712. })
  5713. if (onloadListener) {
  5714. _iframe.contentDocument.location.reload()
  5715. } else {
  5716. _iframe.contentDocument.location.reload()
  5717. }
  5718. } else if (str == 'courseDesign') {
  5719. U.UF.DL.iframeLoad(_iframe, function () {
  5720. // _iframe.contentWindow.U.MD.O.W.load();
  5721. // _iframe.contentWindow.document.body.appendChild(script1);
  5722. _iframe.contentWindow.document.body.appendChild(script2);
  5723. _iframe.contentWindow.document.body.appendChild(script4);
  5724. })
  5725. } else if (str == 'mind') {
  5726. _iframe = _formdiv.querySelector('iframe')
  5727. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5728. //
  5729. _iframe.contentWindow.document.body.appendChild(script1);
  5730. _iframe.contentWindow.document.body.appendChild(script2);
  5731. _iframe.contentWindow.document.body.appendChild(script4);
  5732. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5733. })
  5734. if (onloadListener) {
  5735. _iframe.contentDocument.location.reload()
  5736. } else {
  5737. _iframe.contentDocument.location.reload()
  5738. }
  5739. } else if (str == 'whiteboard') {
  5740. _iframe = _formdiv.querySelector('iframe')
  5741. let onloadListener = _iframe.onload = () => {
  5742. _iframe.contentWindow.document.body.appendChild(script1);
  5743. _iframe.contentWindow.document.body.appendChild(script2);
  5744. _iframe.contentWindow.document.body.appendChild(script4);
  5745. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5746. };
  5747. if (onloadListener) {
  5748. _iframe.contentDocument.location.reload()
  5749. } else {
  5750. _iframe.contentDocument.location.reload()
  5751. }
  5752. } else {
  5753. _iframe.onload = () => {
  5754. _iframe.contentWindow.document.body.appendChild(script1);
  5755. _iframe.contentWindow.document.body.appendChild(script2);
  5756. // _iframe.contentWindow.document.body.appendChild(script3);
  5757. _iframe.contentWindow.document.body.appendChild(script4);
  5758. };
  5759. }
  5760. _jie.onclick = async () => {
  5761. let text = ''
  5762. if (aTool == 1) {
  5763. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5764. } else if (aTool == 6) {
  5765. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5766. } else if (aTool == 3) {
  5767. text = await U.MD.D.I.getEditorContent(_iframe);
  5768. }
  5769. _loading.style.display = 'flex'
  5770. console.log(_loading);
  5771. var _ajs = _iframe.contentWindow.document.createElement("script");
  5772. _ajs.type = "text/javascript";
  5773. _ajs.innerHTML =
  5774. // 'console.log(' + _loading + ');\n' +
  5775. 'var _js = document.createElement("script");\n' +
  5776. '_js.type="text/javascript";\n' +
  5777. '_js.charset="UTF-8";\n' +
  5778. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5779. "_js.onload = function(){\n" +
  5780. ' var a = document.getElementsByTagName("img")\n' +
  5781. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5782. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5783. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5784. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5785. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5786. "beforeUpload_shishi(file," +
  5787. "'" +
  5788. _userid +
  5789. "'" +
  5790. ", " +
  5791. "'" +
  5792. _cid +
  5793. "'" +
  5794. ", " +
  5795. "'" +
  5796. _stage +
  5797. "'" +
  5798. ", " +
  5799. "'" +
  5800. _task +
  5801. "'" +
  5802. ", " +
  5803. "'" +
  5804. _tool +
  5805. "'" +
  5806. ", " +
  5807. "'" +
  5808. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5809. "'" +
  5810. ", " +
  5811. "'" +
  5812. aTool +
  5813. "'" +
  5814. ", " +
  5815. "`" +
  5816. text +
  5817. "`" +
  5818. ")\n" +
  5819. " });\n" +
  5820. "}\n" +
  5821. "document.head.appendChild(_js);\n";
  5822. _iframe.contentWindow.document.head.appendChild(_ajs);
  5823. }
  5824. }
  5825. //U.MD.D.I.openClick(str);
  5826. //如果有任务栏信息
  5827. // if (_taskbar) {
  5828. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5829. // }
  5830. }
  5831. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5832. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5833. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5834. _userid = student.userid, //登录用户id
  5835. _username = student.student //用户名字
  5836. let _iframe;
  5837. let _cid = cid,
  5838. _stage = stage,
  5839. _task = task,
  5840. _tool = tool;
  5841. var _jie = $$("div", {
  5842. "style": {
  5843. "position": "absolute",
  5844. "bottom": "50px",
  5845. "right": "50px",
  5846. "zIndex": "9999",
  5847. "backgroundColor": "#2268bc",
  5848. "color": "#fff",
  5849. "padding": "12px 20px",
  5850. "cursor": "pointer",
  5851. "borderRadius": "4px",
  5852. },
  5853. "innerHTML": "提交作业"
  5854. })
  5855. let aTool = ''
  5856. let _loading = document.createElement('div')
  5857. _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;"
  5858. // _loading.id = "";
  5859. let _lchild = document.createElement('div')
  5860. let _limg = document.createElement('img')
  5861. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5862. _limg.style = "width: 26px;margin-right: 10px;"
  5863. _lchild.appendChild(_limg)
  5864. let _lspan = document.createElement('span')
  5865. _lspan.innerHTML = "上传中..."
  5866. _lchild.appendChild(_lspan)
  5867. _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%);"
  5868. _loading.appendChild(_lchild)
  5869. var _box = $$('div', {
  5870. "style": {
  5871. "position": "relative",
  5872. "width": "100%",
  5873. "height": "100%",
  5874. },
  5875. })
  5876. _box.appendChild(_loading)
  5877. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5878. switch (str) {
  5879. case "whiteboard":
  5880. aTool = 1;
  5881. _iframe = $$("iframe", {
  5882. "frameborder": "no",
  5883. "border": "0",
  5884. "scrolling ": "no",
  5885. "style": {
  5886. "cssText": "border:0;width:100%;height:100%"
  5887. },
  5888. "src": "https://iwb.cocorobo.cn/"
  5889. })
  5890. _box.appendChild(_iframe);
  5891. _box.appendChild(_jie);
  5892. _formdiv = new U.UF.UI.form(
  5893. "电子白板-" + _username,
  5894. _box, {
  5895. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5896. "style": {
  5897. "width": "90%",
  5898. "height": "90%",
  5899. "overflow": 'hidden'
  5900. },
  5901. "onresize": function () { }
  5902. }, {
  5903. closecallback: function () { }
  5904. }, {
  5905. "style": {
  5906. "height": "36px"
  5907. }
  5908. }).form; //创建窗体
  5909. _taskbar = {
  5910. "id": str + _formdiv.id,
  5911. "style": {
  5912. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5913. },
  5914. "name": "电子白板",
  5915. "forms": _formdiv,
  5916. "click": function () {
  5917. U.MD.D.I.openApplication(str, obj, info);
  5918. }
  5919. }
  5920. break;
  5921. case "mind":
  5922. aTool = 3;
  5923. _iframe = $$("iframe", {
  5924. "frameborder": "no",
  5925. "border": "0",
  5926. "scrolling ": "no",
  5927. "style": {
  5928. "cssText": "border:0;width:100%;height:100%"
  5929. },
  5930. "src": "/kityminder-editor/dist/index.html"
  5931. })
  5932. _box.appendChild(_iframe);
  5933. _box.appendChild(_jie);
  5934. _formdiv = new U.UF.UI.form(
  5935. "思维导图-" + _username,
  5936. _box, { //"/jsmind/example/demo.html"
  5937. "id": "mind" + cid + stage + task + tool + _userid,
  5938. "style": {
  5939. "width": "90%",
  5940. "height": "90%",
  5941. "overflow": 'hidden'
  5942. },
  5943. "onresize": function () { }
  5944. }, {
  5945. closecallback: function () { }
  5946. }, {
  5947. "style": {
  5948. "height": "36px"
  5949. }
  5950. }).form; //创建窗体
  5951. _taskbar = {
  5952. "id": str + _formdiv.id,
  5953. "style": {
  5954. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5955. },
  5956. "name": "思维导图",
  5957. "forms": _formdiv,
  5958. "click": function () {
  5959. U.MD.D.I.openApplication(str, obj, info);
  5960. }
  5961. }
  5962. break;
  5963. case "MindMap":
  5964. aTool = 3;
  5965. _iframe = $$("iframe", {
  5966. "frameborder": "no",
  5967. "border": "0",
  5968. "scrolling ": "no",
  5969. "style": {
  5970. "cssText": "border:0;width:100%;height:100%"
  5971. },
  5972. "src": "//cloud.cocorobo.cn/mind/"
  5973. })
  5974. _box.appendChild(_iframe);
  5975. _box.appendChild(_jie);
  5976. _formdiv = new U.UF.UI.form(
  5977. "思维导图-" + _username,
  5978. _box, { //"/jsmind/example/demo.html"
  5979. "id": "mind" + cid + stage + task + tool + _userid,
  5980. "style": {
  5981. "width": "90%",
  5982. "height": "90%",
  5983. "overflow": 'hidden'
  5984. },
  5985. "onresize": function () { }
  5986. }, {
  5987. closecallback: function () { }
  5988. }, {
  5989. "style": {
  5990. "height": "36px"
  5991. }
  5992. }).form; //创建窗体
  5993. _taskbar = {
  5994. "id": str + _formdiv.id,
  5995. "style": {
  5996. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5997. },
  5998. "name": "思维导图",
  5999. "forms": _formdiv,
  6000. "click": function () {
  6001. U.MD.D.I.openApplication(str, obj, info);
  6002. }
  6003. }
  6004. break;
  6005. case "doc":
  6006. aTool = 6;
  6007. _iframe = $$("iframe", {
  6008. "frameborder": "no",
  6009. "border": "0",
  6010. "scrolling ": "no",
  6011. "style": {
  6012. "cssText": "border:0;width:100%;height:100%"
  6013. },
  6014. "src": "/Office/Word/WordEditArea.htm"
  6015. })
  6016. _box.appendChild(_iframe);
  6017. _box.appendChild(_jie);
  6018. _formdiv = new U.UF.UI.form(
  6019. "协同文档-" + _username,
  6020. _box, {
  6021. "id": "doc" + cid + stage + task + tool + _userid,
  6022. "style": {
  6023. "width": "90%",
  6024. "height": "90%",
  6025. "overflow": 'hidden'
  6026. },
  6027. "onresize": function () { }
  6028. }, {
  6029. closecallback: function () { }
  6030. }, {
  6031. "style": {
  6032. "height": "36px"
  6033. }
  6034. }).form; //创建窗体
  6035. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6036. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6037. })
  6038. _taskbar = {
  6039. "id": str + _formdiv.id,
  6040. "style": {
  6041. "backgroundImage": "url(/img/icon/doc.png)"
  6042. },
  6043. "name": "协同文档",
  6044. "forms": _formdiv,
  6045. "click": function () {
  6046. U.MD.D.I.openApplication(str, obj, info);
  6047. }
  6048. }
  6049. break;
  6050. case "mindNetwork": //好友打开
  6051. aTool = 7;
  6052. _iframe = $$("iframe", {
  6053. "webkitallowfullscreen": "",
  6054. "mozallowfullscreen": "",
  6055. "allowfullscreen": "",
  6056. "frameborder": "no",
  6057. "border": "0",
  6058. "scrolling ": "no",
  6059. "style": {
  6060. "cssText": "border:0; width:100%; height:100%;"
  6061. },
  6062. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6063. })
  6064. _box.appendChild(_iframe);
  6065. _box.appendChild(_jie);
  6066. _formdiv = new U.UF.UI.form(
  6067. "思维网格-" + _username,
  6068. _box, {
  6069. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6070. "style": {
  6071. "width": "90%",
  6072. "height": "90%",
  6073. "overflow": 'hidden'
  6074. },
  6075. "onresize": function () { }
  6076. }, {
  6077. closecallback: function () { }
  6078. }, {
  6079. "style": {
  6080. "height": "36px"
  6081. }
  6082. }).form; //创建窗体
  6083. _taskbar = {
  6084. "id": str + _formdiv.id,
  6085. "style": {
  6086. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6087. },
  6088. "name": "思维网格",
  6089. "forms": _formdiv,
  6090. "click": function () {
  6091. U.MD.D.I.openApplication(str, obj, info);
  6092. }
  6093. }
  6094. break;
  6095. case "courseDesign":
  6096. _iframe = $$("iframe", {
  6097. "webkitallowfullscreen": "",
  6098. "mozallowfullscreen": "",
  6099. "allowfullscreen": "",
  6100. "frameborder": "no",
  6101. "border": "0",
  6102. "scrolling ": "no",
  6103. "style": {
  6104. "cssText": "border:0; width:100%; height:100%;"
  6105. },
  6106. "src": "/course-design-vue"
  6107. })
  6108. _box.appendChild(_iframe);
  6109. _box.appendChild(_jie);
  6110. _formdiv = new U.UF.UI.form(
  6111. "项目设计-" + _username,
  6112. _box, {
  6113. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6114. "style": {
  6115. "width": "90%",
  6116. "height": "90%",
  6117. "overflow": 'hidden'
  6118. },
  6119. "onresize": function () { }
  6120. }, {
  6121. closecallback: function () { }
  6122. }, {
  6123. "style": {
  6124. "height": "36px"
  6125. }
  6126. }).form; //创建窗体
  6127. _taskbar = {
  6128. "id": str + _formdiv.id,
  6129. "style": {
  6130. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6131. },
  6132. "name": "项目设计",
  6133. "forms": _formdiv,
  6134. "click": function () {
  6135. U.MD.D.I.openApplication(str, obj, info);
  6136. }
  6137. }
  6138. break;
  6139. }
  6140. const script1 = document.createElement("script");
  6141. script1.type = "text/javascript";
  6142. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6143. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6144. const script2 = document.createElement("script");
  6145. script2.type = "text/javascript";
  6146. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6147. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6148. const script3 = document.createElement("script");
  6149. script3.type = "text/javascript";
  6150. script3.charset = "UTF-8";
  6151. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6152. const script4 = document.createElement("script");
  6153. script4.type = "text/javascript";
  6154. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6155. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6156. if (_iframe) {
  6157. if (str == 'doc') {
  6158. _iframe = _formdiv.querySelector('iframe')
  6159. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6160. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6161. _iframe.contentWindow.document.body.appendChild(script1);
  6162. _iframe.contentWindow.document.body.appendChild(script2);
  6163. // _iframe.contentWindow.document.body.appendChild(script3);
  6164. _iframe.contentWindow.document.body.appendChild(script4);
  6165. })
  6166. if (onloadListener) {
  6167. _iframe.contentDocument.location.reload()
  6168. } else {
  6169. _iframe.contentDocument.location.reload()
  6170. }
  6171. } else if (str == 'courseDesign') {
  6172. U.UF.DL.iframeLoad(_iframe, function () {
  6173. // _iframe.contentWindow.U.MD.O.W.load();
  6174. // _iframe.contentWindow.document.body.appendChild(script1);
  6175. _iframe.contentWindow.document.body.appendChild(script2);
  6176. _iframe.contentWindow.document.body.appendChild(script4);
  6177. })
  6178. } else if (str == 'mind') {
  6179. _iframe = _formdiv.querySelector('iframe')
  6180. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6181. //
  6182. _iframe.contentWindow.document.body.appendChild(script1);
  6183. _iframe.contentWindow.document.body.appendChild(script2);
  6184. _iframe.contentWindow.document.body.appendChild(script4);
  6185. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6186. })
  6187. if (onloadListener) {
  6188. _iframe.contentDocument.location.reload()
  6189. } else {
  6190. _iframe.contentDocument.location.reload()
  6191. }
  6192. } else if (str == 'whiteboard') {
  6193. _iframe = _formdiv.querySelector('iframe')
  6194. let onloadListener = _iframe.onload = () => {
  6195. _iframe.contentWindow.document.body.appendChild(script1);
  6196. _iframe.contentWindow.document.body.appendChild(script2);
  6197. _iframe.contentWindow.document.body.appendChild(script4);
  6198. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6199. };
  6200. if (onloadListener) {
  6201. _iframe.contentDocument.location.reload()
  6202. } else {
  6203. _iframe.contentDocument.location.reload()
  6204. }
  6205. } else {
  6206. _iframe.onload = () => {
  6207. _iframe.contentWindow.document.body.appendChild(script1);
  6208. _iframe.contentWindow.document.body.appendChild(script2);
  6209. // _iframe.contentWindow.document.body.appendChild(script3);
  6210. _iframe.contentWindow.document.body.appendChild(script4);
  6211. };
  6212. }
  6213. _jie.onclick = async () => {
  6214. let text = ''
  6215. if (aTool == 1) {
  6216. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6217. } else if (aTool == 6) {
  6218. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6219. } else if (aTool == 3) {
  6220. text = await U.MD.D.I.getEditorContent(_iframe);
  6221. }
  6222. _loading.style.display = 'flex'
  6223. console.log(_loading);
  6224. var _ajs = _iframe.contentWindow.document.createElement("script");
  6225. _ajs.type = "text/javascript";
  6226. _ajs.innerHTML =
  6227. // 'console.log(' + _loading + ');\n' +
  6228. 'var _js = document.createElement("script");\n' +
  6229. '_js.type="text/javascript";\n' +
  6230. '_js.charset="UTF-8";\n' +
  6231. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6232. "_js.onload = function(){\n" +
  6233. ' var a = document.getElementsByTagName("img")\n' +
  6234. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6235. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6236. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6237. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6238. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6239. "beforeUpload_shishi(file," +
  6240. "'" +
  6241. _userid +
  6242. "'" +
  6243. ", " +
  6244. "'" +
  6245. _cid +
  6246. "'" +
  6247. ", " +
  6248. "'" +
  6249. _stage +
  6250. "'" +
  6251. ", " +
  6252. "'" +
  6253. _task +
  6254. "'" +
  6255. ", " +
  6256. "'" +
  6257. _tool +
  6258. "'" +
  6259. ", " +
  6260. "'" +
  6261. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6262. "'" +
  6263. ", " +
  6264. "'" +
  6265. aTool +
  6266. "'" +
  6267. ", " +
  6268. "`" +
  6269. text +
  6270. "`" +
  6271. ")\n" +
  6272. " });\n" +
  6273. "}\n" +
  6274. "document.head.appendChild(_js);\n";
  6275. _iframe.contentWindow.document.head.appendChild(_ajs);
  6276. }
  6277. }
  6278. }
  6279. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6280. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6281. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6282. _userid = student.userid, //登录用户id
  6283. _username = student.student //用户名字
  6284. let _iframe;
  6285. let _cid = cid,
  6286. _stage = stage,
  6287. _task = task,
  6288. _tool = tool;
  6289. var _jie = $$("div", {
  6290. "style": {
  6291. "position": "absolute",
  6292. "bottom": "50px",
  6293. "right": "50px",
  6294. "zIndex": "9999",
  6295. "backgroundColor": "#2268bc",
  6296. "color": "#fff",
  6297. "padding": "12px 20px",
  6298. "cursor": "pointer",
  6299. "borderRadius": "4px",
  6300. },
  6301. "innerHTML": "提交作业"
  6302. })
  6303. let aTool = ''
  6304. let _loading = document.createElement('div')
  6305. _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;"
  6306. // _loading.id = "";
  6307. let _lchild = document.createElement('div')
  6308. let _limg = document.createElement('img')
  6309. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6310. _limg.style = "width: 26px;margin-right: 10px;"
  6311. _lchild.appendChild(_limg)
  6312. let _lspan = document.createElement('span')
  6313. _lspan.innerHTML = "上传中..."
  6314. _lchild.appendChild(_lspan)
  6315. _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%);"
  6316. _loading.appendChild(_lchild)
  6317. var _box = $$('div', {
  6318. "style": {
  6319. "position": "relative",
  6320. "width": "100%",
  6321. "height": "100%",
  6322. },
  6323. })
  6324. _box.appendChild(_loading)
  6325. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6326. switch (str) {
  6327. case "whiteboard":
  6328. aTool = 1;
  6329. _iframe = $$("iframe", {
  6330. "frameborder": "no",
  6331. "border": "0",
  6332. "scrolling ": "no",
  6333. "style": {
  6334. "cssText": "border:0;width:100%;height:100%"
  6335. },
  6336. "src": "https://iwb.cocorobo.cn/"
  6337. })
  6338. _box.appendChild(_iframe);
  6339. _box.appendChild(_jie);
  6340. _formdiv = new U.UF.UI.form(
  6341. "电子白板-" + _username,
  6342. _box, {
  6343. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6344. "style": {
  6345. "width": "90%",
  6346. "height": "90%",
  6347. "overflow": 'hidden'
  6348. },
  6349. "onresize": function () { }
  6350. }, {
  6351. closecallback: function () { }
  6352. }, {
  6353. "style": {
  6354. "height": "36px"
  6355. }
  6356. }).form; //创建窗体
  6357. _taskbar = {
  6358. "id": str + _formdiv.id,
  6359. "style": {
  6360. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6361. },
  6362. "name": "电子白板",
  6363. "forms": _formdiv,
  6364. "click": function () {
  6365. U.MD.D.I.openApplication(str, obj, info);
  6366. }
  6367. }
  6368. break;
  6369. case "mind":
  6370. aTool = 3;
  6371. _iframe = $$("iframe", {
  6372. "frameborder": "no",
  6373. "border": "0",
  6374. "scrolling ": "no",
  6375. "style": {
  6376. "cssText": "border:0;width:100%;height:100%"
  6377. },
  6378. "src": "/kityminder-editor/dist/index.html"
  6379. })
  6380. _box.appendChild(_iframe);
  6381. _box.appendChild(_jie);
  6382. _formdiv = new U.UF.UI.form(
  6383. "思维导图-" + _username,
  6384. _box, { //"/jsmind/example/demo.html"
  6385. "id": "mind" + cid + stage + task + tool + _userid,
  6386. "style": {
  6387. "width": "90%",
  6388. "height": "90%",
  6389. "overflow": 'hidden'
  6390. },
  6391. "onresize": function () { }
  6392. }, {
  6393. closecallback: function () { }
  6394. }, {
  6395. "style": {
  6396. "height": "36px"
  6397. }
  6398. }).form; //创建窗体
  6399. _taskbar = {
  6400. "id": str + _formdiv.id,
  6401. "style": {
  6402. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6403. },
  6404. "name": "思维导图",
  6405. "forms": _formdiv,
  6406. "click": function () {
  6407. U.MD.D.I.openApplication(str, obj, info);
  6408. }
  6409. }
  6410. break;
  6411. case "MindMap":
  6412. aTool = 3;
  6413. _iframe = $$("iframe", {
  6414. "frameborder": "no",
  6415. "border": "0",
  6416. "scrolling ": "no",
  6417. "style": {
  6418. "cssText": "border:0;width:100%;height:100%"
  6419. },
  6420. "src": "//cloud.cocorobo.cn/mind/"
  6421. })
  6422. _box.appendChild(_iframe);
  6423. _box.appendChild(_jie);
  6424. _formdiv = new U.UF.UI.form(
  6425. "思维导图-" + _username,
  6426. _box, { //"/jsmind/example/demo.html"
  6427. "id": "mind" + cid + stage + task + tool + _userid,
  6428. "style": {
  6429. "width": "90%",
  6430. "height": "90%",
  6431. "overflow": 'hidden'
  6432. },
  6433. "onresize": function () { }
  6434. }, {
  6435. closecallback: function () { }
  6436. }, {
  6437. "style": {
  6438. "height": "36px"
  6439. }
  6440. }).form; //创建窗体
  6441. _taskbar = {
  6442. "id": str + _formdiv.id,
  6443. "style": {
  6444. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6445. },
  6446. "name": "思维导图",
  6447. "forms": _formdiv,
  6448. "click": function () {
  6449. U.MD.D.I.openApplication(str, obj, info);
  6450. }
  6451. }
  6452. break;
  6453. case "doc":
  6454. aTool = 6;
  6455. _iframe = $$("iframe", {
  6456. "frameborder": "no",
  6457. "border": "0",
  6458. "scrolling ": "no",
  6459. "style": {
  6460. "cssText": "border:0;width:100%;height:100%"
  6461. },
  6462. "src": "/Office/Word/WordEditArea.htm"
  6463. })
  6464. _box.appendChild(_iframe);
  6465. _box.appendChild(_jie);
  6466. _formdiv = new U.UF.UI.form(
  6467. "协同文档-" + _username,
  6468. _box, {
  6469. "id": "doc" + cid + stage + task + tool + _userid,
  6470. "style": {
  6471. "width": "90%",
  6472. "height": "90%",
  6473. "overflow": 'hidden'
  6474. },
  6475. "onresize": function () { }
  6476. }, {
  6477. closecallback: function () { }
  6478. }, {
  6479. "style": {
  6480. "height": "36px"
  6481. }
  6482. }).form; //创建窗体
  6483. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6484. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6485. })
  6486. _taskbar = {
  6487. "id": str + _formdiv.id,
  6488. "style": {
  6489. "backgroundImage": "url(/img/icon/doc.png)"
  6490. },
  6491. "name": "协同文档",
  6492. "forms": _formdiv,
  6493. "click": function () {
  6494. U.MD.D.I.openApplication(str, obj, info);
  6495. }
  6496. }
  6497. break;
  6498. case "mindNetwork": //好友打开
  6499. aTool = 7;
  6500. _iframe = $$("iframe", {
  6501. "webkitallowfullscreen": "",
  6502. "mozallowfullscreen": "",
  6503. "allowfullscreen": "",
  6504. "frameborder": "no",
  6505. "border": "0",
  6506. "scrolling ": "no",
  6507. "style": {
  6508. "cssText": "border:0; width:100%; height:100%;"
  6509. },
  6510. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6511. })
  6512. _box.appendChild(_iframe);
  6513. _box.appendChild(_jie);
  6514. _formdiv = new U.UF.UI.form(
  6515. "思维网格-" + _username,
  6516. _box, {
  6517. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6518. "style": {
  6519. "width": "90%",
  6520. "height": "90%",
  6521. "overflow": 'hidden'
  6522. },
  6523. "onresize": function () { }
  6524. }, {
  6525. closecallback: function () { }
  6526. }, {
  6527. "style": {
  6528. "height": "36px"
  6529. }
  6530. }).form; //创建窗体
  6531. _taskbar = {
  6532. "id": str + _formdiv.id,
  6533. "style": {
  6534. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6535. },
  6536. "name": "思维网格",
  6537. "forms": _formdiv,
  6538. "click": function () {
  6539. U.MD.D.I.openApplication(str, obj, info);
  6540. }
  6541. }
  6542. break;
  6543. case "courseDesign":
  6544. _iframe = $$("iframe", {
  6545. "webkitallowfullscreen": "",
  6546. "mozallowfullscreen": "",
  6547. "allowfullscreen": "",
  6548. "frameborder": "no",
  6549. "border": "0",
  6550. "scrolling ": "no",
  6551. "style": {
  6552. "cssText": "border:0; width:100%; height:100%;"
  6553. },
  6554. "src": "/course-design-vue"
  6555. })
  6556. _box.appendChild(_iframe);
  6557. _box.appendChild(_jie);
  6558. _formdiv = new U.UF.UI.form(
  6559. "项目设计-" + _username,
  6560. _box, {
  6561. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6562. "style": {
  6563. "width": "90%",
  6564. "height": "90%",
  6565. "overflow": 'hidden'
  6566. },
  6567. "onresize": function () { }
  6568. }, {
  6569. closecallback: function () { }
  6570. }, {
  6571. "style": {
  6572. "height": "36px"
  6573. }
  6574. }).form; //创建窗体
  6575. _taskbar = {
  6576. "id": str + _formdiv.id,
  6577. "style": {
  6578. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6579. },
  6580. "name": "项目设计",
  6581. "forms": _formdiv,
  6582. "click": function () {
  6583. U.MD.D.I.openApplication(str, obj, info);
  6584. }
  6585. }
  6586. break;
  6587. }
  6588. const script1 = document.createElement("script");
  6589. script1.type = "text/javascript";
  6590. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6591. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6592. const script2 = document.createElement("script");
  6593. script2.type = "text/javascript";
  6594. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6595. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6596. const script3 = document.createElement("script");
  6597. script3.type = "text/javascript";
  6598. script3.charset = "UTF-8";
  6599. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6600. const script4 = document.createElement("script");
  6601. script4.type = "text/javascript";
  6602. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6603. script4.src = window.origin + "/js/Common/jietu2E.js";
  6604. if (_iframe) {
  6605. if (str == 'doc') {
  6606. _iframe = _formdiv.querySelector('iframe')
  6607. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6608. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6609. _iframe.contentWindow.document.body.appendChild(script1);
  6610. _iframe.contentWindow.document.body.appendChild(script2);
  6611. // _iframe.contentWindow.document.body.appendChild(script3);
  6612. _iframe.contentWindow.document.body.appendChild(script4);
  6613. })
  6614. if (onloadListener) {
  6615. _iframe.contentDocument.location.reload()
  6616. } else {
  6617. _iframe.contentDocument.location.reload()
  6618. }
  6619. } else if (str == 'courseDesign') {
  6620. U.UF.DL.iframeLoad(_iframe, function () {
  6621. // _iframe.contentWindow.U.MD.O.W.load();
  6622. // _iframe.contentWindow.document.body.appendChild(script1);
  6623. _iframe.contentWindow.document.body.appendChild(script2);
  6624. _iframe.contentWindow.document.body.appendChild(script4);
  6625. })
  6626. } else if (str == 'mind') {
  6627. _iframe = _formdiv.querySelector('iframe')
  6628. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6629. //
  6630. _iframe.contentWindow.document.body.appendChild(script1);
  6631. _iframe.contentWindow.document.body.appendChild(script2);
  6632. _iframe.contentWindow.document.body.appendChild(script4);
  6633. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6634. })
  6635. if (onloadListener) {
  6636. _iframe.contentDocument.location.reload()
  6637. } else {
  6638. _iframe.contentDocument.location.reload()
  6639. }
  6640. } else if (str == 'whiteboard') {
  6641. _iframe = _formdiv.querySelector('iframe')
  6642. let onloadListener = _iframe.onload = () => {
  6643. _iframe.contentWindow.document.body.appendChild(script1);
  6644. _iframe.contentWindow.document.body.appendChild(script2);
  6645. _iframe.contentWindow.document.body.appendChild(script4);
  6646. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6647. };
  6648. if (onloadListener) {
  6649. _iframe.contentDocument.location.reload()
  6650. } else {
  6651. _iframe.contentDocument.location.reload()
  6652. }
  6653. } else {
  6654. _iframe.onload = () => {
  6655. _iframe.contentWindow.document.body.appendChild(script1);
  6656. _iframe.contentWindow.document.body.appendChild(script2);
  6657. // _iframe.contentWindow.document.body.appendChild(script3);
  6658. _iframe.contentWindow.document.body.appendChild(script4);
  6659. };
  6660. }
  6661. _jie.onclick = async () => {
  6662. let text = ''
  6663. if (aTool == 1) {
  6664. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6665. } else if (aTool == 6) {
  6666. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6667. } else if (aTool == 3) {
  6668. text = await U.MD.D.I.getEditorContent(_iframe);
  6669. }
  6670. _loading.style.display = 'flex'
  6671. console.log(_loading);
  6672. var _ajs = _iframe.contentWindow.document.createElement("script");
  6673. _ajs.type = "text/javascript";
  6674. _ajs.innerHTML =
  6675. // 'console.log(' + _loading + ');\n' +
  6676. 'var _js = document.createElement("script");\n' +
  6677. '_js.type="text/javascript";\n' +
  6678. '_js.charset="UTF-8";\n' +
  6679. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6680. "_js.onload = function(){\n" +
  6681. ' var a = document.getElementsByTagName("img")\n' +
  6682. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6683. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6684. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6685. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6686. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6687. "beforeUpload_shishi(file," +
  6688. "'" +
  6689. _userid +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. _cid +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _stage +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _task +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. _tool +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6710. "'" +
  6711. ", " +
  6712. "'" +
  6713. aTool +
  6714. "'" +
  6715. ", " +
  6716. "`" +
  6717. text +
  6718. "`" +
  6719. ")\n" +
  6720. " });\n" +
  6721. "}\n" +
  6722. "document.head.appendChild(_js);\n";
  6723. _iframe.contentWindow.document.head.appendChild(_ajs);
  6724. }
  6725. }
  6726. }
  6727. U.MD.D.I.getEditorContent = function (iframe) {
  6728. return new Promise((resolve, reject) => {
  6729. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6730. console.log(content);
  6731. resolve(content)
  6732. });
  6733. });
  6734. }
  6735. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6736. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6737. // if (res.value[0].length > 0) {
  6738. // // resolve(res.value[0][0].text);
  6739. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6740. // $(fileInput).val('');
  6741. // });
  6742. // }
  6743. // }, [], { "type": "GET", "withCredentials": true });
  6744. var xmlhttp;
  6745. var Mac, Sn, DeviceId
  6746. if (window.XMLHttpRequest) {
  6747. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6748. xmlhttp = new XMLHttpRequest();
  6749. } else {
  6750. // IE6, IE5 浏览器执行代码
  6751. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6752. }
  6753. xmlhttp.onreadystatechange = function () {
  6754. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6755. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6756. // resolve(res.value[0][0].text);
  6757. if (type == '2') {
  6758. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6759. } else if (type == '3') {
  6760. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6761. }
  6762. } else {
  6763. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6764. }
  6765. }
  6766. }
  6767. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6768. xmlhttp.send();
  6769. }
  6770. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6771. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6772. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6773. _userinfo = US.userInfo, //登录用户信息
  6774. _userid = US.userInfo.userid //登录用户id
  6775. let _iframe;
  6776. let _cid = cid,
  6777. _stage = stage,
  6778. _task = task,
  6779. _tool = tool;
  6780. var _jie = $$("div", {
  6781. "style": {
  6782. "position": "absolute",
  6783. "bottom": "50px",
  6784. "right": "50px",
  6785. "zIndex": "9999",
  6786. "backgroundColor": "#2268bc",
  6787. "color": "#fff",
  6788. "padding": "12px 20px",
  6789. "cursor": "pointer",
  6790. "borderRadius": "4px",
  6791. },
  6792. "innerHTML": "确认并提交"
  6793. })
  6794. let aTool = ''
  6795. let _loading = document.createElement('div')
  6796. _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;"
  6797. // _loading.id = "";
  6798. let _lchild = document.createElement('div')
  6799. let _limg = document.createElement('img')
  6800. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6801. _limg.style = "width: 26px;margin-right: 10px;"
  6802. _lchild.appendChild(_limg)
  6803. let _lspan = document.createElement('span')
  6804. _lspan.innerHTML = "上传中..."
  6805. _lchild.appendChild(_lspan)
  6806. _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%);"
  6807. _loading.appendChild(_lchild)
  6808. var _box = $$('div', {
  6809. "style": {
  6810. "position": "relative",
  6811. "width": "100%",
  6812. "height": "100%",
  6813. },
  6814. })
  6815. _box.appendChild(_loading)
  6816. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6817. switch (str) {
  6818. case "whiteboard":
  6819. aTool = 1;
  6820. _iframe = $$("iframe", {
  6821. "frameborder": "no",
  6822. "border": "0",
  6823. "scrolling ": "no",
  6824. "style": {
  6825. "cssText": "border:0;width:100%;height:100%"
  6826. },
  6827. "src": "https://iwb.cocorobo.cn/"
  6828. })
  6829. _box.appendChild(_iframe);
  6830. _box.appendChild(_jie);
  6831. _formdiv = new U.UF.UI.form(
  6832. "电子白板",
  6833. _box, {
  6834. "id": "whiteboards" + cid + stage + task + tool,
  6835. "style": {
  6836. "width": "90%",
  6837. "height": "90%",
  6838. "overflow": 'hidden'
  6839. },
  6840. "onresize": function () { }
  6841. }, {
  6842. closecallback: function () { }
  6843. }, {
  6844. "style": {
  6845. "height": "36px"
  6846. }
  6847. }).form; //创建窗体
  6848. _taskbar = {
  6849. "id": str + _formdiv.id,
  6850. "style": {
  6851. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6852. },
  6853. "name": "电子白板",
  6854. "forms": _formdiv,
  6855. "click": function () {
  6856. U.MD.D.I.openApplication(str, obj, info);
  6857. }
  6858. }
  6859. break;
  6860. case "mind":
  6861. aTool = 3;
  6862. _iframe = $$("iframe", {
  6863. "frameborder": "no",
  6864. "border": "0",
  6865. "scrolling ": "no",
  6866. "style": {
  6867. "cssText": "border:0;width:100%;height:100%"
  6868. },
  6869. "src": "/kityminder-editor/dist/index.html"
  6870. });
  6871. _box.appendChild(_iframe);
  6872. _box.appendChild(_jie);
  6873. _formdiv = new U.UF.UI.form(
  6874. "思维导图",
  6875. _box, { //"/jsmind/example/demo.html"
  6876. "id": "minds" + cid + stage + task + tool,
  6877. "style": {
  6878. "width": "90%",
  6879. "height": "90%",
  6880. "overflow": 'hidden'
  6881. },
  6882. "onresize": function () { }
  6883. }, {
  6884. closecallback: function () { }
  6885. }, {
  6886. "style": {
  6887. "height": "36px"
  6888. }
  6889. }).form; //创建窗体
  6890. _taskbar = {
  6891. "id": str + _formdiv.id,
  6892. "style": {
  6893. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6894. },
  6895. "name": "思维导图",
  6896. "forms": _formdiv,
  6897. "click": function () {
  6898. U.MD.D.I.openApplication(str, obj, info);
  6899. }
  6900. }
  6901. break;
  6902. case "doc":
  6903. aTool = 6;
  6904. _iframe = $$("iframe", {
  6905. "frameborder": "no",
  6906. "border": "0",
  6907. "scrolling ": "no",
  6908. "style": {
  6909. "cssText": "border:0;width:100%;height:100%"
  6910. },
  6911. "src": "/Office/Word/WordEditArea.htm"
  6912. })
  6913. _box.appendChild(_iframe);
  6914. _box.appendChild(_jie);
  6915. _formdiv = new U.UF.UI.form(
  6916. "协同文档",
  6917. _box, {
  6918. "id": "docs" + cid + stage + task + tool,
  6919. "style": {
  6920. "width": "90%",
  6921. "height": "90%",
  6922. "overflow": 'hidden'
  6923. },
  6924. "onresize": function () { }
  6925. }, {
  6926. closecallback: function () { }
  6927. }, {
  6928. "style": {
  6929. "height": "36px"
  6930. }
  6931. }).form; //创建窗体
  6932. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6933. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6934. })
  6935. _taskbar = {
  6936. "id": str + _formdiv.id,
  6937. "style": {
  6938. "backgroundImage": "url(/img/icon/doc.png)"
  6939. },
  6940. "name": "协同文档",
  6941. "forms": _formdiv,
  6942. "click": function () {
  6943. U.MD.D.I.openApplication(str, obj, info);
  6944. }
  6945. }
  6946. break;
  6947. }
  6948. const script1 = document.createElement("script");
  6949. script1.type = "text/javascript";
  6950. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6951. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6952. const script2 = document.createElement("script");
  6953. script2.type = "text/javascript";
  6954. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6955. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6956. const script3 = document.createElement("script");
  6957. script3.type = "text/javascript";
  6958. script3.charset = "UTF-8";
  6959. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6960. const script4 = document.createElement("script");
  6961. script4.type = "text/javascript";
  6962. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6963. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6964. if (_iframe) {
  6965. if (str == 'doc') {
  6966. _iframe = _formdiv.querySelector('iframe')
  6967. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6968. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6969. _iframe.contentWindow.document.body.appendChild(script1);
  6970. _iframe.contentWindow.document.body.appendChild(script2);
  6971. // _iframe.contentWindow.document.body.appendChild(script3);
  6972. _iframe.contentWindow.document.body.appendChild(script4);
  6973. })
  6974. if (onloadListener) {
  6975. _iframe.contentDocument.location.reload()
  6976. } else {
  6977. _iframe.contentDocument.location.reload()
  6978. }
  6979. } else if (str == 'mind') {
  6980. _iframe = _formdiv.querySelector('iframe')
  6981. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6982. _iframe.contentWindow.document.body.appendChild(script1);
  6983. _iframe.contentWindow.document.body.appendChild(script2);
  6984. _iframe.contentWindow.document.body.appendChild(script4);
  6985. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6986. })
  6987. if (onloadListener) {
  6988. _iframe.contentDocument.location.reload()
  6989. } else {
  6990. _iframe.contentDocument.location.reload()
  6991. }
  6992. } else {
  6993. _iframe.onload = () => {
  6994. _iframe.contentWindow.document.body.appendChild(script1);
  6995. _iframe.contentWindow.document.body.appendChild(script2);
  6996. // _iframe.contentWindow.document.body.appendChild(script3);
  6997. _iframe.contentWindow.document.body.appendChild(script4);
  6998. };
  6999. }
  7000. _jie.onclick = async () => {
  7001. let text = ''
  7002. if (aTool == 6) {
  7003. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7004. } else if (aTool == 3) {
  7005. text = await U.MD.D.I.getEditorContent(_iframe);
  7006. }
  7007. _loading.style.display = 'flex'
  7008. console.log(_loading);
  7009. var _ajs = _iframe.contentWindow.document.createElement("script");
  7010. _ajs.type = "text/javascript";
  7011. _ajs.innerHTML =
  7012. // 'console.log(' + _loading + ');\n' +
  7013. 'var _js = document.createElement("script");\n' +
  7014. '_js.type="text/javascript";\n' +
  7015. '_js.charset="UTF-8";\n' +
  7016. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7017. "_js.onload = function(){\n" +
  7018. ' var a = document.getElementsByTagName("img")\n' +
  7019. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7020. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7021. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7022. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7023. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7024. "beforeUpload_shishi(file," +
  7025. "'" +
  7026. _userid +
  7027. "'" +
  7028. ", " +
  7029. "'" +
  7030. _cid +
  7031. "'" +
  7032. ", " +
  7033. "'" +
  7034. _stage +
  7035. "'" +
  7036. ", " +
  7037. "'" +
  7038. _task +
  7039. "'" +
  7040. ", " +
  7041. "'" +
  7042. _tool +
  7043. "'" +
  7044. ", " +
  7045. "'" +
  7046. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7047. "'" +
  7048. ", " +
  7049. "'" +
  7050. aTool +
  7051. "'" +
  7052. ", " +
  7053. "`" +
  7054. text +
  7055. "`" +
  7056. ")\n" +
  7057. " });\n" +
  7058. "}\n" +
  7059. "document.head.appendChild(_js);\n";
  7060. _iframe.contentWindow.document.head.appendChild(_ajs);
  7061. }
  7062. }
  7063. //U.MD.D.I.openClick(str);
  7064. //如果有任务栏信息
  7065. // if (_taskbar) {
  7066. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7067. // }
  7068. }
  7069. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7070. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7071. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7072. _userinfo = US.userInfo, //登录用户信息
  7073. _userid = US.userInfo.userid //登录用户id
  7074. let _iframe;
  7075. let _cid = cid,
  7076. _stage = stage,
  7077. _task = task,
  7078. _tool = tool;
  7079. var _jie = $$("div", {
  7080. "style": {
  7081. "position": "absolute",
  7082. "bottom": "50px",
  7083. "right": "50px",
  7084. "zIndex": "9999",
  7085. "backgroundColor": "#2268bc",
  7086. "color": "#fff",
  7087. "padding": "12px 20px",
  7088. "cursor": "pointer",
  7089. "borderRadius": "4px",
  7090. },
  7091. "innerHTML": "确认并提交"
  7092. })
  7093. let aTool = ''
  7094. let _loading = document.createElement('div')
  7095. _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;"
  7096. // _loading.id = "";
  7097. let _lchild = document.createElement('div')
  7098. let _limg = document.createElement('img')
  7099. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7100. _limg.style = "width: 26px;margin-right: 10px;"
  7101. _lchild.appendChild(_limg)
  7102. let _lspan = document.createElement('span')
  7103. _lspan.innerHTML = "上传中..."
  7104. _lchild.appendChild(_lspan)
  7105. _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%);"
  7106. _loading.appendChild(_lchild)
  7107. var _box = $$('div', {
  7108. "style": {
  7109. "position": "relative",
  7110. "width": "100%",
  7111. "height": "100%",
  7112. },
  7113. })
  7114. _box.appendChild(_loading)
  7115. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7116. switch (str) {
  7117. case "whiteboard":
  7118. aTool = 1;
  7119. _iframe = $$("iframe", {
  7120. "frameborder": "no",
  7121. "border": "0",
  7122. "scrolling ": "no",
  7123. "style": {
  7124. "cssText": "border:0;width:100%;height:100%"
  7125. },
  7126. "src": "https://iwb.cocorobo.cn/"
  7127. })
  7128. _box.appendChild(_iframe);
  7129. _box.appendChild(_jie);
  7130. _formdiv = new U.UF.UI.form(
  7131. "电子白板",
  7132. _box, {
  7133. "id": "whiteboards" + cid + stage + task + tool,
  7134. "style": {
  7135. "width": "90%",
  7136. "height": "90%",
  7137. "overflow": 'hidden'
  7138. },
  7139. "onresize": function () { }
  7140. }, {
  7141. closecallback: function () { }
  7142. }, {
  7143. "style": {
  7144. "height": "36px"
  7145. }
  7146. }).form; //创建窗体
  7147. _taskbar = {
  7148. "id": str + _formdiv.id,
  7149. "style": {
  7150. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7151. },
  7152. "name": "电子白板",
  7153. "forms": _formdiv,
  7154. "click": function () {
  7155. U.MD.D.I.openApplication(str, obj, info);
  7156. }
  7157. }
  7158. break;
  7159. case "mind":
  7160. aTool = 3;
  7161. _iframe = $$("iframe", {
  7162. "frameborder": "no",
  7163. "border": "0",
  7164. "scrolling ": "no",
  7165. "style": {
  7166. "cssText": "border:0;width:100%;height:100%"
  7167. },
  7168. "src": "/kityminder-editor/dist/index.html"
  7169. });
  7170. _box.appendChild(_iframe);
  7171. _box.appendChild(_jie);
  7172. _formdiv = new U.UF.UI.form(
  7173. "思维导图",
  7174. _box, { //"/jsmind/example/demo.html"
  7175. "id": "minds" + cid + stage + task + tool,
  7176. "style": {
  7177. "width": "90%",
  7178. "height": "90%",
  7179. "overflow": 'hidden'
  7180. },
  7181. "onresize": function () { }
  7182. }, {
  7183. closecallback: function () { }
  7184. }, {
  7185. "style": {
  7186. "height": "36px"
  7187. }
  7188. }).form; //创建窗体
  7189. _taskbar = {
  7190. "id": str + _formdiv.id,
  7191. "style": {
  7192. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7193. },
  7194. "name": "思维导图",
  7195. "forms": _formdiv,
  7196. "click": function () {
  7197. U.MD.D.I.openApplication(str, obj, info);
  7198. }
  7199. }
  7200. break;
  7201. case "doc":
  7202. aTool = 6;
  7203. _iframe = $$("iframe", {
  7204. "frameborder": "no",
  7205. "border": "0",
  7206. "scrolling ": "no",
  7207. "style": {
  7208. "cssText": "border:0;width:100%;height:100%"
  7209. },
  7210. "src": "/Office/Word/WordEditArea.htm"
  7211. })
  7212. _box.appendChild(_iframe);
  7213. _box.appendChild(_jie);
  7214. _formdiv = new U.UF.UI.form(
  7215. "协同文档",
  7216. _box, {
  7217. "id": "docs" + cid + stage + task + tool,
  7218. "style": {
  7219. "width": "90%",
  7220. "height": "90%",
  7221. "overflow": 'hidden'
  7222. },
  7223. "onresize": function () { }
  7224. }, {
  7225. closecallback: function () { }
  7226. }, {
  7227. "style": {
  7228. "height": "36px"
  7229. }
  7230. }).form; //创建窗体
  7231. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7232. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7233. })
  7234. _taskbar = {
  7235. "id": str + _formdiv.id,
  7236. "style": {
  7237. "backgroundImage": "url(/img/icon/doc.png)"
  7238. },
  7239. "name": "协同文档",
  7240. "forms": _formdiv,
  7241. "click": function () {
  7242. U.MD.D.I.openApplication(str, obj, info);
  7243. }
  7244. }
  7245. break;
  7246. }
  7247. const script1 = document.createElement("script");
  7248. script1.type = "text/javascript";
  7249. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7250. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7251. const script2 = document.createElement("script");
  7252. script2.type = "text/javascript";
  7253. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7254. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7255. const script3 = document.createElement("script");
  7256. script3.type = "text/javascript";
  7257. script3.charset = "UTF-8";
  7258. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7259. const script4 = document.createElement("script");
  7260. script4.type = "text/javascript";
  7261. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7262. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7263. if (_iframe) {
  7264. if (str == 'doc') {
  7265. _iframe = _formdiv.querySelector('iframe')
  7266. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7267. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7268. _iframe.contentWindow.document.body.appendChild(script1);
  7269. _iframe.contentWindow.document.body.appendChild(script2);
  7270. // _iframe.contentWindow.document.body.appendChild(script3);
  7271. _iframe.contentWindow.document.body.appendChild(script4);
  7272. })
  7273. if (onloadListener) {
  7274. _iframe.contentDocument.location.reload()
  7275. } else {
  7276. _iframe.contentDocument.location.reload()
  7277. }
  7278. } else if (str == 'mind') {
  7279. _iframe = _formdiv.querySelector('iframe')
  7280. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7281. _iframe.contentWindow.document.body.appendChild(script1);
  7282. _iframe.contentWindow.document.body.appendChild(script2);
  7283. _iframe.contentWindow.document.body.appendChild(script4);
  7284. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7285. })
  7286. if (onloadListener) {
  7287. _iframe.contentDocument.location.reload()
  7288. } else {
  7289. _iframe.contentDocument.location.reload()
  7290. }
  7291. } else {
  7292. _iframe.onload = () => {
  7293. _iframe.contentWindow.document.body.appendChild(script1);
  7294. _iframe.contentWindow.document.body.appendChild(script2);
  7295. // _iframe.contentWindow.document.body.appendChild(script3);
  7296. _iframe.contentWindow.document.body.appendChild(script4);
  7297. };
  7298. }
  7299. _jie.onclick = async () => {
  7300. let text = ''
  7301. if (aTool == 6) {
  7302. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7303. } else if (aTool == 3) {
  7304. text = await U.MD.D.I.getEditorContent(_iframe);
  7305. }
  7306. _loading.style.display = 'flex'
  7307. console.log(_loading);
  7308. var _ajs = _iframe.contentWindow.document.createElement("script");
  7309. _ajs.type = "text/javascript";
  7310. _ajs.innerHTML =
  7311. // 'console.log(' + _loading + ');\n' +
  7312. 'var _js = document.createElement("script");\n' +
  7313. '_js.type="text/javascript";\n' +
  7314. '_js.charset="UTF-8";\n' +
  7315. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7316. "_js.onload = function(){\n" +
  7317. ' var a = document.getElementsByTagName("img")\n' +
  7318. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7319. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7320. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7321. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7322. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7323. "beforeUpload_shishi(file," +
  7324. "'" +
  7325. _userid +
  7326. "'" +
  7327. ", " +
  7328. "'" +
  7329. _cid +
  7330. "'" +
  7331. ", " +
  7332. "'" +
  7333. _stage +
  7334. "'" +
  7335. ", " +
  7336. "'" +
  7337. _task +
  7338. "'" +
  7339. ", " +
  7340. "'" +
  7341. _tool +
  7342. "'" +
  7343. ", " +
  7344. "'" +
  7345. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7346. "'" +
  7347. ", " +
  7348. "'" +
  7349. aTool +
  7350. "'" +
  7351. ", " +
  7352. "`" +
  7353. text +
  7354. "`" +
  7355. ")\n" +
  7356. " });\n" +
  7357. "}\n" +
  7358. "document.head.appendChild(_js);\n";
  7359. _iframe.contentWindow.document.head.appendChild(_ajs);
  7360. }
  7361. }
  7362. //U.MD.D.I.openClick(str);
  7363. //如果有任务栏信息
  7364. // if (_taskbar) {
  7365. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7366. // }
  7367. }
  7368. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7369. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7370. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7371. _userinfo = US.userInfo, //登录用户信息
  7372. _userid = US.userInfo.userid //登录用户id
  7373. let _iframe;
  7374. let _cid = cid,
  7375. _stage = stage,
  7376. _task = task,
  7377. _tool = tool;
  7378. var _jie = $$("div", {
  7379. "style": {
  7380. "position": "absolute",
  7381. "bottom": "50px",
  7382. "right": "50px",
  7383. "zIndex": "9999",
  7384. "backgroundColor": "#2268bc",
  7385. "color": "#fff",
  7386. "padding": "12px 20px",
  7387. "cursor": "pointer",
  7388. "borderRadius": "4px",
  7389. },
  7390. "innerHTML": "上传模板"
  7391. })
  7392. let aTool = ''
  7393. let _loading = document.createElement('div')
  7394. _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;"
  7395. // _loading.id = "";
  7396. let _lchild = document.createElement('div')
  7397. let _limg = document.createElement('img')
  7398. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7399. _limg.style = "width: 26px;margin-right: 10px;"
  7400. _lchild.appendChild(_limg)
  7401. let _lspan = document.createElement('span')
  7402. _lspan.innerHTML = "上传中..."
  7403. _lchild.appendChild(_lspan)
  7404. _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%);"
  7405. _loading.appendChild(_lchild)
  7406. var _box = $$('div', {
  7407. "style": {
  7408. "position": "relative",
  7409. "width": "100%",
  7410. "height": "100%",
  7411. },
  7412. })
  7413. _box.appendChild(_loading)
  7414. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7415. switch (str) {
  7416. case "whiteboard":
  7417. aTool = 1;
  7418. _iframe = $$("iframe", {
  7419. "frameborder": "no",
  7420. "border": "0",
  7421. "scrolling ": "no",
  7422. "style": {
  7423. "cssText": "border:0;width:100%;height:100%"
  7424. },
  7425. "src": "https://iwb.cocorobo.cn/"
  7426. })
  7427. _box.appendChild(_iframe);
  7428. _box.appendChild(_jie);
  7429. _formdiv = new U.UF.UI.form(
  7430. "电子白板",
  7431. _box, {
  7432. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7433. "style": {
  7434. "width": "90%",
  7435. "height": "90%",
  7436. "overflow": 'hidden'
  7437. },
  7438. "onresize": function () { }
  7439. }, {
  7440. closecallback: function () { }
  7441. }, {
  7442. "style": {
  7443. "height": "36px"
  7444. }
  7445. }).form; //创建窗体
  7446. _taskbar = {
  7447. "id": str + _formdiv.id,
  7448. "style": {
  7449. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7450. },
  7451. "name": "电子白板",
  7452. "forms": _formdiv,
  7453. "click": function () {
  7454. U.MD.D.I.openApplication(str, obj, info);
  7455. }
  7456. }
  7457. break;
  7458. case "mind":
  7459. aTool = 3;
  7460. _iframe = $$("iframe", {
  7461. "frameborder": "no",
  7462. "border": "0",
  7463. "scrolling ": "no",
  7464. "style": {
  7465. "cssText": "border:0;width:100%;height:100%"
  7466. },
  7467. "src": "/kityminder-editor/dist/index.html"
  7468. });
  7469. _box.appendChild(_iframe);
  7470. _box.appendChild(_jie);
  7471. _formdiv = new U.UF.UI.form(
  7472. "思维导图",
  7473. _box, { //"/jsmind/example/demo.html"
  7474. "id": "minds_Yu" + cid + stage + task + tool,
  7475. "style": {
  7476. "width": "90%",
  7477. "height": "90%",
  7478. "overflow": 'hidden'
  7479. },
  7480. "onresize": function () { }
  7481. }, {
  7482. closecallback: function () { }
  7483. }, {
  7484. "style": {
  7485. "height": "36px"
  7486. }
  7487. }).form; //创建窗体
  7488. _taskbar = {
  7489. "id": str + _formdiv.id,
  7490. "style": {
  7491. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7492. },
  7493. "name": "思维导图",
  7494. "forms": _formdiv,
  7495. "click": function () {
  7496. U.MD.D.I.openApplication(str, obj, info);
  7497. }
  7498. }
  7499. break;
  7500. case "doc":
  7501. aTool = 6;
  7502. _iframe = $$("iframe", {
  7503. "frameborder": "no",
  7504. "border": "0",
  7505. "scrolling ": "no",
  7506. "style": {
  7507. "cssText": "border:0;width:100%;height:100%"
  7508. },
  7509. "src": "/Office/Word/WordEditArea.htm"
  7510. })
  7511. _box.appendChild(_iframe);
  7512. _box.appendChild(_jie);
  7513. _formdiv = new U.UF.UI.form(
  7514. "协同文档",
  7515. _box, {
  7516. "id": "docs_Yu" + cid + stage + task + tool,
  7517. "style": {
  7518. "width": "90%",
  7519. "height": "90%",
  7520. "overflow": 'hidden'
  7521. },
  7522. "onresize": function () { }
  7523. }, {
  7524. closecallback: function () { }
  7525. }, {
  7526. "style": {
  7527. "height": "36px"
  7528. }
  7529. }).form; //创建窗体
  7530. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7531. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7532. })
  7533. _taskbar = {
  7534. "id": str + _formdiv.id,
  7535. "style": {
  7536. "backgroundImage": "url(/img/icon/doc.png)"
  7537. },
  7538. "name": "协同文档",
  7539. "forms": _formdiv,
  7540. "click": function () {
  7541. U.MD.D.I.openApplication(str, obj, info);
  7542. }
  7543. }
  7544. break;
  7545. case "CocoPi":
  7546. aTool = 57;
  7547. _iframe = $$("iframe", {
  7548. "allowpaymentrequest": "allowpaymentrequest",
  7549. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7550. "webkitallowfullscreen": "",
  7551. "mozallowfullscreen": "",
  7552. "frameborder": "no",
  7553. "border": "0",
  7554. "scrolling ": "no",
  7555. "style": {
  7556. "cssText": "border:0;width:100%;height:100%"
  7557. },
  7558. "src": "https://pi.cocorobo.cn/"
  7559. })
  7560. _box.appendChild(_iframe);
  7561. _box.appendChild(_jie);
  7562. _formdiv = new U.UF.UI.form(
  7563. "CocoPi",
  7564. _box, {
  7565. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7566. "style": {
  7567. "width": "90%",
  7568. "height": "90%",
  7569. "overflow": 'hidden'
  7570. },
  7571. "onresize": function () { }
  7572. }, {
  7573. closecallback: function () { }
  7574. }, {
  7575. "style": {
  7576. "height": "36px"
  7577. }
  7578. }).form; //创建窗体
  7579. _taskbar = {
  7580. "id": str + _formdiv.id,
  7581. "style": {
  7582. "backgroundImage": "url(/img/icon/cocopi.png)"
  7583. },
  7584. "name": "CocoPi",
  7585. "forms": _formdiv,
  7586. "click": function () {
  7587. U.MD.D.I.openApplication(str, obj, info);
  7588. }
  7589. }
  7590. break;
  7591. }
  7592. if (_iframe) {
  7593. if (str == 'doc') {
  7594. _iframe = _formdiv.querySelector('iframe')
  7595. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7596. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7597. })
  7598. if (onloadListener) {
  7599. _iframe.contentDocument.location.reload()
  7600. } else {
  7601. _iframe.contentDocument.location.reload()
  7602. }
  7603. } else if (str == 'mind') {
  7604. _iframe = _formdiv.querySelector('iframe')
  7605. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7606. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7607. })
  7608. if (onloadListener) {
  7609. _iframe.contentDocument.location.reload()
  7610. } else {
  7611. _iframe.contentDocument.location.reload()
  7612. }
  7613. } else if (str == 'whiteboard') {
  7614. _iframe = _formdiv.querySelector('iframe')
  7615. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7616. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7617. })
  7618. if (onloadListener) {
  7619. _iframe.contentDocument.location.reload()
  7620. } else {
  7621. _iframe.contentDocument.location.reload()
  7622. }
  7623. } else if (str == 'CocoPi') {
  7624. _iframe = _formdiv.querySelector('iframe')
  7625. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7626. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7627. })
  7628. if (onloadListener) {
  7629. _iframe.contentDocument.location.reload()
  7630. } else {
  7631. _iframe.contentDocument.location.reload()
  7632. }
  7633. } else {
  7634. _iframe.onload = () => { };
  7635. }
  7636. _jie.onclick = async () => {
  7637. let text = ''
  7638. let type = '2'
  7639. if (aTool == 1) {
  7640. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7641. type = '3'
  7642. } else if (aTool == 6) {
  7643. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7644. type = '1'
  7645. } else if (aTool == 3) {
  7646. text = await U.MD.D.I.getEditorContent(_iframe);
  7647. type = '2'
  7648. } else if (aTool == 57) {
  7649. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7650. type = '4'
  7651. }
  7652. _loading.style.display = 'flex'
  7653. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7654. }
  7655. }
  7656. //U.MD.D.I.openClick(str);
  7657. //如果有任务栏信息
  7658. // if (_taskbar) {
  7659. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7660. // }
  7661. }
  7662. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7663. var xmlhttp;
  7664. var Mac, Sn, DeviceId
  7665. if (window.XMLHttpRequest) {
  7666. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7667. xmlhttp = new XMLHttpRequest();
  7668. } else {
  7669. // IE6, IE5 浏览器执行代码
  7670. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7671. }
  7672. xmlhttp.onreadystatechange = function () {
  7673. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7674. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7675. // resolve(res.value[0][0].text);
  7676. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7677. }
  7678. }
  7679. }
  7680. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7681. xmlhttp.send();
  7682. }
  7683. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7684. var xmlhttp;
  7685. var Mac, Sn, DeviceId
  7686. if (window.XMLHttpRequest) {
  7687. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7688. xmlhttp = new XMLHttpRequest();
  7689. } else {
  7690. // IE6, IE5 浏览器执行代码
  7691. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7692. }
  7693. xmlhttp.onreadystatechange = function () {
  7694. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7695. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7696. // resolve(res.value[0][0].text);
  7697. if (type == '2') {
  7698. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7699. } else if (type == '3') {
  7700. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7701. } else if (type == '4') {
  7702. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7703. }
  7704. } else {
  7705. if (type == '2') {
  7706. iframe.contentWindow.editor.minder.importData('json', '')
  7707. } else if (type == '3') {
  7708. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7709. } else if (type == '4') {
  7710. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7711. }
  7712. }
  7713. }
  7714. }
  7715. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7716. xmlhttp.send();
  7717. }
  7718. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7719. var xmlhttp;
  7720. var Mac, Sn, DeviceId
  7721. if (window.XMLHttpRequest) {
  7722. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7723. xmlhttp = new XMLHttpRequest();
  7724. } else {
  7725. // IE6, IE5 浏览器执行代码
  7726. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7727. }
  7728. xmlhttp.onreadystatechange = function () {
  7729. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7730. if (xmlhttp.response) {
  7731. // resolve(res.value[0][0].text);
  7732. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7733. // $(fileInput).val('');
  7734. // });
  7735. span.innerHTML = '上传成功'
  7736. setTimeout(() => {
  7737. loading.style.display = 'none'
  7738. }, 1000);
  7739. }
  7740. }
  7741. }
  7742. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7743. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7744. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7745. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7746. // 设置请求头,表示请求体的编码格式
  7747. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7748. // 设置请求体,使用url-encoded格式的数据
  7749. }
  7750. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7751. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7752. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7753. _userinfo = US.userInfo, //登录用户信息
  7754. _userid = US.userInfo.userid //登录用户id
  7755. let _iframe;
  7756. let _cid = cid,
  7757. _stage = stage,
  7758. _task = task,
  7759. _tool = tool;
  7760. var _jie = $$("div", {
  7761. "style": {
  7762. "position": "absolute",
  7763. "bottom": "50px",
  7764. "right": "50px",
  7765. "zIndex": "9999",
  7766. "backgroundColor": "#2268bc",
  7767. "color": "#fff",
  7768. "padding": "12px 20px",
  7769. "cursor": "pointer",
  7770. "borderRadius": "4px",
  7771. },
  7772. "innerHTML": "提交作业"
  7773. })
  7774. let aTool = ''
  7775. let _loading = document.createElement('div')
  7776. _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;"
  7777. // _loading.id = "";
  7778. let _lchild = document.createElement('div')
  7779. let _limg = document.createElement('img')
  7780. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7781. _limg.style = "width: 26px;margin-right: 10px;"
  7782. _lchild.appendChild(_limg)
  7783. let _lspan = document.createElement('span')
  7784. _lspan.innerHTML = "上传中..."
  7785. _lchild.appendChild(_lspan)
  7786. _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%);"
  7787. _loading.appendChild(_lchild)
  7788. var _box = $$('div', {
  7789. "style": {
  7790. "position": "relative",
  7791. "width": "100%",
  7792. "height": "100%",
  7793. },
  7794. })
  7795. _box.appendChild(_loading)
  7796. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7797. switch (str) {
  7798. case "CocoPi":
  7799. aTool = 57;
  7800. _iframe = $$("iframe", {
  7801. "allowpaymentrequest": "allowpaymentrequest",
  7802. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7803. "webkitallowfullscreen": "",
  7804. "mozallowfullscreen": "",
  7805. "frameborder": "no",
  7806. "border": "0",
  7807. "scrolling ": "no",
  7808. "style": {
  7809. "cssText": "border:0;width:100%;height:100%"
  7810. },
  7811. "src": "https://pi.cocorobo.cn/"
  7812. })
  7813. _box.appendChild(_iframe);
  7814. _box.appendChild(_jie);
  7815. _formdiv = new U.UF.UI.form(
  7816. "CocoPi",
  7817. _box, {
  7818. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7819. "style": {
  7820. "width": "90%",
  7821. "height": "90%",
  7822. "overflow": 'hidden'
  7823. },
  7824. "onresize": function () { }
  7825. }, {
  7826. closecallback: function () { }
  7827. }, {
  7828. "style": {
  7829. "height": "36px"
  7830. }
  7831. }).form; //创建窗体
  7832. _taskbar = {
  7833. "id": str + _formdiv.id,
  7834. "style": {
  7835. "backgroundImage": "url(/img/icon/cocopi.png)"
  7836. },
  7837. "name": "CocoPi",
  7838. "forms": _formdiv,
  7839. "click": function () {
  7840. U.MD.D.I.openApplication(str, obj, info);
  7841. }
  7842. }
  7843. break;
  7844. }
  7845. if (_iframe) {
  7846. if (str == 'CocoPi') {
  7847. _iframe = _formdiv.querySelector('iframe')
  7848. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7849. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7850. })
  7851. if (onloadListener) {
  7852. _iframe.contentDocument.location.reload()
  7853. } else {
  7854. _iframe.contentDocument.location.reload()
  7855. }
  7856. }
  7857. _jie.onclick = async () => {
  7858. let text = ''
  7859. if (aTool == 57) {
  7860. text = _iframe.contentWindow.getLoadXmlStr()
  7861. }
  7862. _loading.style.display = 'flex'
  7863. console.log(_loading);
  7864. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7865. _loading.style.display = 'none'
  7866. let _div = document.createElement('div')
  7867. _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;"
  7868. let _inner = document.createElement('div')
  7869. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7870. _inner.innerHTML = "上传成功"
  7871. _div.appendChild(_inner)
  7872. _iframe.contentWindow.window.document.body.appendChild(_div)
  7873. _div.onclick = () => {
  7874. _iframe.contentWindow.window.document.body.removeChild(_div)
  7875. }
  7876. setTimeout(() => {
  7877. _iframe.contentWindow.window.document.body.removeChild(_div)
  7878. }, 1000);
  7879. }, [], { "type": "POST", "withCredentials": true });
  7880. }
  7881. }
  7882. }
  7883. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7884. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7885. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7886. _userid = student.userid, //登录用户id
  7887. _username = student.student //用户名字
  7888. let _iframe;
  7889. let _cid = cid,
  7890. _stage = stage,
  7891. _task = task,
  7892. _tool = tool;
  7893. var _jie = $$("div", {
  7894. "style": {
  7895. "position": "absolute",
  7896. "bottom": "50px",
  7897. "right": "50px",
  7898. "zIndex": "9999",
  7899. "backgroundColor": "#2268bc",
  7900. "color": "#fff",
  7901. "padding": "12px 20px",
  7902. "cursor": "pointer",
  7903. "borderRadius": "4px",
  7904. },
  7905. "innerHTML": "提交作业"
  7906. })
  7907. let aTool = ''
  7908. let _loading = document.createElement('div')
  7909. _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;"
  7910. // _loading.id = "";
  7911. let _lchild = document.createElement('div')
  7912. let _limg = document.createElement('img')
  7913. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7914. _limg.style = "width: 26px;margin-right: 10px;"
  7915. _lchild.appendChild(_limg)
  7916. let _lspan = document.createElement('span')
  7917. _lspan.innerHTML = "上传中..."
  7918. _lchild.appendChild(_lspan)
  7919. _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%);"
  7920. _loading.appendChild(_lchild)
  7921. var _box = $$('div', {
  7922. "style": {
  7923. "position": "relative",
  7924. "width": "100%",
  7925. "height": "100%",
  7926. },
  7927. })
  7928. _box.appendChild(_loading)
  7929. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7930. switch (str) {
  7931. case "CocoPi":
  7932. aTool = 57;
  7933. _iframe = $$("iframe", {
  7934. "allowpaymentrequest": "allowpaymentrequest",
  7935. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7936. "webkitallowfullscreen": "",
  7937. "mozallowfullscreen": "",
  7938. "frameborder": "no",
  7939. "border": "0",
  7940. "scrolling ": "no",
  7941. "style": {
  7942. "cssText": "border:0;width:100%;height:100%"
  7943. },
  7944. "src": "https://pi.cocorobo.cn/"
  7945. })
  7946. _box.appendChild(_iframe);
  7947. _box.appendChild(_jie);
  7948. _formdiv = new U.UF.UI.form(
  7949. "CocoPi-" + _username,
  7950. _box, {
  7951. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7952. "style": {
  7953. "width": "90%",
  7954. "height": "90%",
  7955. "overflow": 'hidden'
  7956. },
  7957. "onresize": function () { }
  7958. }, {
  7959. closecallback: function () { }
  7960. }, {
  7961. "style": {
  7962. "height": "36px"
  7963. }
  7964. }).form; //创建窗体
  7965. _taskbar = {
  7966. "id": str + _formdiv.id,
  7967. "style": {
  7968. "backgroundImage": "url(/img/icon/cocopi.png)"
  7969. },
  7970. "name": "CocoPi",
  7971. "forms": _formdiv,
  7972. "click": function () {
  7973. U.MD.D.I.openApplication(str, obj, info);
  7974. }
  7975. }
  7976. break;
  7977. }
  7978. if (_iframe) {
  7979. if (str == 'CocoPi') {
  7980. _iframe = _formdiv.querySelector('iframe')
  7981. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7982. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7983. })
  7984. if (onloadListener) {
  7985. _iframe.contentDocument.location.reload()
  7986. } else {
  7987. _iframe.contentDocument.location.reload()
  7988. }
  7989. }
  7990. _jie.onclick = async () => {
  7991. let text = ''
  7992. if (aTool == 57) {
  7993. text = _iframe.contentWindow.getLoadXmlStr()
  7994. }
  7995. _loading.style.display = 'flex'
  7996. console.log(_loading);
  7997. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7998. _loading.style.display = 'none'
  7999. let _div = document.createElement('div')
  8000. _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;"
  8001. let _inner = document.createElement('div')
  8002. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8003. _inner.innerHTML = "上传成功"
  8004. _div.appendChild(_inner)
  8005. _iframe.contentWindow.window.document.body.appendChild(_div)
  8006. _div.onclick = () => {
  8007. _iframe.contentWindow.window.document.body.removeChild(_div)
  8008. }
  8009. setTimeout(() => {
  8010. _iframe.contentWindow.window.document.body.removeChild(_div)
  8011. }, 1000);
  8012. }, [], { "type": "POST", "withCredentials": true });
  8013. }
  8014. }
  8015. }
  8016. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8017. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8018. if (res.value[0].length > 0) {
  8019. if (atool == 57) {
  8020. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8021. }
  8022. } else {
  8023. if (atool == 57) {
  8024. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8025. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8026. }
  8027. }
  8028. }, [], { "type": "POST", "withCredentials": true });
  8029. }