DeskTop.js 450 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779
  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": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. ];
  370. U.MD.D.I.szscOrganizerDeskIcon = [
  371. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  372. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  373. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  374. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  380. ];
  381. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  382. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  383. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  384. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  385. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  386. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  387. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  388. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  389. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  390. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  391. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  392. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  393. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  394. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  395. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  396. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  397. ];
  398. U.MD.D.I.wankeAdminDeskIcon = [
  399. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  400. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  401. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  402. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  403. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  406. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  407. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  408. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  409. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  412. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  413. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  414. ];
  415. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  426. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  427. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. ];
  429. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  430. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  431. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  432. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  433. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  434. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  435. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  436. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  437. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  438. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  439. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  440. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  441. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  442. ];
  443. //明德教师桌面图标的全局变量
  444. U.MD.D.I.MingdeTeacherDeskIcon = [
  445. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  446. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  447. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  448. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  449. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  450. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  451. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  452. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  453. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  454. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  455. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  456. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  457. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  458. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  459. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  460. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  461. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  462. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  463. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  464. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  465. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  466. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  467. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  468. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  469. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  470. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  471. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  472. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  473. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  474. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  475. ];
  476. //97c4ee8b-d010-4042-986d-e9d3c217264f
  477. //教师桌面图标的全局变量
  478. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  479. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  480. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  481. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  482. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  483. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  484. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  485. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  486. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  487. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  488. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  489. ];
  490. //福田
  491. U.MD.D.I.futianTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  497. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  498. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  499. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  500. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  501. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  502. ];
  503. //福田
  504. U.MD.D.I.futianAdminDeskIcon = [
  505. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  506. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  507. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  508. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  509. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  510. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  511. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  512. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  513. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  514. ];
  515. //lotech
  516. U.MD.D.I.lotechTeacherDeskIcon = [
  517. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  518. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  519. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  520. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  521. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  522. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  523. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  524. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  525. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  526. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  527. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  528. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  531. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  532. ];
  533. //龙华中心小学教师桌面图标的全局变量
  534. U.MD.D.I.longhuateacherDeskIcon = [
  535. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  536. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  537. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  538. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  539. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  540. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  541. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  542. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  543. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  544. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  545. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  546. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. ];
  548. //教科院实小教师桌面图标的全局变量
  549. U.MD.D.I.siesteacherDeskIcon = [
  550. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  551. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  552. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  553. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  554. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  557. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  558. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  559. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  560. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. ];
  565. //教科院实小教师桌面图标的全局变量
  566. U.MD.D.I.siesStudentDeskIcon = [
  567. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  568. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  569. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  570. ];
  571. //福田
  572. U.MD.D.I.gdjgTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  580. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  581. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. ];
  584. //gdjg
  585. U.MD.D.I.gdjgAdminDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  594. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  595. ];
  596. //hk
  597. U.MD.D.I.hkteacherDeskIcon = [
  598. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  599. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  600. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  601. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  602. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  603. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  604. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  605. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  606. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  607. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  608. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  609. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  610. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  611. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  612. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  613. ];
  614. //hk
  615. U.MD.D.I.hkStudentDeskIcon = [
  616. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  620. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. ];
  622. //香海正覺蓮社佛教正覺中學
  623. U.MD.D.I.hkZJLSteacherDeskIcon = [
  624. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  625. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  627. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  628. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  629. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  630. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  631. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  632. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  633. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  634. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  635. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  636. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  637. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  638. ];
  639. //香海正覺蓮社佛教正覺中學
  640. U.MD.D.I.hkZJLSStudentDeskIcon = [
  641. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. ];
  645. //云海
  646. U.MD.D.I.yunhaiTeacherDeskIcon = [
  647. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  648. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  649. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  650. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  651. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  652. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  653. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  654. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  655. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  656. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  657. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  658. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  659. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  660. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  661. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  662. ];
  663. //福田
  664. U.MD.D.I.heyuanTeacherDeskIcon = [
  665. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  666. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  667. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  668. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  669. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  670. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  671. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  672. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  673. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  674. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  675. ];
  676. //福田
  677. U.MD.D.I.heyuanAdminDeskIcon = [
  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": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. ];
  688. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  689. U.MD.D.I.szherTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  695. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  696. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. ];
  700. //dsei
  701. U.MD.D.I.dseiTeacherDeskIcon = [
  702. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  703. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  704. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  705. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  706. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  707. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  708. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  709. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  710. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  711. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  712. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  713. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  714. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  715. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  716. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  717. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  718. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  719. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  720. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  721. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  722. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  723. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  724. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  725. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  726. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  727. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  728. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  729. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  730. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  731. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  732. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  733. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  734. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  735. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  736. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  737. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  738. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  739. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  740. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  741. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  742. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  743. ];
  744. //dsei
  745. U.MD.D.I.dseiAdminDeskIcon = [
  746. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  747. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  748. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  749. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  750. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  751. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  752. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  753. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  754. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  755. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  756. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  757. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  758. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  759. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  760. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  761. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  762. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  763. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  764. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  765. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  766. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  767. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  768. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  769. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  770. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  771. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  772. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  773. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  774. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  775. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  776. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  777. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  778. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  779. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  780. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  781. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  782. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  783. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  784. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  785. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  786. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  787. ];
  788. //dsei
  789. U.MD.D.I.dseiStudentDeskIcon = [
  790. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  794. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. ];
  796. //未来教育基地
  797. U.MD.D.I.szjkyTeacherDeskIcon = [
  798. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  805. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  806. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  813. ];
  814. //未来教育基地
  815. U.MD.D.I.szjkyAdminDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  824. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  825. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  826. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  827. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  828. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  829. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  830. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  831. ];
  832. //未来教育基地
  833. U.MD.D.I.szjkyStudentDeskIcon = [
  834. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  835. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  836. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  837. ];
  838. //成华教育局
  839. U.MD.D.I.chjyjTeacherDeskIcon = [
  840. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  841. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  842. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  843. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  844. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  845. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  846. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  847. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  848. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  849. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  850. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. ];
  853. //成华教育局chjyj
  854. U.MD.D.I.chjyjAdminDeskIcon = [
  855. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  856. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  857. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  858. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  859. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  860. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  861. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  862. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  863. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjStudentDeskIcon = [
  871. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. ];
  875. //tpc
  876. U.MD.D.I.tpcStudentDeskIcon = [
  877. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. ];
  881. //tpc
  882. U.MD.D.I.tpcTeacherDeskIcon = [
  883. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  884. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  885. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  886. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  887. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  888. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  889. ];
  890. //tpc
  891. U.MD.D.I.tpcAdminDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  897. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  898. ];
  899. //#region 桌面初始化a
  900. /**
  901. * 初始化桌面的起始函数
  902. *
  903. */
  904. U.MD.D.I.init = function () {
  905. if ($("#U_MD_D_K")[0]) {
  906. //初始化桌面图标
  907. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  908. // var clickUrl = ':12588/requestIp.php';
  909. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  910. // U.MD.D.I.Ip = data;
  911. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  912. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  913. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  914. // })
  915. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  916. // })
  917. }
  918. }
  919. /**
  920. * 模式切换
  921. *
  922. */
  923. U.MD.D.I.ModeCheck = function (type) {
  924. if (US.Config.type == type) {
  925. return
  926. }
  927. US.Config.type = type
  928. $('.U_PBL_Check .active')[0].className = ''
  929. if (type == 1) {
  930. $('.U_PBL_Check div')[0].className = 'active'
  931. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  932. } else {
  933. $('.U_PBL_Check div')[1].className = 'active'
  934. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  935. }
  936. //初始化桌面图标
  937. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  938. if (type == 2) {
  939. U.MD.D.I.openApplication("project")
  940. }
  941. }
  942. /**
  943. * 隐藏任务栏
  944. *
  945. * @param {element} 桌面元素
  946. */
  947. U.MD.D.I.hiddenTaskbar = function (el) {
  948. //任务栏位置变小
  949. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  950. //桌面的位置变大
  951. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  952. }
  953. /**
  954. * 隐藏任务栏
  955. *
  956. * @param {element} 桌面元素
  957. */
  958. U.MD.D.I.hiddenTaskbarout = function (el) {
  959. //任务栏位置变小
  960. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  961. //任务栏位置变化
  962. U.selectEl(el).css({ "bottom": "-60px" });
  963. //桌面的位置变大
  964. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  965. }
  966. }
  967. /**
  968. * 初始化打印桌面图标
  969. *
  970. * @param {element} 桌面元素
  971. */
  972. U.MD.D.I.initDesktopIcons = function (el, type) {
  973. var i, //用于循环
  974. _content, //桌面图标元素
  975. _iconcontent, //桌面图标元素
  976. _frag = $$("frag"), //定义一个碎片元素
  977. _type = US.userInfo.type,
  978. _org = US.userInfo.org,
  979. _oid = US.userInfo.organizeid,
  980. _role = US.userInfo.role,
  981. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  982. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  983. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  984. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  985. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  986. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  987. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  988. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  989. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  990. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  991. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  992. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  993. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  994. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  995. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  996. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  997. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  998. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  999. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1000. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1001. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1002. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1003. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1004. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1005. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1006. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1007. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1008. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1009. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1010. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1011. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1012. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1013. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1014. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1015. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1016. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1017. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1018. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1019. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1020. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1021. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1022. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1023. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1024. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1025. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1026. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1027. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1028. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1029. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1030. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1031. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1032. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1033. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1034. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1035. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1036. 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'];
  1037. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1038. //清楚桌面图标
  1039. el.innerHTML = "";
  1040. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1041. _teacherDesktopIconInfo.push(
  1042. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1043. { "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)" } },
  1044. )
  1045. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1046. }
  1047. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1048. _teacherDesktopIconInfo.push(
  1049. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1050. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1051. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1052. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1053. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1054. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1055. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1056. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1057. )
  1058. }
  1059. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1060. _teacherDesktopIconInfo.push(
  1061. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1062. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1063. )
  1064. _studentDesktopIconInfo.push(
  1065. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1066. )
  1067. }
  1068. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1069. _teacherDesktopIconInfo.push(
  1070. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1071. )
  1072. }
  1073. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1074. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1075. if (el.Name == '项目管理') {
  1076. el.Name = 'PBL项目'
  1077. }
  1078. return el
  1079. })
  1080. }
  1081. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1082. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1083. return el.Name != '魔盒识字' && el.Name != '24点'
  1084. })
  1085. }
  1086. 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) {
  1087. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1088. }
  1089. //循环创建桌面图标
  1090. if (type == 1) {
  1091. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1092. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1093. _content = $$("div", {
  1094. className: "U_MD_D_KO",
  1095. "onmousedown": U.UF.C.closure(function (obj) {
  1096. //防止拖动图标即打开了桌面应用
  1097. U.MD.D.click(this, obj);
  1098. }, [_studentDesktopIconInfo[i]]),
  1099. "onclick": U.UF.C.closure(function (obj) {
  1100. //防止拖动图标即打开了桌面应用
  1101. U.MD.D.click(this, obj);
  1102. }, [_studentDesktopIconInfo[i]])
  1103. }, _frag); //
  1104. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1105. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1106. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1107. }
  1108. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1109. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1110. _content = $$("div", {
  1111. className: "U_MD_D_KO",
  1112. "onmousedown": U.UF.C.closure(function (obj) {
  1113. //防止拖动图标即打开了桌面应用
  1114. U.MD.D.click(this, obj);
  1115. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1116. "onclick": U.UF.C.closure(function (obj) {
  1117. //防止拖动图标即打开了桌面应用
  1118. U.MD.D.click(this, obj);
  1119. }, [_hkZJLSStudentDeskIconInfo[i]])
  1120. }, _frag); //
  1121. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1122. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1123. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1124. } //
  1125. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1126. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1127. _content = $$("div", {
  1128. className: "U_MD_D_KO",
  1129. "onmousedown": U.UF.C.closure(function (obj) {
  1130. //防止拖动图标即打开了桌面应用
  1131. U.MD.D.click(this, obj);
  1132. }, [_tpcStudentDeskIconInfo[i]]),
  1133. "onclick": U.UF.C.closure(function (obj) {
  1134. //防止拖动图标即打开了桌面应用
  1135. U.MD.D.click(this, obj);
  1136. }, [_tpcStudentDeskIconInfo[i]])
  1137. }, _frag); //
  1138. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1139. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1140. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1141. } //
  1142. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1143. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1144. _content = $$("div", {
  1145. className: "U_MD_D_KO",
  1146. "onmousedown": U.UF.C.closure(function (obj) {
  1147. //防止拖动图标即打开了桌面应用
  1148. U.MD.D.click(this, obj);
  1149. }, [_chjyjStudentDeskIconInfo[i]]),
  1150. "onclick": U.UF.C.closure(function (obj) {
  1151. //防止拖动图标即打开了桌面应用
  1152. U.MD.D.click(this, obj);
  1153. }, [_chjyjStudentDeskIconInfo[i]])
  1154. }, _frag); //
  1155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1158. }
  1159. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1160. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1161. _content = $$("div", {
  1162. className: "U_MD_D_KO",
  1163. "onmousedown": U.UF.C.closure(function (obj) {
  1164. //防止拖动图标即打开了桌面应用
  1165. U.MD.D.click(this, obj);
  1166. }, [_szjkyStudentDeskIconInfo[i]]),
  1167. "onclick": U.UF.C.closure(function (obj) {
  1168. //防止拖动图标即打开了桌面应用
  1169. U.MD.D.click(this, obj);
  1170. }, [_szjkyStudentDeskIconInfo[i]])
  1171. }, _frag); //
  1172. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1173. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1174. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1175. }
  1176. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1177. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1178. _content = $$("div", {
  1179. className: "U_MD_D_KO",
  1180. "onmousedown": U.UF.C.closure(function (obj) {
  1181. //防止拖动图标即打开了桌面应用
  1182. U.MD.D.click(this, obj);
  1183. }, [_dseiStudentDeskIconInfo[i]]),
  1184. "onclick": U.UF.C.closure(function (obj) {
  1185. //防止拖动图标即打开了桌面应用
  1186. U.MD.D.click(this, obj);
  1187. }, [_dseiStudentDeskIconInfo[i]])
  1188. }, _frag); //
  1189. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1190. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1191. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1192. }
  1193. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1194. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1195. _content = $$("div", {
  1196. className: "U_MD_D_KO",
  1197. "onmousedown": U.UF.C.closure(function (obj) {
  1198. //防止拖动图标即打开了桌面应用
  1199. U.MD.D.click(this, obj);
  1200. }, [_siesStudentDeskIconInfo[i]]),
  1201. "onclick": U.UF.C.closure(function (obj) {
  1202. //防止拖动图标即打开了桌面应用
  1203. U.MD.D.click(this, obj);
  1204. }, [_siesStudentDeskIconInfo[i]])
  1205. }, _frag); //
  1206. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1207. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1208. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1209. }
  1210. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1211. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1212. _content = $$("div", {
  1213. className: "U_MD_D_KO",
  1214. "onmousedown": U.UF.C.closure(function (obj) {
  1215. //防止拖动图标即打开了桌面应用
  1216. U.MD.D.click(this, obj);
  1217. }, [_hkStudentDeskIconInfo[i]]),
  1218. "onclick": U.UF.C.closure(function (obj) {
  1219. //防止拖动图标即打开了桌面应用
  1220. U.MD.D.click(this, obj);
  1221. }, [_hkStudentDeskIconInfo[i]])
  1222. }, _frag); //
  1223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1226. }
  1227. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1228. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1229. _content = $$("div", {
  1230. className: "U_MD_D_KO",
  1231. "onmousedown": U.UF.C.closure(function (obj) {
  1232. //防止拖动图标即打开了桌面应用
  1233. U.MD.D.click(this, obj);
  1234. }, [_studentDesktopIconInfo[i]]),
  1235. "onclick": U.UF.C.closure(function (obj) {
  1236. //防止拖动图标即打开了桌面应用
  1237. U.MD.D.click(this, obj);
  1238. }, [_studentDesktopIconInfo[i]])
  1239. }, _frag); //
  1240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1243. }
  1244. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1245. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1246. _content = $$("div", {
  1247. className: "U_MD_D_KO",
  1248. "onmousedown": U.UF.C.closure(function (obj) {
  1249. //防止拖动图标即打开了桌面应用
  1250. U.MD.D.click(this, obj);
  1251. }, [_tcStudentDeskIconInfo[i]]),
  1252. "onclick": U.UF.C.closure(function (obj) {
  1253. //防止拖动图标即打开了桌面应用
  1254. U.MD.D.click(this, obj);
  1255. }, [_tcStudentDeskIconInfo[i]])
  1256. }, _frag); //
  1257. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1258. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1259. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1260. }
  1261. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1262. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1263. _content = $$("div", {
  1264. className: "U_MD_D_KO",
  1265. "onmousedown": U.UF.C.closure(function (obj) {
  1266. //防止拖动图标即打开了桌面应用
  1267. U.MD.D.click(this, obj);
  1268. }, [_szscStudentDeskIconInfo[i]]),
  1269. "onclick": U.UF.C.closure(function (obj) {
  1270. //防止拖动图标即打开了桌面应用
  1271. U.MD.D.click(this, obj);
  1272. }, [_szscStudentDeskIconInfo[i]])
  1273. }, _frag); //
  1274. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1275. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1276. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1277. }
  1278. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1279. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1280. _content = $$("div", {
  1281. className: "U_MD_D_KO",
  1282. "onmousedown": U.UF.C.closure(function (obj) {
  1283. //防止拖动图标即打开了桌面应用
  1284. U.MD.D.click(this, obj);
  1285. }, [_studentDesktopIconInfo3[i]]),
  1286. "onclick": U.UF.C.closure(function (obj) {
  1287. //防止拖动图标即打开了桌面应用
  1288. U.MD.D.click(this, obj);
  1289. }, [_studentDesktopIconInfo3[i]])
  1290. }, _frag); //
  1291. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1292. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1293. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1294. }
  1295. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1296. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1297. _content = $$("div", {
  1298. className: "U_MD_D_KO",
  1299. "onmousedown": U.UF.C.closure(function (obj) {
  1300. //防止拖动图标即打开了桌面应用
  1301. U.MD.D.click(this, obj);
  1302. }, [_studentDesktopIconInfo2[i]]),
  1303. "onclick": U.UF.C.closure(function (obj) {
  1304. //防止拖动图标即打开了桌面应用
  1305. U.MD.D.click(this, obj);
  1306. }, [_studentDesktopIconInfo2[i]])
  1307. }, _frag); //
  1308. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1309. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1310. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1311. }
  1312. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1313. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1314. _content = $$("div", {
  1315. className: "U_MD_D_KO",
  1316. "onmousedown": U.UF.C.closure(function (obj) {
  1317. //防止拖动图标即打开了桌面应用
  1318. U.MD.D.click(this, obj);
  1319. }, [_wanketeacherDesktopIconInfo[i]]),
  1320. "onclick": U.UF.C.closure(function (obj) {
  1321. //防止拖动图标即打开了桌面应用
  1322. U.MD.D.click(this, obj);
  1323. }, [_wanketeacherDesktopIconInfo[i]])
  1324. }, _frag); //
  1325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1328. }
  1329. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1330. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1331. _content = $$("div", {
  1332. className: "U_MD_D_KO",
  1333. "onmousedown": U.UF.C.closure(function (obj) {
  1334. //防止拖动图标即打开了桌面应用
  1335. U.MD.D.click(this, obj);
  1336. }, [_wankeAdminDesktopIconInfo[i]]),
  1337. "onclick": U.UF.C.closure(function (obj) {
  1338. //防止拖动图标即打开了桌面应用
  1339. U.MD.D.click(this, obj);
  1340. }, [_wankeAdminDesktopIconInfo[i]])
  1341. }, _frag); //
  1342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1345. }
  1346. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1347. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1348. _content = $$("div", {
  1349. className: "U_MD_D_KO",
  1350. "onmousedown": U.UF.C.closure(function (obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_tpcOrganizerDeskIconInfo[i]]),
  1354. "onclick": U.UF.C.closure(function (obj) {
  1355. //防止拖动图标即打开了桌面应用
  1356. U.MD.D.click(this, obj);
  1357. }, [_tpcOrganizerDeskIconInfo[i]])
  1358. }, _frag); //
  1359. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1360. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1361. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1362. }
  1363. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1364. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1365. _content = $$("div", {
  1366. className: "U_MD_D_KO",
  1367. "onmousedown": U.UF.C.closure(function (obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_tpcTeacherDeskIconInfo[i]]),
  1371. "onclick": U.UF.C.closure(function (obj) {
  1372. //防止拖动图标即打开了桌面应用
  1373. U.MD.D.click(this, obj);
  1374. }, [_tpcTeacherDeskIconInfo[i]])
  1375. }, _frag); //
  1376. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1377. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1378. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1379. }
  1380. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1381. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1382. _content = $$("div", {
  1383. className: "U_MD_D_KO",
  1384. "onmousedown": U.UF.C.closure(function (obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_teacherDesktopIconInfo2[i]]),
  1388. "onclick": U.UF.C.closure(function (obj) {
  1389. //防止拖动图标即打开了桌面应用
  1390. U.MD.D.click(this, obj);
  1391. }, [_teacherDesktopIconInfo2[i]])
  1392. }, _frag); //
  1393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1396. }
  1397. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1398. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1399. _content = $$("div", {
  1400. className: "U_MD_D_KO",
  1401. "onmousedown": U.UF.C.closure(function (obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_lotechTeacherDeskIconInfo[i]]),
  1405. "onclick": U.UF.C.closure(function (obj) {
  1406. //防止拖动图标即打开了桌面应用
  1407. U.MD.D.click(this, obj);
  1408. }, [_lotechTeacherDeskIconInfo[i]])
  1409. }, _frag); //
  1410. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1411. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1412. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1413. }//
  1414. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1415. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1416. _content = $$("div", {
  1417. className: "U_MD_D_KO",
  1418. "onmousedown": U.UF.C.closure(function (obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_siesTeacherDeskIconInfo[i]]),
  1422. "onclick": U.UF.C.closure(function (obj) {
  1423. //防止拖动图标即打开了桌面应用
  1424. U.MD.D.click(this, obj);
  1425. }, [_siesTeacherDeskIconInfo[i]])
  1426. }, _frag); //
  1427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1430. }
  1431. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1432. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1433. _content = $$("div", {
  1434. className: "U_MD_D_KO",
  1435. "onmousedown": U.UF.C.closure(function (obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_longhuaTeacherDeskIconInfo[i]]),
  1439. "onclick": U.UF.C.closure(function (obj) {
  1440. //防止拖动图标即打开了桌面应用
  1441. U.MD.D.click(this, obj);
  1442. }, [_longhuaTeacherDeskIconInfo[i]])
  1443. }, _frag); //
  1444. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1445. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1446. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1447. }
  1448. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1449. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function (obj) {
  1457. //防止拖动图标即打开了桌面应用
  1458. U.MD.D.click(this, obj);
  1459. }, [_yunhaiTeacherDeskIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1464. } //_hkStudentDeskIconInfo
  1465. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1466. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function (obj) {
  1474. //防止拖动图标即打开了桌面应用
  1475. U.MD.D.click(this, obj);
  1476. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1481. }
  1482. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1483. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_hkTeacherDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_hkTeacherDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1498. }
  1499. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1500. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_gdjgAdminDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_gdjgAdminDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1515. }
  1516. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1517. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_gdjgTeacherDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_gdjgTeacherDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1534. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_szherTeacherDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_szherTeacherDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1549. }
  1550. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1551. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_heyuannAdminDeskIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_heyuannAdminDeskIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1568. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_heyuanTeacherDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_heyuanTeacherDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1583. } //
  1584. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1585. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_dseiAdminDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_dseiAdminDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1602. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_dseiTeacherDeskIconInfo[i]]),
  1609. "onclick": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_dseiTeacherDeskIconInfo[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1617. } //
  1618. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1619. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_chjyjAdminDeskIconInfo[i]]),
  1626. "onclick": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_chjyjAdminDeskIconInfo[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1634. }//
  1635. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1636. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_chjyjTeacherDeskIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_chjyjTeacherDeskIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1653. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_szjkyAdminDeskIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_szjkyAdminDeskIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1668. }//
  1669. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1670. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_szjkyTeacherDeskIconInfo[i]]),
  1677. "onclick": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_szjkyTeacherDeskIconInfo[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1685. }
  1686. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1687. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_futianAdminDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_futianAdminDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1702. }
  1703. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1704. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_futianTeacherDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_futianTeacherDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1719. }
  1720. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1721. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_MingdeTeacherDeskIcon[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_MingdeTeacherDeskIcon[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1736. }
  1737. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1738. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_lhsAdminDesktopIconInfo[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_lhsAdminDesktopIconInfo[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1755. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_lhsteacherDesktopIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_lhsteacherDesktopIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1770. }
  1771. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1772. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_zhoujiateacherDesktopIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1789. for (i = 0; i < _hanDeskIcon.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_hanDeskIcon[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_hanDeskIcon[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1806. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_orgStemDeskIcon[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_orgStemDeskIcon[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1821. }
  1822. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1823. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_szulsDeskIcon[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_szulsDeskIcon[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1840. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_orgDesktopIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_orgDesktopIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1857. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_schoolDesktopIconInfo[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_schoolDesktopIconInfo[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1872. }
  1873. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1874. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_GMteacherDesktopIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_GMteacherDesktopIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1891. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1892. _content = $$("div", {
  1893. className: "U_MD_D_KO",
  1894. "onmousedown": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_SONGteacherDesktopIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_SONGteacherDesktopIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1906. }
  1907. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1908. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_GMstudentDesktopIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_GMstudentDesktopIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1925. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_tcTeacherDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_tcTeacherDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1942. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_tcOrganizerDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_tcOrganizerDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1957. }
  1958. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1959. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_szscTeacherDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_szscTeacherDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1974. }
  1975. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1976. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1977. _content = $$("div", {
  1978. className: "U_MD_D_KO",
  1979. "onmousedown": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_szscOrganizerDeskIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_szscOrganizerDeskIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1991. }
  1992. } else {
  1993. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1994. _content = $$("div", {
  1995. className: "U_MD_D_KO",
  1996. "onmousedown": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_teacherDesktopIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_teacherDesktopIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2008. }
  2009. }
  2010. } else {
  2011. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. style: { 'width': '124px', 'height': '145px' },
  2015. "onmousedown": U.UF.C.closure(function (obj) {
  2016. //防止拖动图标即打开了桌面应用
  2017. U.MD.D.click(this, obj);
  2018. }, [_easyDesktopIconInfo[i]]),
  2019. "onclick": U.UF.C.closure(function (obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_easyDesktopIconInfo[i]])
  2023. }, _frag); //
  2024. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2025. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2026. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2027. }
  2028. }
  2029. if (type == 1) {
  2030. //加载好后给图标定位
  2031. U.MD.D.iconPostion($(_frag).Child());
  2032. } else {
  2033. //加载好后给图标定位
  2034. U.MD.D.iconPostion2($(_frag).Child());
  2035. }
  2036. //把图标加载到页面
  2037. el.appendChild(_frag);
  2038. }
  2039. /**
  2040. * 显示任务栏
  2041. *
  2042. * @param {element} 桌面元素
  2043. */
  2044. U.MD.D.I.displayTaskbar = function (el) {
  2045. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2046. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2047. //任务栏位置变化
  2048. U.selectEl(el).css({ "bottom": "0px" });
  2049. //桌面位置变话
  2050. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2051. }
  2052. }
  2053. //#region 桌面图标拖动逻辑
  2054. /**
  2055. * 桌面排列图标
  2056. *
  2057. * @param {element} 桌面元素
  2058. * @param {object} 上下相距的距离
  2059. * @param {object} 左右相距的距离
  2060. * @return {object} 命名空间
  2061. */
  2062. U.MD.D.iconPostion = function (childs, top, left) {
  2063. var i; //用于循环处理
  2064. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2065. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2066. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2067. for (i = 0; i < childs.length; i++) {
  2068. //如果竖排top超过了范围处理
  2069. if (top + 95 > US.height - 10) {
  2070. //left超过了页面范围处理,则向上重叠打印处理
  2071. if ((left + 180) > US.width) {
  2072. top -= 110;
  2073. left -= 90;
  2074. }
  2075. //没有超过范围,那么left+90添加到下一个竖排打印
  2076. else {
  2077. left += 90;
  2078. top = 15;
  2079. };
  2080. }
  2081. //给图标的位置赋值
  2082. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2083. if (i < childs.length - 1) {
  2084. //页面图标每次向下加95
  2085. top += 95;
  2086. }
  2087. }
  2088. //返回最后调用的图标的位置
  2089. return [top, left];
  2090. }
  2091. /**
  2092. * 桌面排列图标
  2093. *
  2094. * @param {element} 桌面元素
  2095. * @param {object} 上下相距的距离
  2096. * @param {object} 左右相距的距离
  2097. * @return {object} 命名空间
  2098. */
  2099. U.MD.D.iconPostion2 = function (childs, top, left) {
  2100. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2101. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2102. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2103. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2104. for (i = 0; i < childs.length; i++) {
  2105. //如果竖排top超过了范围处理
  2106. if (left + 150 > US.width - 10) {
  2107. //left超过了页面范围处理,则向上重叠打印处理
  2108. if ((top + 180) > US.Height) {
  2109. top -= 150;
  2110. left -= 150;
  2111. }
  2112. //没有超过范围,那么left+90添加到下一个竖排打印
  2113. else {
  2114. top += 150;
  2115. left = ol;
  2116. };
  2117. }
  2118. //给图标的位置赋值
  2119. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2120. if (i < childs.length - 1) {
  2121. //页面图标每次向下加95
  2122. left += 150;
  2123. }
  2124. }
  2125. //返回最后调用的图标的位置
  2126. return [top, left];
  2127. }
  2128. /**
  2129. * 桌面点击事件逻辑
  2130. *
  2131. * @param {element} 桌面元素
  2132. * @param {object} 上下相距的距离
  2133. * @param {object} 左右相距的距离
  2134. * @return {object} 命名空间
  2135. */
  2136. U.MD.D.click = function (el, obj) {
  2137. var _buttonnumber = event.button; //点击的按钮的事件值
  2138. var _userinfo = US.userInfo;
  2139. U.UF.EV.stopBubble(); //阻止向上冒泡
  2140. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2141. if (_buttonnumber < 2) {
  2142. //如果是click事件的处理
  2143. if (event.type == "click") {
  2144. //如果元素在mousemove事件中没有移动则出发click事件
  2145. if (!U.MD.D.I.IsDrag) {
  2146. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2147. U.alert("请先登录您的账号!");
  2148. setTimeout(() => {
  2149. U.MD.U.L.login();
  2150. }, 2000);
  2151. } else {
  2152. //打开应用处理
  2153. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2154. }
  2155. }
  2156. }
  2157. //如果是mouse事件的处理
  2158. else {
  2159. if (US.Config.type == '1') {
  2160. //拖动处理,添加拖动和拖动结束事件
  2161. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2162. }
  2163. }
  2164. U.MD.D.I.IsDrag = false;
  2165. }
  2166. }
  2167. /**
  2168. * 拖动的处理
  2169. *
  2170. */
  2171. U.MD.D.iconMove = function () {
  2172. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2173. U.MD.D.I.IsDrag = true;
  2174. }
  2175. /**
  2176. * 拖动结束后,这里是定位处理,以网状的形式定位
  2177. *
  2178. * @param {element} 拖动的元素
  2179. * @return {object} 命名空间
  2180. */
  2181. U.MD.D.iconUp = function (el) {
  2182. var _top = 15,
  2183. _left = 20,
  2184. _margin,
  2185. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2186. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2187. if (_positioninfo["OT"] > 15) {
  2188. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2189. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2190. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2191. }
  2192. if (_positioninfo["OL"] > 20) {
  2193. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2194. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2195. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2196. }
  2197. //while循环判断么一个重叠的元素
  2198. do {
  2199. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2200. _top = _positioninfo[0] + 95; //得到定位后的top
  2201. _left = _positioninfo[1]; //得到定位后的left
  2202. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2203. }
  2204. /**
  2205. * 判断拖动后图标是否重叠
  2206. *
  2207. * @param {element} 拖动的元素
  2208. * @param {element} 桌面所有的元素
  2209. * @param {array} 拖动元素的位置
  2210. ----------[0] 上 top
  2211. ----------[1] 左 left
  2212. * @return {object} 命名空间
  2213. */
  2214. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2215. //循环所有的图标
  2216. for (var i = 0; i < childs.length; i++) {
  2217. //判断有没有和该图标诶子重叠的元素
  2218. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2219. return childs[i]; //如果有返回
  2220. }
  2221. }
  2222. }
  2223. //#endregion
  2224. //#endregion
  2225. //#region 桌面应用
  2226. /**
  2227. * 打开应用
  2228. *
  2229. * @param {string} 类型
  2230. -----------------Disk 网盘系统
  2231. -----------------PDisk 学习系统网盘
  2232. -----------------Poto 图片
  2233. -----------------Video 视频
  2234. -----------------Music 音乐
  2235. -----------------Word word
  2236. -----------------Excel excel
  2237. -----------------Txt 记事本
  2238. -----------------PB 学习系统
  2239. -----------------Blog 朋友圈系统
  2240. -----------------FTP ftp系统
  2241. -----------------Group 好友群
  2242. -----------------SY 首页系统
  2243. -----------------Set 个人设置
  2244. -----------------XSet 系统设置
  2245. -----------------App 我们所有的app
  2246. -----------------BC c.1473.cn 平台
  2247. -----------------CWeb d.1473.cn 变成平台
  2248. -----------------其他的外联系统 我们统一用iframe打开
  2249. * @param {array} 类型
  2250. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2251. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2252. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2253. 如果第一个参数为其他,则无第二个参数
  2254. * @returns {array}
  2255. */
  2256. window.addEventListener('message', function (e) { // 监听 message 事件
  2257. // alert(e.data.type);
  2258. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2259. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2260. //3是展示全部阶段 2学生 1老师 4专家
  2261. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2262. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2263. //3是展示全部阶段 2学生 1老师 4专家
  2264. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2265. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2266. //3是展示全部阶段 2学生 1老师 4专家
  2267. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2268. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2269. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2270. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2271. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2272. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2273. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2274. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2275. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2276. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2277. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2278. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2279. //3是展示全部阶段 2学生 1老师 4专家
  2280. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2281. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2282. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2283. U.MD.D.I.selectUser();
  2284. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2285. var _formel = document.getElementById("study");
  2286. U.UF.F.windowZooming(_formel);
  2287. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2288. var _formel = document.getElementById("studyDetail");
  2289. U.UF.F.windowZooming(_formel);
  2290. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2291. var _formel = document.getElementById("studyDetail");
  2292. U.UF.F.windowZooming(_formel);
  2293. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2294. var _formel = document.getElementById("studentStudy");
  2295. U.UF.F.windowZooming(_formel);
  2296. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2297. // var _formel = document.getElementById("study");
  2298. //如果最大化了,那么就把他缩小
  2299. // if (_formel.ismaximize) {
  2300. // return;
  2301. // }
  2302. // U.UF.F.windowZooming(_formel);
  2303. // U.UF.F.topWindow(_formel);
  2304. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2305. // var _formel = document.getElementById("studyDetail");
  2306. //如果最大化了,那么就把他缩小
  2307. // if (_formel.ismaximize) {
  2308. // return;
  2309. // }
  2310. // U.UF.F.windowZooming(_formel);
  2311. // U.UF.F.topWindow(_formel);
  2312. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2313. // var _formel = document.getElementById("studentStudy");
  2314. // if (_formel.ismaximize) {
  2315. // return;
  2316. // }
  2317. // U.UF.F.windowZooming(_formel);
  2318. // U.UF.F.topWindow(_formel);
  2319. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2320. var _formel = document.getElementById("study");
  2321. // if (_formel.ismaximize) {
  2322. // return;
  2323. // }
  2324. // U.UF.F.windowZooming(_formel);
  2325. U.UF.F.topWindow(_formel);
  2326. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2327. var _formel = document.getElementById("studentIndex");
  2328. U.UF.F.windowZooming(_formel);
  2329. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2330. var _formel = document.getElementById("studyDetailS");
  2331. U.UF.F.windowZooming(_formel);
  2332. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2333. var _formel = document.getElementById("studioIndex");
  2334. U.UF.F.windowZooming(_formel);
  2335. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2336. var _formel = document.getElementById("studyDetailStudio");
  2337. U.UF.F.windowZooming(_formel);
  2338. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2339. var _formel = document.getElementById("studyDetailStudio");
  2340. U.UF.F.windowZooming(_formel);
  2341. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2342. var _formel = document.getElementById("studyDetailNT");
  2343. U.UF.F.windowZooming(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2345. var _formel = document.getElementById("studyDetailS");
  2346. U.UF.F.windowZooming(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2348. var _formel = document.getElementById("studyDetailS");
  2349. U.UF.F.topWindow(_formel);
  2350. } else if (e.data.tools && e.data.tools == "1") {
  2351. // U.MD.D.I.openApplication("whiteboard")
  2352. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2353. } else if (e.data.tools && e.data.tools == "2") {
  2354. U.MD.D.I.openApplication("note")
  2355. } else if (e.data.tools && e.data.tools == "3") {
  2356. // U.MD.D.I.openApplication("mind")
  2357. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2358. } else if (e.data.tools && e.data.tools == "4") {
  2359. U.MD.D.I.openApplication("investigation")
  2360. } else if (e.data.tools && e.data.tools == "6") {
  2361. // U.MD.D.I.openApplication("doc")
  2362. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2363. } else if (e.data.tools && e.data.tools == "7") {
  2364. // U.MD.D.I.openApplication("mindNetwork")
  2365. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2366. } else if (e.data.tools && e.data.tools == "8") {
  2367. U.MD.D.I.openApplication("library")
  2368. } else if (e.data.tools && e.data.tools == "17") {
  2369. U.MD.D.I.openApplication("stuLibrary")
  2370. } else if (e.data.tools && e.data.tools == "18") {
  2371. U.MD.D.I.openApplication("train")
  2372. } else if (e.data.tools && e.data.tools == "21") {
  2373. U.MD.D.I.openApplication("program")
  2374. } else if (e.data.tools && e.data.tools == "22") {
  2375. U.MD.D.I.openApplication("AIprogram2")
  2376. } else if (e.data.tools && e.data.tools == "23") {
  2377. U.MD.D.I.openApplication("Pythonprogram")
  2378. } else if (e.data.tools && e.data.tools == "24") {
  2379. U.MD.D.I.openApplication("AIprogram")
  2380. } else if (e.data.tools && e.data.tools == "25") {
  2381. U.MD.D.I.openApplication("sys")
  2382. } else if (e.data.tools && e.data.tools == "26") {
  2383. // U.MD.D.I.openApplication("courseDesign")
  2384. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2385. } else if (e.data.tools && e.data.tools == "31") {
  2386. U.MD.D.I.openApplication("netWorkPanel")
  2387. } else if (e.data.tools && e.data.tools == "32") {
  2388. U.MD.D.I.openApplication("codeEdit")
  2389. } else if (e.data.tools && e.data.tools == "57") {
  2390. U.MD.D.I.openApplication("CocoPi")
  2391. } else if (e.data.tools && e.data.tools == "63") {
  2392. U.MD.D.I.openApplication("Wood")
  2393. } else if (e.data.tools && e.data.tools == "58") {
  2394. U.MD.D.I.openApplication("car")
  2395. } else if (e.data.tools && e.data.tools == "59") {
  2396. U.MD.D.I.openApplication("lineSearch")
  2397. } else if (e.data.tools && e.data.tools == "60") {
  2398. U.MD.D.I.openApplication("deepLearning")
  2399. } else if (e.data.tools && e.data.tools == "61") {
  2400. U.MD.D.I.openApplication("allHistory")
  2401. } else if (e.data.tools && e.data.tools == "28") {
  2402. U.MD.D.I.openApplication("translation")
  2403. } else if (e.data.tools && e.data.tools == "37") {
  2404. U.MD.D.I.openApplication("mohe")
  2405. } else if (e.data.tools && e.data.tools == "38") {
  2406. U.MD.D.I.openApplication("24game")
  2407. } else if (e.data.tools && e.data.tools == "39") {
  2408. U.MD.D.I.openApplication("GeoGebra")
  2409. } else if (e.data.tools && e.data.tools == "43") {
  2410. U.MD.D.I.openApplication("studentEvaluate")
  2411. } else if (e.data.tools && e.data.tools == "44") {
  2412. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2413. } else if (e.data.tools && e.data.tools == "46") {
  2414. U.MD.D.I.openApplication("project")
  2415. } else if (e.data.tools && e.data.tools == "1s") {
  2416. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2417. } else if (e.data.tools && e.data.tools == "3s") {
  2418. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2419. } else if (e.data.tools && e.data.tools == "6s") {
  2420. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2421. } else if (e.data.tools && e.data.tools == "1studio") {
  2422. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2423. } else if (e.data.tools && e.data.tools == "3studio") {
  2424. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2425. } else if (e.data.tools && e.data.tools == "6studio") {
  2426. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2427. } else if (e.data.tools && e.data.tools == "3y") {
  2428. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2429. } else if (e.data.tools && e.data.tools == "1y") {
  2430. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2431. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2432. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2433. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2434. U.MD.D.I.openApplication("AIAnalyse")
  2435. } else if (e.data.tools && e.data.tools == "1teacher") {
  2436. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2437. } else if (e.data.tools && e.data.tools == "3teacher") {
  2438. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2439. } else if (e.data.tools && e.data.tools == "7teacher") {
  2440. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2441. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2442. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2443. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2444. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2445. } else if (e.data.tools && e.data.tools == "1E") {
  2446. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2447. } else if (e.data.tools && e.data.tools == "3E") {
  2448. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2449. } else if (e.data.tools && e.data.tools == "57y") {
  2450. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2451. } else if (e.data.tools && e.data.tools == "57u") {
  2452. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2453. } else if (e.data.tools && e.data.tools == "57teacher") {
  2454. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2455. } else if (e.data.tools && e.data.tools == "64") {
  2456. U.MD.D.I.openApplication("AIChat")
  2457. } else if (e.data.tools && e.data.tools == "66") {
  2458. U.MD.D.I.openApplication("formulaEdi")
  2459. } else if (e.data.tools && e.data.tools == "67") {
  2460. U.MD.D.I.openApplication("molStr")
  2461. } else if (e.data.tools && e.data.tools == "68") {
  2462. U.MD.D.I.openApplication("timeAxis")
  2463. } else if (e.data.tools && e.data.tools == "openCourse") {
  2464. let _data = {
  2465. typea: e.data.typea || '',
  2466. typeb: e.data.typeb || '',
  2467. typed: e.data.typed || '',
  2468. }
  2469. U.MD.D.I.openInApplication("index", _data)
  2470. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2471. let _data = {
  2472. classid: e.data.classid || '',
  2473. }
  2474. U.MD.D.I.openInApplication("dataClass", _data)
  2475. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2476. let _data = {
  2477. cid: e.data.cid || '',
  2478. gid: e.data.gid || '',
  2479. }
  2480. U.MD.D.I.openInApplication("opencCscl", _data)
  2481. }
  2482. });
  2483. U.MD.D.I.selectUser = function () {
  2484. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2485. if (res.value[0].length > 0) {
  2486. US.userInfo = res.value[0][0];
  2487. $(".userName")[0].innerHTML = US.userInfo.username;
  2488. }
  2489. }, [], { "type": "GET", "withCredentials": true });
  2490. }
  2491. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2492. var _userinfo = US.userInfo, //登录用户信息
  2493. _userid = US.userInfo.userid, //登录用户id
  2494. _oid = _userinfo.organizeid,
  2495. _type = US.userInfo.type,
  2496. _org = US.userInfo.org,
  2497. _role = US.userInfo.role,
  2498. _classId = US.userInfo.classid;
  2499. if (_type == 4) {
  2500. tType = 4
  2501. }
  2502. switch (str) {
  2503. case "studyDetailNT": //无终端模式
  2504. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2505. setTimeout(() => {
  2506. U.MD.U.L.login();
  2507. }, 2000);
  2508. } else {
  2509. _formdiv = new U.UF.UI.form(
  2510. "课程详情",
  2511. $$("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 }), {
  2512. "id": "studyDetailNT",
  2513. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2514. "onresize": function () { }
  2515. }, {
  2516. closecallback: function () { }
  2517. }, { "style": { "height": "36px" } }).form; //创建窗体
  2518. _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); } }
  2519. break;
  2520. }
  2521. case "studyDetail":
  2522. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2523. setTimeout(() => {
  2524. U.MD.U.L.login();
  2525. }, 2000);
  2526. } else {
  2527. _formdiv = new U.UF.UI.form(
  2528. "课程详情",
  2529. $$("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 }), {
  2530. "id": "studyDetail",
  2531. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2532. "onresize": function () { }
  2533. }, {
  2534. closecallback: function () { }
  2535. }, { "style": { "height": "36px" } }).form; //创建窗体
  2536. _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); } }
  2537. break;
  2538. }
  2539. case "studyDetailS":
  2540. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2541. setTimeout(() => {
  2542. U.MD.U.L.login();
  2543. }, 2000);
  2544. } else {
  2545. _formdiv = new U.UF.UI.form(
  2546. "项目详情",
  2547. $$("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 }), {
  2548. "id": "studyDetailS",
  2549. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2550. "onresize": function () { }
  2551. }, {
  2552. closecallback: function () { }
  2553. }, { "style": { "height": "36px" } }).form; //创建窗体
  2554. _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); } }
  2555. break;
  2556. }
  2557. case "studyDetailStudio":
  2558. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2559. setTimeout(() => {
  2560. U.MD.U.L.login();
  2561. }, 2000);
  2562. } else {
  2563. _formdiv = new U.UF.UI.form(
  2564. "工作详情",
  2565. $$("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 }), {
  2566. "id": "studyDetailStudio",
  2567. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2568. "onresize": function () { }
  2569. }, {
  2570. closecallback: function () { }
  2571. }, { "style": { "height": "36px" } }).form; //创建窗体
  2572. _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); } }
  2573. break;
  2574. }
  2575. case "studyDetailS5":
  2576. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2577. setTimeout(() => {
  2578. U.MD.U.L.login();
  2579. }, 2000);
  2580. } else {
  2581. _formdiv = new U.UF.UI.form(
  2582. "项目详情",
  2583. $$("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 }), {
  2584. "id": "studyDetailS",
  2585. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2586. "onresize": function () { }
  2587. }, {
  2588. closecallback: function () { }
  2589. }, { "style": { "height": "36px" } }).form; //创建窗体
  2590. _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); } }
  2591. break;
  2592. }
  2593. case "studyDetailGM":
  2594. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2595. setTimeout(() => {
  2596. U.MD.U.L.login();
  2597. }, 2000);
  2598. } else {
  2599. _formdiv = new U.UF.UI.form(
  2600. "课程详情",
  2601. $$("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 }), {
  2602. "id": "studyDetail",
  2603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2604. "onresize": function () { }
  2605. }, {
  2606. closecallback: function () { }
  2607. }, { "style": { "height": "36px" } }).form; //创建窗体
  2608. _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); } }
  2609. break;
  2610. }
  2611. case "hanUrl":
  2612. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2613. setTimeout(() => {
  2614. U.MD.U.L.login();
  2615. }, 2000);
  2616. } else {
  2617. _formdiv = new U.UF.UI.form(
  2618. "汉字宫",
  2619. $$("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" }), {
  2620. "id": "hanUrl",
  2621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2622. "onresize": function () { }
  2623. }, {
  2624. closecallback: function () { }
  2625. }, { "style": { "height": "36px" } }).form; //创建窗体
  2626. _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); } }
  2627. break;
  2628. }
  2629. case "index":
  2630. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2631. setTimeout(() => {
  2632. U.MD.U.L.login();
  2633. }, 2000);
  2634. } else {
  2635. _formdiv = new U.UF.UI.form(
  2636. "课程中心",
  2637. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2638. "id": "study",
  2639. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2640. "onresize": function () { }
  2641. }, {
  2642. closecallback: function () { }
  2643. }, { "style": { "height": "36px" } }).form; //创建窗体
  2644. _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); } }
  2645. break;
  2646. }
  2647. case "dataClass":
  2648. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2649. setTimeout(() => {
  2650. U.MD.U.L.login();
  2651. }, 2000);
  2652. } else {
  2653. _formdiv = new U.UF.UI.form(
  2654. "数据报告",
  2655. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2656. "id": "dataClass",
  2657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2658. "onresize": function () { }
  2659. }, {
  2660. closecallback: function () { }
  2661. }, { "style": { "height": "36px" } }).form; //创建窗体
  2662. _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); } }
  2663. break;
  2664. }
  2665. case "opencCscl":
  2666. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2667. setTimeout(() => {
  2668. U.MD.U.L.login();
  2669. }, 2000);
  2670. } else {
  2671. _formdiv = new U.UF.UI.form(
  2672. "协同建构",
  2673. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2674. "id": "futureClass",
  2675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2676. "onresize": function () { }
  2677. }, {
  2678. closecallback: function () { }
  2679. }, { "style": { "height": "36px" } }).form; //创建窗体
  2680. _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); } }
  2681. break;
  2682. }
  2683. }
  2684. }
  2685. U.MD.D.I.openApplication = function (str, obj, info) {
  2686. obj = obj || {};
  2687. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2688. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2689. _userinfo = US.userInfo, //登录用户信息
  2690. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2691. _oid = obj.organizeid || _userinfo.organizeid,
  2692. _type = US.userInfo.type,
  2693. _org = US.userInfo.org,
  2694. _role = US.userInfo.role,
  2695. _classId = US.userInfo.classid,
  2696. _TscreenType = 1
  2697. _screenType = 2,
  2698. _SscreenType = 3;
  2699. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2700. return;
  2701. }
  2702. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2703. switch (str) {
  2704. case "studnetProject": //好友打开
  2705. _formdiv = new U.UF.UI.form(
  2706. "我的项目",
  2707. $$("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 }), {
  2708. "id": "studnetProject",
  2709. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2710. "onresize": function () { }
  2711. }, {
  2712. closecallback: function () { }
  2713. }, { "style": { "height": "36px" } }).form; //创建窗体
  2714. _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); } }
  2715. break;
  2716. case "studentEvaluate": //好友打开
  2717. _formdiv = new U.UF.UI.form(
  2718. "我的评价",
  2719. $$("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 }), {
  2720. "id": "studentEvaluate",
  2721. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2722. "onresize": function () { }
  2723. }, {
  2724. closecallback: function () { }
  2725. }, { "style": { "height": "36px" } }).form; //创建窗体
  2726. _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); } }
  2727. break;
  2728. case "my":
  2729. _formdiv = new U.UF.UI.form(
  2730. "我的资料",
  2731. $$("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 }), {
  2732. "id": "my",
  2733. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2734. "onresize": function () { }
  2735. }, {
  2736. closecallback: function () { }
  2737. }, { "style": { "height": "36px" } }).form; //创建窗体
  2738. _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); } }
  2739. break;
  2740. case "program":
  2741. _formdiv = new U.UF.UI.form(
  2742. "编程平台",
  2743. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2744. "id": "program",
  2745. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2746. "onresize": function () { }
  2747. }, {
  2748. closecallback: function () { }
  2749. }, { "style": { "height": "36px" } }).form; //创建窗体
  2750. _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); } }
  2751. break;
  2752. case "library":
  2753. _formdiv = new U.UF.UI.form(
  2754. "素材库",
  2755. $$("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 }), {
  2756. "id": "library",
  2757. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function () { }
  2759. }, {
  2760. closecallback: function () { }
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _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); } }
  2763. break;
  2764. case "whiteboard":
  2765. _formdiv = new U.UF.UI.form(
  2766. "电子白板",
  2767. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2768. "id": "whiteboard",
  2769. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2770. "onresize": function () { }
  2771. }, {
  2772. closecallback: function () { }
  2773. }, { "style": { "height": "36px" } }).form; //创建窗体
  2774. _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); } }
  2775. break;
  2776. case "investigation":
  2777. _formdiv = new U.UF.UI.form(
  2778. "问卷调查",
  2779. $$("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 }), {
  2780. "id": "investigation",
  2781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2782. "onresize": function () { }
  2783. }, {
  2784. closecallback: function () { }
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _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); } }
  2787. break;
  2788. case "note":
  2789. _formdiv = new U.UF.UI.form(
  2790. "便签分类",
  2791. $$("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 }), {
  2792. "id": "note",
  2793. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2794. "onresize": function () { }
  2795. }, {
  2796. closecallback: function () { }
  2797. }, { "style": { "height": "36px" } }).form; //创建窗体
  2798. _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); } }
  2799. break;
  2800. // case "score":
  2801. // _formdiv = new U.UF.UI.form(
  2802. // "量规评分",
  2803. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2804. // "id": "score",
  2805. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2806. // "onresize": function() {}
  2807. // }, {
  2808. // closecallback: function() {}
  2809. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2810. // _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); } }
  2811. // break;
  2812. case "mind":
  2813. _formdiv = new U.UF.UI.form(
  2814. "思维导图",
  2815. $$("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"
  2816. "id": "mind",
  2817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2818. "onresize": function () { }
  2819. }, {
  2820. closecallback: function () { }
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _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); } }
  2823. break;
  2824. case "doc":
  2825. // U.MD.D.I.isRoom();
  2826. _formdiv = new U.UF.UI.form(
  2827. "协同文档",
  2828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2829. "id": "doc",
  2830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2831. "onresize": function () { }
  2832. }, {
  2833. closecallback: function () { }
  2834. }, { "style": { "height": "36px" } }).form; //创建窗体
  2835. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2836. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2837. // })
  2838. _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); } }
  2839. break;
  2840. case "studentStudy":
  2841. _formdiv = new U.UF.UI.form(
  2842. "课程中心",
  2843. $$("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
  2844. "id": "studentStudy",
  2845. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2851. break;
  2852. case "train": //好友打开
  2853. _formdiv = new U.UF.UI.form(
  2854. "训练平台",
  2855. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2856. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2863. break;
  2864. case "mindNetwork": //好友打开
  2865. _formdiv = new U.UF.UI.form(
  2866. "思维网格",
  2867. $$("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 }), {
  2868. "id": "mindNetwork",
  2869. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2875. break;
  2876. case "studentClassRoom": //好友打开
  2877. _formdiv = new U.UF.UI.form(
  2878. "实时课堂",
  2879. $$("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 }), {
  2880. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2887. setTimeout(() => {
  2888. U.UF.F.windowZooming(_formdiv)
  2889. }, 0);
  2890. break;
  2891. }
  2892. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2893. switch (str) {
  2894. case "studnetProject": //好友打开
  2895. _formdiv = new U.UF.UI.form(
  2896. "我的项目",
  2897. $$("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 }), {
  2898. "id": "studnetProject",
  2899. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2900. "onresize": function () { }
  2901. }, {
  2902. closecallback: function () { }
  2903. }, { "style": { "height": "36px" } }).form; //创建窗体
  2904. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2905. break;
  2906. case "studentEvaluate": //好友打开
  2907. _formdiv = new U.UF.UI.form(
  2908. "我的评价",
  2909. $$("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 }), {
  2910. "id": "studentEvaluate",
  2911. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2912. "onresize": function () { }
  2913. }, {
  2914. closecallback: function () { }
  2915. }, { "style": { "height": "36px" } }).form; //创建窗体
  2916. _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); } }
  2917. break;
  2918. case "my":
  2919. _formdiv = new U.UF.UI.form(
  2920. "我的资料",
  2921. $$("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 }), {
  2922. "id": "my",
  2923. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2924. "onresize": function () { }
  2925. }, {
  2926. closecallback: function () { }
  2927. }, { "style": { "height": "36px" } }).form; //创建窗体
  2928. _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); } }
  2929. break;
  2930. case "program":
  2931. _formdiv = new U.UF.UI.form(
  2932. "编程平台",
  2933. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2934. "id": "program",
  2935. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2936. "onresize": function () { }
  2937. }, {
  2938. closecallback: function () { }
  2939. }, { "style": { "height": "36px" } }).form; //创建窗体
  2940. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2941. break;
  2942. case "library":
  2943. _formdiv = new U.UF.UI.form(
  2944. "素材库",
  2945. $$("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 }), {
  2946. "id": "library",
  2947. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2948. "onresize": function () { }
  2949. }, {
  2950. closecallback: function () { }
  2951. }, { "style": { "height": "36px" } }).form; //创建窗体
  2952. _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); } }
  2953. break;
  2954. case "whiteboard":
  2955. _formdiv = new U.UF.UI.form(
  2956. "电子白板",
  2957. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2958. "id": "whiteboard",
  2959. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2960. "onresize": function () { }
  2961. }, {
  2962. closecallback: function () { }
  2963. }, { "style": { "height": "36px" } }).form; //创建窗体
  2964. _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); } }
  2965. break;
  2966. case "investigation":
  2967. _formdiv = new U.UF.UI.form(
  2968. "问卷调查",
  2969. $$("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 }), {
  2970. "id": "investigation",
  2971. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2972. "onresize": function () { }
  2973. }, {
  2974. closecallback: function () { }
  2975. }, { "style": { "height": "36px" } }).form; //创建窗体
  2976. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2977. break;
  2978. case "note":
  2979. _formdiv = new U.UF.UI.form(
  2980. "便签分类",
  2981. $$("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 }), {
  2982. "id": "note",
  2983. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2984. "onresize": function () { }
  2985. }, {
  2986. closecallback: function () { }
  2987. }, { "style": { "height": "36px" } }).form; //创建窗体
  2988. _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); } }
  2989. break;
  2990. // case "score":
  2991. // _formdiv = new U.UF.UI.form(
  2992. // "量规评分",
  2993. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2994. // "id": "score",
  2995. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2996. // "onresize": function() {}
  2997. // }, {
  2998. // closecallback: function() {}
  2999. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3000. // _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); } }
  3001. // break;
  3002. case "mind":
  3003. _formdiv = new U.UF.UI.form(
  3004. "思维导图",
  3005. $$("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"
  3006. "id": "mind",
  3007. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3008. "onresize": function () { }
  3009. }, {
  3010. closecallback: function () { }
  3011. }, { "style": { "height": "36px" } }).form; //创建窗体
  3012. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3013. break;
  3014. case "doc":
  3015. // U.MD.D.I.isRoom();
  3016. _formdiv = new U.UF.UI.form(
  3017. "协同文档",
  3018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3019. "id": "doc",
  3020. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3021. "onresize": function () { }
  3022. }, {
  3023. closecallback: function () { }
  3024. }, { "style": { "height": "36px" } }).form; //创建窗体
  3025. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3026. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3027. })
  3028. _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); } }
  3029. break;
  3030. case "train": //好友打开
  3031. _formdiv = new U.UF.UI.form(
  3032. "训练平台",
  3033. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3034. "id": "train",
  3035. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. "onresize": function () { }
  3037. }, {
  3038. closecallback: function () { }
  3039. }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. _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); } }
  3041. break;
  3042. case "studentStudy":
  3043. _formdiv = new U.UF.UI.form(
  3044. "课程中心",
  3045. $$("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
  3046. "id": "studentStudy",
  3047. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3048. "onresize": function () { }
  3049. }, {
  3050. closecallback: function () { }
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. _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); } }
  3053. break;
  3054. case "mindNetwork": //好友打开
  3055. _formdiv = new U.UF.UI.form(
  3056. "思维网格",
  3057. $$("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 }), {
  3058. "id": "mindNetwork",
  3059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function () { }
  3061. }, {
  3062. closecallback: function () { }
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. _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); } }
  3065. break;
  3066. case "studentClassRoom": //好友打开
  3067. _formdiv = new U.UF.UI.form(
  3068. "实时课堂",
  3069. $$("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 }), {
  3070. "id": "studentClassRoom",
  3071. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3072. "onresize": function () { }
  3073. }, {
  3074. closecallback: function () { }
  3075. }, { "style": { "height": "36px" } }).form; //创建窗体
  3076. _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); } }
  3077. setTimeout(() => {
  3078. U.UF.F.windowZooming(_formdiv)
  3079. }, 0);
  3080. break;
  3081. }
  3082. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3083. //选择应用处理
  3084. switch (str) {
  3085. case "project": //好友打开
  3086. _formdiv = new U.UF.UI.form(
  3087. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3088. $$("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 }), {
  3089. "id": "project",
  3090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3091. "onresize": function () { }
  3092. }, {
  3093. closecallback: function () { }
  3094. }, { "style": { "height": "36px" } }).form; //创建窗体
  3095. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3096. break;
  3097. case "student":
  3098. _formdiv = new U.UF.UI.form(
  3099. "学生管理",
  3100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3101. "id": "student",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function () { }
  3104. }, {
  3105. closecallback: function () { }
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3108. break;
  3109. case "evaluate":
  3110. _formdiv = new U.UF.UI.form(
  3111. "学生评价",
  3112. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3113. "id": "evaluate",
  3114. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3115. "onresize": function () { }
  3116. }, {
  3117. closecallback: function () { }
  3118. }, { "style": { "height": "36px" } }).form; //创建窗体
  3119. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3120. break;
  3121. case "sys":
  3122. _formdiv = new U.UF.UI.form(
  3123. "目标管理",
  3124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3125. "id": "sys",
  3126. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3127. "onresize": function () { }
  3128. }, {
  3129. closecallback: function () { }
  3130. }, { "style": { "height": "36px" } }).form; //创建窗体
  3131. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3132. break;
  3133. case "courseDesign":
  3134. _formdiv = new U.UF.UI.form(
  3135. "项目设计",
  3136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3137. "id": "courseDesign",
  3138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3144. break;
  3145. case "program":
  3146. _formdiv = new U.UF.UI.form(
  3147. "编程平台",
  3148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3149. "id": "program",
  3150. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3151. "onresize": function () { }
  3152. }, {
  3153. closecallback: function () { }
  3154. }, { "style": { "height": "36px" } }).form; //创建窗体
  3155. _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); } }
  3156. break;
  3157. case "class":
  3158. _formdiv = new U.UF.UI.form(
  3159. "班级管理",
  3160. $$("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 }), {
  3161. "id": "class",
  3162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3163. "onresize": function () { }
  3164. }, {
  3165. closecallback: function () { }
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _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); } }
  3168. break;
  3169. case "Grade":
  3170. _formdiv = new U.UF.UI.form(
  3171. "年级管理",
  3172. $$("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 }), {
  3173. "id": "Grade",
  3174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3175. "onresize": function () { }
  3176. }, {
  3177. closecallback: function () { }
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _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); } }
  3180. break;
  3181. case "teacherOffice":
  3182. _formdiv = new U.UF.UI.form(
  3183. "教研室",
  3184. $$("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 }), {
  3185. "id": "teacherOffice",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function () { }
  3188. }, {
  3189. closecallback: function () { }
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _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); } }
  3192. break;
  3193. case "my":
  3194. _formdiv = new U.UF.UI.form(
  3195. "我的资料",
  3196. $$("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 }), {
  3197. "id": "my",
  3198. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3199. "onresize": function () { }
  3200. }, {
  3201. closecallback: function () { }
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _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); } }
  3204. break;
  3205. case "notice":
  3206. _formdiv = new U.UF.UI.form(
  3207. "通知公告",
  3208. $$("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 }), {
  3209. "id": "notice",
  3210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3211. "onresize": function () { }
  3212. }, {
  3213. closecallback: function () { }
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. case "library":
  3218. _formdiv = new U.UF.UI.form(
  3219. "素材库",
  3220. $$("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 }), {
  3221. "id": "library",
  3222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. "onresize": function () { }
  3224. }, {
  3225. closecallback: function () { }
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _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); } }
  3228. break;
  3229. case "whiteboard":
  3230. _formdiv = new U.UF.UI.form(
  3231. "电子白板",
  3232. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3233. "id": "whiteboard",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function () { }
  3236. }, {
  3237. closecallback: function () { }
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. case "investigation":
  3242. _formdiv = new U.UF.UI.form(
  3243. "问卷调查",
  3244. $$("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 }), {
  3245. "id": "investigation",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function () { }
  3248. }, {
  3249. closecallback: function () { }
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. case "note":
  3254. _formdiv = new U.UF.UI.form(
  3255. "便签分类",
  3256. $$("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 }), {
  3257. "id": "note",
  3258. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. // case "score":
  3266. // _formdiv = new U.UF.UI.form(
  3267. // "量规评分",
  3268. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3269. // "id": "score",
  3270. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. // "onresize": function() {}
  3272. // }, {
  3273. // closecallback: function() {}
  3274. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. // _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); } }
  3276. // break;
  3277. case "mind":
  3278. _formdiv = new U.UF.UI.form(
  3279. "思维导图",
  3280. $$("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"
  3281. "id": "mind",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "doc":
  3290. // U.MD.D.I.isRoom();
  3291. _formdiv = new U.UF.UI.form(
  3292. "协同文档",
  3293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3294. "id": "doc",
  3295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3301. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3302. })
  3303. _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); } }
  3304. break;
  3305. case "study":
  3306. _formdiv = new U.UF.UI.form(
  3307. "课程中心",
  3308. $$("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
  3309. "id": "study",
  3310. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3316. break;
  3317. case "mindNetwork": //好友打开
  3318. _formdiv = new U.UF.UI.form(
  3319. "思维网格",
  3320. $$("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 }), {
  3321. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3328. break;
  3329. case "train": //好友打开
  3330. _formdiv = new U.UF.UI.form(
  3331. "训练平台",
  3332. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3333. "id": "mindNetwork",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3340. break;
  3341. case "teacherClassRoom": //好友打开
  3342. _formdiv = new U.UF.UI.form(
  3343. "实时课堂",
  3344. $$("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 }), {
  3345. "id": "teacherClassRoom",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function () { }
  3348. }, {
  3349. closecallback: function () { }
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. setTimeout(() => {
  3353. U.UF.F.windowZooming(_formdiv)
  3354. }, 0);
  3355. break;
  3356. }
  3357. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3358. switch (str) {
  3359. case "project": //好友打开
  3360. _formdiv = new U.UF.UI.form(
  3361. "课程管理",
  3362. $$("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 }), {
  3363. "id": "project",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function () { }
  3366. }, {
  3367. closecallback: function () { }
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. _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); } }
  3370. break;
  3371. case "evaluate":
  3372. _formdiv = new U.UF.UI.form(
  3373. "学生评价",
  3374. $$("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 }), {
  3375. "id": "evaluate",
  3376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3377. "onresize": function () { }
  3378. }, {
  3379. closecallback: function () { }
  3380. }, { "style": { "height": "36px" } }).form; //创建窗体
  3381. _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); } }
  3382. break;
  3383. case "notice":
  3384. _formdiv = new U.UF.UI.form(
  3385. "通知公告",
  3386. $$("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 }), {
  3387. "id": "notice",
  3388. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3389. "onresize": function () { }
  3390. }, {
  3391. closecallback: function () { }
  3392. }, { "style": { "height": "36px" } }).form; //创建窗体
  3393. _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); } }
  3394. break;
  3395. case "stuLibrary":
  3396. _formdiv = new U.UF.UI.form(
  3397. "学习资料",
  3398. $$("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 }), {
  3399. "id": "stuLibrary",
  3400. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3401. "onresize": function () { }
  3402. }, {
  3403. closecallback: function () { }
  3404. }, { "style": { "height": "36px" } }).form; //创建窗体
  3405. _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); } }
  3406. break;
  3407. case "program":
  3408. _formdiv = new U.UF.UI.form(
  3409. "编程平台",
  3410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3411. "id": "program",
  3412. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3413. "onresize": function () { }
  3414. }, {
  3415. closecallback: function () { }
  3416. }, { "style": { "height": "36px" } }).form; //创建窗体
  3417. _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); } }
  3418. break;
  3419. case "whiteboard":
  3420. _formdiv = new U.UF.UI.form(
  3421. "电子白板",
  3422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3423. "id": "whiteboard",
  3424. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function () { }
  3426. }, {
  3427. closecallback: function () { }
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. _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); } }
  3430. break;
  3431. case "investigation":
  3432. _formdiv = new U.UF.UI.form(
  3433. "问卷调查",
  3434. $$("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 }), {
  3435. "id": "investigation",
  3436. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3437. "onresize": function () { }
  3438. }, {
  3439. closecallback: function () { }
  3440. }, { "style": { "height": "36px" } }).form; //创建窗体
  3441. _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); } }
  3442. break;
  3443. case "mind":
  3444. _formdiv = new U.UF.UI.form(
  3445. "思维导图",
  3446. $$("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"
  3447. "id": "mind",
  3448. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "doc":
  3456. // U.MD.D.I.isRoom();
  3457. _formdiv = new U.UF.UI.form(
  3458. "协同文档",
  3459. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3460. "id": "doc",
  3461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3462. "onresize": function () { }
  3463. }, {
  3464. closecallback: function () { }
  3465. }, { "style": { "height": "36px" } }).form; //创建窗体
  3466. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3467. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3468. })
  3469. _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); } }
  3470. break;
  3471. case "study":
  3472. _formdiv = new U.UF.UI.form(
  3473. "课程中心",
  3474. $$("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
  3475. "id": "study",
  3476. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3477. "onresize": function () { }
  3478. }, {
  3479. closecallback: function () { }
  3480. }, { "style": { "height": "36px" } }).form; //创建窗体
  3481. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3482. break;
  3483. case "mindNetwork": //好友打开
  3484. _formdiv = new U.UF.UI.form(
  3485. "思维网格",
  3486. $$("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 }), {
  3487. "id": "mindNetwork",
  3488. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3494. break;
  3495. case "train": //好友打开
  3496. _formdiv = new U.UF.UI.form(
  3497. "训练平台",
  3498. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3499. "id": "train",
  3500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function () { }
  3502. }, {
  3503. closecallback: function () { }
  3504. }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3506. break;
  3507. case "sys":
  3508. _formdiv = new U.UF.UI.form(
  3509. "目标管理",
  3510. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3511. "id": "sys",
  3512. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3518. break;
  3519. case "courseDesign":
  3520. _formdiv = new U.UF.UI.form(
  3521. "项目设计",
  3522. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3523. "id": "courseDesign",
  3524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3530. break;
  3531. }
  3532. } else if (!_type) {
  3533. switch (str) {
  3534. case "my":
  3535. _formdiv = new U.UF.UI.form(
  3536. "我的资料",
  3537. $$("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 }), {
  3538. "id": "my",
  3539. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3545. break;
  3546. }
  3547. }
  3548. switch (str) {
  3549. // AIprogram2 AI体验 aihub.cocorobo.cn
  3550. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3551. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3552. case "formulaEdi": //公式编辑
  3553. _formdiv = new U.UF.UI.form(
  3554. "公式编辑",
  3555. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3556. "id": "formulaEdi",
  3557. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "molStr": //分子结构
  3565. _formdiv = new U.UF.UI.form(
  3566. "分子结构",
  3567. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3568. "id": "molStr",
  3569. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "timeAxis": //时间轴
  3577. _formdiv = new U.UF.UI.form(
  3578. "时间轴",
  3579. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3580. "id": "timeAxis",
  3581. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. break;
  3588. case "AIprogram2": //AI体验
  3589. _formdiv = new U.UF.UI.form(
  3590. "AI体验",
  3591. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3592. "id": "AIprogram2",
  3593. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. break;
  3600. case "Pythonprogram": //python编程
  3601. _formdiv = new U.UF.UI.form(
  3602. "Python编程",
  3603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3604. "id": "Pythonprogram",
  3605. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "AIprogram": //ai编程
  3613. _formdiv = new U.UF.UI.form(
  3614. "AI编程平台",
  3615. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3616. "id": "AIprogram",
  3617. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. case "CocoPi": //CocoPi
  3625. _formdiv = new U.UF.UI.form(
  3626. "CocoPi",
  3627. $$("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" }), {
  3628. "id": "CocoPi",
  3629. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _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); } }
  3635. break;
  3636. case "Wood": //Wood
  3637. _formdiv = new U.UF.UI.form(
  3638. "海龟编程",
  3639. $$("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/" }), {
  3640. "id": "Wood",
  3641. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "car": //模拟驾驶
  3649. _formdiv = new U.UF.UI.form(
  3650. "模拟驾驶",
  3651. $$("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/" }), {
  3652. "id": "car",
  3653. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. case "lineSearch": //路径搜索
  3661. _formdiv = new U.UF.UI.form(
  3662. "路径搜索",
  3663. $$("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/" }), {
  3664. "id": "lineSearch",
  3665. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3666. "onresize": function () { }
  3667. }, {
  3668. closecallback: function () { }
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _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); } }
  3671. break;
  3672. case "deepLearning": //深度学习
  3673. _formdiv = new U.UF.UI.form(
  3674. "深度学习",
  3675. $$("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/#" }), {
  3676. "id": "deepLearning",
  3677. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "allHistory": //深度学习
  3685. _formdiv = new U.UF.UI.form(
  3686. "全历史",
  3687. $$("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/" }), {
  3688. "id": "allHistory",
  3689. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "chatPDF": //ai编程
  3697. _formdiv = new U.UF.UI.form(
  3698. "chatPDF",
  3699. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3700. "id": "chatPDF",
  3701. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3707. break;
  3708. case "resources": //国家教育
  3709. _formdiv = new U.UF.UI.form(
  3710. "国家教育",
  3711. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3712. "id": "resources",
  3713. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "codeEdit": //源码编辑
  3721. _formdiv = new U.UF.UI.form(
  3722. "源码编辑",
  3723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3724. "id": "codeEdit",
  3725. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break; //
  3732. case "MindMap": //MindMap
  3733. _formdiv = new U.UF.UI.form(
  3734. "MindMap",
  3735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3736. "id": "MindMap",
  3737. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3743. break;
  3744. case "netWorkPanel": //netWorkPanel
  3745. _formdiv = new U.UF.UI.form(
  3746. "netWorkPanel",
  3747. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3748. "id": "netWorkPanel",
  3749. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. closecallback: function () { }
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. case "GeoGebra": //GeoGebra
  3757. _formdiv = new U.UF.UI.form(
  3758. "GeoGebra",
  3759. $$("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" }), {
  3760. "id": "GeoGebra",
  3761. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _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); } }
  3767. break;
  3768. case "translation": //翻译
  3769. _formdiv = new U.UF.UI.form(
  3770. "翻译",
  3771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3772. "id": "translation",
  3773. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function () { }
  3775. }, {
  3776. closecallback: function () { }
  3777. }, { "style": { "height": "36px" } }).form; //创建窗体
  3778. _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); } }
  3779. break;
  3780. case "mohe": //魔盒
  3781. _formdiv = new U.UF.UI.form(
  3782. "魔盒识字",
  3783. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3784. "id": "mohe",
  3785. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3786. "onresize": function () { }
  3787. }, {
  3788. closecallback: function () { }
  3789. }, { "style": { "height": "36px" } }).form; //创建窗体
  3790. _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); } }
  3791. break;
  3792. case "24game": //24点
  3793. _formdiv = new U.UF.UI.form(
  3794. "24点",
  3795. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3796. "id": "24game",
  3797. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _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); } }
  3803. break;
  3804. case "case":
  3805. _formdiv = new U.UF.UI.form(
  3806. "课程进展",
  3807. $$("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 }), {
  3808. "id": "case",
  3809. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3810. "onresize": function () { }
  3811. }, {
  3812. closecallback: function () { }
  3813. }, { "style": { "height": "36px" } }).form; //创建窗体
  3814. _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); } }
  3815. break;
  3816. case "snf":
  3817. _formdiv = new U.UF.UI.form(
  3818. "赛诺梵",
  3819. $$("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" }), {
  3820. "id": "snf",
  3821. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3822. "onresize": function () { }
  3823. }, {
  3824. closecallback: function () { }
  3825. }, { "style": { "height": "36px" } }).form; //创建窗体
  3826. _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); } }
  3827. break;
  3828. case "hanFamily":
  3829. _formdiv = new U.UF.UI.form(
  3830. "汉字家族",
  3831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3832. "id": "hanFamily",
  3833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3834. "onresize": function () { }
  3835. }, {
  3836. closecallback: function () { }
  3837. }, { "style": { "height": "36px" } }).form; //创建窗体
  3838. _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); } }
  3839. break;
  3840. case "hanClassics":
  3841. _formdiv = new U.UF.UI.form(
  3842. "国学经典",
  3843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3844. "id": "hanClassics",
  3845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3846. "onresize": function () { }
  3847. }, {
  3848. closecallback: function () { }
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. _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); } }
  3851. break;
  3852. case "hanTraining":
  3853. _formdiv = new U.UF.UI.form(
  3854. "笔画训练",
  3855. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3856. "id": "hanTraining",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function () { }
  3859. }, {
  3860. closecallback: function () { }
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. _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); } }
  3863. break;
  3864. case "hanClass":
  3865. _formdiv = new U.UF.UI.form(
  3866. "书法课堂",
  3867. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3868. "id": "hanClass",
  3869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3870. "onresize": function () { }
  3871. }, {
  3872. closecallback: function () { }
  3873. }, { "style": { "height": "36px" } }).form; //创建窗体
  3874. _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); } }
  3875. break;
  3876. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3880. "id": "han",
  3881. "style": { "width": "90%", "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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3887. break;
  3888. case "projectGM": //课程管理
  3889. _formdiv = new U.UF.UI.form(
  3890. "课程管理",
  3891. $$("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 }), {
  3892. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3899. break;
  3900. case "studyGM": //课程中心
  3901. _formdiv = new U.UF.UI.form(
  3902. "课程中心",
  3903. $$("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
  3904. "id": "study",
  3905. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3911. break;
  3912. // studentGM
  3913. case "studentGM": //学生管理
  3914. _formdiv = new U.UF.UI.form(
  3915. "学生管理",
  3916. $$("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 }), {
  3917. "id": "studentGM",
  3918. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _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); } }
  3924. break;
  3925. case "evaluateGM": //学生评价
  3926. _formdiv = new U.UF.UI.form(
  3927. "学生评价",
  3928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3929. "id": "evaluateGM",
  3930. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. // classGM
  3938. case "classGM": //班级管理
  3939. _formdiv = new U.UF.UI.form(
  3940. "班级管理",
  3941. $$("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 }), {
  3942. "id": "classGM",
  3943. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3949. break;
  3950. // dataGM
  3951. case "dataGM":
  3952. _formdiv = new U.UF.UI.form(
  3953. "我的资料",
  3954. $$("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 }), {
  3955. "id": "dataGM",
  3956. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function () { }
  3958. }, {
  3959. closecallback: function () { }
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _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); } }
  3962. break;
  3963. // caseGM
  3964. case "caseGM": //课程进展
  3965. _formdiv = new U.UF.UI.form(
  3966. "课程进展",
  3967. $$("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 }), {
  3968. "id": "caseGM",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. // meterialGM
  3977. case "meterialGM": //素材库
  3978. _formdiv = new U.UF.UI.form(
  3979. "素材库",
  3980. $$("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 }), {
  3981. "id": "meterialGM",
  3982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. // evaluateSGM
  3990. case "evaluateSGM": //我的评价
  3991. _formdiv = new U.UF.UI.form(
  3992. "我的评价",
  3993. $$("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 }), {
  3994. "id": "evaluateSGM",
  3995. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3996. "onresize": function () { }
  3997. }, {
  3998. closecallback: function () { }
  3999. }, { "style": { "height": "36px" } }).form; //创建窗体
  4000. _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); } }
  4001. break;
  4002. case "jupyter": //jupyter
  4003. _formdiv = new U.UF.UI.form(
  4004. "jupyter",
  4005. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4006. "id": "jupyter",
  4007. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4008. "onresize": function () { }
  4009. }, {
  4010. closecallback: function () { }
  4011. }, { "style": { "height": "36px" } }).form; //创建窗体
  4012. _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); } }
  4013. break;
  4014. case "number": //数字实验室
  4015. _formdiv = new U.UF.UI.form(
  4016. "数字实验室",
  4017. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4018. "id": "number",
  4019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4020. "onresize": function () { }
  4021. }, {
  4022. closecallback: function () { }
  4023. }, { "style": { "height": "36px" } }).form; //创建窗体
  4024. _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); } }
  4025. break;
  4026. case "studentCourse": //项目管理 学生
  4027. _formdiv = new U.UF.UI.form(
  4028. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4029. $$("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 }), {
  4030. "id": "studentCourse",
  4031. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4032. "onresize": function () { }
  4033. }, {
  4034. closecallback: function () { }
  4035. }, { "style": { "height": "36px" } }).form; //创建窗体
  4036. _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); } }
  4037. break;
  4038. case "studentCourseS": //项目管理 老师
  4039. _formdiv = new U.UF.UI.form(
  4040. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4041. $$("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 }), {
  4042. "id": "studentCourseS",
  4043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4044. "onresize": function () { }
  4045. }, {
  4046. closecallback: function () { }
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "studentIndex": //项目中心
  4051. _formdiv = new U.UF.UI.form(
  4052. "项目中心",
  4053. $$("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 }), {
  4054. "id": "studentIndex",
  4055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4056. "onresize": function () { }
  4057. }, {
  4058. closecallback: function () { }
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "CaseDesignS":
  4063. _formdiv = new U.UF.UI.form(
  4064. "项目进展",
  4065. $$("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 }), {
  4066. "id": "case",
  4067. "style": { "width": "90%", "height": "90%", "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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4073. break;
  4074. case "tcStudent": //腾讯学生管理
  4075. _formdiv = new U.UF.UI.form(
  4076. "学生管理",
  4077. $$("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 }), {
  4078. "id": "tcStudent",
  4079. "style": { "width": "90%", "height": "90%", "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4085. break;
  4086. case "tcSchool": //腾讯学校管理
  4087. _formdiv = new U.UF.UI.form(
  4088. "学校管理",
  4089. $$("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 }), {
  4090. "id": "tcSchool",
  4091. "style": { "width": "90%", "height": "90%", "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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4097. break;
  4098. case "tcTeacher": //腾讯学校管理
  4099. _formdiv = new U.UF.UI.form(
  4100. "教师管理",
  4101. $$("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 }), {
  4102. "id": "tcTeacher",
  4103. "style": { "width": "90%", "height": "90%", "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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4109. break;
  4110. case "tcData": //腾讯我的资料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4114. "id": "tcData",
  4115. "style": { "width": "42%", "height": "90%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4121. break;
  4122. case "tcNotice": //腾讯消息通知
  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-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4126. "id": "tcNotice",
  4127. "style": { "width": "90%", "height": "90%", "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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4133. break;
  4134. case "myReport": //好友打开
  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/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4138. "id": "myReport",
  4139. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4145. break;
  4146. case "learnAna": //好友打开
  4147. _formdiv = new U.UF.UI.form(
  4148. "学习分析",
  4149. $$("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 }), {
  4150. "id": "learnAna",
  4151. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "AIChat": //AI共创
  4159. _formdiv = new U.UF.UI.form(
  4160. "AI共创",
  4161. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4162. "id": "AIChat",
  4163. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. istop: true,
  4167. closecallback: function () { $("#aichat_icon").remove(); },
  4168. narrowcallback: function () {
  4169. if (!$("#aichat_icon")[0]) {
  4170. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4171. }
  4172. },
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. case "ainew": //AI共创
  4177. _formdiv = new U.UF.UI.form(
  4178. "AI协同",
  4179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4180. "id": "ainew",
  4181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _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); } }
  4187. break;
  4188. case "futureClass": //AI共创
  4189. _formdiv = new U.UF.UI.form(
  4190. "协同建构",
  4191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4192. "id": "synergyCourse",
  4193. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4194. "onresize": function () { }
  4195. }, {
  4196. closecallback: function () { }
  4197. }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. _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); } }
  4199. break;
  4200. case "dataBoard": //数据看板
  4201. _formdiv = new U.UF.UI.form(
  4202. "数据看板",
  4203. $$("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 }), {
  4204. "id": "dataBoard",
  4205. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _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); } }
  4211. break;
  4212. case "AIAnalyse": //AI共创
  4213. _formdiv = new U.UF.UI.form(
  4214. "AI分析",
  4215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4216. "id": "AIAnalyse",
  4217. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. case "studioCourse": //AI共创
  4225. _formdiv = new U.UF.UI.form(
  4226. "工作管理",
  4227. $$("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 }), {
  4228. "id": "studioCourse",
  4229. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _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); } }
  4235. break;
  4236. case "studioIndex": //AI共创
  4237. _formdiv = new U.UF.UI.form(
  4238. "工作中心",
  4239. $$("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 }), {
  4240. "id": "studioIndex",
  4241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _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); } }
  4247. break;
  4248. case "source":
  4249. _formdiv = new U.UF.UI.form(
  4250. "教学资源",
  4251. $$("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 }), {
  4252. "id": "source",
  4253. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _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); } }
  4259. break;
  4260. }
  4261. //U.MD.D.I.openClick(str);
  4262. //如果有任务栏信息
  4263. if (_taskbar) {
  4264. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4265. }
  4266. }
  4267. // U.MD.D.I.openClick = function(str){
  4268. // var click = '';
  4269. // switch(str){
  4270. // case 'friend':
  4271. // click = '我的好友';
  4272. // break;
  4273. // case 'domain':
  4274. // click = '域名管理';
  4275. // break;
  4276. // case 'disk':
  4277. // click = '我的云盘';
  4278. // break;
  4279. // case 'word':
  4280. // click = 'Word';
  4281. // break;
  4282. // case 'excel':
  4283. // click = 'Execl';
  4284. // break;
  4285. // case 'txt':
  4286. // click = '文本文件';
  4287. // break;
  4288. // case 'lookupFriend':
  4289. // click = '查找好友';
  4290. // break;
  4291. // case 'ftp':
  4292. // click = 'FTP';
  4293. // break;
  4294. // case 'group':
  4295. // click = '群组';
  4296. // break;
  4297. // case 'set':
  4298. // click = '我的设置';
  4299. // break;
  4300. // case 'systemSet':
  4301. // click = '系统设置';
  4302. // break;
  4303. // case 'boomYun':
  4304. // click = '互联办公';
  4305. // break;
  4306. // case 'xz':
  4307. // click = '云端下载';
  4308. // break;
  4309. // case 'client':
  4310. // click = '有思浏览器';
  4311. // break;
  4312. // case 'backEndProgramming':
  4313. // click = '在线后台编程';
  4314. // break;
  4315. // case 'frontEndProgramming':
  4316. // click = '在线前端编程';
  4317. // break;
  4318. // default: break;
  4319. // }
  4320. // if(U.MD.D.I.Ip && click){
  4321. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4322. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4323. // })
  4324. // }
  4325. // }
  4326. /**
  4327. *函数作用:ajax简易函数,使用post格式
  4328. *@param url {data} 后台地址
  4329. *@param data {data} 参数json
  4330. *@param fn {data} 回调函数
  4331. *
  4332. */
  4333. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4334. // var xhr = new XMLHttpRequest();
  4335. // xhr.open("GET",url,true);
  4336. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4337. // xhr.onreadystatechange = function(){
  4338. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4339. // fn.call(this,xhr.responseText);
  4340. // }
  4341. // };
  4342. // xhr.send();
  4343. // }
  4344. /*判断是否是内网IP*/
  4345. // U.MD.D.I.isInnerIPFn = function(str){
  4346. // var curPageUrl = str;
  4347. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4348. // curPageUrl =curPageUrl.replace(reg1,'');
  4349. // // console.log('curPageUrl-1 '+curPageUrl);
  4350. // var reg2 = /\:+/g;//替换冒号为一点
  4351. // curPageUrl =curPageUrl.replace(reg2,'.');
  4352. // // console.log('curPageUrl-2 '+curPageUrl);
  4353. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4354. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4355. // if(curPageUrl[2] != '16'){
  4356. // return ipAddress;
  4357. // }else{
  4358. // return false;
  4359. // }
  4360. // }
  4361. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4362. // //compatibility for firefox and chrome
  4363. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4364. // var pc = new myPeerConnection({
  4365. // iceServers: []
  4366. // }),
  4367. // noop = function() {},
  4368. // localIPs = {},
  4369. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4370. // key;
  4371. // function iterateIP(ip) {
  4372. // if (!localIPs[ip]) onNewIP(ip);
  4373. // localIPs[ip] = true;
  4374. // }
  4375. // //create a bogus data channel
  4376. // pc.createDataChannel("");
  4377. // // create offer and set local description
  4378. // pc.createOffer().then(function(sdp) {
  4379. // sdp.sdp.split('\n').forEach(function(line) {
  4380. // if (line.indexOf('candidate') < 0) return;
  4381. // line.match(ipRegex).forEach(iterateIP);
  4382. // });
  4383. // pc.setLocalDescription(sdp, noop, noop);
  4384. // }).catch(function(reason) {
  4385. // // An error occurred, so handle the failure to connect
  4386. // });
  4387. // //sten for candidate events
  4388. // pc.onicecandidate = function(ice) {
  4389. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4390. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4391. // };
  4392. // }
  4393. // U.MD.D.I.getUserIpBool = function(callback){
  4394. // U.MD.D.I.getUserIP(function(ip){
  4395. // alert("Got IP! :" + ip);
  4396. // });
  4397. //}
  4398. //#endregion
  4399. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4400. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4401. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4402. _userinfo = US.userInfo, //登录用户信息
  4403. _userid = US.userInfo.userid //登录用户id
  4404. let _iframe;
  4405. let _cid = cid,
  4406. _stage = stage,
  4407. _task = task,
  4408. _tool = tool;
  4409. var _jie = $$("div", {
  4410. "style": {
  4411. "position": "absolute",
  4412. "bottom": "50px",
  4413. "right": "50px",
  4414. "zIndex": "9999",
  4415. "backgroundColor": "#2268bc",
  4416. "color": "#fff",
  4417. "padding": "12px 20px",
  4418. "cursor": "pointer",
  4419. "borderRadius": "4px",
  4420. },
  4421. "innerHTML": "提交作业"
  4422. })
  4423. let aTool = ''
  4424. let _loading = document.createElement('div')
  4425. _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;"
  4426. // _loading.id = "";
  4427. let _lchild = document.createElement('div')
  4428. let _limg = document.createElement('img')
  4429. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4430. _limg.style = "width: 26px;margin-right: 10px;"
  4431. _lchild.appendChild(_limg)
  4432. let _lspan = document.createElement('span')
  4433. _lspan.innerHTML = "上传中..."
  4434. _lchild.appendChild(_lspan)
  4435. _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%);"
  4436. _loading.appendChild(_lchild)
  4437. var _box = $$('div', {
  4438. "style": {
  4439. "position": "relative",
  4440. "width": "100%",
  4441. "height": "100%",
  4442. },
  4443. })
  4444. _box.appendChild(_loading)
  4445. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4446. switch (str) {
  4447. case "whiteboard":
  4448. aTool = 1;
  4449. _iframe = $$("iframe", {
  4450. "frameborder": "no",
  4451. "border": "0",
  4452. "scrolling ": "no",
  4453. "style": {
  4454. "cssText": "border:0;width:100%;height:100%"
  4455. },
  4456. "src": "https://iwb.cocorobo.cn/"
  4457. })
  4458. _box.appendChild(_iframe);
  4459. _box.appendChild(_jie);
  4460. _formdiv = new U.UF.UI.form(
  4461. "电子白板",
  4462. _box, {
  4463. "id": "whiteboard" + cid + stage + task + tool,
  4464. "style": {
  4465. "width": "90%",
  4466. "height": "90%",
  4467. "overflow": 'hidden'
  4468. },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, {
  4473. "style": {
  4474. "height": "36px"
  4475. }
  4476. }).form; //创建窗体
  4477. _taskbar = {
  4478. "id": str + _formdiv.id,
  4479. "style": {
  4480. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4481. },
  4482. "name": "电子白板",
  4483. "forms": _formdiv,
  4484. "click": function () {
  4485. U.MD.D.I.openApplication(str, obj, info);
  4486. }
  4487. }
  4488. break;
  4489. case "mind":
  4490. aTool = 3;
  4491. _iframe = $$("iframe", {
  4492. "frameborder": "no",
  4493. "border": "0",
  4494. "scrolling ": "no",
  4495. "style": {
  4496. "cssText": "border:0;width:100%;height:100%"
  4497. },
  4498. "src": "/kityminder-editor/dist/index.html"
  4499. })
  4500. _box.appendChild(_iframe);
  4501. _box.appendChild(_jie);
  4502. _formdiv = new U.UF.UI.form(
  4503. "思维导图",
  4504. _box, { //"/jsmind/example/demo.html"
  4505. "id": "mind" + cid + stage + task + tool,
  4506. "style": {
  4507. "width": "90%",
  4508. "height": "90%",
  4509. "overflow": 'hidden'
  4510. },
  4511. "onresize": function () { }
  4512. }, {
  4513. closecallback: function () { }
  4514. }, {
  4515. "style": {
  4516. "height": "36px"
  4517. }
  4518. }).form; //创建窗体
  4519. _taskbar = {
  4520. "id": str + _formdiv.id,
  4521. "style": {
  4522. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4523. },
  4524. "name": "思维导图",
  4525. "forms": _formdiv,
  4526. "click": function () {
  4527. U.MD.D.I.openApplication(str, obj, info);
  4528. }
  4529. }
  4530. break;
  4531. case "MindMap":
  4532. aTool = 3;
  4533. _iframe = $$("iframe", {
  4534. "frameborder": "no",
  4535. "border": "0",
  4536. "scrolling ": "no",
  4537. "style": {
  4538. "cssText": "border:0;width:100%;height:100%"
  4539. },
  4540. "src": "//cloud.cocorobo.cn/mind/"
  4541. })
  4542. _box.appendChild(_iframe);
  4543. _box.appendChild(_jie);
  4544. _formdiv = new U.UF.UI.form(
  4545. "思维导图",
  4546. _box, { //"/jsmind/example/demo.html"
  4547. "id": "mind" + cid + stage + task + tool,
  4548. "style": {
  4549. "width": "90%",
  4550. "height": "90%",
  4551. "overflow": 'hidden'
  4552. },
  4553. "onresize": function () { }
  4554. }, {
  4555. closecallback: function () { }
  4556. }, {
  4557. "style": {
  4558. "height": "36px"
  4559. }
  4560. }).form; //创建窗体
  4561. _taskbar = {
  4562. "id": str + _formdiv.id,
  4563. "style": {
  4564. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4565. },
  4566. "name": "思维导图",
  4567. "forms": _formdiv,
  4568. "click": function () {
  4569. U.MD.D.I.openApplication(str, obj, info);
  4570. }
  4571. }
  4572. break;
  4573. case "doc":
  4574. aTool = 6;
  4575. _iframe = $$("iframe", {
  4576. "frameborder": "no",
  4577. "border": "0",
  4578. "scrolling ": "no",
  4579. "style": {
  4580. "cssText": "border:0;width:100%;height:100%"
  4581. },
  4582. "src": "/Office/Word/WordEditArea.htm"
  4583. })
  4584. _box.appendChild(_iframe);
  4585. _box.appendChild(_jie);
  4586. _formdiv = new U.UF.UI.form(
  4587. "协同文档",
  4588. _box, {
  4589. "id": "doc" + cid + stage + task + tool,
  4590. "style": {
  4591. "width": "90%",
  4592. "height": "90%",
  4593. "overflow": 'hidden'
  4594. },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, {
  4599. "style": {
  4600. "height": "36px"
  4601. }
  4602. }).form; //创建窗体
  4603. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4604. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4605. })
  4606. _taskbar = {
  4607. "id": str + _formdiv.id,
  4608. "style": {
  4609. "backgroundImage": "url(/img/icon/doc.png)"
  4610. },
  4611. "name": "协同文档",
  4612. "forms": _formdiv,
  4613. "click": function () {
  4614. U.MD.D.I.openApplication(str, obj, info);
  4615. }
  4616. }
  4617. break;
  4618. case "mindNetwork": //好友打开
  4619. aTool = 7;
  4620. _iframe = $$("iframe", {
  4621. "webkitallowfullscreen": "",
  4622. "mozallowfullscreen": "",
  4623. "allowfullscreen": "",
  4624. "frameborder": "no",
  4625. "border": "0",
  4626. "scrolling ": "no",
  4627. "style": {
  4628. "cssText": "border:0; width:100%; height:100%;"
  4629. },
  4630. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4631. })
  4632. _box.appendChild(_iframe);
  4633. _box.appendChild(_jie);
  4634. _formdiv = new U.UF.UI.form(
  4635. "思维网格",
  4636. _box, {
  4637. "id": "mindNetwork" + cid + stage + task + tool,
  4638. "style": {
  4639. "width": "90%",
  4640. "height": "90%",
  4641. "overflow": 'hidden'
  4642. },
  4643. "onresize": function () { }
  4644. }, {
  4645. closecallback: function () { }
  4646. }, {
  4647. "style": {
  4648. "height": "36px"
  4649. }
  4650. }).form; //创建窗体
  4651. _taskbar = {
  4652. "id": str + _formdiv.id,
  4653. "style": {
  4654. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4655. },
  4656. "name": "思维网格",
  4657. "forms": _formdiv,
  4658. "click": function () {
  4659. U.MD.D.I.openApplication(str, obj, info);
  4660. }
  4661. }
  4662. break;
  4663. case "courseDesign":
  4664. _iframe = $$("iframe", {
  4665. "webkitallowfullscreen": "",
  4666. "mozallowfullscreen": "",
  4667. "allowfullscreen": "",
  4668. "frameborder": "no",
  4669. "border": "0",
  4670. "scrolling ": "no",
  4671. "style": {
  4672. "cssText": "border:0; width:100%; height:100%;"
  4673. },
  4674. "src": "/course-design-vue"
  4675. })
  4676. _box.appendChild(_iframe);
  4677. _box.appendChild(_jie);
  4678. _formdiv = new U.UF.UI.form(
  4679. "项目设计",
  4680. _box, {
  4681. "id": "courseDesign" + cid + stage + task + tool,
  4682. "style": {
  4683. "width": "90%",
  4684. "height": "90%",
  4685. "overflow": 'hidden'
  4686. },
  4687. "onresize": function () { }
  4688. }, {
  4689. closecallback: function () { }
  4690. }, {
  4691. "style": {
  4692. "height": "36px"
  4693. }
  4694. }).form; //创建窗体
  4695. _taskbar = {
  4696. "id": str + _formdiv.id,
  4697. "style": {
  4698. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4699. },
  4700. "name": "项目设计",
  4701. "forms": _formdiv,
  4702. "click": function () {
  4703. U.MD.D.I.openApplication(str, obj, info);
  4704. }
  4705. }
  4706. break;
  4707. }
  4708. const script1 = document.createElement("script");
  4709. script1.type = "text/javascript";
  4710. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4711. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4712. const script2 = document.createElement("script");
  4713. script2.type = "text/javascript";
  4714. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4715. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4716. const script3 = document.createElement("script");
  4717. script3.type = "text/javascript";
  4718. script3.charset = "UTF-8";
  4719. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4720. const script4 = document.createElement("script");
  4721. script4.type = "text/javascript";
  4722. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4723. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4724. if (_iframe) {
  4725. if (str == 'doc') {
  4726. _iframe = _formdiv.querySelector('iframe')
  4727. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4728. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4729. _iframe.contentWindow.document.body.appendChild(script1);
  4730. _iframe.contentWindow.document.body.appendChild(script2);
  4731. // _iframe.contentWindow.document.body.appendChild(script3);
  4732. _iframe.contentWindow.document.body.appendChild(script4);
  4733. })
  4734. if (onloadListener) {
  4735. _iframe.contentDocument.location.reload()
  4736. } else {
  4737. _iframe.contentDocument.location.reload()
  4738. }
  4739. } else if (str == 'courseDesign') {
  4740. U.UF.DL.iframeLoad(_iframe, function () {
  4741. // _iframe.contentWindow.U.MD.O.W.load();
  4742. // _iframe.contentWindow.document.body.appendChild(script1);
  4743. _iframe.contentWindow.document.body.appendChild(script2);
  4744. _iframe.contentWindow.document.body.appendChild(script4);
  4745. })
  4746. } else if (str == 'mind') {
  4747. _iframe = _formdiv.querySelector('iframe')
  4748. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4749. //
  4750. _iframe.contentWindow.document.body.appendChild(script1);
  4751. _iframe.contentWindow.document.body.appendChild(script2);
  4752. _iframe.contentWindow.document.body.appendChild(script4);
  4753. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4754. })
  4755. if (onloadListener) {
  4756. _iframe.contentDocument.location.reload()
  4757. } else {
  4758. _iframe.contentDocument.location.reload()
  4759. }
  4760. } else if (str == 'whiteboard') {
  4761. _iframe = _formdiv.querySelector('iframe')
  4762. let onloadListener = _iframe.onload = () => {
  4763. _iframe.contentWindow.document.body.appendChild(script1);
  4764. _iframe.contentWindow.document.body.appendChild(script2);
  4765. _iframe.contentWindow.document.body.appendChild(script4);
  4766. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4767. };
  4768. if (onloadListener) {
  4769. _iframe.contentDocument.location.reload()
  4770. } else {
  4771. _iframe.contentDocument.location.reload()
  4772. }
  4773. } else {
  4774. _iframe.onload = () => {
  4775. _iframe.contentWindow.document.body.appendChild(script1);
  4776. _iframe.contentWindow.document.body.appendChild(script2);
  4777. // _iframe.contentWindow.document.body.appendChild(script3);
  4778. _iframe.contentWindow.document.body.appendChild(script4);
  4779. };
  4780. }
  4781. _jie.onclick = async () => {
  4782. let text = ''
  4783. if (aTool == 1) {
  4784. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4785. } else if (aTool == 6) {
  4786. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4787. } else if (aTool == 3) {
  4788. text = await U.MD.D.I.getEditorContent(_iframe);
  4789. }
  4790. _loading.style.display = 'flex'
  4791. console.log(_loading);
  4792. var _ajs = _iframe.contentWindow.document.createElement("script");
  4793. _ajs.type = "text/javascript";
  4794. _ajs.innerHTML =
  4795. // 'console.log(' + _loading + ');\n' +
  4796. 'var _js = document.createElement("script");\n' +
  4797. '_js.type="text/javascript";\n' +
  4798. '_js.charset="UTF-8";\n' +
  4799. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4800. "_js.onload = function(){\n" +
  4801. ' var a = document.getElementsByTagName("img")\n' +
  4802. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4803. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4804. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4805. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4806. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4807. "beforeUpload_shishi(file," +
  4808. "'" +
  4809. _userid +
  4810. "'" +
  4811. ", " +
  4812. "'" +
  4813. _cid +
  4814. "'" +
  4815. ", " +
  4816. "'" +
  4817. _stage +
  4818. "'" +
  4819. ", " +
  4820. "'" +
  4821. _task +
  4822. "'" +
  4823. ", " +
  4824. "'" +
  4825. _tool +
  4826. "'" +
  4827. ", " +
  4828. "'" +
  4829. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4830. "'" +
  4831. ", " +
  4832. "'" +
  4833. aTool +
  4834. "'" +
  4835. ", " +
  4836. "`" +
  4837. text +
  4838. "`" +
  4839. ")\n" +
  4840. " });\n" +
  4841. "}\n" +
  4842. "document.head.appendChild(_js);\n";
  4843. _iframe.contentWindow.document.head.appendChild(_ajs);
  4844. }
  4845. }
  4846. //U.MD.D.I.openClick(str);
  4847. //如果有任务栏信息
  4848. // if (_taskbar) {
  4849. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4850. // }
  4851. }
  4852. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4853. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4854. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4855. _userinfo = US.userInfo, //登录用户信息
  4856. _userid = US.userInfo.userid //登录用户id
  4857. let _iframe;
  4858. let _cid = cid,
  4859. _stage = stage,
  4860. _task = task,
  4861. _tool = tool;
  4862. var _jie = $$("div", {
  4863. "style": {
  4864. "position": "absolute",
  4865. "bottom": "50px",
  4866. "right": "50px",
  4867. "zIndex": "9999",
  4868. "backgroundColor": "#2268bc",
  4869. "color": "#fff",
  4870. "padding": "12px 20px",
  4871. "cursor": "pointer",
  4872. "borderRadius": "4px",
  4873. },
  4874. "innerHTML": "提交作业"
  4875. })
  4876. let aTool = ''
  4877. let _loading = document.createElement('div')
  4878. _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;"
  4879. // _loading.id = "";
  4880. let _lchild = document.createElement('div')
  4881. let _limg = document.createElement('img')
  4882. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4883. _limg.style = "width: 26px;margin-right: 10px;"
  4884. _lchild.appendChild(_limg)
  4885. let _lspan = document.createElement('span')
  4886. _lspan.innerHTML = "上传中..."
  4887. _lchild.appendChild(_lspan)
  4888. _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%);"
  4889. _loading.appendChild(_lchild)
  4890. var _box = $$('div', {
  4891. "style": {
  4892. "position": "relative",
  4893. "width": "100%",
  4894. "height": "100%",
  4895. },
  4896. })
  4897. _box.appendChild(_loading)
  4898. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4899. switch (str) {
  4900. case "whiteboard":
  4901. aTool = 1;
  4902. _iframe = $$("iframe", {
  4903. "frameborder": "no",
  4904. "border": "0",
  4905. "scrolling ": "no",
  4906. "style": {
  4907. "cssText": "border:0;width:100%;height:100%"
  4908. },
  4909. "src": "https://iwb.cocorobo.cn/"
  4910. })
  4911. _box.appendChild(_iframe);
  4912. _box.appendChild(_jie);
  4913. _formdiv = new U.UF.UI.form(
  4914. "电子白板",
  4915. _box, {
  4916. "id": "whiteboard" + cid + stage + task + tool,
  4917. "style": {
  4918. "width": "90%",
  4919. "height": "90%",
  4920. "overflow": 'hidden'
  4921. },
  4922. "onresize": function () { }
  4923. }, {
  4924. closecallback: function () { }
  4925. }, {
  4926. "style": {
  4927. "height": "36px"
  4928. }
  4929. }).form; //创建窗体
  4930. _taskbar = {
  4931. "id": str + _formdiv.id,
  4932. "style": {
  4933. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4934. },
  4935. "name": "电子白板",
  4936. "forms": _formdiv,
  4937. "click": function () {
  4938. U.MD.D.I.openApplication(str, obj, info);
  4939. }
  4940. }
  4941. break;
  4942. case "mind":
  4943. aTool = 3;
  4944. _iframe = $$("iframe", {
  4945. "frameborder": "no",
  4946. "border": "0",
  4947. "scrolling ": "no",
  4948. "style": {
  4949. "cssText": "border:0;width:100%;height:100%"
  4950. },
  4951. "src": "/kityminder-editor/dist/index.html"
  4952. })
  4953. _box.appendChild(_iframe);
  4954. _box.appendChild(_jie);
  4955. _formdiv = new U.UF.UI.form(
  4956. "思维导图",
  4957. _box, { //"/jsmind/example/demo.html"
  4958. "id": "mind" + cid + stage + task + tool,
  4959. "style": {
  4960. "width": "90%",
  4961. "height": "90%",
  4962. "overflow": 'hidden'
  4963. },
  4964. "onresize": function () { }
  4965. }, {
  4966. closecallback: function () { }
  4967. }, {
  4968. "style": {
  4969. "height": "36px"
  4970. }
  4971. }).form; //创建窗体
  4972. _taskbar = {
  4973. "id": str + _formdiv.id,
  4974. "style": {
  4975. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4976. },
  4977. "name": "思维导图",
  4978. "forms": _formdiv,
  4979. "click": function () {
  4980. U.MD.D.I.openApplication(str, obj, info);
  4981. }
  4982. }
  4983. break;
  4984. case "MindMap":
  4985. aTool = 3;
  4986. _iframe = $$("iframe", {
  4987. "frameborder": "no",
  4988. "border": "0",
  4989. "scrolling ": "no",
  4990. "style": {
  4991. "cssText": "border:0;width:100%;height:100%"
  4992. },
  4993. "src": "//cloud.cocorobo.cn/mind/"
  4994. })
  4995. _box.appendChild(_iframe);
  4996. _box.appendChild(_jie);
  4997. _formdiv = new U.UF.UI.form(
  4998. "思维导图",
  4999. _box, { //"/jsmind/example/demo.html"
  5000. "id": "mind" + cid + stage + task + tool,
  5001. "style": {
  5002. "width": "90%",
  5003. "height": "90%",
  5004. "overflow": 'hidden'
  5005. },
  5006. "onresize": function () { }
  5007. }, {
  5008. closecallback: function () { }
  5009. }, {
  5010. "style": {
  5011. "height": "36px"
  5012. }
  5013. }).form; //创建窗体
  5014. _taskbar = {
  5015. "id": str + _formdiv.id,
  5016. "style": {
  5017. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5018. },
  5019. "name": "思维导图",
  5020. "forms": _formdiv,
  5021. "click": function () {
  5022. U.MD.D.I.openApplication(str, obj, info);
  5023. }
  5024. }
  5025. break;
  5026. case "doc":
  5027. aTool = 6;
  5028. _iframe = $$("iframe", {
  5029. "frameborder": "no",
  5030. "border": "0",
  5031. "scrolling ": "no",
  5032. "style": {
  5033. "cssText": "border:0;width:100%;height:100%"
  5034. },
  5035. "src": "/Office/Word/WordEditArea.htm"
  5036. })
  5037. _box.appendChild(_iframe);
  5038. _box.appendChild(_jie);
  5039. _formdiv = new U.UF.UI.form(
  5040. "协同文档",
  5041. _box, {
  5042. "id": "doc" + cid + stage + task + tool,
  5043. "style": {
  5044. "width": "90%",
  5045. "height": "90%",
  5046. "overflow": 'hidden'
  5047. },
  5048. "onresize": function () { }
  5049. }, {
  5050. closecallback: function () { }
  5051. }, {
  5052. "style": {
  5053. "height": "36px"
  5054. }
  5055. }).form; //创建窗体
  5056. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5057. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5058. })
  5059. _taskbar = {
  5060. "id": str + _formdiv.id,
  5061. "style": {
  5062. "backgroundImage": "url(/img/icon/doc.png)"
  5063. },
  5064. "name": "协同文档",
  5065. "forms": _formdiv,
  5066. "click": function () {
  5067. U.MD.D.I.openApplication(str, obj, info);
  5068. }
  5069. }
  5070. break;
  5071. case "mindNetwork": //好友打开
  5072. aTool = 7;
  5073. _iframe = $$("iframe", {
  5074. "webkitallowfullscreen": "",
  5075. "mozallowfullscreen": "",
  5076. "allowfullscreen": "",
  5077. "frameborder": "no",
  5078. "border": "0",
  5079. "scrolling ": "no",
  5080. "style": {
  5081. "cssText": "border:0; width:100%; height:100%;"
  5082. },
  5083. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5084. })
  5085. _box.appendChild(_iframe);
  5086. _box.appendChild(_jie);
  5087. _formdiv = new U.UF.UI.form(
  5088. "思维网格",
  5089. _box, {
  5090. "id": "mindNetwork" + cid + stage + task + tool,
  5091. "style": {
  5092. "width": "90%",
  5093. "height": "90%",
  5094. "overflow": 'hidden'
  5095. },
  5096. "onresize": function () { }
  5097. }, {
  5098. closecallback: function () { }
  5099. }, {
  5100. "style": {
  5101. "height": "36px"
  5102. }
  5103. }).form; //创建窗体
  5104. _taskbar = {
  5105. "id": str + _formdiv.id,
  5106. "style": {
  5107. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5108. },
  5109. "name": "思维网格",
  5110. "forms": _formdiv,
  5111. "click": function () {
  5112. U.MD.D.I.openApplication(str, obj, info);
  5113. }
  5114. }
  5115. break;
  5116. case "courseDesign":
  5117. _iframe = $$("iframe", {
  5118. "webkitallowfullscreen": "",
  5119. "mozallowfullscreen": "",
  5120. "allowfullscreen": "",
  5121. "frameborder": "no",
  5122. "border": "0",
  5123. "scrolling ": "no",
  5124. "style": {
  5125. "cssText": "border:0; width:100%; height:100%;"
  5126. },
  5127. "src": "/course-design-vue"
  5128. })
  5129. _box.appendChild(_iframe);
  5130. _box.appendChild(_jie);
  5131. _formdiv = new U.UF.UI.form(
  5132. "项目设计",
  5133. _box, {
  5134. "id": "courseDesign" + cid + stage + task + tool,
  5135. "style": {
  5136. "width": "90%",
  5137. "height": "90%",
  5138. "overflow": 'hidden'
  5139. },
  5140. "onresize": function () { }
  5141. }, {
  5142. closecallback: function () { }
  5143. }, {
  5144. "style": {
  5145. "height": "36px"
  5146. }
  5147. }).form; //创建窗体
  5148. _taskbar = {
  5149. "id": str + _formdiv.id,
  5150. "style": {
  5151. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5152. },
  5153. "name": "项目设计",
  5154. "forms": _formdiv,
  5155. "click": function () {
  5156. U.MD.D.I.openApplication(str, obj, info);
  5157. }
  5158. }
  5159. break;
  5160. }
  5161. const script1 = document.createElement("script");
  5162. script1.type = "text/javascript";
  5163. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5164. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5165. const script2 = document.createElement("script");
  5166. script2.type = "text/javascript";
  5167. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5168. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5169. const script3 = document.createElement("script");
  5170. script3.type = "text/javascript";
  5171. script3.charset = "UTF-8";
  5172. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5173. const script4 = document.createElement("script");
  5174. script4.type = "text/javascript";
  5175. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5176. script4.src = window.origin + "/js/Common/jietu2E.js";
  5177. if (_iframe) {
  5178. if (str == 'doc') {
  5179. _iframe = _formdiv.querySelector('iframe')
  5180. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5181. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5182. _iframe.contentWindow.document.body.appendChild(script1);
  5183. _iframe.contentWindow.document.body.appendChild(script2);
  5184. // _iframe.contentWindow.document.body.appendChild(script3);
  5185. _iframe.contentWindow.document.body.appendChild(script4);
  5186. })
  5187. if (onloadListener) {
  5188. _iframe.contentDocument.location.reload()
  5189. } else {
  5190. _iframe.contentDocument.location.reload()
  5191. }
  5192. } else if (str == 'courseDesign') {
  5193. U.UF.DL.iframeLoad(_iframe, function () {
  5194. // _iframe.contentWindow.U.MD.O.W.load();
  5195. // _iframe.contentWindow.document.body.appendChild(script1);
  5196. _iframe.contentWindow.document.body.appendChild(script2);
  5197. _iframe.contentWindow.document.body.appendChild(script4);
  5198. })
  5199. } else if (str == 'mind') {
  5200. _iframe = _formdiv.querySelector('iframe')
  5201. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5202. //
  5203. _iframe.contentWindow.document.body.appendChild(script1);
  5204. _iframe.contentWindow.document.body.appendChild(script2);
  5205. _iframe.contentWindow.document.body.appendChild(script4);
  5206. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5207. })
  5208. if (onloadListener) {
  5209. _iframe.contentDocument.location.reload()
  5210. } else {
  5211. _iframe.contentDocument.location.reload()
  5212. }
  5213. } else if (str == 'whiteboard') {
  5214. _iframe = _formdiv.querySelector('iframe')
  5215. let onloadListener = _iframe.onload = () => {
  5216. _iframe.contentWindow.document.body.appendChild(script1);
  5217. _iframe.contentWindow.document.body.appendChild(script2);
  5218. _iframe.contentWindow.document.body.appendChild(script4);
  5219. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5220. };
  5221. if (onloadListener) {
  5222. _iframe.contentDocument.location.reload()
  5223. } else {
  5224. _iframe.contentDocument.location.reload()
  5225. }
  5226. } else {
  5227. _iframe.onload = () => {
  5228. _iframe.contentWindow.document.body.appendChild(script1);
  5229. _iframe.contentWindow.document.body.appendChild(script2);
  5230. // _iframe.contentWindow.document.body.appendChild(script3);
  5231. _iframe.contentWindow.document.body.appendChild(script4);
  5232. };
  5233. }
  5234. _jie.onclick = async () => {
  5235. let text = ''
  5236. if (aTool == 1) {
  5237. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5238. } else if (aTool == 6) {
  5239. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5240. } else if (aTool == 3) {
  5241. text = await U.MD.D.I.getEditorContent(_iframe);
  5242. }
  5243. _loading.style.display = 'flex'
  5244. console.log(_loading);
  5245. var _ajs = _iframe.contentWindow.document.createElement("script");
  5246. _ajs.type = "text/javascript";
  5247. _ajs.innerHTML =
  5248. // 'console.log(' + _loading + ');\n' +
  5249. 'var _js = document.createElement("script");\n' +
  5250. '_js.type="text/javascript";\n' +
  5251. '_js.charset="UTF-8";\n' +
  5252. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5253. "_js.onload = function(){\n" +
  5254. ' var a = document.getElementsByTagName("img")\n' +
  5255. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5256. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5257. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5258. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5259. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5260. "beforeUpload_shishi(file," +
  5261. "'" +
  5262. _userid +
  5263. "'" +
  5264. ", " +
  5265. "'" +
  5266. _cid +
  5267. "'" +
  5268. ", " +
  5269. "'" +
  5270. _stage +
  5271. "'" +
  5272. ", " +
  5273. "'" +
  5274. _task +
  5275. "'" +
  5276. ", " +
  5277. "'" +
  5278. _tool +
  5279. "'" +
  5280. ", " +
  5281. "'" +
  5282. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5283. "'" +
  5284. ", " +
  5285. "'" +
  5286. aTool +
  5287. "'" +
  5288. ", " +
  5289. "`" +
  5290. text +
  5291. "`" +
  5292. ")\n" +
  5293. " });\n" +
  5294. "}\n" +
  5295. "document.head.appendChild(_js);\n";
  5296. _iframe.contentWindow.document.head.appendChild(_ajs);
  5297. }
  5298. }
  5299. //U.MD.D.I.openClick(str);
  5300. //如果有任务栏信息
  5301. // if (_taskbar) {
  5302. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5303. // }
  5304. }
  5305. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5306. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5307. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5308. _userid = student.userid, //登录用户id
  5309. _username = student.student //用户名字
  5310. let _iframe;
  5311. let _cid = cid,
  5312. _stage = stage,
  5313. _task = task,
  5314. _tool = tool;
  5315. var _jie = $$("div", {
  5316. "style": {
  5317. "position": "absolute",
  5318. "bottom": "50px",
  5319. "right": "50px",
  5320. "zIndex": "9999",
  5321. "backgroundColor": "#2268bc",
  5322. "color": "#fff",
  5323. "padding": "12px 20px",
  5324. "cursor": "pointer",
  5325. "borderRadius": "4px",
  5326. },
  5327. "innerHTML": "提交作业"
  5328. })
  5329. let aTool = ''
  5330. let _loading = document.createElement('div')
  5331. _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;"
  5332. // _loading.id = "";
  5333. let _lchild = document.createElement('div')
  5334. let _limg = document.createElement('img')
  5335. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5336. _limg.style = "width: 26px;margin-right: 10px;"
  5337. _lchild.appendChild(_limg)
  5338. let _lspan = document.createElement('span')
  5339. _lspan.innerHTML = "上传中..."
  5340. _lchild.appendChild(_lspan)
  5341. _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%);"
  5342. _loading.appendChild(_lchild)
  5343. var _box = $$('div', {
  5344. "style": {
  5345. "position": "relative",
  5346. "width": "100%",
  5347. "height": "100%",
  5348. },
  5349. })
  5350. _box.appendChild(_loading)
  5351. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5352. switch (str) {
  5353. case "whiteboard":
  5354. aTool = 1;
  5355. _iframe = $$("iframe", {
  5356. "frameborder": "no",
  5357. "border": "0",
  5358. "scrolling ": "no",
  5359. "style": {
  5360. "cssText": "border:0;width:100%;height:100%"
  5361. },
  5362. "src": "https://iwb.cocorobo.cn/"
  5363. })
  5364. _box.appendChild(_iframe);
  5365. _box.appendChild(_jie);
  5366. _formdiv = new U.UF.UI.form(
  5367. "电子白板-" + _username,
  5368. _box, {
  5369. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5370. "style": {
  5371. "width": "90%",
  5372. "height": "90%",
  5373. "overflow": 'hidden'
  5374. },
  5375. "onresize": function () { }
  5376. }, {
  5377. closecallback: function () { }
  5378. }, {
  5379. "style": {
  5380. "height": "36px"
  5381. }
  5382. }).form; //创建窗体
  5383. _taskbar = {
  5384. "id": str + _formdiv.id,
  5385. "style": {
  5386. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5387. },
  5388. "name": "电子白板",
  5389. "forms": _formdiv,
  5390. "click": function () {
  5391. U.MD.D.I.openApplication(str, obj, info);
  5392. }
  5393. }
  5394. break;
  5395. case "mind":
  5396. aTool = 3;
  5397. _iframe = $$("iframe", {
  5398. "frameborder": "no",
  5399. "border": "0",
  5400. "scrolling ": "no",
  5401. "style": {
  5402. "cssText": "border:0;width:100%;height:100%"
  5403. },
  5404. "src": "/kityminder-editor/dist/index.html"
  5405. })
  5406. _box.appendChild(_iframe);
  5407. _box.appendChild(_jie);
  5408. _formdiv = new U.UF.UI.form(
  5409. "思维导图-" + _username,
  5410. _box, { //"/jsmind/example/demo.html"
  5411. "id": "mind" + cid + stage + task + tool + _userid,
  5412. "style": {
  5413. "width": "90%",
  5414. "height": "90%",
  5415. "overflow": 'hidden'
  5416. },
  5417. "onresize": function () { }
  5418. }, {
  5419. closecallback: function () { }
  5420. }, {
  5421. "style": {
  5422. "height": "36px"
  5423. }
  5424. }).form; //创建窗体
  5425. _taskbar = {
  5426. "id": str + _formdiv.id,
  5427. "style": {
  5428. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5429. },
  5430. "name": "思维导图",
  5431. "forms": _formdiv,
  5432. "click": function () {
  5433. U.MD.D.I.openApplication(str, obj, info);
  5434. }
  5435. }
  5436. break;
  5437. case "MindMap":
  5438. aTool = 3;
  5439. _iframe = $$("iframe", {
  5440. "frameborder": "no",
  5441. "border": "0",
  5442. "scrolling ": "no",
  5443. "style": {
  5444. "cssText": "border:0;width:100%;height:100%"
  5445. },
  5446. "src": "//cloud.cocorobo.cn/mind/"
  5447. })
  5448. _box.appendChild(_iframe);
  5449. _box.appendChild(_jie);
  5450. _formdiv = new U.UF.UI.form(
  5451. "思维导图-" + _username,
  5452. _box, { //"/jsmind/example/demo.html"
  5453. "id": "mind" + cid + stage + task + tool + _userid,
  5454. "style": {
  5455. "width": "90%",
  5456. "height": "90%",
  5457. "overflow": 'hidden'
  5458. },
  5459. "onresize": function () { }
  5460. }, {
  5461. closecallback: function () { }
  5462. }, {
  5463. "style": {
  5464. "height": "36px"
  5465. }
  5466. }).form; //创建窗体
  5467. _taskbar = {
  5468. "id": str + _formdiv.id,
  5469. "style": {
  5470. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5471. },
  5472. "name": "思维导图",
  5473. "forms": _formdiv,
  5474. "click": function () {
  5475. U.MD.D.I.openApplication(str, obj, info);
  5476. }
  5477. }
  5478. break;
  5479. case "doc":
  5480. aTool = 6;
  5481. _iframe = $$("iframe", {
  5482. "frameborder": "no",
  5483. "border": "0",
  5484. "scrolling ": "no",
  5485. "style": {
  5486. "cssText": "border:0;width:100%;height:100%"
  5487. },
  5488. "src": "/Office/Word/WordEditArea.htm"
  5489. })
  5490. _box.appendChild(_iframe);
  5491. _box.appendChild(_jie);
  5492. _formdiv = new U.UF.UI.form(
  5493. "协同文档-" + _username,
  5494. _box, {
  5495. "id": "doc" + cid + stage + task + tool + _userid,
  5496. "style": {
  5497. "width": "90%",
  5498. "height": "90%",
  5499. "overflow": 'hidden'
  5500. },
  5501. "onresize": function () { }
  5502. }, {
  5503. closecallback: function () { }
  5504. }, {
  5505. "style": {
  5506. "height": "36px"
  5507. }
  5508. }).form; //创建窗体
  5509. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5510. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5511. })
  5512. _taskbar = {
  5513. "id": str + _formdiv.id,
  5514. "style": {
  5515. "backgroundImage": "url(/img/icon/doc.png)"
  5516. },
  5517. "name": "协同文档",
  5518. "forms": _formdiv,
  5519. "click": function () {
  5520. U.MD.D.I.openApplication(str, obj, info);
  5521. }
  5522. }
  5523. break;
  5524. case "mindNetwork": //好友打开
  5525. aTool = 7;
  5526. _iframe = $$("iframe", {
  5527. "webkitallowfullscreen": "",
  5528. "mozallowfullscreen": "",
  5529. "allowfullscreen": "",
  5530. "frameborder": "no",
  5531. "border": "0",
  5532. "scrolling ": "no",
  5533. "style": {
  5534. "cssText": "border:0; width:100%; height:100%;"
  5535. },
  5536. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5537. })
  5538. _box.appendChild(_iframe);
  5539. _box.appendChild(_jie);
  5540. _formdiv = new U.UF.UI.form(
  5541. "思维网格-" + _username,
  5542. _box, {
  5543. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5544. "style": {
  5545. "width": "90%",
  5546. "height": "90%",
  5547. "overflow": 'hidden'
  5548. },
  5549. "onresize": function () { }
  5550. }, {
  5551. closecallback: function () { }
  5552. }, {
  5553. "style": {
  5554. "height": "36px"
  5555. }
  5556. }).form; //创建窗体
  5557. _taskbar = {
  5558. "id": str + _formdiv.id,
  5559. "style": {
  5560. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5561. },
  5562. "name": "思维网格",
  5563. "forms": _formdiv,
  5564. "click": function () {
  5565. U.MD.D.I.openApplication(str, obj, info);
  5566. }
  5567. }
  5568. break;
  5569. case "courseDesign":
  5570. _iframe = $$("iframe", {
  5571. "webkitallowfullscreen": "",
  5572. "mozallowfullscreen": "",
  5573. "allowfullscreen": "",
  5574. "frameborder": "no",
  5575. "border": "0",
  5576. "scrolling ": "no",
  5577. "style": {
  5578. "cssText": "border:0; width:100%; height:100%;"
  5579. },
  5580. "src": "/course-design-vue"
  5581. })
  5582. _box.appendChild(_iframe);
  5583. _box.appendChild(_jie);
  5584. _formdiv = new U.UF.UI.form(
  5585. "项目设计-" + _username,
  5586. _box, {
  5587. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5588. "style": {
  5589. "width": "90%",
  5590. "height": "90%",
  5591. "overflow": 'hidden'
  5592. },
  5593. "onresize": function () { }
  5594. }, {
  5595. closecallback: function () { }
  5596. }, {
  5597. "style": {
  5598. "height": "36px"
  5599. }
  5600. }).form; //创建窗体
  5601. _taskbar = {
  5602. "id": str + _formdiv.id,
  5603. "style": {
  5604. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5605. },
  5606. "name": "项目设计",
  5607. "forms": _formdiv,
  5608. "click": function () {
  5609. U.MD.D.I.openApplication(str, obj, info);
  5610. }
  5611. }
  5612. break;
  5613. }
  5614. const script1 = document.createElement("script");
  5615. script1.type = "text/javascript";
  5616. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5617. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5618. const script2 = document.createElement("script");
  5619. script2.type = "text/javascript";
  5620. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5621. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5622. const script3 = document.createElement("script");
  5623. script3.type = "text/javascript";
  5624. script3.charset = "UTF-8";
  5625. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5626. const script4 = document.createElement("script");
  5627. script4.type = "text/javascript";
  5628. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5629. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5630. if (_iframe) {
  5631. if (str == 'doc') {
  5632. _iframe = _formdiv.querySelector('iframe')
  5633. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5634. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5635. _iframe.contentWindow.document.body.appendChild(script1);
  5636. _iframe.contentWindow.document.body.appendChild(script2);
  5637. // _iframe.contentWindow.document.body.appendChild(script3);
  5638. _iframe.contentWindow.document.body.appendChild(script4);
  5639. })
  5640. if (onloadListener) {
  5641. _iframe.contentDocument.location.reload()
  5642. } else {
  5643. _iframe.contentDocument.location.reload()
  5644. }
  5645. } else if (str == 'courseDesign') {
  5646. U.UF.DL.iframeLoad(_iframe, function () {
  5647. // _iframe.contentWindow.U.MD.O.W.load();
  5648. // _iframe.contentWindow.document.body.appendChild(script1);
  5649. _iframe.contentWindow.document.body.appendChild(script2);
  5650. _iframe.contentWindow.document.body.appendChild(script4);
  5651. })
  5652. } else if (str == 'mind') {
  5653. _iframe = _formdiv.querySelector('iframe')
  5654. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5655. //
  5656. _iframe.contentWindow.document.body.appendChild(script1);
  5657. _iframe.contentWindow.document.body.appendChild(script2);
  5658. _iframe.contentWindow.document.body.appendChild(script4);
  5659. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5660. })
  5661. if (onloadListener) {
  5662. _iframe.contentDocument.location.reload()
  5663. } else {
  5664. _iframe.contentDocument.location.reload()
  5665. }
  5666. } else if (str == 'whiteboard') {
  5667. _iframe = _formdiv.querySelector('iframe')
  5668. let onloadListener = _iframe.onload = () => {
  5669. _iframe.contentWindow.document.body.appendChild(script1);
  5670. _iframe.contentWindow.document.body.appendChild(script2);
  5671. _iframe.contentWindow.document.body.appendChild(script4);
  5672. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5673. };
  5674. if (onloadListener) {
  5675. _iframe.contentDocument.location.reload()
  5676. } else {
  5677. _iframe.contentDocument.location.reload()
  5678. }
  5679. } else {
  5680. _iframe.onload = () => {
  5681. _iframe.contentWindow.document.body.appendChild(script1);
  5682. _iframe.contentWindow.document.body.appendChild(script2);
  5683. // _iframe.contentWindow.document.body.appendChild(script3);
  5684. _iframe.contentWindow.document.body.appendChild(script4);
  5685. };
  5686. }
  5687. _jie.onclick = async () => {
  5688. let text = ''
  5689. if (aTool == 1) {
  5690. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5691. } else if (aTool == 6) {
  5692. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5693. } else if (aTool == 3) {
  5694. text = await U.MD.D.I.getEditorContent(_iframe);
  5695. }
  5696. _loading.style.display = 'flex'
  5697. console.log(_loading);
  5698. var _ajs = _iframe.contentWindow.document.createElement("script");
  5699. _ajs.type = "text/javascript";
  5700. _ajs.innerHTML =
  5701. // 'console.log(' + _loading + ');\n' +
  5702. 'var _js = document.createElement("script");\n' +
  5703. '_js.type="text/javascript";\n' +
  5704. '_js.charset="UTF-8";\n' +
  5705. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5706. "_js.onload = function(){\n" +
  5707. ' var a = document.getElementsByTagName("img")\n' +
  5708. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5709. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5710. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5711. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5712. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5713. "beforeUpload_shishi(file," +
  5714. "'" +
  5715. _userid +
  5716. "'" +
  5717. ", " +
  5718. "'" +
  5719. _cid +
  5720. "'" +
  5721. ", " +
  5722. "'" +
  5723. _stage +
  5724. "'" +
  5725. ", " +
  5726. "'" +
  5727. _task +
  5728. "'" +
  5729. ", " +
  5730. "'" +
  5731. _tool +
  5732. "'" +
  5733. ", " +
  5734. "'" +
  5735. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5736. "'" +
  5737. ", " +
  5738. "'" +
  5739. aTool +
  5740. "'" +
  5741. ", " +
  5742. "`" +
  5743. text +
  5744. "`" +
  5745. ")\n" +
  5746. " });\n" +
  5747. "}\n" +
  5748. "document.head.appendChild(_js);\n";
  5749. _iframe.contentWindow.document.head.appendChild(_ajs);
  5750. }
  5751. }
  5752. }
  5753. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5754. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5755. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5756. _userid = student.userid, //登录用户id
  5757. _username = student.student //用户名字
  5758. let _iframe;
  5759. let _cid = cid,
  5760. _stage = stage,
  5761. _task = task,
  5762. _tool = tool;
  5763. var _jie = $$("div", {
  5764. "style": {
  5765. "position": "absolute",
  5766. "bottom": "50px",
  5767. "right": "50px",
  5768. "zIndex": "9999",
  5769. "backgroundColor": "#2268bc",
  5770. "color": "#fff",
  5771. "padding": "12px 20px",
  5772. "cursor": "pointer",
  5773. "borderRadius": "4px",
  5774. },
  5775. "innerHTML": "提交作业"
  5776. })
  5777. let aTool = ''
  5778. let _loading = document.createElement('div')
  5779. _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;"
  5780. // _loading.id = "";
  5781. let _lchild = document.createElement('div')
  5782. let _limg = document.createElement('img')
  5783. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5784. _limg.style = "width: 26px;margin-right: 10px;"
  5785. _lchild.appendChild(_limg)
  5786. let _lspan = document.createElement('span')
  5787. _lspan.innerHTML = "上传中..."
  5788. _lchild.appendChild(_lspan)
  5789. _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%);"
  5790. _loading.appendChild(_lchild)
  5791. var _box = $$('div', {
  5792. "style": {
  5793. "position": "relative",
  5794. "width": "100%",
  5795. "height": "100%",
  5796. },
  5797. })
  5798. _box.appendChild(_loading)
  5799. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5800. switch (str) {
  5801. case "whiteboard":
  5802. aTool = 1;
  5803. _iframe = $$("iframe", {
  5804. "frameborder": "no",
  5805. "border": "0",
  5806. "scrolling ": "no",
  5807. "style": {
  5808. "cssText": "border:0;width:100%;height:100%"
  5809. },
  5810. "src": "https://iwb.cocorobo.cn/"
  5811. })
  5812. _box.appendChild(_iframe);
  5813. _box.appendChild(_jie);
  5814. _formdiv = new U.UF.UI.form(
  5815. "电子白板-" + _username,
  5816. _box, {
  5817. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5818. "style": {
  5819. "width": "90%",
  5820. "height": "90%",
  5821. "overflow": 'hidden'
  5822. },
  5823. "onresize": function () { }
  5824. }, {
  5825. closecallback: function () { }
  5826. }, {
  5827. "style": {
  5828. "height": "36px"
  5829. }
  5830. }).form; //创建窗体
  5831. _taskbar = {
  5832. "id": str + _formdiv.id,
  5833. "style": {
  5834. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5835. },
  5836. "name": "电子白板",
  5837. "forms": _formdiv,
  5838. "click": function () {
  5839. U.MD.D.I.openApplication(str, obj, info);
  5840. }
  5841. }
  5842. break;
  5843. case "mind":
  5844. aTool = 3;
  5845. _iframe = $$("iframe", {
  5846. "frameborder": "no",
  5847. "border": "0",
  5848. "scrolling ": "no",
  5849. "style": {
  5850. "cssText": "border:0;width:100%;height:100%"
  5851. },
  5852. "src": "/kityminder-editor/dist/index.html"
  5853. })
  5854. _box.appendChild(_iframe);
  5855. _box.appendChild(_jie);
  5856. _formdiv = new U.UF.UI.form(
  5857. "思维导图-" + _username,
  5858. _box, { //"/jsmind/example/demo.html"
  5859. "id": "mind" + cid + stage + task + tool + _userid,
  5860. "style": {
  5861. "width": "90%",
  5862. "height": "90%",
  5863. "overflow": 'hidden'
  5864. },
  5865. "onresize": function () { }
  5866. }, {
  5867. closecallback: function () { }
  5868. }, {
  5869. "style": {
  5870. "height": "36px"
  5871. }
  5872. }).form; //创建窗体
  5873. _taskbar = {
  5874. "id": str + _formdiv.id,
  5875. "style": {
  5876. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5877. },
  5878. "name": "思维导图",
  5879. "forms": _formdiv,
  5880. "click": function () {
  5881. U.MD.D.I.openApplication(str, obj, info);
  5882. }
  5883. }
  5884. break;
  5885. case "MindMap":
  5886. aTool = 3;
  5887. _iframe = $$("iframe", {
  5888. "frameborder": "no",
  5889. "border": "0",
  5890. "scrolling ": "no",
  5891. "style": {
  5892. "cssText": "border:0;width:100%;height:100%"
  5893. },
  5894. "src": "//cloud.cocorobo.cn/mind/"
  5895. })
  5896. _box.appendChild(_iframe);
  5897. _box.appendChild(_jie);
  5898. _formdiv = new U.UF.UI.form(
  5899. "思维导图-" + _username,
  5900. _box, { //"/jsmind/example/demo.html"
  5901. "id": "mind" + cid + stage + task + tool + _userid,
  5902. "style": {
  5903. "width": "90%",
  5904. "height": "90%",
  5905. "overflow": 'hidden'
  5906. },
  5907. "onresize": function () { }
  5908. }, {
  5909. closecallback: function () { }
  5910. }, {
  5911. "style": {
  5912. "height": "36px"
  5913. }
  5914. }).form; //创建窗体
  5915. _taskbar = {
  5916. "id": str + _formdiv.id,
  5917. "style": {
  5918. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5919. },
  5920. "name": "思维导图",
  5921. "forms": _formdiv,
  5922. "click": function () {
  5923. U.MD.D.I.openApplication(str, obj, info);
  5924. }
  5925. }
  5926. break;
  5927. case "doc":
  5928. aTool = 6;
  5929. _iframe = $$("iframe", {
  5930. "frameborder": "no",
  5931. "border": "0",
  5932. "scrolling ": "no",
  5933. "style": {
  5934. "cssText": "border:0;width:100%;height:100%"
  5935. },
  5936. "src": "/Office/Word/WordEditArea.htm"
  5937. })
  5938. _box.appendChild(_iframe);
  5939. _box.appendChild(_jie);
  5940. _formdiv = new U.UF.UI.form(
  5941. "协同文档-" + _username,
  5942. _box, {
  5943. "id": "doc" + cid + stage + task + tool + _userid,
  5944. "style": {
  5945. "width": "90%",
  5946. "height": "90%",
  5947. "overflow": 'hidden'
  5948. },
  5949. "onresize": function () { }
  5950. }, {
  5951. closecallback: function () { }
  5952. }, {
  5953. "style": {
  5954. "height": "36px"
  5955. }
  5956. }).form; //创建窗体
  5957. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5958. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5959. })
  5960. _taskbar = {
  5961. "id": str + _formdiv.id,
  5962. "style": {
  5963. "backgroundImage": "url(/img/icon/doc.png)"
  5964. },
  5965. "name": "协同文档",
  5966. "forms": _formdiv,
  5967. "click": function () {
  5968. U.MD.D.I.openApplication(str, obj, info);
  5969. }
  5970. }
  5971. break;
  5972. case "mindNetwork": //好友打开
  5973. aTool = 7;
  5974. _iframe = $$("iframe", {
  5975. "webkitallowfullscreen": "",
  5976. "mozallowfullscreen": "",
  5977. "allowfullscreen": "",
  5978. "frameborder": "no",
  5979. "border": "0",
  5980. "scrolling ": "no",
  5981. "style": {
  5982. "cssText": "border:0; width:100%; height:100%;"
  5983. },
  5984. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5985. })
  5986. _box.appendChild(_iframe);
  5987. _box.appendChild(_jie);
  5988. _formdiv = new U.UF.UI.form(
  5989. "思维网格-" + _username,
  5990. _box, {
  5991. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5992. "style": {
  5993. "width": "90%",
  5994. "height": "90%",
  5995. "overflow": 'hidden'
  5996. },
  5997. "onresize": function () { }
  5998. }, {
  5999. closecallback: function () { }
  6000. }, {
  6001. "style": {
  6002. "height": "36px"
  6003. }
  6004. }).form; //创建窗体
  6005. _taskbar = {
  6006. "id": str + _formdiv.id,
  6007. "style": {
  6008. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6009. },
  6010. "name": "思维网格",
  6011. "forms": _formdiv,
  6012. "click": function () {
  6013. U.MD.D.I.openApplication(str, obj, info);
  6014. }
  6015. }
  6016. break;
  6017. case "courseDesign":
  6018. _iframe = $$("iframe", {
  6019. "webkitallowfullscreen": "",
  6020. "mozallowfullscreen": "",
  6021. "allowfullscreen": "",
  6022. "frameborder": "no",
  6023. "border": "0",
  6024. "scrolling ": "no",
  6025. "style": {
  6026. "cssText": "border:0; width:100%; height:100%;"
  6027. },
  6028. "src": "/course-design-vue"
  6029. })
  6030. _box.appendChild(_iframe);
  6031. _box.appendChild(_jie);
  6032. _formdiv = new U.UF.UI.form(
  6033. "项目设计-" + _username,
  6034. _box, {
  6035. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6036. "style": {
  6037. "width": "90%",
  6038. "height": "90%",
  6039. "overflow": 'hidden'
  6040. },
  6041. "onresize": function () { }
  6042. }, {
  6043. closecallback: function () { }
  6044. }, {
  6045. "style": {
  6046. "height": "36px"
  6047. }
  6048. }).form; //创建窗体
  6049. _taskbar = {
  6050. "id": str + _formdiv.id,
  6051. "style": {
  6052. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6053. },
  6054. "name": "项目设计",
  6055. "forms": _formdiv,
  6056. "click": function () {
  6057. U.MD.D.I.openApplication(str, obj, info);
  6058. }
  6059. }
  6060. break;
  6061. }
  6062. const script1 = document.createElement("script");
  6063. script1.type = "text/javascript";
  6064. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6065. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6066. const script2 = document.createElement("script");
  6067. script2.type = "text/javascript";
  6068. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6069. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6070. const script3 = document.createElement("script");
  6071. script3.type = "text/javascript";
  6072. script3.charset = "UTF-8";
  6073. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6074. const script4 = document.createElement("script");
  6075. script4.type = "text/javascript";
  6076. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6077. script4.src = window.origin + "/js/Common/jietu2E.js";
  6078. if (_iframe) {
  6079. if (str == 'doc') {
  6080. _iframe = _formdiv.querySelector('iframe')
  6081. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6082. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6083. _iframe.contentWindow.document.body.appendChild(script1);
  6084. _iframe.contentWindow.document.body.appendChild(script2);
  6085. // _iframe.contentWindow.document.body.appendChild(script3);
  6086. _iframe.contentWindow.document.body.appendChild(script4);
  6087. })
  6088. if (onloadListener) {
  6089. _iframe.contentDocument.location.reload()
  6090. } else {
  6091. _iframe.contentDocument.location.reload()
  6092. }
  6093. } else if (str == 'courseDesign') {
  6094. U.UF.DL.iframeLoad(_iframe, function () {
  6095. // _iframe.contentWindow.U.MD.O.W.load();
  6096. // _iframe.contentWindow.document.body.appendChild(script1);
  6097. _iframe.contentWindow.document.body.appendChild(script2);
  6098. _iframe.contentWindow.document.body.appendChild(script4);
  6099. })
  6100. } else if (str == 'mind') {
  6101. _iframe = _formdiv.querySelector('iframe')
  6102. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6103. //
  6104. _iframe.contentWindow.document.body.appendChild(script1);
  6105. _iframe.contentWindow.document.body.appendChild(script2);
  6106. _iframe.contentWindow.document.body.appendChild(script4);
  6107. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6108. })
  6109. if (onloadListener) {
  6110. _iframe.contentDocument.location.reload()
  6111. } else {
  6112. _iframe.contentDocument.location.reload()
  6113. }
  6114. } else if (str == 'whiteboard') {
  6115. _iframe = _formdiv.querySelector('iframe')
  6116. let onloadListener = _iframe.onload = () => {
  6117. _iframe.contentWindow.document.body.appendChild(script1);
  6118. _iframe.contentWindow.document.body.appendChild(script2);
  6119. _iframe.contentWindow.document.body.appendChild(script4);
  6120. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6121. };
  6122. if (onloadListener) {
  6123. _iframe.contentDocument.location.reload()
  6124. } else {
  6125. _iframe.contentDocument.location.reload()
  6126. }
  6127. } else {
  6128. _iframe.onload = () => {
  6129. _iframe.contentWindow.document.body.appendChild(script1);
  6130. _iframe.contentWindow.document.body.appendChild(script2);
  6131. // _iframe.contentWindow.document.body.appendChild(script3);
  6132. _iframe.contentWindow.document.body.appendChild(script4);
  6133. };
  6134. }
  6135. _jie.onclick = async () => {
  6136. let text = ''
  6137. if (aTool == 1) {
  6138. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6139. } else if (aTool == 6) {
  6140. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6141. } else if (aTool == 3) {
  6142. text = await U.MD.D.I.getEditorContent(_iframe);
  6143. }
  6144. _loading.style.display = 'flex'
  6145. console.log(_loading);
  6146. var _ajs = _iframe.contentWindow.document.createElement("script");
  6147. _ajs.type = "text/javascript";
  6148. _ajs.innerHTML =
  6149. // 'console.log(' + _loading + ');\n' +
  6150. 'var _js = document.createElement("script");\n' +
  6151. '_js.type="text/javascript";\n' +
  6152. '_js.charset="UTF-8";\n' +
  6153. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6154. "_js.onload = function(){\n" +
  6155. ' var a = document.getElementsByTagName("img")\n' +
  6156. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6157. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6158. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6159. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6160. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6161. "beforeUpload_shishi(file," +
  6162. "'" +
  6163. _userid +
  6164. "'" +
  6165. ", " +
  6166. "'" +
  6167. _cid +
  6168. "'" +
  6169. ", " +
  6170. "'" +
  6171. _stage +
  6172. "'" +
  6173. ", " +
  6174. "'" +
  6175. _task +
  6176. "'" +
  6177. ", " +
  6178. "'" +
  6179. _tool +
  6180. "'" +
  6181. ", " +
  6182. "'" +
  6183. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6184. "'" +
  6185. ", " +
  6186. "'" +
  6187. aTool +
  6188. "'" +
  6189. ", " +
  6190. "`" +
  6191. text +
  6192. "`" +
  6193. ")\n" +
  6194. " });\n" +
  6195. "}\n" +
  6196. "document.head.appendChild(_js);\n";
  6197. _iframe.contentWindow.document.head.appendChild(_ajs);
  6198. }
  6199. }
  6200. }
  6201. U.MD.D.I.getEditorContent = function (iframe) {
  6202. return new Promise((resolve, reject) => {
  6203. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6204. console.log(content);
  6205. resolve(content)
  6206. });
  6207. });
  6208. }
  6209. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6210. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6211. // if (res.value[0].length > 0) {
  6212. // // resolve(res.value[0][0].text);
  6213. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6214. // $(fileInput).val('');
  6215. // });
  6216. // }
  6217. // }, [], { "type": "GET", "withCredentials": true });
  6218. var xmlhttp;
  6219. var Mac, Sn, DeviceId
  6220. if (window.XMLHttpRequest) {
  6221. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6222. xmlhttp = new XMLHttpRequest();
  6223. } else {
  6224. // IE6, IE5 浏览器执行代码
  6225. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6226. }
  6227. xmlhttp.onreadystatechange = function () {
  6228. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6229. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6230. // resolve(res.value[0][0].text);
  6231. if (type == '2') {
  6232. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6233. } else if (type == '3') {
  6234. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6235. }
  6236. } else {
  6237. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6238. }
  6239. }
  6240. }
  6241. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6242. xmlhttp.send();
  6243. }
  6244. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6245. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6246. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6247. _userinfo = US.userInfo, //登录用户信息
  6248. _userid = US.userInfo.userid //登录用户id
  6249. let _iframe;
  6250. let _cid = cid,
  6251. _stage = stage,
  6252. _task = task,
  6253. _tool = tool;
  6254. var _jie = $$("div", {
  6255. "style": {
  6256. "position": "absolute",
  6257. "bottom": "50px",
  6258. "right": "50px",
  6259. "zIndex": "9999",
  6260. "backgroundColor": "#2268bc",
  6261. "color": "#fff",
  6262. "padding": "12px 20px",
  6263. "cursor": "pointer",
  6264. "borderRadius": "4px",
  6265. },
  6266. "innerHTML": "确认并提交"
  6267. })
  6268. let aTool = ''
  6269. let _loading = document.createElement('div')
  6270. _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;"
  6271. // _loading.id = "";
  6272. let _lchild = document.createElement('div')
  6273. let _limg = document.createElement('img')
  6274. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6275. _limg.style = "width: 26px;margin-right: 10px;"
  6276. _lchild.appendChild(_limg)
  6277. let _lspan = document.createElement('span')
  6278. _lspan.innerHTML = "上传中..."
  6279. _lchild.appendChild(_lspan)
  6280. _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%);"
  6281. _loading.appendChild(_lchild)
  6282. var _box = $$('div', {
  6283. "style": {
  6284. "position": "relative",
  6285. "width": "100%",
  6286. "height": "100%",
  6287. },
  6288. })
  6289. _box.appendChild(_loading)
  6290. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6291. switch (str) {
  6292. case "whiteboard":
  6293. aTool = 1;
  6294. _iframe = $$("iframe", {
  6295. "frameborder": "no",
  6296. "border": "0",
  6297. "scrolling ": "no",
  6298. "style": {
  6299. "cssText": "border:0;width:100%;height:100%"
  6300. },
  6301. "src": "https://iwb.cocorobo.cn/"
  6302. })
  6303. _box.appendChild(_iframe);
  6304. _box.appendChild(_jie);
  6305. _formdiv = new U.UF.UI.form(
  6306. "电子白板",
  6307. _box, {
  6308. "id": "whiteboards" + cid + stage + task + tool,
  6309. "style": {
  6310. "width": "90%",
  6311. "height": "90%",
  6312. "overflow": 'hidden'
  6313. },
  6314. "onresize": function () { }
  6315. }, {
  6316. closecallback: function () { }
  6317. }, {
  6318. "style": {
  6319. "height": "36px"
  6320. }
  6321. }).form; //创建窗体
  6322. _taskbar = {
  6323. "id": str + _formdiv.id,
  6324. "style": {
  6325. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6326. },
  6327. "name": "电子白板",
  6328. "forms": _formdiv,
  6329. "click": function () {
  6330. U.MD.D.I.openApplication(str, obj, info);
  6331. }
  6332. }
  6333. break;
  6334. case "mind":
  6335. aTool = 3;
  6336. _iframe = $$("iframe", {
  6337. "frameborder": "no",
  6338. "border": "0",
  6339. "scrolling ": "no",
  6340. "style": {
  6341. "cssText": "border:0;width:100%;height:100%"
  6342. },
  6343. "src": "/kityminder-editor/dist/index.html"
  6344. });
  6345. _box.appendChild(_iframe);
  6346. _box.appendChild(_jie);
  6347. _formdiv = new U.UF.UI.form(
  6348. "思维导图",
  6349. _box, { //"/jsmind/example/demo.html"
  6350. "id": "minds" + cid + stage + task + tool,
  6351. "style": {
  6352. "width": "90%",
  6353. "height": "90%",
  6354. "overflow": 'hidden'
  6355. },
  6356. "onresize": function () { }
  6357. }, {
  6358. closecallback: function () { }
  6359. }, {
  6360. "style": {
  6361. "height": "36px"
  6362. }
  6363. }).form; //创建窗体
  6364. _taskbar = {
  6365. "id": str + _formdiv.id,
  6366. "style": {
  6367. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6368. },
  6369. "name": "思维导图",
  6370. "forms": _formdiv,
  6371. "click": function () {
  6372. U.MD.D.I.openApplication(str, obj, info);
  6373. }
  6374. }
  6375. break;
  6376. case "doc":
  6377. aTool = 6;
  6378. _iframe = $$("iframe", {
  6379. "frameborder": "no",
  6380. "border": "0",
  6381. "scrolling ": "no",
  6382. "style": {
  6383. "cssText": "border:0;width:100%;height:100%"
  6384. },
  6385. "src": "/Office/Word/WordEditArea.htm"
  6386. })
  6387. _box.appendChild(_iframe);
  6388. _box.appendChild(_jie);
  6389. _formdiv = new U.UF.UI.form(
  6390. "协同文档",
  6391. _box, {
  6392. "id": "docs" + cid + stage + task + tool,
  6393. "style": {
  6394. "width": "90%",
  6395. "height": "90%",
  6396. "overflow": 'hidden'
  6397. },
  6398. "onresize": function () { }
  6399. }, {
  6400. closecallback: function () { }
  6401. }, {
  6402. "style": {
  6403. "height": "36px"
  6404. }
  6405. }).form; //创建窗体
  6406. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6407. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6408. })
  6409. _taskbar = {
  6410. "id": str + _formdiv.id,
  6411. "style": {
  6412. "backgroundImage": "url(/img/icon/doc.png)"
  6413. },
  6414. "name": "协同文档",
  6415. "forms": _formdiv,
  6416. "click": function () {
  6417. U.MD.D.I.openApplication(str, obj, info);
  6418. }
  6419. }
  6420. break;
  6421. }
  6422. const script1 = document.createElement("script");
  6423. script1.type = "text/javascript";
  6424. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6425. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6426. const script2 = document.createElement("script");
  6427. script2.type = "text/javascript";
  6428. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6429. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6430. const script3 = document.createElement("script");
  6431. script3.type = "text/javascript";
  6432. script3.charset = "UTF-8";
  6433. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6434. const script4 = document.createElement("script");
  6435. script4.type = "text/javascript";
  6436. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6437. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6438. if (_iframe) {
  6439. if (str == 'doc') {
  6440. _iframe = _formdiv.querySelector('iframe')
  6441. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6442. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6443. _iframe.contentWindow.document.body.appendChild(script1);
  6444. _iframe.contentWindow.document.body.appendChild(script2);
  6445. // _iframe.contentWindow.document.body.appendChild(script3);
  6446. _iframe.contentWindow.document.body.appendChild(script4);
  6447. })
  6448. if (onloadListener) {
  6449. _iframe.contentDocument.location.reload()
  6450. } else {
  6451. _iframe.contentDocument.location.reload()
  6452. }
  6453. } else if (str == 'mind') {
  6454. _iframe = _formdiv.querySelector('iframe')
  6455. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6456. _iframe.contentWindow.document.body.appendChild(script1);
  6457. _iframe.contentWindow.document.body.appendChild(script2);
  6458. _iframe.contentWindow.document.body.appendChild(script4);
  6459. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6460. })
  6461. if (onloadListener) {
  6462. _iframe.contentDocument.location.reload()
  6463. } else {
  6464. _iframe.contentDocument.location.reload()
  6465. }
  6466. } else {
  6467. _iframe.onload = () => {
  6468. _iframe.contentWindow.document.body.appendChild(script1);
  6469. _iframe.contentWindow.document.body.appendChild(script2);
  6470. // _iframe.contentWindow.document.body.appendChild(script3);
  6471. _iframe.contentWindow.document.body.appendChild(script4);
  6472. };
  6473. }
  6474. _jie.onclick = async () => {
  6475. let text = ''
  6476. if (aTool == 6) {
  6477. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6478. } else if (aTool == 3) {
  6479. text = await U.MD.D.I.getEditorContent(_iframe);
  6480. }
  6481. _loading.style.display = 'flex'
  6482. console.log(_loading);
  6483. var _ajs = _iframe.contentWindow.document.createElement("script");
  6484. _ajs.type = "text/javascript";
  6485. _ajs.innerHTML =
  6486. // 'console.log(' + _loading + ');\n' +
  6487. 'var _js = document.createElement("script");\n' +
  6488. '_js.type="text/javascript";\n' +
  6489. '_js.charset="UTF-8";\n' +
  6490. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6491. "_js.onload = function(){\n" +
  6492. ' var a = document.getElementsByTagName("img")\n' +
  6493. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6494. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6495. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6496. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6497. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6498. "beforeUpload_shishi(file," +
  6499. "'" +
  6500. _userid +
  6501. "'" +
  6502. ", " +
  6503. "'" +
  6504. _cid +
  6505. "'" +
  6506. ", " +
  6507. "'" +
  6508. _stage +
  6509. "'" +
  6510. ", " +
  6511. "'" +
  6512. _task +
  6513. "'" +
  6514. ", " +
  6515. "'" +
  6516. _tool +
  6517. "'" +
  6518. ", " +
  6519. "'" +
  6520. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6521. "'" +
  6522. ", " +
  6523. "'" +
  6524. aTool +
  6525. "'" +
  6526. ", " +
  6527. "`" +
  6528. text +
  6529. "`" +
  6530. ")\n" +
  6531. " });\n" +
  6532. "}\n" +
  6533. "document.head.appendChild(_js);\n";
  6534. _iframe.contentWindow.document.head.appendChild(_ajs);
  6535. }
  6536. }
  6537. //U.MD.D.I.openClick(str);
  6538. //如果有任务栏信息
  6539. // if (_taskbar) {
  6540. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6541. // }
  6542. }
  6543. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6544. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6545. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6546. _userinfo = US.userInfo, //登录用户信息
  6547. _userid = US.userInfo.userid //登录用户id
  6548. let _iframe;
  6549. let _cid = cid,
  6550. _stage = stage,
  6551. _task = task,
  6552. _tool = tool;
  6553. var _jie = $$("div", {
  6554. "style": {
  6555. "position": "absolute",
  6556. "bottom": "50px",
  6557. "right": "50px",
  6558. "zIndex": "9999",
  6559. "backgroundColor": "#2268bc",
  6560. "color": "#fff",
  6561. "padding": "12px 20px",
  6562. "cursor": "pointer",
  6563. "borderRadius": "4px",
  6564. },
  6565. "innerHTML": "确认并提交"
  6566. })
  6567. let aTool = ''
  6568. let _loading = document.createElement('div')
  6569. _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;"
  6570. // _loading.id = "";
  6571. let _lchild = document.createElement('div')
  6572. let _limg = document.createElement('img')
  6573. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6574. _limg.style = "width: 26px;margin-right: 10px;"
  6575. _lchild.appendChild(_limg)
  6576. let _lspan = document.createElement('span')
  6577. _lspan.innerHTML = "上传中..."
  6578. _lchild.appendChild(_lspan)
  6579. _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%);"
  6580. _loading.appendChild(_lchild)
  6581. var _box = $$('div', {
  6582. "style": {
  6583. "position": "relative",
  6584. "width": "100%",
  6585. "height": "100%",
  6586. },
  6587. })
  6588. _box.appendChild(_loading)
  6589. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6590. switch (str) {
  6591. case "whiteboard":
  6592. aTool = 1;
  6593. _iframe = $$("iframe", {
  6594. "frameborder": "no",
  6595. "border": "0",
  6596. "scrolling ": "no",
  6597. "style": {
  6598. "cssText": "border:0;width:100%;height:100%"
  6599. },
  6600. "src": "https://iwb.cocorobo.cn/"
  6601. })
  6602. _box.appendChild(_iframe);
  6603. _box.appendChild(_jie);
  6604. _formdiv = new U.UF.UI.form(
  6605. "电子白板",
  6606. _box, {
  6607. "id": "whiteboards" + cid + stage + task + tool,
  6608. "style": {
  6609. "width": "90%",
  6610. "height": "90%",
  6611. "overflow": 'hidden'
  6612. },
  6613. "onresize": function () { }
  6614. }, {
  6615. closecallback: function () { }
  6616. }, {
  6617. "style": {
  6618. "height": "36px"
  6619. }
  6620. }).form; //创建窗体
  6621. _taskbar = {
  6622. "id": str + _formdiv.id,
  6623. "style": {
  6624. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6625. },
  6626. "name": "电子白板",
  6627. "forms": _formdiv,
  6628. "click": function () {
  6629. U.MD.D.I.openApplication(str, obj, info);
  6630. }
  6631. }
  6632. break;
  6633. case "mind":
  6634. aTool = 3;
  6635. _iframe = $$("iframe", {
  6636. "frameborder": "no",
  6637. "border": "0",
  6638. "scrolling ": "no",
  6639. "style": {
  6640. "cssText": "border:0;width:100%;height:100%"
  6641. },
  6642. "src": "/kityminder-editor/dist/index.html"
  6643. });
  6644. _box.appendChild(_iframe);
  6645. _box.appendChild(_jie);
  6646. _formdiv = new U.UF.UI.form(
  6647. "思维导图",
  6648. _box, { //"/jsmind/example/demo.html"
  6649. "id": "minds" + cid + stage + task + tool,
  6650. "style": {
  6651. "width": "90%",
  6652. "height": "90%",
  6653. "overflow": 'hidden'
  6654. },
  6655. "onresize": function () { }
  6656. }, {
  6657. closecallback: function () { }
  6658. }, {
  6659. "style": {
  6660. "height": "36px"
  6661. }
  6662. }).form; //创建窗体
  6663. _taskbar = {
  6664. "id": str + _formdiv.id,
  6665. "style": {
  6666. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6667. },
  6668. "name": "思维导图",
  6669. "forms": _formdiv,
  6670. "click": function () {
  6671. U.MD.D.I.openApplication(str, obj, info);
  6672. }
  6673. }
  6674. break;
  6675. case "doc":
  6676. aTool = 6;
  6677. _iframe = $$("iframe", {
  6678. "frameborder": "no",
  6679. "border": "0",
  6680. "scrolling ": "no",
  6681. "style": {
  6682. "cssText": "border:0;width:100%;height:100%"
  6683. },
  6684. "src": "/Office/Word/WordEditArea.htm"
  6685. })
  6686. _box.appendChild(_iframe);
  6687. _box.appendChild(_jie);
  6688. _formdiv = new U.UF.UI.form(
  6689. "协同文档",
  6690. _box, {
  6691. "id": "docs" + cid + stage + task + tool,
  6692. "style": {
  6693. "width": "90%",
  6694. "height": "90%",
  6695. "overflow": 'hidden'
  6696. },
  6697. "onresize": function () { }
  6698. }, {
  6699. closecallback: function () { }
  6700. }, {
  6701. "style": {
  6702. "height": "36px"
  6703. }
  6704. }).form; //创建窗体
  6705. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6706. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6707. })
  6708. _taskbar = {
  6709. "id": str + _formdiv.id,
  6710. "style": {
  6711. "backgroundImage": "url(/img/icon/doc.png)"
  6712. },
  6713. "name": "协同文档",
  6714. "forms": _formdiv,
  6715. "click": function () {
  6716. U.MD.D.I.openApplication(str, obj, info);
  6717. }
  6718. }
  6719. break;
  6720. }
  6721. const script1 = document.createElement("script");
  6722. script1.type = "text/javascript";
  6723. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6724. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6725. const script2 = document.createElement("script");
  6726. script2.type = "text/javascript";
  6727. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6728. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6729. const script3 = document.createElement("script");
  6730. script3.type = "text/javascript";
  6731. script3.charset = "UTF-8";
  6732. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6733. const script4 = document.createElement("script");
  6734. script4.type = "text/javascript";
  6735. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6736. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6737. if (_iframe) {
  6738. if (str == 'doc') {
  6739. _iframe = _formdiv.querySelector('iframe')
  6740. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6741. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6742. _iframe.contentWindow.document.body.appendChild(script1);
  6743. _iframe.contentWindow.document.body.appendChild(script2);
  6744. // _iframe.contentWindow.document.body.appendChild(script3);
  6745. _iframe.contentWindow.document.body.appendChild(script4);
  6746. })
  6747. if (onloadListener) {
  6748. _iframe.contentDocument.location.reload()
  6749. } else {
  6750. _iframe.contentDocument.location.reload()
  6751. }
  6752. } else if (str == 'mind') {
  6753. _iframe = _formdiv.querySelector('iframe')
  6754. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6755. _iframe.contentWindow.document.body.appendChild(script1);
  6756. _iframe.contentWindow.document.body.appendChild(script2);
  6757. _iframe.contentWindow.document.body.appendChild(script4);
  6758. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6759. })
  6760. if (onloadListener) {
  6761. _iframe.contentDocument.location.reload()
  6762. } else {
  6763. _iframe.contentDocument.location.reload()
  6764. }
  6765. } else {
  6766. _iframe.onload = () => {
  6767. _iframe.contentWindow.document.body.appendChild(script1);
  6768. _iframe.contentWindow.document.body.appendChild(script2);
  6769. // _iframe.contentWindow.document.body.appendChild(script3);
  6770. _iframe.contentWindow.document.body.appendChild(script4);
  6771. };
  6772. }
  6773. _jie.onclick = async () => {
  6774. let text = ''
  6775. if (aTool == 6) {
  6776. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6777. } else if (aTool == 3) {
  6778. text = await U.MD.D.I.getEditorContent(_iframe);
  6779. }
  6780. _loading.style.display = 'flex'
  6781. console.log(_loading);
  6782. var _ajs = _iframe.contentWindow.document.createElement("script");
  6783. _ajs.type = "text/javascript";
  6784. _ajs.innerHTML =
  6785. // 'console.log(' + _loading + ');\n' +
  6786. 'var _js = document.createElement("script");\n' +
  6787. '_js.type="text/javascript";\n' +
  6788. '_js.charset="UTF-8";\n' +
  6789. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6790. "_js.onload = function(){\n" +
  6791. ' var a = document.getElementsByTagName("img")\n' +
  6792. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6793. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6794. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6795. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6796. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6797. "beforeUpload_shishi(file," +
  6798. "'" +
  6799. _userid +
  6800. "'" +
  6801. ", " +
  6802. "'" +
  6803. _cid +
  6804. "'" +
  6805. ", " +
  6806. "'" +
  6807. _stage +
  6808. "'" +
  6809. ", " +
  6810. "'" +
  6811. _task +
  6812. "'" +
  6813. ", " +
  6814. "'" +
  6815. _tool +
  6816. "'" +
  6817. ", " +
  6818. "'" +
  6819. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6820. "'" +
  6821. ", " +
  6822. "'" +
  6823. aTool +
  6824. "'" +
  6825. ", " +
  6826. "`" +
  6827. text +
  6828. "`" +
  6829. ")\n" +
  6830. " });\n" +
  6831. "}\n" +
  6832. "document.head.appendChild(_js);\n";
  6833. _iframe.contentWindow.document.head.appendChild(_ajs);
  6834. }
  6835. }
  6836. //U.MD.D.I.openClick(str);
  6837. //如果有任务栏信息
  6838. // if (_taskbar) {
  6839. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6840. // }
  6841. }
  6842. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6843. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6844. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6845. _userinfo = US.userInfo, //登录用户信息
  6846. _userid = US.userInfo.userid //登录用户id
  6847. let _iframe;
  6848. let _cid = cid,
  6849. _stage = stage,
  6850. _task = task,
  6851. _tool = tool;
  6852. var _jie = $$("div", {
  6853. "style": {
  6854. "position": "absolute",
  6855. "bottom": "50px",
  6856. "right": "50px",
  6857. "zIndex": "9999",
  6858. "backgroundColor": "#2268bc",
  6859. "color": "#fff",
  6860. "padding": "12px 20px",
  6861. "cursor": "pointer",
  6862. "borderRadius": "4px",
  6863. },
  6864. "innerHTML": "上传模板"
  6865. })
  6866. let aTool = ''
  6867. let _loading = document.createElement('div')
  6868. _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;"
  6869. // _loading.id = "";
  6870. let _lchild = document.createElement('div')
  6871. let _limg = document.createElement('img')
  6872. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6873. _limg.style = "width: 26px;margin-right: 10px;"
  6874. _lchild.appendChild(_limg)
  6875. let _lspan = document.createElement('span')
  6876. _lspan.innerHTML = "上传中..."
  6877. _lchild.appendChild(_lspan)
  6878. _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%);"
  6879. _loading.appendChild(_lchild)
  6880. var _box = $$('div', {
  6881. "style": {
  6882. "position": "relative",
  6883. "width": "100%",
  6884. "height": "100%",
  6885. },
  6886. })
  6887. _box.appendChild(_loading)
  6888. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6889. switch (str) {
  6890. case "whiteboard":
  6891. aTool = 1;
  6892. _iframe = $$("iframe", {
  6893. "frameborder": "no",
  6894. "border": "0",
  6895. "scrolling ": "no",
  6896. "style": {
  6897. "cssText": "border:0;width:100%;height:100%"
  6898. },
  6899. "src": "https://iwb.cocorobo.cn/"
  6900. })
  6901. _box.appendChild(_iframe);
  6902. _box.appendChild(_jie);
  6903. _formdiv = new U.UF.UI.form(
  6904. "电子白板",
  6905. _box, {
  6906. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6907. "style": {
  6908. "width": "90%",
  6909. "height": "90%",
  6910. "overflow": 'hidden'
  6911. },
  6912. "onresize": function () { }
  6913. }, {
  6914. closecallback: function () { }
  6915. }, {
  6916. "style": {
  6917. "height": "36px"
  6918. }
  6919. }).form; //创建窗体
  6920. _taskbar = {
  6921. "id": str + _formdiv.id,
  6922. "style": {
  6923. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6924. },
  6925. "name": "电子白板",
  6926. "forms": _formdiv,
  6927. "click": function () {
  6928. U.MD.D.I.openApplication(str, obj, info);
  6929. }
  6930. }
  6931. break;
  6932. case "mind":
  6933. aTool = 3;
  6934. _iframe = $$("iframe", {
  6935. "frameborder": "no",
  6936. "border": "0",
  6937. "scrolling ": "no",
  6938. "style": {
  6939. "cssText": "border:0;width:100%;height:100%"
  6940. },
  6941. "src": "/kityminder-editor/dist/index.html"
  6942. });
  6943. _box.appendChild(_iframe);
  6944. _box.appendChild(_jie);
  6945. _formdiv = new U.UF.UI.form(
  6946. "思维导图",
  6947. _box, { //"/jsmind/example/demo.html"
  6948. "id": "minds_Yu" + cid + stage + task + tool,
  6949. "style": {
  6950. "width": "90%",
  6951. "height": "90%",
  6952. "overflow": 'hidden'
  6953. },
  6954. "onresize": function () { }
  6955. }, {
  6956. closecallback: function () { }
  6957. }, {
  6958. "style": {
  6959. "height": "36px"
  6960. }
  6961. }).form; //创建窗体
  6962. _taskbar = {
  6963. "id": str + _formdiv.id,
  6964. "style": {
  6965. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6966. },
  6967. "name": "思维导图",
  6968. "forms": _formdiv,
  6969. "click": function () {
  6970. U.MD.D.I.openApplication(str, obj, info);
  6971. }
  6972. }
  6973. break;
  6974. case "doc":
  6975. aTool = 6;
  6976. _iframe = $$("iframe", {
  6977. "frameborder": "no",
  6978. "border": "0",
  6979. "scrolling ": "no",
  6980. "style": {
  6981. "cssText": "border:0;width:100%;height:100%"
  6982. },
  6983. "src": "/Office/Word/WordEditArea.htm"
  6984. })
  6985. _box.appendChild(_iframe);
  6986. _box.appendChild(_jie);
  6987. _formdiv = new U.UF.UI.form(
  6988. "协同文档",
  6989. _box, {
  6990. "id": "docs_Yu" + cid + stage + task + tool,
  6991. "style": {
  6992. "width": "90%",
  6993. "height": "90%",
  6994. "overflow": 'hidden'
  6995. },
  6996. "onresize": function () { }
  6997. }, {
  6998. closecallback: function () { }
  6999. }, {
  7000. "style": {
  7001. "height": "36px"
  7002. }
  7003. }).form; //创建窗体
  7004. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7005. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7006. })
  7007. _taskbar = {
  7008. "id": str + _formdiv.id,
  7009. "style": {
  7010. "backgroundImage": "url(/img/icon/doc.png)"
  7011. },
  7012. "name": "协同文档",
  7013. "forms": _formdiv,
  7014. "click": function () {
  7015. U.MD.D.I.openApplication(str, obj, info);
  7016. }
  7017. }
  7018. break;
  7019. case "CocoPi":
  7020. aTool = 57;
  7021. _iframe = $$("iframe", {
  7022. "allowpaymentrequest": "allowpaymentrequest",
  7023. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7024. "webkitallowfullscreen": "",
  7025. "mozallowfullscreen": "",
  7026. "frameborder": "no",
  7027. "border": "0",
  7028. "scrolling ": "no",
  7029. "style": {
  7030. "cssText": "border:0;width:100%;height:100%"
  7031. },
  7032. "src": "https://pi.cocorobo.cn/"
  7033. })
  7034. _box.appendChild(_iframe);
  7035. _box.appendChild(_jie);
  7036. _formdiv = new U.UF.UI.form(
  7037. "CocoPi",
  7038. _box, {
  7039. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7040. "style": {
  7041. "width": "90%",
  7042. "height": "90%",
  7043. "overflow": 'hidden'
  7044. },
  7045. "onresize": function () { }
  7046. }, {
  7047. closecallback: function () { }
  7048. }, {
  7049. "style": {
  7050. "height": "36px"
  7051. }
  7052. }).form; //创建窗体
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/cocopi.png)"
  7057. },
  7058. "name": "CocoPi",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. }
  7066. if (_iframe) {
  7067. if (str == 'doc') {
  7068. _iframe = _formdiv.querySelector('iframe')
  7069. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7070. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7071. })
  7072. if (onloadListener) {
  7073. _iframe.contentDocument.location.reload()
  7074. } else {
  7075. _iframe.contentDocument.location.reload()
  7076. }
  7077. } else if (str == 'mind') {
  7078. _iframe = _formdiv.querySelector('iframe')
  7079. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7080. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7081. })
  7082. if (onloadListener) {
  7083. _iframe.contentDocument.location.reload()
  7084. } else {
  7085. _iframe.contentDocument.location.reload()
  7086. }
  7087. } else if (str == 'whiteboard') {
  7088. _iframe = _formdiv.querySelector('iframe')
  7089. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7090. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7091. })
  7092. if (onloadListener) {
  7093. _iframe.contentDocument.location.reload()
  7094. } else {
  7095. _iframe.contentDocument.location.reload()
  7096. }
  7097. } else if (str == 'CocoPi') {
  7098. _iframe = _formdiv.querySelector('iframe')
  7099. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7100. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7101. })
  7102. if (onloadListener) {
  7103. _iframe.contentDocument.location.reload()
  7104. } else {
  7105. _iframe.contentDocument.location.reload()
  7106. }
  7107. } else {
  7108. _iframe.onload = () => { };
  7109. }
  7110. _jie.onclick = async () => {
  7111. let text = ''
  7112. let type = '2'
  7113. if (aTool == 1) {
  7114. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7115. type = '3'
  7116. } else if (aTool == 6) {
  7117. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7118. type = '1'
  7119. } else if (aTool == 3) {
  7120. text = await U.MD.D.I.getEditorContent(_iframe);
  7121. type = '2'
  7122. } else if (aTool == 57) {
  7123. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7124. type = '4'
  7125. }
  7126. _loading.style.display = 'flex'
  7127. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7128. }
  7129. }
  7130. //U.MD.D.I.openClick(str);
  7131. //如果有任务栏信息
  7132. // if (_taskbar) {
  7133. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7134. // }
  7135. }
  7136. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7137. var xmlhttp;
  7138. var Mac, Sn, DeviceId
  7139. if (window.XMLHttpRequest) {
  7140. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7141. xmlhttp = new XMLHttpRequest();
  7142. } else {
  7143. // IE6, IE5 浏览器执行代码
  7144. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7145. }
  7146. xmlhttp.onreadystatechange = function () {
  7147. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7148. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7149. // resolve(res.value[0][0].text);
  7150. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7151. }
  7152. }
  7153. }
  7154. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7155. xmlhttp.send();
  7156. }
  7157. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7158. var xmlhttp;
  7159. var Mac, Sn, DeviceId
  7160. if (window.XMLHttpRequest) {
  7161. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7162. xmlhttp = new XMLHttpRequest();
  7163. } else {
  7164. // IE6, IE5 浏览器执行代码
  7165. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7166. }
  7167. xmlhttp.onreadystatechange = function () {
  7168. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7169. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7170. // resolve(res.value[0][0].text);
  7171. if (type == '2') {
  7172. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7173. } else if (type == '3') {
  7174. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7175. } else if (type == '4') {
  7176. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7177. }
  7178. } else {
  7179. if (type == '2') {
  7180. iframe.contentWindow.editor.minder.importData('json', '')
  7181. } else if (type == '3') {
  7182. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7183. } else if (type == '4') {
  7184. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7185. }
  7186. }
  7187. }
  7188. }
  7189. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7190. xmlhttp.send();
  7191. }
  7192. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7193. var xmlhttp;
  7194. var Mac, Sn, DeviceId
  7195. if (window.XMLHttpRequest) {
  7196. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7197. xmlhttp = new XMLHttpRequest();
  7198. } else {
  7199. // IE6, IE5 浏览器执行代码
  7200. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7201. }
  7202. xmlhttp.onreadystatechange = function () {
  7203. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7204. if (xmlhttp.response) {
  7205. // resolve(res.value[0][0].text);
  7206. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7207. // $(fileInput).val('');
  7208. // });
  7209. span.innerHTML = '上传成功'
  7210. setTimeout(() => {
  7211. loading.style.display = 'none'
  7212. }, 1000);
  7213. }
  7214. }
  7215. }
  7216. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7217. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7218. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7219. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7220. // 设置请求头,表示请求体的编码格式
  7221. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7222. // 设置请求体,使用url-encoded格式的数据
  7223. }
  7224. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7225. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7226. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7227. _userinfo = US.userInfo, //登录用户信息
  7228. _userid = US.userInfo.userid //登录用户id
  7229. let _iframe;
  7230. let _cid = cid,
  7231. _stage = stage,
  7232. _task = task,
  7233. _tool = tool;
  7234. var _jie = $$("div", {
  7235. "style": {
  7236. "position": "absolute",
  7237. "bottom": "50px",
  7238. "right": "50px",
  7239. "zIndex": "9999",
  7240. "backgroundColor": "#2268bc",
  7241. "color": "#fff",
  7242. "padding": "12px 20px",
  7243. "cursor": "pointer",
  7244. "borderRadius": "4px",
  7245. },
  7246. "innerHTML": "提交作业"
  7247. })
  7248. let aTool = ''
  7249. let _loading = document.createElement('div')
  7250. _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;"
  7251. // _loading.id = "";
  7252. let _lchild = document.createElement('div')
  7253. let _limg = document.createElement('img')
  7254. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7255. _limg.style = "width: 26px;margin-right: 10px;"
  7256. _lchild.appendChild(_limg)
  7257. let _lspan = document.createElement('span')
  7258. _lspan.innerHTML = "上传中..."
  7259. _lchild.appendChild(_lspan)
  7260. _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%);"
  7261. _loading.appendChild(_lchild)
  7262. var _box = $$('div', {
  7263. "style": {
  7264. "position": "relative",
  7265. "width": "100%",
  7266. "height": "100%",
  7267. },
  7268. })
  7269. _box.appendChild(_loading)
  7270. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7271. switch (str) {
  7272. case "CocoPi":
  7273. aTool = 57;
  7274. _iframe = $$("iframe", {
  7275. "allowpaymentrequest": "allowpaymentrequest",
  7276. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7277. "webkitallowfullscreen": "",
  7278. "mozallowfullscreen": "",
  7279. "frameborder": "no",
  7280. "border": "0",
  7281. "scrolling ": "no",
  7282. "style": {
  7283. "cssText": "border:0;width:100%;height:100%"
  7284. },
  7285. "src": "https://pi.cocorobo.cn/"
  7286. })
  7287. _box.appendChild(_iframe);
  7288. _box.appendChild(_jie);
  7289. _formdiv = new U.UF.UI.form(
  7290. "CocoPi",
  7291. _box, {
  7292. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7293. "style": {
  7294. "width": "90%",
  7295. "height": "90%",
  7296. "overflow": 'hidden'
  7297. },
  7298. "onresize": function () { }
  7299. }, {
  7300. closecallback: function () { }
  7301. }, {
  7302. "style": {
  7303. "height": "36px"
  7304. }
  7305. }).form; //创建窗体
  7306. _taskbar = {
  7307. "id": str + _formdiv.id,
  7308. "style": {
  7309. "backgroundImage": "url(/img/icon/cocopi.png)"
  7310. },
  7311. "name": "CocoPi",
  7312. "forms": _formdiv,
  7313. "click": function () {
  7314. U.MD.D.I.openApplication(str, obj, info);
  7315. }
  7316. }
  7317. break;
  7318. }
  7319. if (_iframe) {
  7320. if (str == 'CocoPi') {
  7321. _iframe = _formdiv.querySelector('iframe')
  7322. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7323. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7324. })
  7325. if (onloadListener) {
  7326. _iframe.contentDocument.location.reload()
  7327. } else {
  7328. _iframe.contentDocument.location.reload()
  7329. }
  7330. }
  7331. _jie.onclick = async () => {
  7332. let text = ''
  7333. if (aTool == 57) {
  7334. text = _iframe.contentWindow.getLoadXmlStr()
  7335. }
  7336. _loading.style.display = 'flex'
  7337. console.log(_loading);
  7338. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7339. _loading.style.display = 'none'
  7340. let _div = document.createElement('div')
  7341. _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;"
  7342. let _inner = document.createElement('div')
  7343. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7344. _inner.innerHTML = "上传成功"
  7345. _div.appendChild(_inner)
  7346. _iframe.contentWindow.window.document.body.appendChild(_div)
  7347. _div.onclick = () => {
  7348. _iframe.contentWindow.window.document.body.removeChild(_div)
  7349. }
  7350. setTimeout(() => {
  7351. _iframe.contentWindow.window.document.body.removeChild(_div)
  7352. }, 1000);
  7353. }, [], { "type": "POST", "withCredentials": true });
  7354. }
  7355. }
  7356. }
  7357. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7358. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7359. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7360. _userid = student.userid, //登录用户id
  7361. _username = student.student //用户名字
  7362. let _iframe;
  7363. let _cid = cid,
  7364. _stage = stage,
  7365. _task = task,
  7366. _tool = tool;
  7367. var _jie = $$("div", {
  7368. "style": {
  7369. "position": "absolute",
  7370. "bottom": "50px",
  7371. "right": "50px",
  7372. "zIndex": "9999",
  7373. "backgroundColor": "#2268bc",
  7374. "color": "#fff",
  7375. "padding": "12px 20px",
  7376. "cursor": "pointer",
  7377. "borderRadius": "4px",
  7378. },
  7379. "innerHTML": "提交作业"
  7380. })
  7381. let aTool = ''
  7382. let _loading = document.createElement('div')
  7383. _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;"
  7384. // _loading.id = "";
  7385. let _lchild = document.createElement('div')
  7386. let _limg = document.createElement('img')
  7387. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7388. _limg.style = "width: 26px;margin-right: 10px;"
  7389. _lchild.appendChild(_limg)
  7390. let _lspan = document.createElement('span')
  7391. _lspan.innerHTML = "上传中..."
  7392. _lchild.appendChild(_lspan)
  7393. _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%);"
  7394. _loading.appendChild(_lchild)
  7395. var _box = $$('div', {
  7396. "style": {
  7397. "position": "relative",
  7398. "width": "100%",
  7399. "height": "100%",
  7400. },
  7401. })
  7402. _box.appendChild(_loading)
  7403. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7404. switch (str) {
  7405. case "CocoPi":
  7406. aTool = 57;
  7407. _iframe = $$("iframe", {
  7408. "allowpaymentrequest": "allowpaymentrequest",
  7409. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7410. "webkitallowfullscreen": "",
  7411. "mozallowfullscreen": "",
  7412. "frameborder": "no",
  7413. "border": "0",
  7414. "scrolling ": "no",
  7415. "style": {
  7416. "cssText": "border:0;width:100%;height:100%"
  7417. },
  7418. "src": "https://pi.cocorobo.cn/"
  7419. })
  7420. _box.appendChild(_iframe);
  7421. _box.appendChild(_jie);
  7422. _formdiv = new U.UF.UI.form(
  7423. "CocoPi-" + _username,
  7424. _box, {
  7425. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7426. "style": {
  7427. "width": "90%",
  7428. "height": "90%",
  7429. "overflow": 'hidden'
  7430. },
  7431. "onresize": function () { }
  7432. }, {
  7433. closecallback: function () { }
  7434. }, {
  7435. "style": {
  7436. "height": "36px"
  7437. }
  7438. }).form; //创建窗体
  7439. _taskbar = {
  7440. "id": str + _formdiv.id,
  7441. "style": {
  7442. "backgroundImage": "url(/img/icon/cocopi.png)"
  7443. },
  7444. "name": "CocoPi",
  7445. "forms": _formdiv,
  7446. "click": function () {
  7447. U.MD.D.I.openApplication(str, obj, info);
  7448. }
  7449. }
  7450. break;
  7451. }
  7452. if (_iframe) {
  7453. if (str == 'CocoPi') {
  7454. _iframe = _formdiv.querySelector('iframe')
  7455. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7456. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7457. })
  7458. if (onloadListener) {
  7459. _iframe.contentDocument.location.reload()
  7460. } else {
  7461. _iframe.contentDocument.location.reload()
  7462. }
  7463. }
  7464. _jie.onclick = async () => {
  7465. let text = ''
  7466. if (aTool == 57) {
  7467. text = _iframe.contentWindow.getLoadXmlStr()
  7468. }
  7469. _loading.style.display = 'flex'
  7470. console.log(_loading);
  7471. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7472. _loading.style.display = 'none'
  7473. let _div = document.createElement('div')
  7474. _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;"
  7475. let _inner = document.createElement('div')
  7476. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7477. _inner.innerHTML = "上传成功"
  7478. _div.appendChild(_inner)
  7479. _iframe.contentWindow.window.document.body.appendChild(_div)
  7480. _div.onclick = () => {
  7481. _iframe.contentWindow.window.document.body.removeChild(_div)
  7482. }
  7483. setTimeout(() => {
  7484. _iframe.contentWindow.window.document.body.removeChild(_div)
  7485. }, 1000);
  7486. }, [], { "type": "POST", "withCredentials": true });
  7487. }
  7488. }
  7489. }
  7490. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7491. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7492. if (res.value[0].length > 0) {
  7493. if (atool == 57) {
  7494. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7495. }
  7496. } else {
  7497. if (atool == 57) {
  7498. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7499. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7500. }
  7501. }
  7502. }, [], { "type": "POST", "withCredentials": true });
  7503. }