DeskTop.js 447 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  196. ];
  197. U.MD.D.I.szulsDeskIcon = [
  198. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  199. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  200. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  201. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  202. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  203. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  204. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  205. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  206. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  207. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  208. ];
  209. U.MD.D.I.hanDeskIcon = [
  210. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  211. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  212. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  213. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  214. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  215. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  216. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  217. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  218. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  219. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  220. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  221. ];
  222. U.MD.D.I.GMteacherDeskIcon = [
  223. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  224. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  225. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  226. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  227. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  228. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  229. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  230. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  231. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  232. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  235. ];
  236. U.MD.D.I.GMstudentDeskIcon = [
  237. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  238. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  239. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  240. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  241. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  242. ];
  243. //北师大
  244. U.MD.D.I.BSDNSteacherDeskIcon = [
  245. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  246. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  247. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  248. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  249. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  250. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  251. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  252. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  253. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  254. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  255. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  256. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  257. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  258. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  259. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  260. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  261. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  262. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  263. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  264. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  265. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  266. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  267. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  268. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  269. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  270. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  271. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  272. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  273. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  274. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  275. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  276. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  277. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  278. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  279. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  280. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  281. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  282. ];
  283. //松山湖
  284. U.MD.D.I.SONGteacherDeskIcon = [
  285. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  286. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  287. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  288. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  289. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  290. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  291. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  292. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  293. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  294. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  295. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  296. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  297. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  298. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  299. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  300. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  301. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  302. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  303. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  304. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  305. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  306. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  307. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  308. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  309. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  310. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  311. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  312. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  313. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  314. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  315. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  316. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  317. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  318. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  319. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  320. ];
  321. U.MD.D.I.tcStudentDeskIcon = [
  322. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  323. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  324. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  325. ];
  326. U.MD.D.I.tcTeacherDeskIcon = [
  327. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  328. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  329. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  330. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  331. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  332. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  333. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  334. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  335. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  336. ];
  337. U.MD.D.I.tcOrganizerDeskIcon = [
  338. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  339. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  340. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  342. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  343. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  344. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  345. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  346. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  347. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  348. ];
  349. U.MD.D.I.szscStudentDeskIcon = [
  350. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  352. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  353. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  354. ];
  355. U.MD.D.I.szscTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  361. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  362. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  363. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  364. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  365. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  366. ];
  367. U.MD.D.I.szscOrganizerDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  377. ];
  378. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  379. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  380. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  381. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  382. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  383. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  386. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  387. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  388. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  389. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  390. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  391. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  392. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  393. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  394. ];
  395. U.MD.D.I.wankeAdminDeskIcon = [
  396. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  397. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  398. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  399. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  400. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  401. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  402. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  403. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  404. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  405. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  406. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  407. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  408. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  409. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. ];
  412. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  413. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  414. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  415. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  416. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  417. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  418. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  419. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  420. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  421. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  422. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  423. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  424. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  425. ];
  426. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  427. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  428. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  429. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  430. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  431. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  432. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  433. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  434. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  435. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  436. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  437. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  438. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  439. ];
  440. //明德教师桌面图标的全局变量
  441. U.MD.D.I.MingdeTeacherDeskIcon = [
  442. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  443. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  444. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  445. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  446. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  447. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  448. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  449. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  450. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  451. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  452. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  453. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  454. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  455. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  456. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  457. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  458. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  459. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  460. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  461. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  462. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  463. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  464. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  465. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  466. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  467. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  468. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  469. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  470. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  471. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  472. ];
  473. //97c4ee8b-d010-4042-986d-e9d3c217264f
  474. //教师桌面图标的全局变量
  475. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  476. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  477. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  478. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  479. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  480. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  481. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  482. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  483. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  486. ];
  487. //福田
  488. U.MD.D.I.futianTeacherDeskIcon = [
  489. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  492. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  493. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  494. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  495. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  496. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  497. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  498. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  499. ];
  500. //福田
  501. U.MD.D.I.futianAdminDeskIcon = [
  502. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  503. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  504. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  505. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  506. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  507. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  508. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  509. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  510. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  511. ];
  512. //lotech
  513. U.MD.D.I.lotechTeacherDeskIcon = [
  514. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  515. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  516. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  517. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  518. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  519. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. ];
  523. //龙华中心小学教师桌面图标的全局变量
  524. U.MD.D.I.longhuateacherDeskIcon = [
  525. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  532. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  533. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  534. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. ];
  538. //教科院实小教师桌面图标的全局变量
  539. U.MD.D.I.siesteacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  543. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  547. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  548. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  549. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  550. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  551. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  552. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  553. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesStudentDeskIcon = [
  557. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. ];
  561. //福田
  562. U.MD.D.I.gdjgTeacherDeskIcon = [
  563. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  564. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  566. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  567. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  568. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  569. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  570. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  572. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  573. ];
  574. //gdjg
  575. U.MD.D.I.gdjgAdminDeskIcon = [
  576. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. ];
  586. //hk
  587. U.MD.D.I.hkteacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  595. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  601. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  602. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. ];
  604. //hk
  605. U.MD.D.I.hkStudentDeskIcon = [
  606. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  608. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  609. ];
  610. //香海正覺蓮社佛教正覺中學
  611. U.MD.D.I.hkZJLSteacherDeskIcon = [
  612. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  613. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  615. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  616. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  617. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  618. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  619. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  620. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  621. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  622. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  623. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  624. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. ];
  627. //香海正覺蓮社佛教正覺中學
  628. U.MD.D.I.hkZJLSStudentDeskIcon = [
  629. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  631. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  632. ];
  633. //云海
  634. U.MD.D.I.yunhaiTeacherDeskIcon = [
  635. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  638. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  642. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  643. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  644. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  645. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  646. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  647. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  648. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. ];
  651. //福田
  652. U.MD.D.I.heyuanTeacherDeskIcon = [
  653. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  654. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  655. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  656. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  657. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  658. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  659. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  660. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  661. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  662. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. ];
  664. //福田
  665. U.MD.D.I.heyuanAdminDeskIcon = [
  666. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  667. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  668. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  671. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  672. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  673. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  674. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  675. ];
  676. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  677. U.MD.D.I.szherTeacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "项目管理", "Url": "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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. ];
  688. //dsei
  689. U.MD.D.I.dseiTeacherDeskIcon = [
  690. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  691. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  692. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  693. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  694. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  695. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  696. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  697. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  698. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  699. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  700. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  701. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  702. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  703. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  704. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  705. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  706. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  707. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  708. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  709. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  710. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  711. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  712. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  713. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  714. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  715. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  716. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  717. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  718. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  719. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  720. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  721. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  722. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  723. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  724. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  725. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  726. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  727. ];
  728. //dsei
  729. U.MD.D.I.dseiAdminDeskIcon = [
  730. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  733. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  737. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  738. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  739. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  740. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  741. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  742. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  743. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  744. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  745. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  746. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  747. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  748. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  749. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  750. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  751. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  752. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  753. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  754. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  755. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  756. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  757. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  758. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  759. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  760. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  761. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  762. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  763. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  764. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  765. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  766. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  767. ];
  768. //dsei
  769. U.MD.D.I.dseiStudentDeskIcon = [
  770. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  771. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  772. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  773. ];
  774. //未来教育基地
  775. U.MD.D.I.szjkyTeacherDeskIcon = [
  776. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  777. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  778. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  779. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  780. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  781. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  782. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  783. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  784. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  785. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  789. ];
  790. //未来教育基地
  791. U.MD.D.I.szjkyAdminDeskIcon = [
  792. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  793. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  794. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  795. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  796. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  797. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  798. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  800. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  805. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  806. ];
  807. //未来教育基地
  808. U.MD.D.I.szjkyStudentDeskIcon = [
  809. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  810. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  811. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  812. ];
  813. //成华教育局
  814. U.MD.D.I.chjyjTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  822. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  823. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  824. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. ];
  828. //成华教育局chjyj
  829. U.MD.D.I.chjyjAdminDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  837. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  838. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  839. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  840. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  841. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  842. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  843. ];
  844. //成华教育局chjyj
  845. U.MD.D.I.chjyjStudentDeskIcon = [
  846. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  847. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  848. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  849. ];
  850. //南科大教师桌面图标的全局变量
  851. U.MD.D.I.hsasTeacherDeskIcon = [
  852. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  855. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  856. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  857. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  858. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  859. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  862. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  863. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  864. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  865. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  866. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  867. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  868. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  869. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  870. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  871. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  872. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  873. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  874. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  875. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  876. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  877. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  878. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  879. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  880. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  881. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  882. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  883. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  884. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  885. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  886. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  887. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  888. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //#region 桌面初始化a
  891. /**
  892. * 初始化桌面的起始函数
  893. *
  894. */
  895. U.MD.D.I.init = function() {
  896. if ($("#U_MD_D_K")[0]) {
  897. //初始化桌面图标
  898. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  899. // var clickUrl = ':12588/requestIp.php';
  900. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  901. // U.MD.D.I.Ip = data;
  902. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  903. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  904. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  905. // })
  906. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  907. // })
  908. }
  909. }
  910. /**
  911. * 模式切换
  912. *
  913. */
  914. U.MD.D.I.ModeCheck = function(type) {
  915. if (US.Config.type == type) {
  916. return
  917. }
  918. US.Config.type = type
  919. $('.U_PBL_Check .active')[0].className = ''
  920. if (type == 1) {
  921. $('.U_PBL_Check div')[0].className = 'active'
  922. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  923. } else {
  924. $('.U_PBL_Check div')[1].className = 'active'
  925. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  926. }
  927. //初始化桌面图标
  928. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  929. if (type == 2) {
  930. U.MD.D.I.openApplication("project")
  931. }
  932. }
  933. /**
  934. * 隐藏任务栏
  935. *
  936. * @param {element} 桌面元素
  937. */
  938. U.MD.D.I.hiddenTaskbar = function(el) {
  939. //任务栏位置变小
  940. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  941. //桌面的位置变大
  942. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  943. }
  944. /**
  945. * 隐藏任务栏
  946. *
  947. * @param {element} 桌面元素
  948. */
  949. U.MD.D.I.hiddenTaskbarout = function(el) {
  950. //任务栏位置变小
  951. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  952. //任务栏位置变化
  953. U.selectEl(el).css({ "bottom": "-60px" });
  954. //桌面的位置变大
  955. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  956. }
  957. }
  958. /**
  959. * 初始化打印桌面图标
  960. *
  961. * @param {element} 桌面元素
  962. */
  963. U.MD.D.I.initDesktopIcons = function(el, type) {
  964. var i, //用于循环
  965. _content, //桌面图标元素
  966. _iconcontent, //桌面图标元素
  967. _frag = $$("frag"), //定义一个碎片元素
  968. _type = US.userInfo.type,
  969. _org = US.userInfo.org,
  970. _oid = US.userInfo.organizeid,
  971. _role = US.userInfo.role,
  972. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  973. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  974. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  975. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  976. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  977. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  978. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  979. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  980. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  981. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  982. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  983. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  984. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  985. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  986. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  987. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  988. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  989. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  990. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  991. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  992. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  993. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  994. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  995. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  996. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  997. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  998. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  999. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1000. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1001. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1002. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1003. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1004. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1005. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1006. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1007. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1008. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1009. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1010. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1011. _hsasTeacherDeskIconInfo = U.MD.D.I.hsasTeacherDeskIcon, //南科大
  1012. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1013. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1014. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1015. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1016. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1017. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1018. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1019. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1020. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1021. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1022. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1023. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1024. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1025. 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','ccb9754d-59c1-11ed-8c78-005056b86db5'];
  1026. 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'];
  1027. //清楚桌面图标
  1028. el.innerHTML = "";
  1029. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1030. _teacherDesktopIconInfo.push(
  1031. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1032. { "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)" } },
  1033. )
  1034. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1035. }
  1036. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1037. _teacherDesktopIconInfo.push(
  1038. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1039. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1040. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1041. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1042. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1043. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1044. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. )
  1047. }
  1048. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1049. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1050. if (el.Name == '项目管理') {
  1051. el.Name = 'PBL项目'
  1052. }
  1053. return el
  1054. })
  1055. }
  1056. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1057. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1058. return el.Name != '魔盒识字' && el.Name != '24点'
  1059. })
  1060. }
  1061. 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) {
  1062. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1063. }
  1064. //循环创建桌面图标
  1065. if (type == 1) {
  1066. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1067. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1068. _content = $$("div", {
  1069. className: "U_MD_D_KO",
  1070. "onmousedown": U.UF.C.closure(function(obj) {
  1071. //防止拖动图标即打开了桌面应用
  1072. U.MD.D.click(this, obj);
  1073. }, [_studentDesktopIconInfo[i]]),
  1074. "onclick": U.UF.C.closure(function(obj) {
  1075. //防止拖动图标即打开了桌面应用
  1076. U.MD.D.click(this, obj);
  1077. }, [_studentDesktopIconInfo[i]])
  1078. }, _frag); //
  1079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1082. }
  1083. } else if (_type == 2 && (_oid == "ccb9754d-59c1-11ed-8c78-005056b86db5")) {
  1084. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1085. _content = $$("div", {
  1086. className: "U_MD_D_KO",
  1087. "onmousedown": U.UF.C.closure(function(obj) {
  1088. //防止拖动图标即打开了桌面应用
  1089. U.MD.D.click(this, obj);
  1090. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1091. "onclick": U.UF.C.closure(function(obj) {
  1092. //防止拖动图标即打开了桌面应用
  1093. U.MD.D.click(this, obj);
  1094. }, [_hkZJLSStudentDeskIconInfo[i]])
  1095. }, _frag); //
  1096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1099. } //
  1100. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1101. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1102. _content = $$("div", {
  1103. className: "U_MD_D_KO",
  1104. "onmousedown": U.UF.C.closure(function(obj) {
  1105. //防止拖动图标即打开了桌面应用
  1106. U.MD.D.click(this, obj);
  1107. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1108. "onclick": U.UF.C.closure(function(obj) {
  1109. //防止拖动图标即打开了桌面应用
  1110. U.MD.D.click(this, obj);
  1111. }, [_hkZJLSStudentDeskIconInfo[i]])
  1112. }, _frag); //
  1113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1116. } //
  1117. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1118. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1119. _content = $$("div", {
  1120. className: "U_MD_D_KO",
  1121. "onmousedown": U.UF.C.closure(function(obj) {
  1122. //防止拖动图标即打开了桌面应用
  1123. U.MD.D.click(this, obj);
  1124. }, [_chjyjStudentDeskIconInfo[i]]),
  1125. "onclick": U.UF.C.closure(function(obj) {
  1126. //防止拖动图标即打开了桌面应用
  1127. U.MD.D.click(this, obj);
  1128. }, [_chjyjStudentDeskIconInfo[i]])
  1129. }, _frag); //
  1130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1133. }
  1134. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1135. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1136. _content = $$("div", {
  1137. className: "U_MD_D_KO",
  1138. "onmousedown": U.UF.C.closure(function(obj) {
  1139. //防止拖动图标即打开了桌面应用
  1140. U.MD.D.click(this, obj);
  1141. }, [_szjkyStudentDeskIconInfo[i]]),
  1142. "onclick": U.UF.C.closure(function(obj) {
  1143. //防止拖动图标即打开了桌面应用
  1144. U.MD.D.click(this, obj);
  1145. }, [_szjkyStudentDeskIconInfo[i]])
  1146. }, _frag); //
  1147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1150. }
  1151. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1152. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1153. _content = $$("div", {
  1154. className: "U_MD_D_KO",
  1155. "onmousedown": U.UF.C.closure(function(obj) {
  1156. //防止拖动图标即打开了桌面应用
  1157. U.MD.D.click(this, obj);
  1158. }, [_dseiStudentDeskIconInfo[i]]),
  1159. "onclick": U.UF.C.closure(function(obj) {
  1160. //防止拖动图标即打开了桌面应用
  1161. U.MD.D.click(this, obj);
  1162. }, [_dseiStudentDeskIconInfo[i]])
  1163. }, _frag); //
  1164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1167. }
  1168. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1169. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1170. _content = $$("div", {
  1171. className: "U_MD_D_KO",
  1172. "onmousedown": U.UF.C.closure(function(obj) {
  1173. //防止拖动图标即打开了桌面应用
  1174. U.MD.D.click(this, obj);
  1175. }, [_siesStudentDeskIconInfo[i]]),
  1176. "onclick": U.UF.C.closure(function(obj) {
  1177. //防止拖动图标即打开了桌面应用
  1178. U.MD.D.click(this, obj);
  1179. }, [_siesStudentDeskIconInfo[i]])
  1180. }, _frag); //
  1181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1184. }
  1185. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1186. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1187. _content = $$("div", {
  1188. className: "U_MD_D_KO",
  1189. "onmousedown": U.UF.C.closure(function(obj) {
  1190. //防止拖动图标即打开了桌面应用
  1191. U.MD.D.click(this, obj);
  1192. }, [_hkStudentDeskIconInfo[i]]),
  1193. "onclick": U.UF.C.closure(function(obj) {
  1194. //防止拖动图标即打开了桌面应用
  1195. U.MD.D.click(this, obj);
  1196. }, [_hkStudentDeskIconInfo[i]])
  1197. }, _frag); //
  1198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1201. }
  1202. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1203. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1204. _content = $$("div", {
  1205. className: "U_MD_D_KO",
  1206. "onmousedown": U.UF.C.closure(function(obj) {
  1207. //防止拖动图标即打开了桌面应用
  1208. U.MD.D.click(this, obj);
  1209. }, [_studentDesktopIconInfo[i]]),
  1210. "onclick": U.UF.C.closure(function(obj) {
  1211. //防止拖动图标即打开了桌面应用
  1212. U.MD.D.click(this, obj);
  1213. }, [_studentDesktopIconInfo[i]])
  1214. }, _frag); //
  1215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1218. }
  1219. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1220. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1221. _content = $$("div", {
  1222. className: "U_MD_D_KO",
  1223. "onmousedown": U.UF.C.closure(function(obj) {
  1224. //防止拖动图标即打开了桌面应用
  1225. U.MD.D.click(this, obj);
  1226. }, [_tcStudentDeskIconInfo[i]]),
  1227. "onclick": U.UF.C.closure(function(obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_tcStudentDeskIconInfo[i]])
  1231. }, _frag); //
  1232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1235. }
  1236. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1237. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function(obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_szscStudentDeskIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function(obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_szscStudentDeskIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1252. }
  1253. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1254. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function(obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_studentDesktopIconInfo3[i]]),
  1261. "onclick": U.UF.C.closure(function(obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_studentDesktopIconInfo3[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1269. }
  1270. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1271. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function(obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_studentDesktopIconInfo2[i]]),
  1278. "onclick": U.UF.C.closure(function(obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_studentDesktopIconInfo2[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1286. }
  1287. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1288. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function(obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_wanketeacherDesktopIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function(obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_wanketeacherDesktopIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1305. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function(obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_wankeAdminDesktopIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function(obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_wankeAdminDesktopIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1320. }
  1321. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1322. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function(obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_teacherDesktopIconInfo2[i]]),
  1329. "onclick": U.UF.C.closure(function(obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_teacherDesktopIconInfo2[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1337. }
  1338. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1339. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function(obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_lotechTeacherDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function(obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_lotechTeacherDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1354. }//
  1355. } else if ((_type == 1 || _type == 4) && (_oid == "ccb9754d-59c1-11ed-8c78-005056b86db5")) {
  1356. for (i = 0; i < _hsasTeacherDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function(obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_hsasTeacherDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function(obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hsasTeacherDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hsasTeacherDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hsasTeacherDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1373. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function(obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_siesTeacherDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function(obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_siesTeacherDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1390. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function(obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_longhuaTeacherDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function(obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_longhuaTeacherDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1407. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function(obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function(obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_yunhaiTeacherDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1422. } //_hkStudentDeskIconInfo
  1423. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1424. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function(obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function(obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1441. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function(obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_hkTeacherDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function(obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_hkTeacherDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1458. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function(obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_gdjgAdminDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function(obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_gdjgAdminDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1475. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function(obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_gdjgTeacherDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function(obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_gdjgTeacherDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1492. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function(obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_szherTeacherDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function(obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_szherTeacherDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1509. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function(obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_heyuannAdminDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function(obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_heyuannAdminDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1526. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function(obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_heyuanTeacherDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function(obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_heyuanTeacherDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1541. } //
  1542. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1543. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function(obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_dseiAdminDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function(obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_dseiAdminDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1560. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function(obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_dseiTeacherDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function(obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_dseiTeacherDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1575. } //
  1576. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1577. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function(obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_chjyjAdminDeskIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function(obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_chjyjAdminDeskIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1592. }//
  1593. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1594. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function(obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_chjyjTeacherDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function(obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_chjyjTeacherDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1611. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function(obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_szjkyAdminDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function(obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_szjkyAdminDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1626. }//
  1627. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1628. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function(obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_szjkyTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function(obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_szjkyTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1645. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function(obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_futianAdminDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function(obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_futianAdminDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1662. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function(obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_futianTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function(obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_futianTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1679. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function(obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_MingdeTeacherDeskIcon[i]]),
  1686. "onclick": U.UF.C.closure(function(obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_MingdeTeacherDeskIcon[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1696. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function(obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_lhsAdminDesktopIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function(obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_lhsAdminDesktopIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1713. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function(obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_lhsteacherDesktopIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function(obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_lhsteacherDesktopIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1730. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function(obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function(obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_zhoujiateacherDesktopIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1747. for (i = 0; i < _hanDeskIcon.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function(obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_hanDeskIcon[i]]),
  1754. "onclick": U.UF.C.closure(function(obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_hanDeskIcon[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1764. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function(obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_orgStemDeskIcon[i]]),
  1771. "onclick": U.UF.C.closure(function(obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_orgStemDeskIcon[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1781. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function(obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_szulsDeskIcon[i]]),
  1788. "onclick": U.UF.C.closure(function(obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_szulsDeskIcon[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1798. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function(obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_orgDesktopIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function(obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_orgDesktopIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1815. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function(obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_schoolDesktopIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function(obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_schoolDesktopIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1832. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function(obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_GMteacherDesktopIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function(obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_GMteacherDesktopIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1849. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function(obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_SONGteacherDesktopIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function(obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_SONGteacherDesktopIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1866. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function(obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_GMstudentDesktopIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function(obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_GMstudentDesktopIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1883. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function(obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_tcTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function(obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_tcTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1900. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function(obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_tcOrganizerDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function(obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_tcOrganizerDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1917. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function(obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_szscTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function(obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_szscTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1934. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function(obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_szscOrganizerDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function(obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_szscOrganizerDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else {
  1951. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function(obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_teacherDesktopIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function(obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_teacherDesktopIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. }
  1968. } else {
  1969. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. style: { 'width': '124px', 'height': '145px' },
  1973. "onmousedown": U.UF.C.closure(function(obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_easyDesktopIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function(obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_easyDesktopIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1985. }
  1986. }
  1987. if (type == 1) {
  1988. //加载好后给图标定位
  1989. U.MD.D.iconPostion($(_frag).Child());
  1990. } else {
  1991. //加载好后给图标定位
  1992. U.MD.D.iconPostion2($(_frag).Child());
  1993. }
  1994. //把图标加载到页面
  1995. el.appendChild(_frag);
  1996. }
  1997. /**
  1998. * 显示任务栏
  1999. *
  2000. * @param {element} 桌面元素
  2001. */
  2002. U.MD.D.I.displayTaskbar = function(el) {
  2003. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2004. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2005. //任务栏位置变化
  2006. U.selectEl(el).css({ "bottom": "0px" });
  2007. //桌面位置变话
  2008. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2009. }
  2010. }
  2011. //#region 桌面图标拖动逻辑
  2012. /**
  2013. * 桌面排列图标
  2014. *
  2015. * @param {element} 桌面元素
  2016. * @param {object} 上下相距的距离
  2017. * @param {object} 左右相距的距离
  2018. * @return {object} 命名空间
  2019. */
  2020. U.MD.D.iconPostion = function(childs, top, left) {
  2021. var i; //用于循环处理
  2022. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2023. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2024. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2025. for (i = 0; i < childs.length; i++) {
  2026. //如果竖排top超过了范围处理
  2027. if (top + 95 > US.height - 10) {
  2028. //left超过了页面范围处理,则向上重叠打印处理
  2029. if ((left + 180) > US.width) {
  2030. top -= 110;
  2031. left -= 90;
  2032. }
  2033. //没有超过范围,那么left+90添加到下一个竖排打印
  2034. else {
  2035. left += 90;
  2036. top = 15;
  2037. };
  2038. }
  2039. //给图标的位置赋值
  2040. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2041. if (i < childs.length - 1) {
  2042. //页面图标每次向下加95
  2043. top += 95;
  2044. }
  2045. }
  2046. //返回最后调用的图标的位置
  2047. return [top, left];
  2048. }
  2049. /**
  2050. * 桌面排列图标
  2051. *
  2052. * @param {element} 桌面元素
  2053. * @param {object} 上下相距的距离
  2054. * @param {object} 左右相距的距离
  2055. * @return {object} 命名空间
  2056. */
  2057. U.MD.D.iconPostion2 = function(childs, top, left) {
  2058. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2059. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2060. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2061. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2062. for (i = 0; i < childs.length; i++) {
  2063. //如果竖排top超过了范围处理
  2064. if (left + 150 > US.width - 10) {
  2065. //left超过了页面范围处理,则向上重叠打印处理
  2066. if ((top + 180) > US.Height) {
  2067. top -= 150;
  2068. left -= 150;
  2069. }
  2070. //没有超过范围,那么left+90添加到下一个竖排打印
  2071. else {
  2072. top += 150;
  2073. left = ol;
  2074. };
  2075. }
  2076. //给图标的位置赋值
  2077. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2078. if (i < childs.length - 1) {
  2079. //页面图标每次向下加95
  2080. left += 150;
  2081. }
  2082. }
  2083. //返回最后调用的图标的位置
  2084. return [top, left];
  2085. }
  2086. /**
  2087. * 桌面点击事件逻辑
  2088. *
  2089. * @param {element} 桌面元素
  2090. * @param {object} 上下相距的距离
  2091. * @param {object} 左右相距的距离
  2092. * @return {object} 命名空间
  2093. */
  2094. U.MD.D.click = function(el, obj) {
  2095. var _buttonnumber = event.button; //点击的按钮的事件值
  2096. var _userinfo = US.userInfo;
  2097. U.UF.EV.stopBubble(); //阻止向上冒泡
  2098. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2099. if (_buttonnumber < 2) {
  2100. //如果是click事件的处理
  2101. if (event.type == "click") {
  2102. //如果元素在mousemove事件中没有移动则出发click事件
  2103. if (!U.MD.D.I.IsDrag) {
  2104. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2105. U.alert("请先登录您的账号!");
  2106. setTimeout(() => {
  2107. U.MD.U.L.login();
  2108. }, 2000);
  2109. } else {
  2110. //打开应用处理
  2111. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2112. }
  2113. }
  2114. }
  2115. //如果是mouse事件的处理
  2116. else {
  2117. if (US.Config.type == '1') {
  2118. //拖动处理,添加拖动和拖动结束事件
  2119. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2120. }
  2121. }
  2122. U.MD.D.I.IsDrag = false;
  2123. }
  2124. }
  2125. /**
  2126. * 拖动的处理
  2127. *
  2128. */
  2129. U.MD.D.iconMove = function() {
  2130. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2131. U.MD.D.I.IsDrag = true;
  2132. }
  2133. /**
  2134. * 拖动结束后,这里是定位处理,以网状的形式定位
  2135. *
  2136. * @param {element} 拖动的元素
  2137. * @return {object} 命名空间
  2138. */
  2139. U.MD.D.iconUp = function(el) {
  2140. var _top = 15,
  2141. _left = 20,
  2142. _margin,
  2143. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2144. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2145. if (_positioninfo["OT"] > 15) {
  2146. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2147. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2148. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2149. }
  2150. if (_positioninfo["OL"] > 20) {
  2151. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2152. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2153. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2154. }
  2155. //while循环判断么一个重叠的元素
  2156. do {
  2157. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2158. _top = _positioninfo[0] + 95; //得到定位后的top
  2159. _left = _positioninfo[1]; //得到定位后的left
  2160. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2161. }
  2162. /**
  2163. * 判断拖动后图标是否重叠
  2164. *
  2165. * @param {element} 拖动的元素
  2166. * @param {element} 桌面所有的元素
  2167. * @param {array} 拖动元素的位置
  2168. ----------[0] 上 top
  2169. ----------[1] 左 left
  2170. * @return {object} 命名空间
  2171. */
  2172. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2173. //循环所有的图标
  2174. for (var i = 0; i < childs.length; i++) {
  2175. //判断有没有和该图标诶子重叠的元素
  2176. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2177. return childs[i]; //如果有返回
  2178. }
  2179. }
  2180. }
  2181. //#endregion
  2182. //#endregion
  2183. //#region 桌面应用
  2184. /**
  2185. * 打开应用
  2186. *
  2187. * @param {string} 类型
  2188. -----------------Disk 网盘系统
  2189. -----------------PDisk 学习系统网盘
  2190. -----------------Poto 图片
  2191. -----------------Video 视频
  2192. -----------------Music 音乐
  2193. -----------------Word word
  2194. -----------------Excel excel
  2195. -----------------Txt 记事本
  2196. -----------------PB 学习系统
  2197. -----------------Blog 朋友圈系统
  2198. -----------------FTP ftp系统
  2199. -----------------Group 好友群
  2200. -----------------SY 首页系统
  2201. -----------------Set 个人设置
  2202. -----------------XSet 系统设置
  2203. -----------------App 我们所有的app
  2204. -----------------BC c.1473.cn 平台
  2205. -----------------CWeb d.1473.cn 变成平台
  2206. -----------------其他的外联系统 我们统一用iframe打开
  2207. * @param {array} 类型
  2208. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2209. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2210. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2211. 如果第一个参数为其他,则无第二个参数
  2212. * @returns {array}
  2213. */
  2214. window.addEventListener('message', function(e) { // 监听 message 事件
  2215. // alert(e.data.type);
  2216. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2217. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2218. //3是展示全部阶段 2学生 1老师 4专家
  2219. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2220. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2221. //3是展示全部阶段 2学生 1老师 4专家
  2222. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2223. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2224. //3是展示全部阶段 2学生 1老师 4专家
  2225. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2226. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2227. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2228. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2229. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2230. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2231. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2232. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2233. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2234. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2235. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2236. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2237. //3是展示全部阶段 2学生 1老师 4专家
  2238. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2239. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2240. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2241. U.MD.D.I.selectUser();
  2242. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2243. var _formel = document.getElementById("study");
  2244. U.UF.F.windowZooming(_formel);
  2245. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2246. var _formel = document.getElementById("studyDetail");
  2247. U.UF.F.windowZooming(_formel);
  2248. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2249. var _formel = document.getElementById("studyDetail");
  2250. U.UF.F.windowZooming(_formel);
  2251. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2252. var _formel = document.getElementById("studentStudy");
  2253. U.UF.F.windowZooming(_formel);
  2254. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2255. // var _formel = document.getElementById("study");
  2256. //如果最大化了,那么就把他缩小
  2257. // if (_formel.ismaximize) {
  2258. // return;
  2259. // }
  2260. // U.UF.F.windowZooming(_formel);
  2261. // U.UF.F.topWindow(_formel);
  2262. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2263. // var _formel = document.getElementById("studyDetail");
  2264. //如果最大化了,那么就把他缩小
  2265. // if (_formel.ismaximize) {
  2266. // return;
  2267. // }
  2268. // U.UF.F.windowZooming(_formel);
  2269. // U.UF.F.topWindow(_formel);
  2270. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2271. // var _formel = document.getElementById("studentStudy");
  2272. // if (_formel.ismaximize) {
  2273. // return;
  2274. // }
  2275. // U.UF.F.windowZooming(_formel);
  2276. // U.UF.F.topWindow(_formel);
  2277. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2278. var _formel = document.getElementById("study");
  2279. // if (_formel.ismaximize) {
  2280. // return;
  2281. // }
  2282. // U.UF.F.windowZooming(_formel);
  2283. U.UF.F.topWindow(_formel);
  2284. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2285. var _formel = document.getElementById("studentIndex");
  2286. U.UF.F.windowZooming(_formel);
  2287. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2288. var _formel = document.getElementById("studyDetailS");
  2289. U.UF.F.windowZooming(_formel);
  2290. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2291. var _formel = document.getElementById("studioIndex");
  2292. U.UF.F.windowZooming(_formel);
  2293. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2294. var _formel = document.getElementById("studyDetailStudio");
  2295. U.UF.F.windowZooming(_formel);
  2296. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2297. var _formel = document.getElementById("studyDetailStudio");
  2298. U.UF.F.windowZooming(_formel);
  2299. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2300. var _formel = document.getElementById("studyDetailNT");
  2301. U.UF.F.windowZooming(_formel);
  2302. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2303. var _formel = document.getElementById("studyDetailS");
  2304. U.UF.F.windowZooming(_formel);
  2305. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2306. var _formel = document.getElementById("studyDetailS");
  2307. U.UF.F.topWindow(_formel);
  2308. } else if (e.data.tools && e.data.tools == "1") {
  2309. // U.MD.D.I.openApplication("whiteboard")
  2310. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2311. } else if (e.data.tools && e.data.tools == "2") {
  2312. U.MD.D.I.openApplication("note")
  2313. } else if (e.data.tools && e.data.tools == "3") {
  2314. // U.MD.D.I.openApplication("mind")
  2315. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2316. } else if (e.data.tools && e.data.tools == "4") {
  2317. U.MD.D.I.openApplication("investigation")
  2318. } else if (e.data.tools && e.data.tools == "6") {
  2319. // U.MD.D.I.openApplication("doc")
  2320. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2321. } else if (e.data.tools && e.data.tools == "7") {
  2322. // U.MD.D.I.openApplication("mindNetwork")
  2323. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "8") {
  2325. U.MD.D.I.openApplication("library")
  2326. } else if (e.data.tools && e.data.tools == "17") {
  2327. U.MD.D.I.openApplication("stuLibrary")
  2328. } else if (e.data.tools && e.data.tools == "18") {
  2329. U.MD.D.I.openApplication("train")
  2330. } else if (e.data.tools && e.data.tools == "21") {
  2331. U.MD.D.I.openApplication("program")
  2332. } else if (e.data.tools && e.data.tools == "22") {
  2333. U.MD.D.I.openApplication("AIprogram2")
  2334. } else if (e.data.tools && e.data.tools == "23") {
  2335. U.MD.D.I.openApplication("Pythonprogram")
  2336. } else if (e.data.tools && e.data.tools == "24") {
  2337. U.MD.D.I.openApplication("AIprogram")
  2338. } else if (e.data.tools && e.data.tools == "25") {
  2339. U.MD.D.I.openApplication("sys")
  2340. } else if (e.data.tools && e.data.tools == "26") {
  2341. // U.MD.D.I.openApplication("courseDesign")
  2342. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "31") {
  2344. U.MD.D.I.openApplication("netWorkPanel")
  2345. } else if (e.data.tools && e.data.tools == "32") {
  2346. U.MD.D.I.openApplication("codeEdit")
  2347. } else if (e.data.tools && e.data.tools == "57") {
  2348. U.MD.D.I.openApplication("CocoPi")
  2349. } else if (e.data.tools && e.data.tools == "63") {
  2350. U.MD.D.I.openApplication("Wood")
  2351. } else if (e.data.tools && e.data.tools == "58") {
  2352. U.MD.D.I.openApplication("car")
  2353. } else if (e.data.tools && e.data.tools == "59") {
  2354. U.MD.D.I.openApplication("lineSearch")
  2355. } else if (e.data.tools && e.data.tools == "60") {
  2356. U.MD.D.I.openApplication("deepLearning")
  2357. } else if (e.data.tools && e.data.tools == "61") {
  2358. U.MD.D.I.openApplication("allHistory")
  2359. } else if (e.data.tools && e.data.tools == "28") {
  2360. U.MD.D.I.openApplication("translation")
  2361. } else if (e.data.tools && e.data.tools == "37") {
  2362. U.MD.D.I.openApplication("mohe")
  2363. } else if (e.data.tools && e.data.tools == "38") {
  2364. U.MD.D.I.openApplication("24game")
  2365. } else if (e.data.tools && e.data.tools == "39") {
  2366. U.MD.D.I.openApplication("GeoGebra")
  2367. } else if (e.data.tools && e.data.tools == "43") {
  2368. U.MD.D.I.openApplication("studentEvaluate")
  2369. } else if (e.data.tools && e.data.tools == "44") {
  2370. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2371. } else if (e.data.tools && e.data.tools == "46") {
  2372. U.MD.D.I.openApplication("project")
  2373. } else if (e.data.tools && e.data.tools == "1s") {
  2374. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2375. } else if (e.data.tools && e.data.tools == "3s") {
  2376. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2377. } else if (e.data.tools && e.data.tools == "6s") {
  2378. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2379. } else if (e.data.tools && e.data.tools == "1studio") {
  2380. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2381. } else if (e.data.tools && e.data.tools == "3studio") {
  2382. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2383. } else if (e.data.tools && e.data.tools == "6studio") {
  2384. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2385. } else if (e.data.tools && e.data.tools == "3y") {
  2386. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2387. } else if (e.data.tools && e.data.tools == "1y") {
  2388. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2389. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2390. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2391. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2392. U.MD.D.I.openApplication("AIAnalyse")
  2393. } else if (e.data.tools && e.data.tools == "1teacher") {
  2394. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2395. } else if (e.data.tools && e.data.tools == "3teacher") {
  2396. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2397. } else if (e.data.tools && e.data.tools == "7teacher") {
  2398. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2399. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2400. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2401. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2402. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2403. } else if (e.data.tools && e.data.tools == "1E") {
  2404. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2405. } else if (e.data.tools && e.data.tools == "3E") {
  2406. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2407. } else if (e.data.tools && e.data.tools == "57y") {
  2408. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2409. } else if (e.data.tools && e.data.tools == "57u") {
  2410. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2411. } else if (e.data.tools && e.data.tools == "57teacher") {
  2412. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2413. } else if (e.data.tools && e.data.tools == "64") {
  2414. U.MD.D.I.openApplication("AIChat")
  2415. } else if (e.data.tools && e.data.tools == "66") {
  2416. U.MD.D.I.openApplication("formulaEdi")
  2417. } else if (e.data.tools && e.data.tools == "67") {
  2418. U.MD.D.I.openApplication("molStr")
  2419. } else if (e.data.tools && e.data.tools == "68") {
  2420. U.MD.D.I.openApplication("timeAxis")
  2421. }
  2422. });
  2423. U.MD.D.I.selectUser = function() {
  2424. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2425. if (res.value[0].length > 0) {
  2426. US.userInfo = res.value[0][0];
  2427. $(".userName")[0].innerHTML = US.userInfo.username;
  2428. }
  2429. }, [], { "type": "GET", "withCredentials": true });
  2430. }
  2431. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2432. var _userinfo = US.userInfo, //登录用户信息
  2433. _userid = US.userInfo.userid, //登录用户id
  2434. _oid = _userinfo.organizeid,
  2435. _type = US.userInfo.type,
  2436. _org = US.userInfo.org,
  2437. _role = US.userInfo.role,
  2438. _classId = US.userInfo.classid;
  2439. if (_type == 4) {
  2440. tType = 4
  2441. }
  2442. switch (str) {
  2443. case "studyDetailNT": //无终端模式
  2444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2445. setTimeout(() => {
  2446. U.MD.U.L.login();
  2447. }, 2000);
  2448. } else {
  2449. _formdiv = new U.UF.UI.form(
  2450. "课程详情",
  2451. $$("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 }), {
  2452. "id": "studyDetailNT",
  2453. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2454. "onresize": function() {}
  2455. }, {
  2456. closecallback: function() {}
  2457. }, { "style": { "height": "36px" } }).form; //创建窗体
  2458. _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); } }
  2459. break;
  2460. }
  2461. case "studyDetail":
  2462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2463. setTimeout(() => {
  2464. U.MD.U.L.login();
  2465. }, 2000);
  2466. } else {
  2467. _formdiv = new U.UF.UI.form(
  2468. "课程详情",
  2469. $$("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 }), {
  2470. "id": "studyDetail",
  2471. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2472. "onresize": function() {}
  2473. }, {
  2474. closecallback: function() {}
  2475. }, { "style": { "height": "36px" } }).form; //创建窗体
  2476. _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); } }
  2477. break;
  2478. }
  2479. case "studyDetailS":
  2480. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2481. setTimeout(() => {
  2482. U.MD.U.L.login();
  2483. }, 2000);
  2484. } else {
  2485. _formdiv = new U.UF.UI.form(
  2486. "项目详情",
  2487. $$("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 }), {
  2488. "id": "studyDetailS",
  2489. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2490. "onresize": function() {}
  2491. }, {
  2492. closecallback: function() {}
  2493. }, { "style": { "height": "36px" } }).form; //创建窗体
  2494. _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); } }
  2495. break;
  2496. }
  2497. case "studyDetailStudio":
  2498. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2499. setTimeout(() => {
  2500. U.MD.U.L.login();
  2501. }, 2000);
  2502. } else {
  2503. _formdiv = new U.UF.UI.form(
  2504. "工作详情",
  2505. $$("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 }), {
  2506. "id": "studyDetailStudio",
  2507. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2508. "onresize": function() {}
  2509. }, {
  2510. closecallback: function() {}
  2511. }, { "style": { "height": "36px" } }).form; //创建窗体
  2512. _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); } }
  2513. break;
  2514. }
  2515. case "studyDetailS5":
  2516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2517. setTimeout(() => {
  2518. U.MD.U.L.login();
  2519. }, 2000);
  2520. } else {
  2521. _formdiv = new U.UF.UI.form(
  2522. "项目详情",
  2523. $$("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 }), {
  2524. "id": "studyDetailS",
  2525. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2526. "onresize": function() {}
  2527. }, {
  2528. closecallback: function() {}
  2529. }, { "style": { "height": "36px" } }).form; //创建窗体
  2530. _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); } }
  2531. break;
  2532. }
  2533. case "studyDetailGM":
  2534. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2535. setTimeout(() => {
  2536. U.MD.U.L.login();
  2537. }, 2000);
  2538. } else {
  2539. _formdiv = new U.UF.UI.form(
  2540. "课程详情",
  2541. $$("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 }), {
  2542. "id": "studyDetail",
  2543. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2544. "onresize": function() {}
  2545. }, {
  2546. closecallback: function() {}
  2547. }, { "style": { "height": "36px" } }).form; //创建窗体
  2548. _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); } }
  2549. break;
  2550. }
  2551. case "hanUrl":
  2552. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2553. setTimeout(() => {
  2554. U.MD.U.L.login();
  2555. }, 2000);
  2556. } else {
  2557. _formdiv = new U.UF.UI.form(
  2558. "汉字宫",
  2559. $$("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" }), {
  2560. "id": "hanUrl",
  2561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2562. "onresize": function() {}
  2563. }, {
  2564. closecallback: function() {}
  2565. }, { "style": { "height": "36px" } }).form; //创建窗体
  2566. _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); } }
  2567. break;
  2568. }
  2569. }
  2570. }
  2571. U.MD.D.I.openApplication = function(str, obj, info) {
  2572. obj = obj || {};
  2573. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2574. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2575. _userinfo = US.userInfo, //登录用户信息
  2576. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2577. _oid = obj.organizeid || _userinfo.organizeid,
  2578. _type = US.userInfo.type,
  2579. _org = US.userInfo.org,
  2580. _role = US.userInfo.role,
  2581. _classId = US.userInfo.classid,
  2582. _TscreenType = 1
  2583. _screenType = 2,
  2584. _SscreenType = 3;
  2585. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2586. return;
  2587. }
  2588. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2589. switch (str) {
  2590. case "studnetProject": //好友打开
  2591. _formdiv = new U.UF.UI.form(
  2592. "我的项目",
  2593. $$("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 }), {
  2594. "id": "studnetProject",
  2595. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2596. "onresize": function() {}
  2597. }, {
  2598. closecallback: function() {}
  2599. }, { "style": { "height": "36px" } }).form; //创建窗体
  2600. _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); } }
  2601. break;
  2602. case "studentEvaluate": //好友打开
  2603. _formdiv = new U.UF.UI.form(
  2604. "我的评价",
  2605. $$("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 }), {
  2606. "id": "studentEvaluate",
  2607. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2608. "onresize": function() {}
  2609. }, {
  2610. closecallback: function() {}
  2611. }, { "style": { "height": "36px" } }).form; //创建窗体
  2612. _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); } }
  2613. break;
  2614. case "my":
  2615. _formdiv = new U.UF.UI.form(
  2616. "我的资料",
  2617. $$("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 }), {
  2618. "id": "my",
  2619. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2620. "onresize": function() {}
  2621. }, {
  2622. closecallback: function() {}
  2623. }, { "style": { "height": "36px" } }).form; //创建窗体
  2624. _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); } }
  2625. break;
  2626. case "program":
  2627. _formdiv = new U.UF.UI.form(
  2628. "编程平台",
  2629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2630. "id": "program",
  2631. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2632. "onresize": function() {}
  2633. }, {
  2634. closecallback: function() {}
  2635. }, { "style": { "height": "36px" } }).form; //创建窗体
  2636. _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); } }
  2637. break;
  2638. case "library":
  2639. _formdiv = new U.UF.UI.form(
  2640. "素材库",
  2641. $$("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 }), {
  2642. "id": "library",
  2643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2644. "onresize": function() {}
  2645. }, {
  2646. closecallback: function() {}
  2647. }, { "style": { "height": "36px" } }).form; //创建窗体
  2648. _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); } }
  2649. break;
  2650. case "whiteboard":
  2651. _formdiv = new U.UF.UI.form(
  2652. "电子白板",
  2653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2654. "id": "whiteboard",
  2655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2656. "onresize": function() {}
  2657. }, {
  2658. closecallback: function() {}
  2659. }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. _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); } }
  2661. break;
  2662. case "investigation":
  2663. _formdiv = new U.UF.UI.form(
  2664. "问卷调查",
  2665. $$("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 }), {
  2666. "id": "investigation",
  2667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2668. "onresize": function() {}
  2669. }, {
  2670. closecallback: function() {}
  2671. }, { "style": { "height": "36px" } }).form; //创建窗体
  2672. _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); } }
  2673. break;
  2674. case "note":
  2675. _formdiv = new U.UF.UI.form(
  2676. "便签分类",
  2677. $$("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 }), {
  2678. "id": "note",
  2679. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2680. "onresize": function() {}
  2681. }, {
  2682. closecallback: function() {}
  2683. }, { "style": { "height": "36px" } }).form; //创建窗体
  2684. _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); } }
  2685. break;
  2686. // case "score":
  2687. // _formdiv = new U.UF.UI.form(
  2688. // "量规评分",
  2689. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2690. // "id": "score",
  2691. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2692. // "onresize": function() {}
  2693. // }, {
  2694. // closecallback: function() {}
  2695. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2696. // _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); } }
  2697. // break;
  2698. case "mind":
  2699. _formdiv = new U.UF.UI.form(
  2700. "思维导图",
  2701. $$("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"
  2702. "id": "mind",
  2703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2704. "onresize": function() {}
  2705. }, {
  2706. closecallback: function() {}
  2707. }, { "style": { "height": "36px" } }).form; //创建窗体
  2708. _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); } }
  2709. break;
  2710. case "doc":
  2711. // U.MD.D.I.isRoom();
  2712. _formdiv = new U.UF.UI.form(
  2713. "协同文档",
  2714. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2715. "id": "doc",
  2716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2717. "onresize": function() {}
  2718. }, {
  2719. closecallback: function() {}
  2720. }, { "style": { "height": "36px" } }).form; //创建窗体
  2721. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2722. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2723. // })
  2724. _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); } }
  2725. break;
  2726. case "studentStudy":
  2727. _formdiv = new U.UF.UI.form(
  2728. "课程中心",
  2729. $$("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
  2730. "id": "studentStudy",
  2731. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2732. "onresize": function() {}
  2733. }, {
  2734. closecallback: function() {}
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _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); } }
  2737. break;
  2738. case "train": //好友打开
  2739. _formdiv = new U.UF.UI.form(
  2740. "训练平台",
  2741. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2742. "id": "train",
  2743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2744. "onresize": function() {}
  2745. }, {
  2746. closecallback: function() {}
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _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); } }
  2749. break;
  2750. case "mindNetwork": //好友打开
  2751. _formdiv = new U.UF.UI.form(
  2752. "思维网格",
  2753. $$("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 }), {
  2754. "id": "mindNetwork",
  2755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2756. "onresize": function() {}
  2757. }, {
  2758. closecallback: function() {}
  2759. }, { "style": { "height": "36px" } }).form; //创建窗体
  2760. _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); } }
  2761. break;
  2762. case "studentClassRoom": //好友打开
  2763. _formdiv = new U.UF.UI.form(
  2764. "实时课堂",
  2765. $$("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 }), {
  2766. "id": "studentClassRoom",
  2767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2768. "onresize": function() {}
  2769. }, {
  2770. closecallback: function() {}
  2771. }, { "style": { "height": "36px" } }).form; //创建窗体
  2772. _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); } }
  2773. setTimeout(() => {
  2774. U.UF.F.windowZooming(_formdiv)
  2775. }, 0);
  2776. break;
  2777. }
  2778. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2779. switch (str) {
  2780. case "studnetProject": //好友打开
  2781. _formdiv = new U.UF.UI.form(
  2782. "我的项目",
  2783. $$("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 }), {
  2784. "id": "studnetProject",
  2785. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2786. "onresize": function() {}
  2787. }, {
  2788. closecallback: function() {}
  2789. }, { "style": { "height": "36px" } }).form; //创建窗体
  2790. _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); } }
  2791. break;
  2792. case "studentEvaluate": //好友打开
  2793. _formdiv = new U.UF.UI.form(
  2794. "我的评价",
  2795. $$("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 }), {
  2796. "id": "studentEvaluate",
  2797. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2798. "onresize": function() {}
  2799. }, {
  2800. closecallback: function() {}
  2801. }, { "style": { "height": "36px" } }).form; //创建窗体
  2802. _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); } }
  2803. break;
  2804. case "my":
  2805. _formdiv = new U.UF.UI.form(
  2806. "我的资料",
  2807. $$("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 }), {
  2808. "id": "my",
  2809. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2810. "onresize": function() {}
  2811. }, {
  2812. closecallback: function() {}
  2813. }, { "style": { "height": "36px" } }).form; //创建窗体
  2814. _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); } }
  2815. break;
  2816. case "program":
  2817. _formdiv = new U.UF.UI.form(
  2818. "编程平台",
  2819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2820. "id": "program",
  2821. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2822. "onresize": function() {}
  2823. }, {
  2824. closecallback: function() {}
  2825. }, { "style": { "height": "36px" } }).form; //创建窗体
  2826. _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); } }
  2827. break;
  2828. case "library":
  2829. _formdiv = new U.UF.UI.form(
  2830. "素材库",
  2831. $$("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 }), {
  2832. "id": "library",
  2833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2834. "onresize": function() {}
  2835. }, {
  2836. closecallback: function() {}
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _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); } }
  2839. break;
  2840. case "whiteboard":
  2841. _formdiv = new U.UF.UI.form(
  2842. "电子白板",
  2843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2844. "id": "whiteboard",
  2845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. "onresize": function() {}
  2847. }, {
  2848. closecallback: function() {}
  2849. }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. _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); } }
  2851. break;
  2852. case "investigation":
  2853. _formdiv = new U.UF.UI.form(
  2854. "问卷调查",
  2855. $$("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 }), {
  2856. "id": "investigation",
  2857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2858. "onresize": function() {}
  2859. }, {
  2860. closecallback: function() {}
  2861. }, { "style": { "height": "36px" } }).form; //创建窗体
  2862. _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); } }
  2863. break;
  2864. case "note":
  2865. _formdiv = new U.UF.UI.form(
  2866. "便签分类",
  2867. $$("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 }), {
  2868. "id": "note",
  2869. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2870. "onresize": function() {}
  2871. }, {
  2872. closecallback: function() {}
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _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); } }
  2875. break;
  2876. // case "score":
  2877. // _formdiv = new U.UF.UI.form(
  2878. // "量规评分",
  2879. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2880. // "id": "score",
  2881. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2882. // "onresize": function() {}
  2883. // }, {
  2884. // closecallback: function() {}
  2885. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2886. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2887. // break;
  2888. case "mind":
  2889. _formdiv = new U.UF.UI.form(
  2890. "思维导图",
  2891. $$("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"
  2892. "id": "mind",
  2893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2894. "onresize": function() {}
  2895. }, {
  2896. closecallback: function() {}
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _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); } }
  2899. break;
  2900. case "doc":
  2901. // U.MD.D.I.isRoom();
  2902. _formdiv = new U.UF.UI.form(
  2903. "协同文档",
  2904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2905. "id": "doc",
  2906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2907. "onresize": function() {}
  2908. }, {
  2909. closecallback: function() {}
  2910. }, { "style": { "height": "36px" } }).form; //创建窗体
  2911. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2912. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2913. })
  2914. _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); } }
  2915. break;
  2916. case "train": //好友打开
  2917. _formdiv = new U.UF.UI.form(
  2918. "训练平台",
  2919. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2920. "id": "train",
  2921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function() {}
  2923. }, {
  2924. closecallback: function() {}
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _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); } }
  2927. break;
  2928. case "studentStudy":
  2929. _formdiv = new U.UF.UI.form(
  2930. "课程中心",
  2931. $$("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
  2932. "id": "studentStudy",
  2933. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2934. "onresize": function() {}
  2935. }, {
  2936. closecallback: function() {}
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _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); } }
  2939. break;
  2940. case "mindNetwork": //好友打开
  2941. _formdiv = new U.UF.UI.form(
  2942. "思维网格",
  2943. $$("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 }), {
  2944. "id": "mindNetwork",
  2945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2946. "onresize": function() {}
  2947. }, {
  2948. closecallback: function() {}
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _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); } }
  2951. break;
  2952. case "studentClassRoom": //好友打开
  2953. _formdiv = new U.UF.UI.form(
  2954. "实时课堂",
  2955. $$("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 }), {
  2956. "id": "studentClassRoom",
  2957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2958. "onresize": function() {}
  2959. }, {
  2960. closecallback: function() {}
  2961. }, { "style": { "height": "36px" } }).form; //创建窗体
  2962. _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); } }
  2963. setTimeout(() => {
  2964. U.UF.F.windowZooming(_formdiv)
  2965. }, 0);
  2966. break;
  2967. }
  2968. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2969. //选择应用处理
  2970. switch (str) {
  2971. case "project": //好友打开
  2972. _formdiv = new U.UF.UI.form(
  2973. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2974. $$("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 }), {
  2975. "id": "project",
  2976. "style": { "width": "90%", "height": "90%", "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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2982. break;
  2983. case "student":
  2984. _formdiv = new U.UF.UI.form(
  2985. "学生管理",
  2986. $$("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 }), {
  2987. "id": "student",
  2988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function() {}
  2990. }, {
  2991. closecallback: function() {}
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2994. break;
  2995. case "evaluate":
  2996. _formdiv = new U.UF.UI.form(
  2997. "学生评价",
  2998. $$("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 }), {
  2999. "id": "evaluate",
  3000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3001. "onresize": function() {}
  3002. }, {
  3003. closecallback: function() {}
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3006. break;
  3007. case "sys":
  3008. _formdiv = new U.UF.UI.form(
  3009. "目标管理",
  3010. $$("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 }), {
  3011. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3018. break;
  3019. case "courseDesign":
  3020. _formdiv = new U.UF.UI.form(
  3021. "项目设计",
  3022. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3023. "id": "courseDesign",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function() {}
  3026. }, {
  3027. closecallback: function() {}
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. _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); } }
  3030. break;
  3031. case "program":
  3032. _formdiv = new U.UF.UI.form(
  3033. "编程平台",
  3034. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3035. "id": "program",
  3036. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3037. "onresize": function() {}
  3038. }, {
  3039. closecallback: function() {}
  3040. }, { "style": { "height": "36px" } }).form; //创建窗体
  3041. _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); } }
  3042. break;
  3043. case "class":
  3044. _formdiv = new U.UF.UI.form(
  3045. "班级管理",
  3046. $$("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 }), {
  3047. "id": "class",
  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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3054. break;
  3055. case "Grade":
  3056. _formdiv = new U.UF.UI.form(
  3057. "年级管理",
  3058. $$("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 }), {
  3059. "id": "Grade",
  3060. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3061. "onresize": function() {}
  3062. }, {
  3063. closecallback: function() {}
  3064. }, { "style": { "height": "36px" } }).form; //创建窗体
  3065. _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); } }
  3066. break;
  3067. case "teacherOffice":
  3068. _formdiv = new U.UF.UI.form(
  3069. "教研室",
  3070. $$("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 }), {
  3071. "id": "teacherOffice",
  3072. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3073. "onresize": function() {}
  3074. }, {
  3075. closecallback: function() {}
  3076. }, { "style": { "height": "36px" } }).form; //创建窗体
  3077. _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); } }
  3078. break;
  3079. case "my":
  3080. _formdiv = new U.UF.UI.form(
  3081. "我的资料",
  3082. $$("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 }), {
  3083. "id": "my",
  3084. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3085. "onresize": function() {}
  3086. }, {
  3087. closecallback: function() {}
  3088. }, { "style": { "height": "36px" } }).form; //创建窗体
  3089. _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); } }
  3090. break;
  3091. case "notice":
  3092. _formdiv = new U.UF.UI.form(
  3093. "通知公告",
  3094. $$("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 }), {
  3095. "id": "notice",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function() {}
  3098. }, {
  3099. closecallback: function() {}
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _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); } }
  3102. break;
  3103. case "library":
  3104. _formdiv = new U.UF.UI.form(
  3105. "素材库",
  3106. $$("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 }), {
  3107. "id": "library",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function() {}
  3110. }, {
  3111. closecallback: function() {}
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _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); } }
  3114. break;
  3115. case "whiteboard":
  3116. _formdiv = new U.UF.UI.form(
  3117. "电子白板",
  3118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3119. "id": "whiteboard",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function() {}
  3122. }, {
  3123. closecallback: function() {}
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _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); } }
  3126. break;
  3127. case "investigation":
  3128. _formdiv = new U.UF.UI.form(
  3129. "问卷调查",
  3130. $$("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 }), {
  3131. "id": "investigation",
  3132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function() {}
  3134. }, {
  3135. closecallback: function() {}
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _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); } }
  3138. break;
  3139. case "note":
  3140. _formdiv = new U.UF.UI.form(
  3141. "便签分类",
  3142. $$("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 }), {
  3143. "id": "note",
  3144. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3145. "onresize": function() {}
  3146. }, {
  3147. closecallback: function() {}
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3150. break;
  3151. // case "score":
  3152. // _formdiv = new U.UF.UI.form(
  3153. // "量规评分",
  3154. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3155. // "id": "score",
  3156. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. // "onresize": function() {}
  3158. // }, {
  3159. // closecallback: function() {}
  3160. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. // _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); } }
  3162. // break;
  3163. case "mind":
  3164. _formdiv = new U.UF.UI.form(
  3165. "思维导图",
  3166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3167. "id": "mind",
  3168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function() {}
  3170. }, {
  3171. closecallback: function() {}
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3174. break;
  3175. case "doc":
  3176. // U.MD.D.I.isRoom();
  3177. _formdiv = new U.UF.UI.form(
  3178. "协同文档",
  3179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3180. "id": "doc",
  3181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function() {}
  3183. }, {
  3184. closecallback: function() {}
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3187. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3188. })
  3189. _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); } }
  3190. break;
  3191. case "study":
  3192. _formdiv = new U.UF.UI.form(
  3193. "课程中心",
  3194. $$("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
  3195. "id": "study",
  3196. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3202. break;
  3203. case "mindNetwork": //好友打开
  3204. _formdiv = new U.UF.UI.form(
  3205. "思维网格",
  3206. $$("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 }), {
  3207. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3214. break;
  3215. case "train": //好友打开
  3216. _formdiv = new U.UF.UI.form(
  3217. "训练平台",
  3218. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3219. "id": "mindNetwork",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function() {}
  3222. }, {
  3223. closecallback: function() {}
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "teacherClassRoom": //好友打开
  3228. _formdiv = new U.UF.UI.form(
  3229. "实时课堂",
  3230. $$("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 }), {
  3231. "id": "teacherClassRoom",
  3232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3233. "onresize": function() {}
  3234. }, {
  3235. closecallback: function() {}
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. setTimeout(() => {
  3239. U.UF.F.windowZooming(_formdiv)
  3240. }, 0);
  3241. break;
  3242. }
  3243. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3244. switch (str) {
  3245. case "project": //好友打开
  3246. _formdiv = new U.UF.UI.form(
  3247. "课程管理",
  3248. $$("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 }), {
  3249. "id": "project",
  3250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function() {}
  3252. }, {
  3253. closecallback: function() {}
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. _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); } }
  3256. break;
  3257. case "evaluate":
  3258. _formdiv = new U.UF.UI.form(
  3259. "学生评价",
  3260. $$("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 }), {
  3261. "id": "evaluate",
  3262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function() {}
  3264. }, {
  3265. closecallback: function() {}
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. _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); } }
  3268. break;
  3269. case "notice":
  3270. _formdiv = new U.UF.UI.form(
  3271. "通知公告",
  3272. $$("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 }), {
  3273. "id": "notice",
  3274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3275. "onresize": function() {}
  3276. }, {
  3277. closecallback: function() {}
  3278. }, { "style": { "height": "36px" } }).form; //创建窗体
  3279. _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); } }
  3280. break;
  3281. case "stuLibrary":
  3282. _formdiv = new U.UF.UI.form(
  3283. "学习资料",
  3284. $$("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 }), {
  3285. "id": "stuLibrary",
  3286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "program":
  3294. _formdiv = new U.UF.UI.form(
  3295. "编程平台",
  3296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3297. "id": "program",
  3298. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function() {}
  3300. }, {
  3301. closecallback: function() {}
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. break;
  3305. case "whiteboard":
  3306. _formdiv = new U.UF.UI.form(
  3307. "电子白板",
  3308. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3309. "id": "whiteboard",
  3310. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3311. "onresize": function() {}
  3312. }, {
  3313. closecallback: function() {}
  3314. }, { "style": { "height": "36px" } }).form; //创建窗体
  3315. _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); } }
  3316. break;
  3317. case "investigation":
  3318. _formdiv = new U.UF.UI.form(
  3319. "问卷调查",
  3320. $$("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 }), {
  3321. "id": "investigation",
  3322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3323. "onresize": function() {}
  3324. }, {
  3325. closecallback: function() {}
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _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); } }
  3328. break;
  3329. case "mind":
  3330. _formdiv = new U.UF.UI.form(
  3331. "思维导图",
  3332. $$("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"
  3333. "id": "mind",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function() {}
  3336. }, {
  3337. closecallback: function() {}
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _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); } }
  3340. break;
  3341. case "doc":
  3342. // U.MD.D.I.isRoom();
  3343. _formdiv = new U.UF.UI.form(
  3344. "协同文档",
  3345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3346. "id": "doc",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function() {}
  3349. }, {
  3350. closecallback: function() {}
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3353. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3354. })
  3355. _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); } }
  3356. break;
  3357. case "study":
  3358. _formdiv = new U.UF.UI.form(
  3359. "课程中心",
  3360. $$("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
  3361. "id": "study",
  3362. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3368. break;
  3369. case "mindNetwork": //好友打开
  3370. _formdiv = new U.UF.UI.form(
  3371. "思维网格",
  3372. $$("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 }), {
  3373. "id": "mindNetwork",
  3374. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3380. break;
  3381. case "train": //好友打开
  3382. _formdiv = new U.UF.UI.form(
  3383. "训练平台",
  3384. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3385. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3392. break;
  3393. case "sys":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3397. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3404. break;
  3405. case "courseDesign":
  3406. _formdiv = new U.UF.UI.form(
  3407. "项目设计",
  3408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3409. "id": "courseDesign",
  3410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3411. "onresize": function() {}
  3412. }, {
  3413. closecallback: function() {}
  3414. }, { "style": { "height": "36px" } }).form; //创建窗体
  3415. _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); } }
  3416. break;
  3417. }
  3418. } else if (!_type) {
  3419. switch (str) {
  3420. case "my":
  3421. _formdiv = new U.UF.UI.form(
  3422. "我的资料",
  3423. $$("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 }), {
  3424. "id": "my",
  3425. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3426. "onresize": function() {}
  3427. }, {
  3428. closecallback: function() {}
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. break;
  3432. }
  3433. }
  3434. switch (str) {
  3435. // AIprogram2 AI体验 aihub.cocorobo.cn
  3436. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3437. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3438. case "formulaEdi": //公式编辑
  3439. _formdiv = new U.UF.UI.form(
  3440. "公式编辑",
  3441. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3442. "id": "formulaEdi",
  3443. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function() {}
  3445. }, {
  3446. closecallback: function() {}
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "molStr": //分子结构
  3451. _formdiv = new U.UF.UI.form(
  3452. "分子结构",
  3453. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3454. "id": "molStr",
  3455. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function() {}
  3457. }, {
  3458. closecallback: function() {}
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "timeAxis": //时间轴
  3463. _formdiv = new U.UF.UI.form(
  3464. "时间轴",
  3465. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3466. "id": "timeAxis",
  3467. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function() {}
  3469. }, {
  3470. closecallback: function() {}
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "AIprogram2": //AI体验
  3475. _formdiv = new U.UF.UI.form(
  3476. "AI体验",
  3477. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3478. "id": "AIprogram2",
  3479. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function() {}
  3481. }, {
  3482. closecallback: function() {}
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "Pythonprogram": //python编程
  3487. _formdiv = new U.UF.UI.form(
  3488. "Python编程",
  3489. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3490. "id": "Pythonprogram",
  3491. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function() {}
  3493. }, {
  3494. closecallback: function() {}
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "AIprogram": //ai编程
  3499. _formdiv = new U.UF.UI.form(
  3500. "AI编程平台",
  3501. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3502. "id": "AIprogram",
  3503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function() {}
  3505. }, {
  3506. closecallback: function() {}
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "CocoPi": //CocoPi
  3511. _formdiv = new U.UF.UI.form(
  3512. "CocoPi",
  3513. $$("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" }), {
  3514. "id": "CocoPi",
  3515. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function() {}
  3517. }, {
  3518. closecallback: function() {}
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "Wood": //Wood
  3523. _formdiv = new U.UF.UI.form(
  3524. "海龟编程",
  3525. $$("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/" }), {
  3526. "id": "Wood",
  3527. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function() {}
  3529. }, {
  3530. closecallback: function() {}
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "car": //模拟驾驶
  3535. _formdiv = new U.UF.UI.form(
  3536. "模拟驾驶",
  3537. $$("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/" }), {
  3538. "id": "car",
  3539. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function() {}
  3541. }, {
  3542. closecallback: function() {}
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. case "lineSearch": //路径搜索
  3547. _formdiv = new U.UF.UI.form(
  3548. "路径搜索",
  3549. $$("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/" }), {
  3550. "id": "lineSearch",
  3551. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function() {}
  3553. }, {
  3554. closecallback: function() {}
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "deepLearning": //深度学习
  3559. _formdiv = new U.UF.UI.form(
  3560. "深度学习",
  3561. $$("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/#" }), {
  3562. "id": "deepLearning",
  3563. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function() {}
  3565. }, {
  3566. closecallback: function() {}
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "allHistory": //深度学习
  3571. _formdiv = new U.UF.UI.form(
  3572. "全历史",
  3573. $$("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/" }), {
  3574. "id": "allHistory",
  3575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function() {}
  3577. }, {
  3578. closecallback: function() {}
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _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); } }
  3581. break;
  3582. case "chatPDF": //ai编程
  3583. _formdiv = new U.UF.UI.form(
  3584. "chatPDF",
  3585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3586. "id": "chatPDF",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function() {}
  3589. }, {
  3590. closecallback: function() {}
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _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); } }
  3593. break;
  3594. case "resources": //国家教育
  3595. _formdiv = new U.UF.UI.form(
  3596. "国家教育",
  3597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3598. "id": "resources",
  3599. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function() {}
  3601. }, {
  3602. closecallback: function() {}
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _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); } }
  3605. break;
  3606. case "codeEdit": //源码编辑
  3607. _formdiv = new U.UF.UI.form(
  3608. "源码编辑",
  3609. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3610. "id": "codeEdit",
  3611. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _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); } }
  3617. break; //
  3618. case "MindMap": //MindMap
  3619. _formdiv = new U.UF.UI.form(
  3620. "MindMap",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3622. "id": "MindMap",
  3623. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _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); } }
  3629. break;
  3630. case "netWorkPanel": //netWorkPanel
  3631. _formdiv = new U.UF.UI.form(
  3632. "netWorkPanel",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3634. "id": "netWorkPanel",
  3635. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function() {}
  3637. }, {
  3638. closecallback: function() {}
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. case "GeoGebra": //GeoGebra
  3643. _formdiv = new U.UF.UI.form(
  3644. "GeoGebra",
  3645. $$("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" }), {
  3646. "id": "GeoGebra",
  3647. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function() {}
  3649. }, {
  3650. closecallback: function() {}
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "translation": //翻译
  3655. _formdiv = new U.UF.UI.form(
  3656. "翻译",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3658. "id": "translation",
  3659. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function() {}
  3661. }, {
  3662. closecallback: function() {}
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "mohe": //魔盒
  3667. _formdiv = new U.UF.UI.form(
  3668. "魔盒识字",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3670. "id": "mohe",
  3671. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3672. "onresize": function() {}
  3673. }, {
  3674. closecallback: function() {}
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "24game": //24点
  3679. _formdiv = new U.UF.UI.form(
  3680. "24点",
  3681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3682. "id": "24game",
  3683. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3684. "onresize": function() {}
  3685. }, {
  3686. closecallback: function() {}
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "case":
  3691. _formdiv = new U.UF.UI.form(
  3692. "课程进展",
  3693. $$("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 }), {
  3694. "id": "case",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function() {}
  3697. }, {
  3698. closecallback: function() {}
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "snf":
  3703. _formdiv = new U.UF.UI.form(
  3704. "赛诺梵",
  3705. $$("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" }), {
  3706. "id": "snf",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function() {}
  3709. }, {
  3710. closecallback: function() {}
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "hanFamily":
  3715. _formdiv = new U.UF.UI.form(
  3716. "汉字家族",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3718. "id": "hanFamily",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function() {}
  3721. }, {
  3722. closecallback: function() {}
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "hanClassics":
  3727. _formdiv = new U.UF.UI.form(
  3728. "国学经典",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3730. "id": "hanClassics",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function() {}
  3733. }, {
  3734. closecallback: function() {}
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "hanTraining":
  3739. _formdiv = new U.UF.UI.form(
  3740. "笔画训练",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3742. "id": "hanTraining",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function() {}
  3745. }, {
  3746. closecallback: function() {}
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "hanClass":
  3751. _formdiv = new U.UF.UI.form(
  3752. "书法课堂",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3754. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3766. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. case "projectGM": //课程管理
  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/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3778. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "studyGM": //课程中心
  3787. _formdiv = new U.UF.UI.form(
  3788. "课程中心",
  3789. $$("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
  3790. "id": "study",
  3791. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. // studentGM
  3799. case "studentGM": //学生管理
  3800. _formdiv = new U.UF.UI.form(
  3801. "学生管理",
  3802. $$("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 }), {
  3803. "id": "studentGM",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function() {}
  3806. }, {
  3807. closecallback: function() {}
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. case "evaluateGM": //学生评价
  3812. _formdiv = new U.UF.UI.form(
  3813. "学生评价",
  3814. $$("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 }), {
  3815. "id": "evaluateGM",
  3816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function() {}
  3818. }, {
  3819. closecallback: function() {}
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _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); } }
  3822. break;
  3823. // classGM
  3824. case "classGM": //班级管理
  3825. _formdiv = new U.UF.UI.form(
  3826. "班级管理",
  3827. $$("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 }), {
  3828. "id": "classGM",
  3829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3830. "onresize": function() {}
  3831. }, {
  3832. closecallback: function() {}
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _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); } }
  3835. break;
  3836. // dataGM
  3837. case "dataGM":
  3838. _formdiv = new U.UF.UI.form(
  3839. "我的资料",
  3840. $$("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 }), {
  3841. "id": "dataGM",
  3842. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function() {}
  3844. }, {
  3845. closecallback: function() {}
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. // caseGM
  3850. case "caseGM": //课程进展
  3851. _formdiv = new U.UF.UI.form(
  3852. "课程进展",
  3853. $$("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 }), {
  3854. "id": "caseGM",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _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); } }
  3861. break;
  3862. // meterialGM
  3863. case "meterialGM": //素材库
  3864. _formdiv = new U.UF.UI.form(
  3865. "素材库",
  3866. $$("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 }), {
  3867. "id": "meterialGM",
  3868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function() {}
  3870. }, {
  3871. closecallback: function() {}
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3874. break;
  3875. // evaluateSGM
  3876. case "evaluateSGM": //我的评价
  3877. _formdiv = new U.UF.UI.form(
  3878. "我的评价",
  3879. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3880. "id": "evaluateSGM",
  3881. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3882. "onresize": function() {}
  3883. }, {
  3884. closecallback: function() {}
  3885. }, { "style": { "height": "36px" } }).form; //创建窗体
  3886. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3887. break;
  3888. case "jupyter": //jupyter
  3889. _formdiv = new U.UF.UI.form(
  3890. "jupyter",
  3891. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3892. "id": "jupyter",
  3893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function() {}
  3895. }, {
  3896. closecallback: function() {}
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3899. break;
  3900. case "number": //数字实验室
  3901. _formdiv = new U.UF.UI.form(
  3902. "数字实验室",
  3903. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3904. "id": "number",
  3905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3906. "onresize": function() {}
  3907. }, {
  3908. closecallback: function() {}
  3909. }, { "style": { "height": "36px" } }).form; //创建窗体
  3910. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3911. break;
  3912. case "studentCourse": //项目管理 学生
  3913. _formdiv = new U.UF.UI.form(
  3914. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3915. $$("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 }), {
  3916. "id": "studentCourse",
  3917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function() {}
  3919. }, {
  3920. closecallback: function() {}
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3923. break;
  3924. case "studentCourseS": //项目管理 老师
  3925. _formdiv = new U.UF.UI.form(
  3926. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3927. $$("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 }), {
  3928. "id": "studentCourseS",
  3929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function() {}
  3931. }, {
  3932. closecallback: function() {}
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3935. break;
  3936. case "studentIndex": //项目中心
  3937. _formdiv = new U.UF.UI.form(
  3938. "项目中心",
  3939. $$("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 }), {
  3940. "id": "studentIndex",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function() {}
  3943. }, {
  3944. closecallback: function() {}
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3947. break;
  3948. case "CaseDesignS":
  3949. _formdiv = new U.UF.UI.form(
  3950. "项目进展",
  3951. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3952. "id": "case",
  3953. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function() {}
  3955. }, {
  3956. closecallback: function() {}
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3959. break;
  3960. case "tcStudent": //腾讯学生管理
  3961. _formdiv = new U.UF.UI.form(
  3962. "学生管理",
  3963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3964. "id": "tcStudent",
  3965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function() {}
  3967. }, {
  3968. closecallback: function() {}
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3971. break;
  3972. case "tcSchool": //腾讯学校管理
  3973. _formdiv = new U.UF.UI.form(
  3974. "学校管理",
  3975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3976. "id": "tcSchool",
  3977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function() {}
  3979. }, {
  3980. closecallback: function() {}
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3983. break;
  3984. case "tcTeacher": //腾讯学校管理
  3985. _formdiv = new U.UF.UI.form(
  3986. "教师管理",
  3987. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3988. "id": "tcTeacher",
  3989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function() {}
  3991. }, {
  3992. closecallback: function() {}
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3995. break;
  3996. case "tcData": //腾讯我的资料
  3997. _formdiv = new U.UF.UI.form(
  3998. "我的资料",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4000. "id": "tcData",
  4001. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function() {}
  4003. }, {
  4004. closecallback: function() {}
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4007. break;
  4008. case "tcNotice": //腾讯消息通知
  4009. _formdiv = new U.UF.UI.form(
  4010. "消息通知",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4012. "id": "tcNotice",
  4013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function() {}
  4015. }, {
  4016. closecallback: function() {}
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "myReport": //好友打开
  4021. _formdiv = new U.UF.UI.form(
  4022. "我的评价",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4024. "id": "myReport",
  4025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4026. "onresize": function() {}
  4027. }, {
  4028. closecallback: function() {}
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "learnAna": //好友打开
  4033. _formdiv = new U.UF.UI.form(
  4034. "学习分析",
  4035. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4036. "id": "learnAna",
  4037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4038. "onresize": function() {}
  4039. }, {
  4040. closecallback: function() {}
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "AIChat": //AI共创
  4045. _formdiv = new U.UF.UI.form(
  4046. "AI共创",
  4047. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4048. "id": "AIChat",
  4049. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4050. "onresize": function() {}
  4051. }, {
  4052. istop: true,
  4053. closecallback: function() { $("#aichat_icon").remove(); },
  4054. narrowcallback: function() {
  4055. if (!$("#aichat_icon")[0]) {
  4056. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4057. }
  4058. },
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "ainew": //AI共创
  4063. _formdiv = new U.UF.UI.form(
  4064. "AI协同",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4066. "id": "ainew",
  4067. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4068. "onresize": function() {}
  4069. }, {
  4070. closecallback: function() {}
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. break;
  4074. case "futureClass": //AI共创
  4075. _formdiv = new U.UF.UI.form(
  4076. "知识建构",
  4077. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4078. "id": "futureClass",
  4079. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4080. "onresize": function() {}
  4081. }, {
  4082. closecallback: function() {}
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _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); } }
  4085. break;
  4086. case "dataBoard": //数据看板
  4087. _formdiv = new U.UF.UI.form(
  4088. "数据看板",
  4089. $$("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 }), {
  4090. "id": "dataBoard",
  4091. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4092. "onresize": function() {}
  4093. }, {
  4094. closecallback: function() {}
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _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); } }
  4097. break;
  4098. case "AIAnalyse": //AI共创
  4099. _formdiv = new U.UF.UI.form(
  4100. "AI分析",
  4101. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4102. "id": "AIAnalyse",
  4103. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4104. "onresize": function() {}
  4105. }, {
  4106. closecallback: function() {}
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _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); } }
  4109. break;
  4110. case "studioCourse": //AI共创
  4111. _formdiv = new U.UF.UI.form(
  4112. "工作管理",
  4113. $$("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 }), {
  4114. "id": "studioCourse",
  4115. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4116. "onresize": function() {}
  4117. }, {
  4118. closecallback: function() {}
  4119. }, { "style": { "height": "36px" } }).form; //创建窗体
  4120. _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); } }
  4121. break;
  4122. case "studioIndex": //AI共创
  4123. _formdiv = new U.UF.UI.form(
  4124. "工作中心",
  4125. $$("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 }), {
  4126. "id": "studioIndex",
  4127. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4128. "onresize": function() {}
  4129. }, {
  4130. closecallback: function() {}
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _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); } }
  4133. break;
  4134. case "source":
  4135. _formdiv = new U.UF.UI.form(
  4136. "教学资源",
  4137. $$("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 }), {
  4138. "id": "source",
  4139. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4140. "onresize": function() {}
  4141. }, {
  4142. closecallback: function() {}
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _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); } }
  4145. break;
  4146. }
  4147. //U.MD.D.I.openClick(str);
  4148. //如果有任务栏信息
  4149. if (_taskbar) {
  4150. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4151. }
  4152. }
  4153. // U.MD.D.I.openClick = function(str){
  4154. // var click = '';
  4155. // switch(str){
  4156. // case 'friend':
  4157. // click = '我的好友';
  4158. // break;
  4159. // case 'domain':
  4160. // click = '域名管理';
  4161. // break;
  4162. // case 'disk':
  4163. // click = '我的云盘';
  4164. // break;
  4165. // case 'word':
  4166. // click = 'Word';
  4167. // break;
  4168. // case 'excel':
  4169. // click = 'Execl';
  4170. // break;
  4171. // case 'txt':
  4172. // click = '文本文件';
  4173. // break;
  4174. // case 'lookupFriend':
  4175. // click = '查找好友';
  4176. // break;
  4177. // case 'ftp':
  4178. // click = 'FTP';
  4179. // break;
  4180. // case 'group':
  4181. // click = '群组';
  4182. // break;
  4183. // case 'set':
  4184. // click = '我的设置';
  4185. // break;
  4186. // case 'systemSet':
  4187. // click = '系统设置';
  4188. // break;
  4189. // case 'boomYun':
  4190. // click = '互联办公';
  4191. // break;
  4192. // case 'xz':
  4193. // click = '云端下载';
  4194. // break;
  4195. // case 'client':
  4196. // click = '有思浏览器';
  4197. // break;
  4198. // case 'backEndProgramming':
  4199. // click = '在线后台编程';
  4200. // break;
  4201. // case 'frontEndProgramming':
  4202. // click = '在线前端编程';
  4203. // break;
  4204. // default: break;
  4205. // }
  4206. // if(U.MD.D.I.Ip && click){
  4207. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4208. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4209. // })
  4210. // }
  4211. // }
  4212. /**
  4213. *函数作用:ajax简易函数,使用post格式
  4214. *@param url {data} 后台地址
  4215. *@param data {data} 参数json
  4216. *@param fn {data} 回调函数
  4217. *
  4218. */
  4219. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4220. // var xhr = new XMLHttpRequest();
  4221. // xhr.open("GET",url,true);
  4222. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4223. // xhr.onreadystatechange = function(){
  4224. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4225. // fn.call(this,xhr.responseText);
  4226. // }
  4227. // };
  4228. // xhr.send();
  4229. // }
  4230. /*判断是否是内网IP*/
  4231. // U.MD.D.I.isInnerIPFn = function(str){
  4232. // var curPageUrl = str;
  4233. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4234. // curPageUrl =curPageUrl.replace(reg1,'');
  4235. // // console.log('curPageUrl-1 '+curPageUrl);
  4236. // var reg2 = /\:+/g;//替换冒号为一点
  4237. // curPageUrl =curPageUrl.replace(reg2,'.');
  4238. // // console.log('curPageUrl-2 '+curPageUrl);
  4239. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4240. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4241. // if(curPageUrl[2] != '16'){
  4242. // return ipAddress;
  4243. // }else{
  4244. // return false;
  4245. // }
  4246. // }
  4247. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4248. // //compatibility for firefox and chrome
  4249. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4250. // var pc = new myPeerConnection({
  4251. // iceServers: []
  4252. // }),
  4253. // noop = function() {},
  4254. // localIPs = {},
  4255. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4256. // key;
  4257. // function iterateIP(ip) {
  4258. // if (!localIPs[ip]) onNewIP(ip);
  4259. // localIPs[ip] = true;
  4260. // }
  4261. // //create a bogus data channel
  4262. // pc.createDataChannel("");
  4263. // // create offer and set local description
  4264. // pc.createOffer().then(function(sdp) {
  4265. // sdp.sdp.split('\n').forEach(function(line) {
  4266. // if (line.indexOf('candidate') < 0) return;
  4267. // line.match(ipRegex).forEach(iterateIP);
  4268. // });
  4269. // pc.setLocalDescription(sdp, noop, noop);
  4270. // }).catch(function(reason) {
  4271. // // An error occurred, so handle the failure to connect
  4272. // });
  4273. // //sten for candidate events
  4274. // pc.onicecandidate = function(ice) {
  4275. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4276. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4277. // };
  4278. // }
  4279. // U.MD.D.I.getUserIpBool = function(callback){
  4280. // U.MD.D.I.getUserIP(function(ip){
  4281. // alert("Got IP! :" + ip);
  4282. // });
  4283. //}
  4284. //#endregion
  4285. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4286. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4287. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4288. _userinfo = US.userInfo, //登录用户信息
  4289. _userid = US.userInfo.userid //登录用户id
  4290. let _iframe;
  4291. let _cid = cid,
  4292. _stage = stage,
  4293. _task = task,
  4294. _tool = tool;
  4295. var _jie = $$("div", {
  4296. "style": {
  4297. "position": "absolute",
  4298. "bottom": "50px",
  4299. "right": "50px",
  4300. "zIndex": "9999",
  4301. "backgroundColor": "#2268bc",
  4302. "color": "#fff",
  4303. "padding": "12px 20px",
  4304. "cursor": "pointer",
  4305. "borderRadius": "4px",
  4306. },
  4307. "innerHTML": "提交作业"
  4308. })
  4309. let aTool = ''
  4310. let _loading = document.createElement('div')
  4311. _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;"
  4312. // _loading.id = "";
  4313. let _lchild = document.createElement('div')
  4314. let _limg = document.createElement('img')
  4315. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4316. _limg.style = "width: 26px;margin-right: 10px;"
  4317. _lchild.appendChild(_limg)
  4318. let _lspan = document.createElement('span')
  4319. _lspan.innerHTML = "上传中..."
  4320. _lchild.appendChild(_lspan)
  4321. _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%);"
  4322. _loading.appendChild(_lchild)
  4323. var _box = $$('div', {
  4324. "style": {
  4325. "position": "relative",
  4326. "width": "100%",
  4327. "height": "100%",
  4328. },
  4329. })
  4330. _box.appendChild(_loading)
  4331. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4332. switch (str) {
  4333. case "whiteboard":
  4334. aTool = 1;
  4335. _iframe = $$("iframe", {
  4336. "frameborder": "no",
  4337. "border": "0",
  4338. "scrolling ": "no",
  4339. "style": {
  4340. "cssText": "border:0;width:100%;height:100%"
  4341. },
  4342. "src": "https://iwb.cocorobo.cn/"
  4343. })
  4344. _box.appendChild(_iframe);
  4345. _box.appendChild(_jie);
  4346. _formdiv = new U.UF.UI.form(
  4347. "电子白板",
  4348. _box, {
  4349. "id": "whiteboard" + cid + stage + task + tool,
  4350. "style": {
  4351. "width": "90%",
  4352. "height": "90%",
  4353. "overflow": 'hidden'
  4354. },
  4355. "onresize": function() {}
  4356. }, {
  4357. closecallback: function() {}
  4358. }, {
  4359. "style": {
  4360. "height": "36px"
  4361. }
  4362. }).form; //创建窗体
  4363. _taskbar = {
  4364. "id": str + _formdiv.id,
  4365. "style": {
  4366. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4367. },
  4368. "name": "电子白板",
  4369. "forms": _formdiv,
  4370. "click": function() {
  4371. U.MD.D.I.openApplication(str, obj, info);
  4372. }
  4373. }
  4374. break;
  4375. case "mind":
  4376. aTool = 3;
  4377. _iframe = $$("iframe", {
  4378. "frameborder": "no",
  4379. "border": "0",
  4380. "scrolling ": "no",
  4381. "style": {
  4382. "cssText": "border:0;width:100%;height:100%"
  4383. },
  4384. "src": "/kityminder-editor/dist/index.html"
  4385. })
  4386. _box.appendChild(_iframe);
  4387. _box.appendChild(_jie);
  4388. _formdiv = new U.UF.UI.form(
  4389. "思维导图",
  4390. _box, { //"/jsmind/example/demo.html"
  4391. "id": "mind" + cid + stage + task + tool,
  4392. "style": {
  4393. "width": "90%",
  4394. "height": "90%",
  4395. "overflow": 'hidden'
  4396. },
  4397. "onresize": function() {}
  4398. }, {
  4399. closecallback: function() {}
  4400. }, {
  4401. "style": {
  4402. "height": "36px"
  4403. }
  4404. }).form; //创建窗体
  4405. _taskbar = {
  4406. "id": str + _formdiv.id,
  4407. "style": {
  4408. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4409. },
  4410. "name": "思维导图",
  4411. "forms": _formdiv,
  4412. "click": function() {
  4413. U.MD.D.I.openApplication(str, obj, info);
  4414. }
  4415. }
  4416. break;
  4417. case "MindMap":
  4418. aTool = 3;
  4419. _iframe = $$("iframe", {
  4420. "frameborder": "no",
  4421. "border": "0",
  4422. "scrolling ": "no",
  4423. "style": {
  4424. "cssText": "border:0;width:100%;height:100%"
  4425. },
  4426. "src": "//cloud.cocorobo.cn/mind/"
  4427. })
  4428. _box.appendChild(_iframe);
  4429. _box.appendChild(_jie);
  4430. _formdiv = new U.UF.UI.form(
  4431. "思维导图",
  4432. _box, { //"/jsmind/example/demo.html"
  4433. "id": "mind" + cid + stage + task + tool,
  4434. "style": {
  4435. "width": "90%",
  4436. "height": "90%",
  4437. "overflow": 'hidden'
  4438. },
  4439. "onresize": function() {}
  4440. }, {
  4441. closecallback: function() {}
  4442. }, {
  4443. "style": {
  4444. "height": "36px"
  4445. }
  4446. }).form; //创建窗体
  4447. _taskbar = {
  4448. "id": str + _formdiv.id,
  4449. "style": {
  4450. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4451. },
  4452. "name": "思维导图",
  4453. "forms": _formdiv,
  4454. "click": function() {
  4455. U.MD.D.I.openApplication(str, obj, info);
  4456. }
  4457. }
  4458. break;
  4459. case "doc":
  4460. aTool = 6;
  4461. _iframe = $$("iframe", {
  4462. "frameborder": "no",
  4463. "border": "0",
  4464. "scrolling ": "no",
  4465. "style": {
  4466. "cssText": "border:0;width:100%;height:100%"
  4467. },
  4468. "src": "/Office/Word/WordEditArea.htm"
  4469. })
  4470. _box.appendChild(_iframe);
  4471. _box.appendChild(_jie);
  4472. _formdiv = new U.UF.UI.form(
  4473. "协同文档",
  4474. _box, {
  4475. "id": "doc" + cid + stage + task + tool,
  4476. "style": {
  4477. "width": "90%",
  4478. "height": "90%",
  4479. "overflow": 'hidden'
  4480. },
  4481. "onresize": function() {}
  4482. }, {
  4483. closecallback: function() {}
  4484. }, {
  4485. "style": {
  4486. "height": "36px"
  4487. }
  4488. }).form; //创建窗体
  4489. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4490. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4491. })
  4492. _taskbar = {
  4493. "id": str + _formdiv.id,
  4494. "style": {
  4495. "backgroundImage": "url(/img/icon/doc.png)"
  4496. },
  4497. "name": "协同文档",
  4498. "forms": _formdiv,
  4499. "click": function() {
  4500. U.MD.D.I.openApplication(str, obj, info);
  4501. }
  4502. }
  4503. break;
  4504. case "mindNetwork": //好友打开
  4505. aTool = 7;
  4506. _iframe = $$("iframe", {
  4507. "webkitallowfullscreen": "",
  4508. "mozallowfullscreen": "",
  4509. "allowfullscreen": "",
  4510. "frameborder": "no",
  4511. "border": "0",
  4512. "scrolling ": "no",
  4513. "style": {
  4514. "cssText": "border:0; width:100%; height:100%;"
  4515. },
  4516. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4517. })
  4518. _box.appendChild(_iframe);
  4519. _box.appendChild(_jie);
  4520. _formdiv = new U.UF.UI.form(
  4521. "思维网格",
  4522. _box, {
  4523. "id": "mindNetwork" + cid + stage + task + tool,
  4524. "style": {
  4525. "width": "90%",
  4526. "height": "90%",
  4527. "overflow": 'hidden'
  4528. },
  4529. "onresize": function() {}
  4530. }, {
  4531. closecallback: function() {}
  4532. }, {
  4533. "style": {
  4534. "height": "36px"
  4535. }
  4536. }).form; //创建窗体
  4537. _taskbar = {
  4538. "id": str + _formdiv.id,
  4539. "style": {
  4540. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4541. },
  4542. "name": "思维网格",
  4543. "forms": _formdiv,
  4544. "click": function() {
  4545. U.MD.D.I.openApplication(str, obj, info);
  4546. }
  4547. }
  4548. break;
  4549. case "courseDesign":
  4550. _iframe = $$("iframe", {
  4551. "webkitallowfullscreen": "",
  4552. "mozallowfullscreen": "",
  4553. "allowfullscreen": "",
  4554. "frameborder": "no",
  4555. "border": "0",
  4556. "scrolling ": "no",
  4557. "style": {
  4558. "cssText": "border:0; width:100%; height:100%;"
  4559. },
  4560. "src": "/course-design-vue"
  4561. })
  4562. _box.appendChild(_iframe);
  4563. _box.appendChild(_jie);
  4564. _formdiv = new U.UF.UI.form(
  4565. "项目设计",
  4566. _box, {
  4567. "id": "courseDesign" + cid + stage + task + tool,
  4568. "style": {
  4569. "width": "90%",
  4570. "height": "90%",
  4571. "overflow": 'hidden'
  4572. },
  4573. "onresize": function() {}
  4574. }, {
  4575. closecallback: function() {}
  4576. }, {
  4577. "style": {
  4578. "height": "36px"
  4579. }
  4580. }).form; //创建窗体
  4581. _taskbar = {
  4582. "id": str + _formdiv.id,
  4583. "style": {
  4584. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4585. },
  4586. "name": "项目设计",
  4587. "forms": _formdiv,
  4588. "click": function() {
  4589. U.MD.D.I.openApplication(str, obj, info);
  4590. }
  4591. }
  4592. break;
  4593. }
  4594. const script1 = document.createElement("script");
  4595. script1.type = "text/javascript";
  4596. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4597. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4598. const script2 = document.createElement("script");
  4599. script2.type = "text/javascript";
  4600. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4601. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4602. const script3 = document.createElement("script");
  4603. script3.type = "text/javascript";
  4604. script3.charset = "UTF-8";
  4605. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4606. const script4 = document.createElement("script");
  4607. script4.type = "text/javascript";
  4608. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4609. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4610. if (_iframe) {
  4611. if (str == 'doc') {
  4612. _iframe = _formdiv.querySelector('iframe')
  4613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4614. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4615. _iframe.contentWindow.document.body.appendChild(script1);
  4616. _iframe.contentWindow.document.body.appendChild(script2);
  4617. // _iframe.contentWindow.document.body.appendChild(script3);
  4618. _iframe.contentWindow.document.body.appendChild(script4);
  4619. })
  4620. if (onloadListener) {
  4621. _iframe.contentDocument.location.reload()
  4622. } else {
  4623. _iframe.contentDocument.location.reload()
  4624. }
  4625. } else if (str == 'courseDesign') {
  4626. U.UF.DL.iframeLoad(_iframe, function() {
  4627. // _iframe.contentWindow.U.MD.O.W.load();
  4628. // _iframe.contentWindow.document.body.appendChild(script1);
  4629. _iframe.contentWindow.document.body.appendChild(script2);
  4630. _iframe.contentWindow.document.body.appendChild(script4);
  4631. })
  4632. } else if (str == 'mind') {
  4633. _iframe = _formdiv.querySelector('iframe')
  4634. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4635. //
  4636. _iframe.contentWindow.document.body.appendChild(script1);
  4637. _iframe.contentWindow.document.body.appendChild(script2);
  4638. _iframe.contentWindow.document.body.appendChild(script4);
  4639. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4640. })
  4641. if (onloadListener) {
  4642. _iframe.contentDocument.location.reload()
  4643. } else {
  4644. _iframe.contentDocument.location.reload()
  4645. }
  4646. } else if (str == 'whiteboard') {
  4647. _iframe = _formdiv.querySelector('iframe')
  4648. let onloadListener = _iframe.onload = () => {
  4649. _iframe.contentWindow.document.body.appendChild(script1);
  4650. _iframe.contentWindow.document.body.appendChild(script2);
  4651. _iframe.contentWindow.document.body.appendChild(script4);
  4652. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4653. };
  4654. if (onloadListener) {
  4655. _iframe.contentDocument.location.reload()
  4656. } else {
  4657. _iframe.contentDocument.location.reload()
  4658. }
  4659. } else {
  4660. _iframe.onload = () => {
  4661. _iframe.contentWindow.document.body.appendChild(script1);
  4662. _iframe.contentWindow.document.body.appendChild(script2);
  4663. // _iframe.contentWindow.document.body.appendChild(script3);
  4664. _iframe.contentWindow.document.body.appendChild(script4);
  4665. };
  4666. }
  4667. _jie.onclick = async() => {
  4668. let text = ''
  4669. if (aTool == 1) {
  4670. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4671. } else if (aTool == 6) {
  4672. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4673. } else if (aTool == 3) {
  4674. text = await U.MD.D.I.getEditorContent(_iframe);
  4675. }
  4676. _loading.style.display = 'flex'
  4677. console.log(_loading);
  4678. var _ajs = _iframe.contentWindow.document.createElement("script");
  4679. _ajs.type = "text/javascript";
  4680. _ajs.innerHTML =
  4681. // 'console.log(' + _loading + ');\n' +
  4682. 'var _js = document.createElement("script");\n' +
  4683. '_js.type="text/javascript";\n' +
  4684. '_js.charset="UTF-8";\n' +
  4685. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4686. "_js.onload = function(){\n" +
  4687. ' var a = document.getElementsByTagName("img")\n' +
  4688. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4689. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4690. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4691. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4692. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4693. "beforeUpload_shishi(file," +
  4694. "'" +
  4695. _userid +
  4696. "'" +
  4697. ", " +
  4698. "'" +
  4699. _cid +
  4700. "'" +
  4701. ", " +
  4702. "'" +
  4703. _stage +
  4704. "'" +
  4705. ", " +
  4706. "'" +
  4707. _task +
  4708. "'" +
  4709. ", " +
  4710. "'" +
  4711. _tool +
  4712. "'" +
  4713. ", " +
  4714. "'" +
  4715. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4716. "'" +
  4717. ", " +
  4718. "'" +
  4719. aTool +
  4720. "'" +
  4721. ", " +
  4722. "`" +
  4723. text +
  4724. "`" +
  4725. ")\n" +
  4726. " });\n" +
  4727. "}\n" +
  4728. "document.head.appendChild(_js);\n";
  4729. _iframe.contentWindow.document.head.appendChild(_ajs);
  4730. }
  4731. }
  4732. //U.MD.D.I.openClick(str);
  4733. //如果有任务栏信息
  4734. // if (_taskbar) {
  4735. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4736. // }
  4737. }
  4738. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4739. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4740. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4741. _userinfo = US.userInfo, //登录用户信息
  4742. _userid = US.userInfo.userid //登录用户id
  4743. let _iframe;
  4744. let _cid = cid,
  4745. _stage = stage,
  4746. _task = task,
  4747. _tool = tool;
  4748. var _jie = $$("div", {
  4749. "style": {
  4750. "position": "absolute",
  4751. "bottom": "50px",
  4752. "right": "50px",
  4753. "zIndex": "9999",
  4754. "backgroundColor": "#2268bc",
  4755. "color": "#fff",
  4756. "padding": "12px 20px",
  4757. "cursor": "pointer",
  4758. "borderRadius": "4px",
  4759. },
  4760. "innerHTML": "提交作业"
  4761. })
  4762. let aTool = ''
  4763. let _loading = document.createElement('div')
  4764. _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;"
  4765. // _loading.id = "";
  4766. let _lchild = document.createElement('div')
  4767. let _limg = document.createElement('img')
  4768. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4769. _limg.style = "width: 26px;margin-right: 10px;"
  4770. _lchild.appendChild(_limg)
  4771. let _lspan = document.createElement('span')
  4772. _lspan.innerHTML = "上传中..."
  4773. _lchild.appendChild(_lspan)
  4774. _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%);"
  4775. _loading.appendChild(_lchild)
  4776. var _box = $$('div', {
  4777. "style": {
  4778. "position": "relative",
  4779. "width": "100%",
  4780. "height": "100%",
  4781. },
  4782. })
  4783. _box.appendChild(_loading)
  4784. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4785. switch (str) {
  4786. case "whiteboard":
  4787. aTool = 1;
  4788. _iframe = $$("iframe", {
  4789. "frameborder": "no",
  4790. "border": "0",
  4791. "scrolling ": "no",
  4792. "style": {
  4793. "cssText": "border:0;width:100%;height:100%"
  4794. },
  4795. "src": "https://iwb.cocorobo.cn/"
  4796. })
  4797. _box.appendChild(_iframe);
  4798. _box.appendChild(_jie);
  4799. _formdiv = new U.UF.UI.form(
  4800. "电子白板",
  4801. _box, {
  4802. "id": "whiteboard" + cid + stage + task + tool,
  4803. "style": {
  4804. "width": "90%",
  4805. "height": "90%",
  4806. "overflow": 'hidden'
  4807. },
  4808. "onresize": function() {}
  4809. }, {
  4810. closecallback: function() {}
  4811. }, {
  4812. "style": {
  4813. "height": "36px"
  4814. }
  4815. }).form; //创建窗体
  4816. _taskbar = {
  4817. "id": str + _formdiv.id,
  4818. "style": {
  4819. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4820. },
  4821. "name": "电子白板",
  4822. "forms": _formdiv,
  4823. "click": function() {
  4824. U.MD.D.I.openApplication(str, obj, info);
  4825. }
  4826. }
  4827. break;
  4828. case "mind":
  4829. aTool = 3;
  4830. _iframe = $$("iframe", {
  4831. "frameborder": "no",
  4832. "border": "0",
  4833. "scrolling ": "no",
  4834. "style": {
  4835. "cssText": "border:0;width:100%;height:100%"
  4836. },
  4837. "src": "/kityminder-editor/dist/index.html"
  4838. })
  4839. _box.appendChild(_iframe);
  4840. _box.appendChild(_jie);
  4841. _formdiv = new U.UF.UI.form(
  4842. "思维导图",
  4843. _box, { //"/jsmind/example/demo.html"
  4844. "id": "mind" + cid + stage + task + tool,
  4845. "style": {
  4846. "width": "90%",
  4847. "height": "90%",
  4848. "overflow": 'hidden'
  4849. },
  4850. "onresize": function() {}
  4851. }, {
  4852. closecallback: function() {}
  4853. }, {
  4854. "style": {
  4855. "height": "36px"
  4856. }
  4857. }).form; //创建窗体
  4858. _taskbar = {
  4859. "id": str + _formdiv.id,
  4860. "style": {
  4861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4862. },
  4863. "name": "思维导图",
  4864. "forms": _formdiv,
  4865. "click": function() {
  4866. U.MD.D.I.openApplication(str, obj, info);
  4867. }
  4868. }
  4869. break;
  4870. case "MindMap":
  4871. aTool = 3;
  4872. _iframe = $$("iframe", {
  4873. "frameborder": "no",
  4874. "border": "0",
  4875. "scrolling ": "no",
  4876. "style": {
  4877. "cssText": "border:0;width:100%;height:100%"
  4878. },
  4879. "src": "//cloud.cocorobo.cn/mind/"
  4880. })
  4881. _box.appendChild(_iframe);
  4882. _box.appendChild(_jie);
  4883. _formdiv = new U.UF.UI.form(
  4884. "思维导图",
  4885. _box, { //"/jsmind/example/demo.html"
  4886. "id": "mind" + cid + stage + task + tool,
  4887. "style": {
  4888. "width": "90%",
  4889. "height": "90%",
  4890. "overflow": 'hidden'
  4891. },
  4892. "onresize": function() {}
  4893. }, {
  4894. closecallback: function() {}
  4895. }, {
  4896. "style": {
  4897. "height": "36px"
  4898. }
  4899. }).form; //创建窗体
  4900. _taskbar = {
  4901. "id": str + _formdiv.id,
  4902. "style": {
  4903. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4904. },
  4905. "name": "思维导图",
  4906. "forms": _formdiv,
  4907. "click": function() {
  4908. U.MD.D.I.openApplication(str, obj, info);
  4909. }
  4910. }
  4911. break;
  4912. case "doc":
  4913. aTool = 6;
  4914. _iframe = $$("iframe", {
  4915. "frameborder": "no",
  4916. "border": "0",
  4917. "scrolling ": "no",
  4918. "style": {
  4919. "cssText": "border:0;width:100%;height:100%"
  4920. },
  4921. "src": "/Office/Word/WordEditArea.htm"
  4922. })
  4923. _box.appendChild(_iframe);
  4924. _box.appendChild(_jie);
  4925. _formdiv = new U.UF.UI.form(
  4926. "协同文档",
  4927. _box, {
  4928. "id": "doc" + cid + stage + task + tool,
  4929. "style": {
  4930. "width": "90%",
  4931. "height": "90%",
  4932. "overflow": 'hidden'
  4933. },
  4934. "onresize": function() {}
  4935. }, {
  4936. closecallback: function() {}
  4937. }, {
  4938. "style": {
  4939. "height": "36px"
  4940. }
  4941. }).form; //创建窗体
  4942. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4943. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4944. })
  4945. _taskbar = {
  4946. "id": str + _formdiv.id,
  4947. "style": {
  4948. "backgroundImage": "url(/img/icon/doc.png)"
  4949. },
  4950. "name": "协同文档",
  4951. "forms": _formdiv,
  4952. "click": function() {
  4953. U.MD.D.I.openApplication(str, obj, info);
  4954. }
  4955. }
  4956. break;
  4957. case "mindNetwork": //好友打开
  4958. aTool = 7;
  4959. _iframe = $$("iframe", {
  4960. "webkitallowfullscreen": "",
  4961. "mozallowfullscreen": "",
  4962. "allowfullscreen": "",
  4963. "frameborder": "no",
  4964. "border": "0",
  4965. "scrolling ": "no",
  4966. "style": {
  4967. "cssText": "border:0; width:100%; height:100%;"
  4968. },
  4969. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4970. })
  4971. _box.appendChild(_iframe);
  4972. _box.appendChild(_jie);
  4973. _formdiv = new U.UF.UI.form(
  4974. "思维网格",
  4975. _box, {
  4976. "id": "mindNetwork" + cid + stage + task + tool,
  4977. "style": {
  4978. "width": "90%",
  4979. "height": "90%",
  4980. "overflow": 'hidden'
  4981. },
  4982. "onresize": function() {}
  4983. }, {
  4984. closecallback: function() {}
  4985. }, {
  4986. "style": {
  4987. "height": "36px"
  4988. }
  4989. }).form; //创建窗体
  4990. _taskbar = {
  4991. "id": str + _formdiv.id,
  4992. "style": {
  4993. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4994. },
  4995. "name": "思维网格",
  4996. "forms": _formdiv,
  4997. "click": function() {
  4998. U.MD.D.I.openApplication(str, obj, info);
  4999. }
  5000. }
  5001. break;
  5002. case "courseDesign":
  5003. _iframe = $$("iframe", {
  5004. "webkitallowfullscreen": "",
  5005. "mozallowfullscreen": "",
  5006. "allowfullscreen": "",
  5007. "frameborder": "no",
  5008. "border": "0",
  5009. "scrolling ": "no",
  5010. "style": {
  5011. "cssText": "border:0; width:100%; height:100%;"
  5012. },
  5013. "src": "/course-design-vue"
  5014. })
  5015. _box.appendChild(_iframe);
  5016. _box.appendChild(_jie);
  5017. _formdiv = new U.UF.UI.form(
  5018. "项目设计",
  5019. _box, {
  5020. "id": "courseDesign" + cid + stage + task + tool,
  5021. "style": {
  5022. "width": "90%",
  5023. "height": "90%",
  5024. "overflow": 'hidden'
  5025. },
  5026. "onresize": function() {}
  5027. }, {
  5028. closecallback: function() {}
  5029. }, {
  5030. "style": {
  5031. "height": "36px"
  5032. }
  5033. }).form; //创建窗体
  5034. _taskbar = {
  5035. "id": str + _formdiv.id,
  5036. "style": {
  5037. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5038. },
  5039. "name": "项目设计",
  5040. "forms": _formdiv,
  5041. "click": function() {
  5042. U.MD.D.I.openApplication(str, obj, info);
  5043. }
  5044. }
  5045. break;
  5046. }
  5047. const script1 = document.createElement("script");
  5048. script1.type = "text/javascript";
  5049. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5050. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5051. const script2 = document.createElement("script");
  5052. script2.type = "text/javascript";
  5053. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5054. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5055. const script3 = document.createElement("script");
  5056. script3.type = "text/javascript";
  5057. script3.charset = "UTF-8";
  5058. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5059. const script4 = document.createElement("script");
  5060. script4.type = "text/javascript";
  5061. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5062. script4.src = window.origin + "/js/Common/jietu2E.js";
  5063. if (_iframe) {
  5064. if (str == 'doc') {
  5065. _iframe = _formdiv.querySelector('iframe')
  5066. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5067. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5068. _iframe.contentWindow.document.body.appendChild(script1);
  5069. _iframe.contentWindow.document.body.appendChild(script2);
  5070. // _iframe.contentWindow.document.body.appendChild(script3);
  5071. _iframe.contentWindow.document.body.appendChild(script4);
  5072. })
  5073. if (onloadListener) {
  5074. _iframe.contentDocument.location.reload()
  5075. } else {
  5076. _iframe.contentDocument.location.reload()
  5077. }
  5078. } else if (str == 'courseDesign') {
  5079. U.UF.DL.iframeLoad(_iframe, function() {
  5080. // _iframe.contentWindow.U.MD.O.W.load();
  5081. // _iframe.contentWindow.document.body.appendChild(script1);
  5082. _iframe.contentWindow.document.body.appendChild(script2);
  5083. _iframe.contentWindow.document.body.appendChild(script4);
  5084. })
  5085. } else if (str == 'mind') {
  5086. _iframe = _formdiv.querySelector('iframe')
  5087. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5088. //
  5089. _iframe.contentWindow.document.body.appendChild(script1);
  5090. _iframe.contentWindow.document.body.appendChild(script2);
  5091. _iframe.contentWindow.document.body.appendChild(script4);
  5092. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5093. })
  5094. if (onloadListener) {
  5095. _iframe.contentDocument.location.reload()
  5096. } else {
  5097. _iframe.contentDocument.location.reload()
  5098. }
  5099. } else if (str == 'whiteboard') {
  5100. _iframe = _formdiv.querySelector('iframe')
  5101. let onloadListener = _iframe.onload = () => {
  5102. _iframe.contentWindow.document.body.appendChild(script1);
  5103. _iframe.contentWindow.document.body.appendChild(script2);
  5104. _iframe.contentWindow.document.body.appendChild(script4);
  5105. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5106. };
  5107. if (onloadListener) {
  5108. _iframe.contentDocument.location.reload()
  5109. } else {
  5110. _iframe.contentDocument.location.reload()
  5111. }
  5112. } else {
  5113. _iframe.onload = () => {
  5114. _iframe.contentWindow.document.body.appendChild(script1);
  5115. _iframe.contentWindow.document.body.appendChild(script2);
  5116. // _iframe.contentWindow.document.body.appendChild(script3);
  5117. _iframe.contentWindow.document.body.appendChild(script4);
  5118. };
  5119. }
  5120. _jie.onclick = async() => {
  5121. let text = ''
  5122. if (aTool == 1) {
  5123. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5124. } else if (aTool == 6) {
  5125. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5126. } else if (aTool == 3) {
  5127. text = await U.MD.D.I.getEditorContent(_iframe);
  5128. }
  5129. _loading.style.display = 'flex'
  5130. console.log(_loading);
  5131. var _ajs = _iframe.contentWindow.document.createElement("script");
  5132. _ajs.type = "text/javascript";
  5133. _ajs.innerHTML =
  5134. // 'console.log(' + _loading + ');\n' +
  5135. 'var _js = document.createElement("script");\n' +
  5136. '_js.type="text/javascript";\n' +
  5137. '_js.charset="UTF-8";\n' +
  5138. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5139. "_js.onload = function(){\n" +
  5140. ' var a = document.getElementsByTagName("img")\n' +
  5141. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5142. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5143. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5144. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5145. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5146. "beforeUpload_shishi(file," +
  5147. "'" +
  5148. _userid +
  5149. "'" +
  5150. ", " +
  5151. "'" +
  5152. _cid +
  5153. "'" +
  5154. ", " +
  5155. "'" +
  5156. _stage +
  5157. "'" +
  5158. ", " +
  5159. "'" +
  5160. _task +
  5161. "'" +
  5162. ", " +
  5163. "'" +
  5164. _tool +
  5165. "'" +
  5166. ", " +
  5167. "'" +
  5168. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5169. "'" +
  5170. ", " +
  5171. "'" +
  5172. aTool +
  5173. "'" +
  5174. ", " +
  5175. "`" +
  5176. text +
  5177. "`" +
  5178. ")\n" +
  5179. " });\n" +
  5180. "}\n" +
  5181. "document.head.appendChild(_js);\n";
  5182. _iframe.contentWindow.document.head.appendChild(_ajs);
  5183. }
  5184. }
  5185. //U.MD.D.I.openClick(str);
  5186. //如果有任务栏信息
  5187. // if (_taskbar) {
  5188. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5189. // }
  5190. }
  5191. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5192. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5193. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5194. _userid = student.userid, //登录用户id
  5195. _username = student.student //用户名字
  5196. let _iframe;
  5197. let _cid = cid,
  5198. _stage = stage,
  5199. _task = task,
  5200. _tool = tool;
  5201. var _jie = $$("div", {
  5202. "style": {
  5203. "position": "absolute",
  5204. "bottom": "50px",
  5205. "right": "50px",
  5206. "zIndex": "9999",
  5207. "backgroundColor": "#2268bc",
  5208. "color": "#fff",
  5209. "padding": "12px 20px",
  5210. "cursor": "pointer",
  5211. "borderRadius": "4px",
  5212. },
  5213. "innerHTML": "提交作业"
  5214. })
  5215. let aTool = ''
  5216. let _loading = document.createElement('div')
  5217. _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;"
  5218. // _loading.id = "";
  5219. let _lchild = document.createElement('div')
  5220. let _limg = document.createElement('img')
  5221. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5222. _limg.style = "width: 26px;margin-right: 10px;"
  5223. _lchild.appendChild(_limg)
  5224. let _lspan = document.createElement('span')
  5225. _lspan.innerHTML = "上传中..."
  5226. _lchild.appendChild(_lspan)
  5227. _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%);"
  5228. _loading.appendChild(_lchild)
  5229. var _box = $$('div', {
  5230. "style": {
  5231. "position": "relative",
  5232. "width": "100%",
  5233. "height": "100%",
  5234. },
  5235. })
  5236. _box.appendChild(_loading)
  5237. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5238. switch (str) {
  5239. case "whiteboard":
  5240. aTool = 1;
  5241. _iframe = $$("iframe", {
  5242. "frameborder": "no",
  5243. "border": "0",
  5244. "scrolling ": "no",
  5245. "style": {
  5246. "cssText": "border:0;width:100%;height:100%"
  5247. },
  5248. "src": "https://iwb.cocorobo.cn/"
  5249. })
  5250. _box.appendChild(_iframe);
  5251. _box.appendChild(_jie);
  5252. _formdiv = new U.UF.UI.form(
  5253. "电子白板-" + _username,
  5254. _box, {
  5255. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5256. "style": {
  5257. "width": "90%",
  5258. "height": "90%",
  5259. "overflow": 'hidden'
  5260. },
  5261. "onresize": function() {}
  5262. }, {
  5263. closecallback: function() {}
  5264. }, {
  5265. "style": {
  5266. "height": "36px"
  5267. }
  5268. }).form; //创建窗体
  5269. _taskbar = {
  5270. "id": str + _formdiv.id,
  5271. "style": {
  5272. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5273. },
  5274. "name": "电子白板",
  5275. "forms": _formdiv,
  5276. "click": function() {
  5277. U.MD.D.I.openApplication(str, obj, info);
  5278. }
  5279. }
  5280. break;
  5281. case "mind":
  5282. aTool = 3;
  5283. _iframe = $$("iframe", {
  5284. "frameborder": "no",
  5285. "border": "0",
  5286. "scrolling ": "no",
  5287. "style": {
  5288. "cssText": "border:0;width:100%;height:100%"
  5289. },
  5290. "src": "/kityminder-editor/dist/index.html"
  5291. })
  5292. _box.appendChild(_iframe);
  5293. _box.appendChild(_jie);
  5294. _formdiv = new U.UF.UI.form(
  5295. "思维导图-" + _username,
  5296. _box, { //"/jsmind/example/demo.html"
  5297. "id": "mind" + cid + stage + task + tool + _userid,
  5298. "style": {
  5299. "width": "90%",
  5300. "height": "90%",
  5301. "overflow": 'hidden'
  5302. },
  5303. "onresize": function() {}
  5304. }, {
  5305. closecallback: function() {}
  5306. }, {
  5307. "style": {
  5308. "height": "36px"
  5309. }
  5310. }).form; //创建窗体
  5311. _taskbar = {
  5312. "id": str + _formdiv.id,
  5313. "style": {
  5314. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5315. },
  5316. "name": "思维导图",
  5317. "forms": _formdiv,
  5318. "click": function() {
  5319. U.MD.D.I.openApplication(str, obj, info);
  5320. }
  5321. }
  5322. break;
  5323. case "MindMap":
  5324. aTool = 3;
  5325. _iframe = $$("iframe", {
  5326. "frameborder": "no",
  5327. "border": "0",
  5328. "scrolling ": "no",
  5329. "style": {
  5330. "cssText": "border:0;width:100%;height:100%"
  5331. },
  5332. "src": "//cloud.cocorobo.cn/mind/"
  5333. })
  5334. _box.appendChild(_iframe);
  5335. _box.appendChild(_jie);
  5336. _formdiv = new U.UF.UI.form(
  5337. "思维导图-" + _username,
  5338. _box, { //"/jsmind/example/demo.html"
  5339. "id": "mind" + cid + stage + task + tool + _userid,
  5340. "style": {
  5341. "width": "90%",
  5342. "height": "90%",
  5343. "overflow": 'hidden'
  5344. },
  5345. "onresize": function() {}
  5346. }, {
  5347. closecallback: function() {}
  5348. }, {
  5349. "style": {
  5350. "height": "36px"
  5351. }
  5352. }).form; //创建窗体
  5353. _taskbar = {
  5354. "id": str + _formdiv.id,
  5355. "style": {
  5356. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5357. },
  5358. "name": "思维导图",
  5359. "forms": _formdiv,
  5360. "click": function() {
  5361. U.MD.D.I.openApplication(str, obj, info);
  5362. }
  5363. }
  5364. break;
  5365. case "doc":
  5366. aTool = 6;
  5367. _iframe = $$("iframe", {
  5368. "frameborder": "no",
  5369. "border": "0",
  5370. "scrolling ": "no",
  5371. "style": {
  5372. "cssText": "border:0;width:100%;height:100%"
  5373. },
  5374. "src": "/Office/Word/WordEditArea.htm"
  5375. })
  5376. _box.appendChild(_iframe);
  5377. _box.appendChild(_jie);
  5378. _formdiv = new U.UF.UI.form(
  5379. "协同文档-" + _username,
  5380. _box, {
  5381. "id": "doc" + cid + stage + task + tool + _userid,
  5382. "style": {
  5383. "width": "90%",
  5384. "height": "90%",
  5385. "overflow": 'hidden'
  5386. },
  5387. "onresize": function() {}
  5388. }, {
  5389. closecallback: function() {}
  5390. }, {
  5391. "style": {
  5392. "height": "36px"
  5393. }
  5394. }).form; //创建窗体
  5395. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5396. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5397. })
  5398. _taskbar = {
  5399. "id": str + _formdiv.id,
  5400. "style": {
  5401. "backgroundImage": "url(/img/icon/doc.png)"
  5402. },
  5403. "name": "协同文档",
  5404. "forms": _formdiv,
  5405. "click": function() {
  5406. U.MD.D.I.openApplication(str, obj, info);
  5407. }
  5408. }
  5409. break;
  5410. case "mindNetwork": //好友打开
  5411. aTool = 7;
  5412. _iframe = $$("iframe", {
  5413. "webkitallowfullscreen": "",
  5414. "mozallowfullscreen": "",
  5415. "allowfullscreen": "",
  5416. "frameborder": "no",
  5417. "border": "0",
  5418. "scrolling ": "no",
  5419. "style": {
  5420. "cssText": "border:0; width:100%; height:100%;"
  5421. },
  5422. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5423. })
  5424. _box.appendChild(_iframe);
  5425. _box.appendChild(_jie);
  5426. _formdiv = new U.UF.UI.form(
  5427. "思维网格-" + _username,
  5428. _box, {
  5429. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5430. "style": {
  5431. "width": "90%",
  5432. "height": "90%",
  5433. "overflow": 'hidden'
  5434. },
  5435. "onresize": function() {}
  5436. }, {
  5437. closecallback: function() {}
  5438. }, {
  5439. "style": {
  5440. "height": "36px"
  5441. }
  5442. }).form; //创建窗体
  5443. _taskbar = {
  5444. "id": str + _formdiv.id,
  5445. "style": {
  5446. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5447. },
  5448. "name": "思维网格",
  5449. "forms": _formdiv,
  5450. "click": function() {
  5451. U.MD.D.I.openApplication(str, obj, info);
  5452. }
  5453. }
  5454. break;
  5455. case "courseDesign":
  5456. _iframe = $$("iframe", {
  5457. "webkitallowfullscreen": "",
  5458. "mozallowfullscreen": "",
  5459. "allowfullscreen": "",
  5460. "frameborder": "no",
  5461. "border": "0",
  5462. "scrolling ": "no",
  5463. "style": {
  5464. "cssText": "border:0; width:100%; height:100%;"
  5465. },
  5466. "src": "/course-design-vue"
  5467. })
  5468. _box.appendChild(_iframe);
  5469. _box.appendChild(_jie);
  5470. _formdiv = new U.UF.UI.form(
  5471. "项目设计-" + _username,
  5472. _box, {
  5473. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5474. "style": {
  5475. "width": "90%",
  5476. "height": "90%",
  5477. "overflow": 'hidden'
  5478. },
  5479. "onresize": function() {}
  5480. }, {
  5481. closecallback: function() {}
  5482. }, {
  5483. "style": {
  5484. "height": "36px"
  5485. }
  5486. }).form; //创建窗体
  5487. _taskbar = {
  5488. "id": str + _formdiv.id,
  5489. "style": {
  5490. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5491. },
  5492. "name": "项目设计",
  5493. "forms": _formdiv,
  5494. "click": function() {
  5495. U.MD.D.I.openApplication(str, obj, info);
  5496. }
  5497. }
  5498. break;
  5499. }
  5500. const script1 = document.createElement("script");
  5501. script1.type = "text/javascript";
  5502. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5503. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5504. const script2 = document.createElement("script");
  5505. script2.type = "text/javascript";
  5506. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5507. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5508. const script3 = document.createElement("script");
  5509. script3.type = "text/javascript";
  5510. script3.charset = "UTF-8";
  5511. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5512. const script4 = document.createElement("script");
  5513. script4.type = "text/javascript";
  5514. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5515. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5516. if (_iframe) {
  5517. if (str == 'doc') {
  5518. _iframe = _formdiv.querySelector('iframe')
  5519. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5520. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5521. _iframe.contentWindow.document.body.appendChild(script1);
  5522. _iframe.contentWindow.document.body.appendChild(script2);
  5523. // _iframe.contentWindow.document.body.appendChild(script3);
  5524. _iframe.contentWindow.document.body.appendChild(script4);
  5525. })
  5526. if (onloadListener) {
  5527. _iframe.contentDocument.location.reload()
  5528. } else {
  5529. _iframe.contentDocument.location.reload()
  5530. }
  5531. } else if (str == 'courseDesign') {
  5532. U.UF.DL.iframeLoad(_iframe, function() {
  5533. // _iframe.contentWindow.U.MD.O.W.load();
  5534. // _iframe.contentWindow.document.body.appendChild(script1);
  5535. _iframe.contentWindow.document.body.appendChild(script2);
  5536. _iframe.contentWindow.document.body.appendChild(script4);
  5537. })
  5538. } else if (str == 'mind') {
  5539. _iframe = _formdiv.querySelector('iframe')
  5540. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5541. //
  5542. _iframe.contentWindow.document.body.appendChild(script1);
  5543. _iframe.contentWindow.document.body.appendChild(script2);
  5544. _iframe.contentWindow.document.body.appendChild(script4);
  5545. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5546. })
  5547. if (onloadListener) {
  5548. _iframe.contentDocument.location.reload()
  5549. } else {
  5550. _iframe.contentDocument.location.reload()
  5551. }
  5552. } else if (str == 'whiteboard') {
  5553. _iframe = _formdiv.querySelector('iframe')
  5554. let onloadListener = _iframe.onload = () => {
  5555. _iframe.contentWindow.document.body.appendChild(script1);
  5556. _iframe.contentWindow.document.body.appendChild(script2);
  5557. _iframe.contentWindow.document.body.appendChild(script4);
  5558. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5559. };
  5560. if (onloadListener) {
  5561. _iframe.contentDocument.location.reload()
  5562. } else {
  5563. _iframe.contentDocument.location.reload()
  5564. }
  5565. } else {
  5566. _iframe.onload = () => {
  5567. _iframe.contentWindow.document.body.appendChild(script1);
  5568. _iframe.contentWindow.document.body.appendChild(script2);
  5569. // _iframe.contentWindow.document.body.appendChild(script3);
  5570. _iframe.contentWindow.document.body.appendChild(script4);
  5571. };
  5572. }
  5573. _jie.onclick = async() => {
  5574. let text = ''
  5575. if (aTool == 1) {
  5576. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5577. } else if (aTool == 6) {
  5578. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5579. } else if (aTool == 3) {
  5580. text = await U.MD.D.I.getEditorContent(_iframe);
  5581. }
  5582. _loading.style.display = 'flex'
  5583. console.log(_loading);
  5584. var _ajs = _iframe.contentWindow.document.createElement("script");
  5585. _ajs.type = "text/javascript";
  5586. _ajs.innerHTML =
  5587. // 'console.log(' + _loading + ');\n' +
  5588. 'var _js = document.createElement("script");\n' +
  5589. '_js.type="text/javascript";\n' +
  5590. '_js.charset="UTF-8";\n' +
  5591. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5592. "_js.onload = function(){\n" +
  5593. ' var a = document.getElementsByTagName("img")\n' +
  5594. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5595. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5596. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5597. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5598. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5599. "beforeUpload_shishi(file," +
  5600. "'" +
  5601. _userid +
  5602. "'" +
  5603. ", " +
  5604. "'" +
  5605. _cid +
  5606. "'" +
  5607. ", " +
  5608. "'" +
  5609. _stage +
  5610. "'" +
  5611. ", " +
  5612. "'" +
  5613. _task +
  5614. "'" +
  5615. ", " +
  5616. "'" +
  5617. _tool +
  5618. "'" +
  5619. ", " +
  5620. "'" +
  5621. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5622. "'" +
  5623. ", " +
  5624. "'" +
  5625. aTool +
  5626. "'" +
  5627. ", " +
  5628. "`" +
  5629. text +
  5630. "`" +
  5631. ")\n" +
  5632. " });\n" +
  5633. "}\n" +
  5634. "document.head.appendChild(_js);\n";
  5635. _iframe.contentWindow.document.head.appendChild(_ajs);
  5636. }
  5637. }
  5638. }
  5639. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5642. _userid = student.userid, //登录用户id
  5643. _username = student.student //用户名字
  5644. let _iframe;
  5645. let _cid = cid,
  5646. _stage = stage,
  5647. _task = task,
  5648. _tool = tool;
  5649. var _jie = $$("div", {
  5650. "style": {
  5651. "position": "absolute",
  5652. "bottom": "50px",
  5653. "right": "50px",
  5654. "zIndex": "9999",
  5655. "backgroundColor": "#2268bc",
  5656. "color": "#fff",
  5657. "padding": "12px 20px",
  5658. "cursor": "pointer",
  5659. "borderRadius": "4px",
  5660. },
  5661. "innerHTML": "提交作业"
  5662. })
  5663. let aTool = ''
  5664. let _loading = document.createElement('div')
  5665. _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;"
  5666. // _loading.id = "";
  5667. let _lchild = document.createElement('div')
  5668. let _limg = document.createElement('img')
  5669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5670. _limg.style = "width: 26px;margin-right: 10px;"
  5671. _lchild.appendChild(_limg)
  5672. let _lspan = document.createElement('span')
  5673. _lspan.innerHTML = "上传中..."
  5674. _lchild.appendChild(_lspan)
  5675. _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%);"
  5676. _loading.appendChild(_lchild)
  5677. var _box = $$('div', {
  5678. "style": {
  5679. "position": "relative",
  5680. "width": "100%",
  5681. "height": "100%",
  5682. },
  5683. })
  5684. _box.appendChild(_loading)
  5685. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5686. switch (str) {
  5687. case "whiteboard":
  5688. aTool = 1;
  5689. _iframe = $$("iframe", {
  5690. "frameborder": "no",
  5691. "border": "0",
  5692. "scrolling ": "no",
  5693. "style": {
  5694. "cssText": "border:0;width:100%;height:100%"
  5695. },
  5696. "src": "https://iwb.cocorobo.cn/"
  5697. })
  5698. _box.appendChild(_iframe);
  5699. _box.appendChild(_jie);
  5700. _formdiv = new U.UF.UI.form(
  5701. "电子白板-" + _username,
  5702. _box, {
  5703. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5704. "style": {
  5705. "width": "90%",
  5706. "height": "90%",
  5707. "overflow": 'hidden'
  5708. },
  5709. "onresize": function() {}
  5710. }, {
  5711. closecallback: function() {}
  5712. }, {
  5713. "style": {
  5714. "height": "36px"
  5715. }
  5716. }).form; //创建窗体
  5717. _taskbar = {
  5718. "id": str + _formdiv.id,
  5719. "style": {
  5720. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5721. },
  5722. "name": "电子白板",
  5723. "forms": _formdiv,
  5724. "click": function() {
  5725. U.MD.D.I.openApplication(str, obj, info);
  5726. }
  5727. }
  5728. break;
  5729. case "mind":
  5730. aTool = 3;
  5731. _iframe = $$("iframe", {
  5732. "frameborder": "no",
  5733. "border": "0",
  5734. "scrolling ": "no",
  5735. "style": {
  5736. "cssText": "border:0;width:100%;height:100%"
  5737. },
  5738. "src": "/kityminder-editor/dist/index.html"
  5739. })
  5740. _box.appendChild(_iframe);
  5741. _box.appendChild(_jie);
  5742. _formdiv = new U.UF.UI.form(
  5743. "思维导图-" + _username,
  5744. _box, { //"/jsmind/example/demo.html"
  5745. "id": "mind" + cid + stage + task + tool + _userid,
  5746. "style": {
  5747. "width": "90%",
  5748. "height": "90%",
  5749. "overflow": 'hidden'
  5750. },
  5751. "onresize": function() {}
  5752. }, {
  5753. closecallback: function() {}
  5754. }, {
  5755. "style": {
  5756. "height": "36px"
  5757. }
  5758. }).form; //创建窗体
  5759. _taskbar = {
  5760. "id": str + _formdiv.id,
  5761. "style": {
  5762. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5763. },
  5764. "name": "思维导图",
  5765. "forms": _formdiv,
  5766. "click": function() {
  5767. U.MD.D.I.openApplication(str, obj, info);
  5768. }
  5769. }
  5770. break;
  5771. case "MindMap":
  5772. aTool = 3;
  5773. _iframe = $$("iframe", {
  5774. "frameborder": "no",
  5775. "border": "0",
  5776. "scrolling ": "no",
  5777. "style": {
  5778. "cssText": "border:0;width:100%;height:100%"
  5779. },
  5780. "src": "//cloud.cocorobo.cn/mind/"
  5781. })
  5782. _box.appendChild(_iframe);
  5783. _box.appendChild(_jie);
  5784. _formdiv = new U.UF.UI.form(
  5785. "思维导图-" + _username,
  5786. _box, { //"/jsmind/example/demo.html"
  5787. "id": "mind" + cid + stage + task + tool + _userid,
  5788. "style": {
  5789. "width": "90%",
  5790. "height": "90%",
  5791. "overflow": 'hidden'
  5792. },
  5793. "onresize": function() {}
  5794. }, {
  5795. closecallback: function() {}
  5796. }, {
  5797. "style": {
  5798. "height": "36px"
  5799. }
  5800. }).form; //创建窗体
  5801. _taskbar = {
  5802. "id": str + _formdiv.id,
  5803. "style": {
  5804. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5805. },
  5806. "name": "思维导图",
  5807. "forms": _formdiv,
  5808. "click": function() {
  5809. U.MD.D.I.openApplication(str, obj, info);
  5810. }
  5811. }
  5812. break;
  5813. case "doc":
  5814. aTool = 6;
  5815. _iframe = $$("iframe", {
  5816. "frameborder": "no",
  5817. "border": "0",
  5818. "scrolling ": "no",
  5819. "style": {
  5820. "cssText": "border:0;width:100%;height:100%"
  5821. },
  5822. "src": "/Office/Word/WordEditArea.htm"
  5823. })
  5824. _box.appendChild(_iframe);
  5825. _box.appendChild(_jie);
  5826. _formdiv = new U.UF.UI.form(
  5827. "协同文档-" + _username,
  5828. _box, {
  5829. "id": "doc" + cid + stage + task + tool + _userid,
  5830. "style": {
  5831. "width": "90%",
  5832. "height": "90%",
  5833. "overflow": 'hidden'
  5834. },
  5835. "onresize": function() {}
  5836. }, {
  5837. closecallback: function() {}
  5838. }, {
  5839. "style": {
  5840. "height": "36px"
  5841. }
  5842. }).form; //创建窗体
  5843. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5844. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5845. })
  5846. _taskbar = {
  5847. "id": str + _formdiv.id,
  5848. "style": {
  5849. "backgroundImage": "url(/img/icon/doc.png)"
  5850. },
  5851. "name": "协同文档",
  5852. "forms": _formdiv,
  5853. "click": function() {
  5854. U.MD.D.I.openApplication(str, obj, info);
  5855. }
  5856. }
  5857. break;
  5858. case "mindNetwork": //好友打开
  5859. aTool = 7;
  5860. _iframe = $$("iframe", {
  5861. "webkitallowfullscreen": "",
  5862. "mozallowfullscreen": "",
  5863. "allowfullscreen": "",
  5864. "frameborder": "no",
  5865. "border": "0",
  5866. "scrolling ": "no",
  5867. "style": {
  5868. "cssText": "border:0; width:100%; height:100%;"
  5869. },
  5870. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5871. })
  5872. _box.appendChild(_iframe);
  5873. _box.appendChild(_jie);
  5874. _formdiv = new U.UF.UI.form(
  5875. "思维网格-" + _username,
  5876. _box, {
  5877. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5878. "style": {
  5879. "width": "90%",
  5880. "height": "90%",
  5881. "overflow": 'hidden'
  5882. },
  5883. "onresize": function() {}
  5884. }, {
  5885. closecallback: function() {}
  5886. }, {
  5887. "style": {
  5888. "height": "36px"
  5889. }
  5890. }).form; //创建窗体
  5891. _taskbar = {
  5892. "id": str + _formdiv.id,
  5893. "style": {
  5894. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5895. },
  5896. "name": "思维网格",
  5897. "forms": _formdiv,
  5898. "click": function() {
  5899. U.MD.D.I.openApplication(str, obj, info);
  5900. }
  5901. }
  5902. break;
  5903. case "courseDesign":
  5904. _iframe = $$("iframe", {
  5905. "webkitallowfullscreen": "",
  5906. "mozallowfullscreen": "",
  5907. "allowfullscreen": "",
  5908. "frameborder": "no",
  5909. "border": "0",
  5910. "scrolling ": "no",
  5911. "style": {
  5912. "cssText": "border:0; width:100%; height:100%;"
  5913. },
  5914. "src": "/course-design-vue"
  5915. })
  5916. _box.appendChild(_iframe);
  5917. _box.appendChild(_jie);
  5918. _formdiv = new U.UF.UI.form(
  5919. "项目设计-" + _username,
  5920. _box, {
  5921. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5922. "style": {
  5923. "width": "90%",
  5924. "height": "90%",
  5925. "overflow": 'hidden'
  5926. },
  5927. "onresize": function() {}
  5928. }, {
  5929. closecallback: function() {}
  5930. }, {
  5931. "style": {
  5932. "height": "36px"
  5933. }
  5934. }).form; //创建窗体
  5935. _taskbar = {
  5936. "id": str + _formdiv.id,
  5937. "style": {
  5938. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5939. },
  5940. "name": "项目设计",
  5941. "forms": _formdiv,
  5942. "click": function() {
  5943. U.MD.D.I.openApplication(str, obj, info);
  5944. }
  5945. }
  5946. break;
  5947. }
  5948. const script1 = document.createElement("script");
  5949. script1.type = "text/javascript";
  5950. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5951. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5952. const script2 = document.createElement("script");
  5953. script2.type = "text/javascript";
  5954. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5955. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5956. const script3 = document.createElement("script");
  5957. script3.type = "text/javascript";
  5958. script3.charset = "UTF-8";
  5959. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5960. const script4 = document.createElement("script");
  5961. script4.type = "text/javascript";
  5962. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5963. script4.src = window.origin + "/js/Common/jietu2E.js";
  5964. if (_iframe) {
  5965. if (str == 'doc') {
  5966. _iframe = _formdiv.querySelector('iframe')
  5967. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5968. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5969. _iframe.contentWindow.document.body.appendChild(script1);
  5970. _iframe.contentWindow.document.body.appendChild(script2);
  5971. // _iframe.contentWindow.document.body.appendChild(script3);
  5972. _iframe.contentWindow.document.body.appendChild(script4);
  5973. })
  5974. if (onloadListener) {
  5975. _iframe.contentDocument.location.reload()
  5976. } else {
  5977. _iframe.contentDocument.location.reload()
  5978. }
  5979. } else if (str == 'courseDesign') {
  5980. U.UF.DL.iframeLoad(_iframe, function() {
  5981. // _iframe.contentWindow.U.MD.O.W.load();
  5982. // _iframe.contentWindow.document.body.appendChild(script1);
  5983. _iframe.contentWindow.document.body.appendChild(script2);
  5984. _iframe.contentWindow.document.body.appendChild(script4);
  5985. })
  5986. } else if (str == 'mind') {
  5987. _iframe = _formdiv.querySelector('iframe')
  5988. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5989. //
  5990. _iframe.contentWindow.document.body.appendChild(script1);
  5991. _iframe.contentWindow.document.body.appendChild(script2);
  5992. _iframe.contentWindow.document.body.appendChild(script4);
  5993. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5994. })
  5995. if (onloadListener) {
  5996. _iframe.contentDocument.location.reload()
  5997. } else {
  5998. _iframe.contentDocument.location.reload()
  5999. }
  6000. } else if (str == 'whiteboard') {
  6001. _iframe = _formdiv.querySelector('iframe')
  6002. let onloadListener = _iframe.onload = () => {
  6003. _iframe.contentWindow.document.body.appendChild(script1);
  6004. _iframe.contentWindow.document.body.appendChild(script2);
  6005. _iframe.contentWindow.document.body.appendChild(script4);
  6006. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6007. };
  6008. if (onloadListener) {
  6009. _iframe.contentDocument.location.reload()
  6010. } else {
  6011. _iframe.contentDocument.location.reload()
  6012. }
  6013. } else {
  6014. _iframe.onload = () => {
  6015. _iframe.contentWindow.document.body.appendChild(script1);
  6016. _iframe.contentWindow.document.body.appendChild(script2);
  6017. // _iframe.contentWindow.document.body.appendChild(script3);
  6018. _iframe.contentWindow.document.body.appendChild(script4);
  6019. };
  6020. }
  6021. _jie.onclick = async() => {
  6022. let text = ''
  6023. if (aTool == 1) {
  6024. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6025. } else if (aTool == 6) {
  6026. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6027. } else if (aTool == 3) {
  6028. text = await U.MD.D.I.getEditorContent(_iframe);
  6029. }
  6030. _loading.style.display = 'flex'
  6031. console.log(_loading);
  6032. var _ajs = _iframe.contentWindow.document.createElement("script");
  6033. _ajs.type = "text/javascript";
  6034. _ajs.innerHTML =
  6035. // 'console.log(' + _loading + ');\n' +
  6036. 'var _js = document.createElement("script");\n' +
  6037. '_js.type="text/javascript";\n' +
  6038. '_js.charset="UTF-8";\n' +
  6039. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6040. "_js.onload = function(){\n" +
  6041. ' var a = document.getElementsByTagName("img")\n' +
  6042. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6043. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6044. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6045. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6046. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6047. "beforeUpload_shishi(file," +
  6048. "'" +
  6049. _userid +
  6050. "'" +
  6051. ", " +
  6052. "'" +
  6053. _cid +
  6054. "'" +
  6055. ", " +
  6056. "'" +
  6057. _stage +
  6058. "'" +
  6059. ", " +
  6060. "'" +
  6061. _task +
  6062. "'" +
  6063. ", " +
  6064. "'" +
  6065. _tool +
  6066. "'" +
  6067. ", " +
  6068. "'" +
  6069. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6070. "'" +
  6071. ", " +
  6072. "'" +
  6073. aTool +
  6074. "'" +
  6075. ", " +
  6076. "`" +
  6077. text +
  6078. "`" +
  6079. ")\n" +
  6080. " });\n" +
  6081. "}\n" +
  6082. "document.head.appendChild(_js);\n";
  6083. _iframe.contentWindow.document.head.appendChild(_ajs);
  6084. }
  6085. }
  6086. }
  6087. U.MD.D.I.getEditorContent = function(iframe) {
  6088. return new Promise((resolve, reject) => {
  6089. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6090. console.log(content);
  6091. resolve(content)
  6092. });
  6093. });
  6094. }
  6095. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6096. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6097. // if (res.value[0].length > 0) {
  6098. // // resolve(res.value[0][0].text);
  6099. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6100. // $(fileInput).val('');
  6101. // });
  6102. // }
  6103. // }, [], { "type": "GET", "withCredentials": true });
  6104. var xmlhttp;
  6105. var Mac, Sn, DeviceId
  6106. if (window.XMLHttpRequest) {
  6107. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6108. xmlhttp = new XMLHttpRequest();
  6109. } else {
  6110. // IE6, IE5 浏览器执行代码
  6111. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6112. }
  6113. xmlhttp.onreadystatechange = function() {
  6114. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6115. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6116. // resolve(res.value[0][0].text);
  6117. if (type == '2') {
  6118. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6119. } else if (type == '3') {
  6120. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6121. }
  6122. } else {
  6123. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6124. }
  6125. }
  6126. }
  6127. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6128. xmlhttp.send();
  6129. }
  6130. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6131. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6132. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6133. _userinfo = US.userInfo, //登录用户信息
  6134. _userid = US.userInfo.userid //登录用户id
  6135. let _iframe;
  6136. let _cid = cid,
  6137. _stage = stage,
  6138. _task = task,
  6139. _tool = tool;
  6140. var _jie = $$("div", {
  6141. "style": {
  6142. "position": "absolute",
  6143. "bottom": "50px",
  6144. "right": "50px",
  6145. "zIndex": "9999",
  6146. "backgroundColor": "#2268bc",
  6147. "color": "#fff",
  6148. "padding": "12px 20px",
  6149. "cursor": "pointer",
  6150. "borderRadius": "4px",
  6151. },
  6152. "innerHTML": "确认并提交"
  6153. })
  6154. let aTool = ''
  6155. let _loading = document.createElement('div')
  6156. _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;"
  6157. // _loading.id = "";
  6158. let _lchild = document.createElement('div')
  6159. let _limg = document.createElement('img')
  6160. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6161. _limg.style = "width: 26px;margin-right: 10px;"
  6162. _lchild.appendChild(_limg)
  6163. let _lspan = document.createElement('span')
  6164. _lspan.innerHTML = "上传中..."
  6165. _lchild.appendChild(_lspan)
  6166. _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%);"
  6167. _loading.appendChild(_lchild)
  6168. var _box = $$('div', {
  6169. "style": {
  6170. "position": "relative",
  6171. "width": "100%",
  6172. "height": "100%",
  6173. },
  6174. })
  6175. _box.appendChild(_loading)
  6176. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6177. switch (str) {
  6178. case "whiteboard":
  6179. aTool = 1;
  6180. _iframe = $$("iframe", {
  6181. "frameborder": "no",
  6182. "border": "0",
  6183. "scrolling ": "no",
  6184. "style": {
  6185. "cssText": "border:0;width:100%;height:100%"
  6186. },
  6187. "src": "https://iwb.cocorobo.cn/"
  6188. })
  6189. _box.appendChild(_iframe);
  6190. _box.appendChild(_jie);
  6191. _formdiv = new U.UF.UI.form(
  6192. "电子白板",
  6193. _box, {
  6194. "id": "whiteboards" + cid + stage + task + tool,
  6195. "style": {
  6196. "width": "90%",
  6197. "height": "90%",
  6198. "overflow": 'hidden'
  6199. },
  6200. "onresize": function() {}
  6201. }, {
  6202. closecallback: function() {}
  6203. }, {
  6204. "style": {
  6205. "height": "36px"
  6206. }
  6207. }).form; //创建窗体
  6208. _taskbar = {
  6209. "id": str + _formdiv.id,
  6210. "style": {
  6211. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6212. },
  6213. "name": "电子白板",
  6214. "forms": _formdiv,
  6215. "click": function() {
  6216. U.MD.D.I.openApplication(str, obj, info);
  6217. }
  6218. }
  6219. break;
  6220. case "mind":
  6221. aTool = 3;
  6222. _iframe = $$("iframe", {
  6223. "frameborder": "no",
  6224. "border": "0",
  6225. "scrolling ": "no",
  6226. "style": {
  6227. "cssText": "border:0;width:100%;height:100%"
  6228. },
  6229. "src": "/kityminder-editor/dist/index.html"
  6230. });
  6231. _box.appendChild(_iframe);
  6232. _box.appendChild(_jie);
  6233. _formdiv = new U.UF.UI.form(
  6234. "思维导图",
  6235. _box, { //"/jsmind/example/demo.html"
  6236. "id": "minds" + cid + stage + task + tool,
  6237. "style": {
  6238. "width": "90%",
  6239. "height": "90%",
  6240. "overflow": 'hidden'
  6241. },
  6242. "onresize": function() {}
  6243. }, {
  6244. closecallback: function() {}
  6245. }, {
  6246. "style": {
  6247. "height": "36px"
  6248. }
  6249. }).form; //创建窗体
  6250. _taskbar = {
  6251. "id": str + _formdiv.id,
  6252. "style": {
  6253. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6254. },
  6255. "name": "思维导图",
  6256. "forms": _formdiv,
  6257. "click": function() {
  6258. U.MD.D.I.openApplication(str, obj, info);
  6259. }
  6260. }
  6261. break;
  6262. case "doc":
  6263. aTool = 6;
  6264. _iframe = $$("iframe", {
  6265. "frameborder": "no",
  6266. "border": "0",
  6267. "scrolling ": "no",
  6268. "style": {
  6269. "cssText": "border:0;width:100%;height:100%"
  6270. },
  6271. "src": "/Office/Word/WordEditArea.htm"
  6272. })
  6273. _box.appendChild(_iframe);
  6274. _box.appendChild(_jie);
  6275. _formdiv = new U.UF.UI.form(
  6276. "协同文档",
  6277. _box, {
  6278. "id": "docs" + cid + stage + task + tool,
  6279. "style": {
  6280. "width": "90%",
  6281. "height": "90%",
  6282. "overflow": 'hidden'
  6283. },
  6284. "onresize": function() {}
  6285. }, {
  6286. closecallback: function() {}
  6287. }, {
  6288. "style": {
  6289. "height": "36px"
  6290. }
  6291. }).form; //创建窗体
  6292. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6293. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6294. })
  6295. _taskbar = {
  6296. "id": str + _formdiv.id,
  6297. "style": {
  6298. "backgroundImage": "url(/img/icon/doc.png)"
  6299. },
  6300. "name": "协同文档",
  6301. "forms": _formdiv,
  6302. "click": function() {
  6303. U.MD.D.I.openApplication(str, obj, info);
  6304. }
  6305. }
  6306. break;
  6307. }
  6308. const script1 = document.createElement("script");
  6309. script1.type = "text/javascript";
  6310. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6311. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6312. const script2 = document.createElement("script");
  6313. script2.type = "text/javascript";
  6314. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6315. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6316. const script3 = document.createElement("script");
  6317. script3.type = "text/javascript";
  6318. script3.charset = "UTF-8";
  6319. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6320. const script4 = document.createElement("script");
  6321. script4.type = "text/javascript";
  6322. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6323. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6324. if (_iframe) {
  6325. if (str == 'doc') {
  6326. _iframe = _formdiv.querySelector('iframe')
  6327. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6328. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6329. _iframe.contentWindow.document.body.appendChild(script1);
  6330. _iframe.contentWindow.document.body.appendChild(script2);
  6331. // _iframe.contentWindow.document.body.appendChild(script3);
  6332. _iframe.contentWindow.document.body.appendChild(script4);
  6333. })
  6334. if (onloadListener) {
  6335. _iframe.contentDocument.location.reload()
  6336. } else {
  6337. _iframe.contentDocument.location.reload()
  6338. }
  6339. } else if (str == 'mind') {
  6340. _iframe = _formdiv.querySelector('iframe')
  6341. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6342. _iframe.contentWindow.document.body.appendChild(script1);
  6343. _iframe.contentWindow.document.body.appendChild(script2);
  6344. _iframe.contentWindow.document.body.appendChild(script4);
  6345. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6346. })
  6347. if (onloadListener) {
  6348. _iframe.contentDocument.location.reload()
  6349. } else {
  6350. _iframe.contentDocument.location.reload()
  6351. }
  6352. } else {
  6353. _iframe.onload = () => {
  6354. _iframe.contentWindow.document.body.appendChild(script1);
  6355. _iframe.contentWindow.document.body.appendChild(script2);
  6356. // _iframe.contentWindow.document.body.appendChild(script3);
  6357. _iframe.contentWindow.document.body.appendChild(script4);
  6358. };
  6359. }
  6360. _jie.onclick = async() => {
  6361. let text = ''
  6362. if (aTool == 6) {
  6363. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6364. } else if (aTool == 3) {
  6365. text = await U.MD.D.I.getEditorContent(_iframe);
  6366. }
  6367. _loading.style.display = 'flex'
  6368. console.log(_loading);
  6369. var _ajs = _iframe.contentWindow.document.createElement("script");
  6370. _ajs.type = "text/javascript";
  6371. _ajs.innerHTML =
  6372. // 'console.log(' + _loading + ');\n' +
  6373. 'var _js = document.createElement("script");\n' +
  6374. '_js.type="text/javascript";\n' +
  6375. '_js.charset="UTF-8";\n' +
  6376. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6377. "_js.onload = function(){\n" +
  6378. ' var a = document.getElementsByTagName("img")\n' +
  6379. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6380. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6381. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6382. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6383. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6384. "beforeUpload_shishi(file," +
  6385. "'" +
  6386. _userid +
  6387. "'" +
  6388. ", " +
  6389. "'" +
  6390. _cid +
  6391. "'" +
  6392. ", " +
  6393. "'" +
  6394. _stage +
  6395. "'" +
  6396. ", " +
  6397. "'" +
  6398. _task +
  6399. "'" +
  6400. ", " +
  6401. "'" +
  6402. _tool +
  6403. "'" +
  6404. ", " +
  6405. "'" +
  6406. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6407. "'" +
  6408. ", " +
  6409. "'" +
  6410. aTool +
  6411. "'" +
  6412. ", " +
  6413. "`" +
  6414. text +
  6415. "`" +
  6416. ")\n" +
  6417. " });\n" +
  6418. "}\n" +
  6419. "document.head.appendChild(_js);\n";
  6420. _iframe.contentWindow.document.head.appendChild(_ajs);
  6421. }
  6422. }
  6423. //U.MD.D.I.openClick(str);
  6424. //如果有任务栏信息
  6425. // if (_taskbar) {
  6426. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6427. // }
  6428. }
  6429. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6430. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6431. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6432. _userinfo = US.userInfo, //登录用户信息
  6433. _userid = US.userInfo.userid //登录用户id
  6434. let _iframe;
  6435. let _cid = cid,
  6436. _stage = stage,
  6437. _task = task,
  6438. _tool = tool;
  6439. var _jie = $$("div", {
  6440. "style": {
  6441. "position": "absolute",
  6442. "bottom": "50px",
  6443. "right": "50px",
  6444. "zIndex": "9999",
  6445. "backgroundColor": "#2268bc",
  6446. "color": "#fff",
  6447. "padding": "12px 20px",
  6448. "cursor": "pointer",
  6449. "borderRadius": "4px",
  6450. },
  6451. "innerHTML": "确认并提交"
  6452. })
  6453. let aTool = ''
  6454. let _loading = document.createElement('div')
  6455. _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;"
  6456. // _loading.id = "";
  6457. let _lchild = document.createElement('div')
  6458. let _limg = document.createElement('img')
  6459. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6460. _limg.style = "width: 26px;margin-right: 10px;"
  6461. _lchild.appendChild(_limg)
  6462. let _lspan = document.createElement('span')
  6463. _lspan.innerHTML = "上传中..."
  6464. _lchild.appendChild(_lspan)
  6465. _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%);"
  6466. _loading.appendChild(_lchild)
  6467. var _box = $$('div', {
  6468. "style": {
  6469. "position": "relative",
  6470. "width": "100%",
  6471. "height": "100%",
  6472. },
  6473. })
  6474. _box.appendChild(_loading)
  6475. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6476. switch (str) {
  6477. case "whiteboard":
  6478. aTool = 1;
  6479. _iframe = $$("iframe", {
  6480. "frameborder": "no",
  6481. "border": "0",
  6482. "scrolling ": "no",
  6483. "style": {
  6484. "cssText": "border:0;width:100%;height:100%"
  6485. },
  6486. "src": "https://iwb.cocorobo.cn/"
  6487. })
  6488. _box.appendChild(_iframe);
  6489. _box.appendChild(_jie);
  6490. _formdiv = new U.UF.UI.form(
  6491. "电子白板",
  6492. _box, {
  6493. "id": "whiteboards" + cid + stage + task + tool,
  6494. "style": {
  6495. "width": "90%",
  6496. "height": "90%",
  6497. "overflow": 'hidden'
  6498. },
  6499. "onresize": function() {}
  6500. }, {
  6501. closecallback: function() {}
  6502. }, {
  6503. "style": {
  6504. "height": "36px"
  6505. }
  6506. }).form; //创建窗体
  6507. _taskbar = {
  6508. "id": str + _formdiv.id,
  6509. "style": {
  6510. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6511. },
  6512. "name": "电子白板",
  6513. "forms": _formdiv,
  6514. "click": function() {
  6515. U.MD.D.I.openApplication(str, obj, info);
  6516. }
  6517. }
  6518. break;
  6519. case "mind":
  6520. aTool = 3;
  6521. _iframe = $$("iframe", {
  6522. "frameborder": "no",
  6523. "border": "0",
  6524. "scrolling ": "no",
  6525. "style": {
  6526. "cssText": "border:0;width:100%;height:100%"
  6527. },
  6528. "src": "/kityminder-editor/dist/index.html"
  6529. });
  6530. _box.appendChild(_iframe);
  6531. _box.appendChild(_jie);
  6532. _formdiv = new U.UF.UI.form(
  6533. "思维导图",
  6534. _box, { //"/jsmind/example/demo.html"
  6535. "id": "minds" + cid + stage + task + tool,
  6536. "style": {
  6537. "width": "90%",
  6538. "height": "90%",
  6539. "overflow": 'hidden'
  6540. },
  6541. "onresize": function() {}
  6542. }, {
  6543. closecallback: function() {}
  6544. }, {
  6545. "style": {
  6546. "height": "36px"
  6547. }
  6548. }).form; //创建窗体
  6549. _taskbar = {
  6550. "id": str + _formdiv.id,
  6551. "style": {
  6552. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6553. },
  6554. "name": "思维导图",
  6555. "forms": _formdiv,
  6556. "click": function() {
  6557. U.MD.D.I.openApplication(str, obj, info);
  6558. }
  6559. }
  6560. break;
  6561. case "doc":
  6562. aTool = 6;
  6563. _iframe = $$("iframe", {
  6564. "frameborder": "no",
  6565. "border": "0",
  6566. "scrolling ": "no",
  6567. "style": {
  6568. "cssText": "border:0;width:100%;height:100%"
  6569. },
  6570. "src": "/Office/Word/WordEditArea.htm"
  6571. })
  6572. _box.appendChild(_iframe);
  6573. _box.appendChild(_jie);
  6574. _formdiv = new U.UF.UI.form(
  6575. "协同文档",
  6576. _box, {
  6577. "id": "docs" + cid + stage + task + tool,
  6578. "style": {
  6579. "width": "90%",
  6580. "height": "90%",
  6581. "overflow": 'hidden'
  6582. },
  6583. "onresize": function() {}
  6584. }, {
  6585. closecallback: function() {}
  6586. }, {
  6587. "style": {
  6588. "height": "36px"
  6589. }
  6590. }).form; //创建窗体
  6591. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6592. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6593. })
  6594. _taskbar = {
  6595. "id": str + _formdiv.id,
  6596. "style": {
  6597. "backgroundImage": "url(/img/icon/doc.png)"
  6598. },
  6599. "name": "协同文档",
  6600. "forms": _formdiv,
  6601. "click": function() {
  6602. U.MD.D.I.openApplication(str, obj, info);
  6603. }
  6604. }
  6605. break;
  6606. }
  6607. const script1 = document.createElement("script");
  6608. script1.type = "text/javascript";
  6609. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6610. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6611. const script2 = document.createElement("script");
  6612. script2.type = "text/javascript";
  6613. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6614. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6615. const script3 = document.createElement("script");
  6616. script3.type = "text/javascript";
  6617. script3.charset = "UTF-8";
  6618. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6619. const script4 = document.createElement("script");
  6620. script4.type = "text/javascript";
  6621. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6622. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6623. if (_iframe) {
  6624. if (str == 'doc') {
  6625. _iframe = _formdiv.querySelector('iframe')
  6626. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6627. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6628. _iframe.contentWindow.document.body.appendChild(script1);
  6629. _iframe.contentWindow.document.body.appendChild(script2);
  6630. // _iframe.contentWindow.document.body.appendChild(script3);
  6631. _iframe.contentWindow.document.body.appendChild(script4);
  6632. })
  6633. if (onloadListener) {
  6634. _iframe.contentDocument.location.reload()
  6635. } else {
  6636. _iframe.contentDocument.location.reload()
  6637. }
  6638. } else if (str == 'mind') {
  6639. _iframe = _formdiv.querySelector('iframe')
  6640. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6641. _iframe.contentWindow.document.body.appendChild(script1);
  6642. _iframe.contentWindow.document.body.appendChild(script2);
  6643. _iframe.contentWindow.document.body.appendChild(script4);
  6644. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6645. })
  6646. if (onloadListener) {
  6647. _iframe.contentDocument.location.reload()
  6648. } else {
  6649. _iframe.contentDocument.location.reload()
  6650. }
  6651. } else {
  6652. _iframe.onload = () => {
  6653. _iframe.contentWindow.document.body.appendChild(script1);
  6654. _iframe.contentWindow.document.body.appendChild(script2);
  6655. // _iframe.contentWindow.document.body.appendChild(script3);
  6656. _iframe.contentWindow.document.body.appendChild(script4);
  6657. };
  6658. }
  6659. _jie.onclick = async() => {
  6660. let text = ''
  6661. if (aTool == 6) {
  6662. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6663. } else if (aTool == 3) {
  6664. text = await U.MD.D.I.getEditorContent(_iframe);
  6665. }
  6666. _loading.style.display = 'flex'
  6667. console.log(_loading);
  6668. var _ajs = _iframe.contentWindow.document.createElement("script");
  6669. _ajs.type = "text/javascript";
  6670. _ajs.innerHTML =
  6671. // 'console.log(' + _loading + ');\n' +
  6672. 'var _js = document.createElement("script");\n' +
  6673. '_js.type="text/javascript";\n' +
  6674. '_js.charset="UTF-8";\n' +
  6675. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6676. "_js.onload = function(){\n" +
  6677. ' var a = document.getElementsByTagName("img")\n' +
  6678. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6679. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6680. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6681. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6682. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6683. "beforeUpload_shishi(file," +
  6684. "'" +
  6685. _userid +
  6686. "'" +
  6687. ", " +
  6688. "'" +
  6689. _cid +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. _stage +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _task +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _tool +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. aTool +
  6710. "'" +
  6711. ", " +
  6712. "`" +
  6713. text +
  6714. "`" +
  6715. ")\n" +
  6716. " });\n" +
  6717. "}\n" +
  6718. "document.head.appendChild(_js);\n";
  6719. _iframe.contentWindow.document.head.appendChild(_ajs);
  6720. }
  6721. }
  6722. //U.MD.D.I.openClick(str);
  6723. //如果有任务栏信息
  6724. // if (_taskbar) {
  6725. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6726. // }
  6727. }
  6728. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6729. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6730. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6731. _userinfo = US.userInfo, //登录用户信息
  6732. _userid = US.userInfo.userid //登录用户id
  6733. let _iframe;
  6734. let _cid = cid,
  6735. _stage = stage,
  6736. _task = task,
  6737. _tool = tool;
  6738. var _jie = $$("div", {
  6739. "style": {
  6740. "position": "absolute",
  6741. "bottom": "50px",
  6742. "right": "50px",
  6743. "zIndex": "9999",
  6744. "backgroundColor": "#2268bc",
  6745. "color": "#fff",
  6746. "padding": "12px 20px",
  6747. "cursor": "pointer",
  6748. "borderRadius": "4px",
  6749. },
  6750. "innerHTML": "上传模板"
  6751. })
  6752. let aTool = ''
  6753. let _loading = document.createElement('div')
  6754. _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;"
  6755. // _loading.id = "";
  6756. let _lchild = document.createElement('div')
  6757. let _limg = document.createElement('img')
  6758. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6759. _limg.style = "width: 26px;margin-right: 10px;"
  6760. _lchild.appendChild(_limg)
  6761. let _lspan = document.createElement('span')
  6762. _lspan.innerHTML = "上传中..."
  6763. _lchild.appendChild(_lspan)
  6764. _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%);"
  6765. _loading.appendChild(_lchild)
  6766. var _box = $$('div', {
  6767. "style": {
  6768. "position": "relative",
  6769. "width": "100%",
  6770. "height": "100%",
  6771. },
  6772. })
  6773. _box.appendChild(_loading)
  6774. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6775. switch (str) {
  6776. case "whiteboard":
  6777. aTool = 1;
  6778. _iframe = $$("iframe", {
  6779. "frameborder": "no",
  6780. "border": "0",
  6781. "scrolling ": "no",
  6782. "style": {
  6783. "cssText": "border:0;width:100%;height:100%"
  6784. },
  6785. "src": "https://iwb.cocorobo.cn/"
  6786. })
  6787. _box.appendChild(_iframe);
  6788. _box.appendChild(_jie);
  6789. _formdiv = new U.UF.UI.form(
  6790. "电子白板",
  6791. _box, {
  6792. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6793. "style": {
  6794. "width": "90%",
  6795. "height": "90%",
  6796. "overflow": 'hidden'
  6797. },
  6798. "onresize": function() {}
  6799. }, {
  6800. closecallback: function() {}
  6801. }, {
  6802. "style": {
  6803. "height": "36px"
  6804. }
  6805. }).form; //创建窗体
  6806. _taskbar = {
  6807. "id": str + _formdiv.id,
  6808. "style": {
  6809. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6810. },
  6811. "name": "电子白板",
  6812. "forms": _formdiv,
  6813. "click": function() {
  6814. U.MD.D.I.openApplication(str, obj, info);
  6815. }
  6816. }
  6817. break;
  6818. case "mind":
  6819. aTool = 3;
  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": "/kityminder-editor/dist/index.html"
  6828. });
  6829. _box.appendChild(_iframe);
  6830. _box.appendChild(_jie);
  6831. _formdiv = new U.UF.UI.form(
  6832. "思维导图",
  6833. _box, { //"/jsmind/example/demo.html"
  6834. "id": "minds_Yu" + 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/mindMapping.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 "doc":
  6861. aTool = 6;
  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": "/Office/Word/WordEditArea.htm"
  6870. })
  6871. _box.appendChild(_iframe);
  6872. _box.appendChild(_jie);
  6873. _formdiv = new U.UF.UI.form(
  6874. "协同文档",
  6875. _box, {
  6876. "id": "docs_Yu" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6891. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6892. })
  6893. _taskbar = {
  6894. "id": str + _formdiv.id,
  6895. "style": {
  6896. "backgroundImage": "url(/img/icon/doc.png)"
  6897. },
  6898. "name": "协同文档",
  6899. "forms": _formdiv,
  6900. "click": function() {
  6901. U.MD.D.I.openApplication(str, obj, info);
  6902. }
  6903. }
  6904. break;
  6905. case "CocoPi":
  6906. aTool = 57;
  6907. _iframe = $$("iframe", {
  6908. "allowpaymentrequest": "allowpaymentrequest",
  6909. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6910. "webkitallowfullscreen": "",
  6911. "mozallowfullscreen": "",
  6912. "frameborder": "no",
  6913. "border": "0",
  6914. "scrolling ": "no",
  6915. "style": {
  6916. "cssText": "border:0;width:100%;height:100%"
  6917. },
  6918. "src": "https://pi.cocorobo.cn/"
  6919. })
  6920. _box.appendChild(_iframe);
  6921. _box.appendChild(_jie);
  6922. _formdiv = new U.UF.UI.form(
  6923. "CocoPi",
  6924. _box, {
  6925. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6926. "style": {
  6927. "width": "90%",
  6928. "height": "90%",
  6929. "overflow": 'hidden'
  6930. },
  6931. "onresize": function() {}
  6932. }, {
  6933. closecallback: function() {}
  6934. }, {
  6935. "style": {
  6936. "height": "36px"
  6937. }
  6938. }).form; //创建窗体
  6939. _taskbar = {
  6940. "id": str + _formdiv.id,
  6941. "style": {
  6942. "backgroundImage": "url(/img/icon/cocopi.png)"
  6943. },
  6944. "name": "CocoPi",
  6945. "forms": _formdiv,
  6946. "click": function() {
  6947. U.MD.D.I.openApplication(str, obj, info);
  6948. }
  6949. }
  6950. break;
  6951. }
  6952. if (_iframe) {
  6953. if (str == 'doc') {
  6954. _iframe = _formdiv.querySelector('iframe')
  6955. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6956. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6957. })
  6958. if (onloadListener) {
  6959. _iframe.contentDocument.location.reload()
  6960. } else {
  6961. _iframe.contentDocument.location.reload()
  6962. }
  6963. } else if (str == 'mind') {
  6964. _iframe = _formdiv.querySelector('iframe')
  6965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6966. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6967. })
  6968. if (onloadListener) {
  6969. _iframe.contentDocument.location.reload()
  6970. } else {
  6971. _iframe.contentDocument.location.reload()
  6972. }
  6973. } else if (str == 'whiteboard') {
  6974. _iframe = _formdiv.querySelector('iframe')
  6975. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6976. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6977. })
  6978. if (onloadListener) {
  6979. _iframe.contentDocument.location.reload()
  6980. } else {
  6981. _iframe.contentDocument.location.reload()
  6982. }
  6983. } else if (str == 'CocoPi') {
  6984. _iframe = _formdiv.querySelector('iframe')
  6985. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6986. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6987. })
  6988. if (onloadListener) {
  6989. _iframe.contentDocument.location.reload()
  6990. } else {
  6991. _iframe.contentDocument.location.reload()
  6992. }
  6993. } else {
  6994. _iframe.onload = () => {};
  6995. }
  6996. _jie.onclick = async() => {
  6997. let text = ''
  6998. let type = '2'
  6999. if (aTool == 1) {
  7000. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7001. type = '3'
  7002. } else if (aTool == 6) {
  7003. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7004. type = '1'
  7005. } else if (aTool == 3) {
  7006. text = await U.MD.D.I.getEditorContent(_iframe);
  7007. type = '2'
  7008. } else if (aTool == 57) {
  7009. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7010. type = '4'
  7011. }
  7012. _loading.style.display = 'flex'
  7013. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7014. }
  7015. }
  7016. //U.MD.D.I.openClick(str);
  7017. //如果有任务栏信息
  7018. // if (_taskbar) {
  7019. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7020. // }
  7021. }
  7022. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7023. var xmlhttp;
  7024. var Mac, Sn, DeviceId
  7025. if (window.XMLHttpRequest) {
  7026. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7027. xmlhttp = new XMLHttpRequest();
  7028. } else {
  7029. // IE6, IE5 浏览器执行代码
  7030. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7031. }
  7032. xmlhttp.onreadystatechange = function() {
  7033. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7034. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7035. // resolve(res.value[0][0].text);
  7036. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7037. }
  7038. }
  7039. }
  7040. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7041. xmlhttp.send();
  7042. }
  7043. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7044. var xmlhttp;
  7045. var Mac, Sn, DeviceId
  7046. if (window.XMLHttpRequest) {
  7047. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7048. xmlhttp = new XMLHttpRequest();
  7049. } else {
  7050. // IE6, IE5 浏览器执行代码
  7051. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7052. }
  7053. xmlhttp.onreadystatechange = function() {
  7054. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7055. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7056. // resolve(res.value[0][0].text);
  7057. if (type == '2') {
  7058. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7059. } else if (type == '3') {
  7060. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7061. } else if (type == '4') {
  7062. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7063. }
  7064. } else {
  7065. if (type == '2') {
  7066. iframe.contentWindow.editor.minder.importData('json', '')
  7067. } else if (type == '3') {
  7068. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7069. } else if (type == '4') {
  7070. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7071. }
  7072. }
  7073. }
  7074. }
  7075. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7076. xmlhttp.send();
  7077. }
  7078. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7079. var xmlhttp;
  7080. var Mac, Sn, DeviceId
  7081. if (window.XMLHttpRequest) {
  7082. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7083. xmlhttp = new XMLHttpRequest();
  7084. } else {
  7085. // IE6, IE5 浏览器执行代码
  7086. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7087. }
  7088. xmlhttp.onreadystatechange = function() {
  7089. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7090. if (xmlhttp.response) {
  7091. // resolve(res.value[0][0].text);
  7092. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7093. // $(fileInput).val('');
  7094. // });
  7095. span.innerHTML = '上传成功'
  7096. setTimeout(() => {
  7097. loading.style.display = 'none'
  7098. }, 1000);
  7099. }
  7100. }
  7101. }
  7102. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7103. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7104. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7105. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7106. // 设置请求头,表示请求体的编码格式
  7107. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7108. // 设置请求体,使用url-encoded格式的数据
  7109. }
  7110. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7111. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7112. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7113. _userinfo = US.userInfo, //登录用户信息
  7114. _userid = US.userInfo.userid //登录用户id
  7115. let _iframe;
  7116. let _cid = cid,
  7117. _stage = stage,
  7118. _task = task,
  7119. _tool = tool;
  7120. var _jie = $$("div", {
  7121. "style": {
  7122. "position": "absolute",
  7123. "bottom": "50px",
  7124. "right": "50px",
  7125. "zIndex": "9999",
  7126. "backgroundColor": "#2268bc",
  7127. "color": "#fff",
  7128. "padding": "12px 20px",
  7129. "cursor": "pointer",
  7130. "borderRadius": "4px",
  7131. },
  7132. "innerHTML": "提交作业"
  7133. })
  7134. let aTool = ''
  7135. let _loading = document.createElement('div')
  7136. _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;"
  7137. // _loading.id = "";
  7138. let _lchild = document.createElement('div')
  7139. let _limg = document.createElement('img')
  7140. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7141. _limg.style = "width: 26px;margin-right: 10px;"
  7142. _lchild.appendChild(_limg)
  7143. let _lspan = document.createElement('span')
  7144. _lspan.innerHTML = "上传中..."
  7145. _lchild.appendChild(_lspan)
  7146. _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%);"
  7147. _loading.appendChild(_lchild)
  7148. var _box = $$('div', {
  7149. "style": {
  7150. "position": "relative",
  7151. "width": "100%",
  7152. "height": "100%",
  7153. },
  7154. })
  7155. _box.appendChild(_loading)
  7156. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7157. switch (str) {
  7158. case "CocoPi":
  7159. aTool = 57;
  7160. _iframe = $$("iframe", {
  7161. "allowpaymentrequest": "allowpaymentrequest",
  7162. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7163. "webkitallowfullscreen": "",
  7164. "mozallowfullscreen": "",
  7165. "frameborder": "no",
  7166. "border": "0",
  7167. "scrolling ": "no",
  7168. "style": {
  7169. "cssText": "border:0;width:100%;height:100%"
  7170. },
  7171. "src": "https://pi.cocorobo.cn/"
  7172. })
  7173. _box.appendChild(_iframe);
  7174. _box.appendChild(_jie);
  7175. _formdiv = new U.UF.UI.form(
  7176. "CocoPi",
  7177. _box, {
  7178. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7179. "style": {
  7180. "width": "90%",
  7181. "height": "90%",
  7182. "overflow": 'hidden'
  7183. },
  7184. "onresize": function() {}
  7185. }, {
  7186. closecallback: function() {}
  7187. }, {
  7188. "style": {
  7189. "height": "36px"
  7190. }
  7191. }).form; //创建窗体
  7192. _taskbar = {
  7193. "id": str + _formdiv.id,
  7194. "style": {
  7195. "backgroundImage": "url(/img/icon/cocopi.png)"
  7196. },
  7197. "name": "CocoPi",
  7198. "forms": _formdiv,
  7199. "click": function() {
  7200. U.MD.D.I.openApplication(str, obj, info);
  7201. }
  7202. }
  7203. break;
  7204. }
  7205. if (_iframe) {
  7206. if (str == 'CocoPi') {
  7207. _iframe = _formdiv.querySelector('iframe')
  7208. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7209. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7210. })
  7211. if (onloadListener) {
  7212. _iframe.contentDocument.location.reload()
  7213. } else {
  7214. _iframe.contentDocument.location.reload()
  7215. }
  7216. }
  7217. _jie.onclick = async() => {
  7218. let text = ''
  7219. if (aTool == 57) {
  7220. text = _iframe.contentWindow.getLoadXmlStr()
  7221. }
  7222. _loading.style.display = 'flex'
  7223. console.log(_loading);
  7224. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7225. _loading.style.display = 'none'
  7226. let _div = document.createElement('div')
  7227. _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;"
  7228. let _inner = document.createElement('div')
  7229. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7230. _inner.innerHTML = "上传成功"
  7231. _div.appendChild(_inner)
  7232. _iframe.contentWindow.window.document.body.appendChild(_div)
  7233. _div.onclick = () => {
  7234. _iframe.contentWindow.window.document.body.removeChild(_div)
  7235. }
  7236. setTimeout(() => {
  7237. _iframe.contentWindow.window.document.body.removeChild(_div)
  7238. }, 1000);
  7239. }, [], { "type": "POST", "withCredentials": true });
  7240. }
  7241. }
  7242. }
  7243. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7244. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7245. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7246. _userid = student.userid, //登录用户id
  7247. _username = student.student //用户名字
  7248. let _iframe;
  7249. let _cid = cid,
  7250. _stage = stage,
  7251. _task = task,
  7252. _tool = tool;
  7253. var _jie = $$("div", {
  7254. "style": {
  7255. "position": "absolute",
  7256. "bottom": "50px",
  7257. "right": "50px",
  7258. "zIndex": "9999",
  7259. "backgroundColor": "#2268bc",
  7260. "color": "#fff",
  7261. "padding": "12px 20px",
  7262. "cursor": "pointer",
  7263. "borderRadius": "4px",
  7264. },
  7265. "innerHTML": "提交作业"
  7266. })
  7267. let aTool = ''
  7268. let _loading = document.createElement('div')
  7269. _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;"
  7270. // _loading.id = "";
  7271. let _lchild = document.createElement('div')
  7272. let _limg = document.createElement('img')
  7273. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7274. _limg.style = "width: 26px;margin-right: 10px;"
  7275. _lchild.appendChild(_limg)
  7276. let _lspan = document.createElement('span')
  7277. _lspan.innerHTML = "上传中..."
  7278. _lchild.appendChild(_lspan)
  7279. _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%);"
  7280. _loading.appendChild(_lchild)
  7281. var _box = $$('div', {
  7282. "style": {
  7283. "position": "relative",
  7284. "width": "100%",
  7285. "height": "100%",
  7286. },
  7287. })
  7288. _box.appendChild(_loading)
  7289. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7290. switch (str) {
  7291. case "CocoPi":
  7292. aTool = 57;
  7293. _iframe = $$("iframe", {
  7294. "allowpaymentrequest": "allowpaymentrequest",
  7295. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7296. "webkitallowfullscreen": "",
  7297. "mozallowfullscreen": "",
  7298. "frameborder": "no",
  7299. "border": "0",
  7300. "scrolling ": "no",
  7301. "style": {
  7302. "cssText": "border:0;width:100%;height:100%"
  7303. },
  7304. "src": "https://pi.cocorobo.cn/"
  7305. })
  7306. _box.appendChild(_iframe);
  7307. _box.appendChild(_jie);
  7308. _formdiv = new U.UF.UI.form(
  7309. "CocoPi-" + _username,
  7310. _box, {
  7311. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7312. "style": {
  7313. "width": "90%",
  7314. "height": "90%",
  7315. "overflow": 'hidden'
  7316. },
  7317. "onresize": function() {}
  7318. }, {
  7319. closecallback: function() {}
  7320. }, {
  7321. "style": {
  7322. "height": "36px"
  7323. }
  7324. }).form; //创建窗体
  7325. _taskbar = {
  7326. "id": str + _formdiv.id,
  7327. "style": {
  7328. "backgroundImage": "url(/img/icon/cocopi.png)"
  7329. },
  7330. "name": "CocoPi",
  7331. "forms": _formdiv,
  7332. "click": function() {
  7333. U.MD.D.I.openApplication(str, obj, info);
  7334. }
  7335. }
  7336. break;
  7337. }
  7338. if (_iframe) {
  7339. if (str == 'CocoPi') {
  7340. _iframe = _formdiv.querySelector('iframe')
  7341. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7342. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7343. })
  7344. if (onloadListener) {
  7345. _iframe.contentDocument.location.reload()
  7346. } else {
  7347. _iframe.contentDocument.location.reload()
  7348. }
  7349. }
  7350. _jie.onclick = async() => {
  7351. let text = ''
  7352. if (aTool == 57) {
  7353. text = _iframe.contentWindow.getLoadXmlStr()
  7354. }
  7355. _loading.style.display = 'flex'
  7356. console.log(_loading);
  7357. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7358. _loading.style.display = 'none'
  7359. let _div = document.createElement('div')
  7360. _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;"
  7361. let _inner = document.createElement('div')
  7362. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7363. _inner.innerHTML = "上传成功"
  7364. _div.appendChild(_inner)
  7365. _iframe.contentWindow.window.document.body.appendChild(_div)
  7366. _div.onclick = () => {
  7367. _iframe.contentWindow.window.document.body.removeChild(_div)
  7368. }
  7369. setTimeout(() => {
  7370. _iframe.contentWindow.window.document.body.removeChild(_div)
  7371. }, 1000);
  7372. }, [], { "type": "POST", "withCredentials": true });
  7373. }
  7374. }
  7375. }
  7376. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7377. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7378. if (res.value[0].length > 0) {
  7379. if (atool == 57) {
  7380. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7381. }
  7382. } else {
  7383. if (atool == 57) {
  7384. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7385. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7386. }
  7387. }
  7388. }, [], { "type": "POST", "withCredentials": true });
  7389. }