DeskTop.js 454 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836
  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. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeAdminDeskIcon = [
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  407. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  408. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  409. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  410. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  413. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  414. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. ];
  417. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  418. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  419. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  420. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  421. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  422. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  423. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. ];
  431. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  432. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  433. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  434. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  435. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  436. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  437. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  438. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  439. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  440. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  441. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  444. ];
  445. //明德教师桌面图标的全局变量
  446. U.MD.D.I.MingdeTeacherDeskIcon = [
  447. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  448. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  449. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  450. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  451. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  452. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  453. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  454. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  455. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  456. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  457. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  458. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  459. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  460. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  461. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  462. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  463. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  464. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  465. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  466. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  467. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  468. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  469. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  470. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  471. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  472. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  473. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  474. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  475. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  476. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  477. ];
  478. //97c4ee8b-d010-4042-986d-e9d3c217264f
  479. //教师桌面图标的全局变量
  480. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  481. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  482. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  483. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  484. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  485. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  486. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  487. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  488. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  491. ];
  492. //福田
  493. U.MD.D.I.futianTeacherDeskIcon = [
  494. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  495. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  502. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  503. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianAdminDeskIcon = [
  507. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  515. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. ];
  517. //lotech
  518. U.MD.D.I.lotechTeacherDeskIcon = [
  519. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  522. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  523. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //龙华中心小学教师桌面图标的全局变量
  536. U.MD.D.I.longhuateacherDeskIcon = [
  537. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  544. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  545. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  546. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  547. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. ];
  550. //教科院实小教师桌面图标的全局变量
  551. U.MD.D.I.siesteacherDeskIcon = [
  552. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  565. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  566. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesStudentDeskIcon = [
  570. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. ];
  574. //福田
  575. U.MD.D.I.gdjgTeacherDeskIcon = [
  576. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //gdjg
  588. U.MD.D.I.gdjgAdminDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. ];
  599. //hk
  600. U.MD.D.I.hkteacherDeskIcon = [
  601. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  616. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  617. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  618. ];
  619. //hk
  620. U.MD.D.I.hkStudentDeskIcon = [
  621. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  622. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  623. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. ];
  627. //香海正覺蓮社佛教正覺中學
  628. U.MD.D.I.hkZJLSteacherDeskIcon = [
  629. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  630. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  632. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  636. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  642. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. ];
  644. //香海正覺蓮社佛教正覺中學
  645. U.MD.D.I.hkZJLSStudentDeskIcon = [
  646. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. ];
  650. //云海
  651. U.MD.D.I.yunhaiTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  659. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  660. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  661. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  662. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  663. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  664. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  665. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. ];
  668. //福田
  669. U.MD.D.I.heyuanTeacherDeskIcon = [
  670. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  673. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  674. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  675. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  678. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  679. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  680. ];
  681. //福田
  682. U.MD.D.I.heyuanAdminDeskIcon = [
  683. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  688. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  689. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  691. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. ];
  693. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  694. U.MD.D.I.szherTeacherDeskIcon = [
  695. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  696. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  697. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  698. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  699. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  700. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  701. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. ];
  705. //dsei
  706. U.MD.D.I.dseiTeacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  719. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  720. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  721. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  722. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  723. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  724. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  725. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  726. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  727. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  728. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  729. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  730. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  731. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  732. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  733. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  734. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  735. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  736. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  737. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  738. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  739. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  740. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  741. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  742. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  746. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  748. ];
  749. //dsei
  750. U.MD.D.I.dseiAdminDeskIcon = [
  751. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  752. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  754. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  755. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  756. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  757. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  758. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  759. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  760. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  761. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  762. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  763. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  764. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  765. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  766. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  767. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  768. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  769. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  770. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  774. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  775. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  776. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  777. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  778. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  779. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  780. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  781. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  782. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  783. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  784. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  785. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  788. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  789. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  792. ];
  793. //dsei
  794. U.MD.D.I.dseiStudentDeskIcon = [
  795. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  797. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. ];
  801. //未来教育基地
  802. U.MD.D.I.szjkyTeacherDeskIcon = [
  803. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  810. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  811. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  814. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  818. ];
  819. //未来教育基地
  820. U.MD.D.I.szjkyAdminDeskIcon = [
  821. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  826. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  827. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  828. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  829. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  830. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  831. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  832. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  835. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  836. ];
  837. //未来教育基地
  838. U.MD.D.I.szjkyStudentDeskIcon = [
  839. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. ];
  843. //成华教育局
  844. U.MD.D.I.chjyjTeacherDeskIcon = [
  845. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  846. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  847. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  848. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  849. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  850. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  851. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  852. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  853. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  854. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  855. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. ];
  858. //成华教育局chjyj
  859. U.MD.D.I.chjyjAdminDeskIcon = [
  860. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  861. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  862. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  863. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  864. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  865. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  866. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  867. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  868. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  869. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  870. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  871. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  873. ];
  874. //成华教育局chjyj
  875. U.MD.D.I.chjyjStudentDeskIcon = [
  876. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. ];
  880. //tpc
  881. U.MD.D.I.tpcStudentDeskIcon = [
  882. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. ];
  886. //tpc
  887. U.MD.D.I.tpcTeacherDeskIcon = [
  888. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  889. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  890. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  891. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  892. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  893. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  894. ];
  895. //tpc
  896. U.MD.D.I.tpcAdminDeskIcon = [
  897. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  898. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  899. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  900. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  901. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  902. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  903. ];
  904. //#region 桌面初始化a
  905. /**
  906. * 初始化桌面的起始函数
  907. *
  908. */
  909. U.MD.D.I.init = function () {
  910. if ($("#U_MD_D_K")[0]) {
  911. //初始化桌面图标
  912. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  913. // var clickUrl = ':12588/requestIp.php';
  914. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  915. // U.MD.D.I.Ip = data;
  916. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  917. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  918. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  919. // })
  920. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  921. // })
  922. }
  923. }
  924. /**
  925. * 模式切换
  926. *
  927. */
  928. U.MD.D.I.ModeCheck = function (type) {
  929. if (US.Config.type == type) {
  930. return
  931. }
  932. US.Config.type = type
  933. $('.U_PBL_Check .active')[0].className = ''
  934. if (type == 1) {
  935. $('.U_PBL_Check div')[0].className = 'active'
  936. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  937. } else {
  938. $('.U_PBL_Check div')[1].className = 'active'
  939. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  940. }
  941. //初始化桌面图标
  942. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  943. if (type == 2) {
  944. U.MD.D.I.openApplication("project")
  945. }
  946. }
  947. /**
  948. * 隐藏任务栏
  949. *
  950. * @param {element} 桌面元素
  951. */
  952. U.MD.D.I.hiddenTaskbar = function (el) {
  953. //任务栏位置变小
  954. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  955. //桌面的位置变大
  956. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  957. }
  958. /**
  959. * 隐藏任务栏
  960. *
  961. * @param {element} 桌面元素
  962. */
  963. U.MD.D.I.hiddenTaskbarout = function (el) {
  964. //任务栏位置变小
  965. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  966. //任务栏位置变化
  967. U.selectEl(el).css({ "bottom": "-60px" });
  968. //桌面的位置变大
  969. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  970. }
  971. }
  972. /**
  973. * 初始化打印桌面图标
  974. *
  975. * @param {element} 桌面元素
  976. */
  977. U.MD.D.I.initDesktopIcons = function (el, type) {
  978. var i, //用于循环
  979. _content, //桌面图标元素
  980. _iconcontent, //桌面图标元素
  981. _frag = $$("frag"), //定义一个碎片元素
  982. _type = US.userInfo.type,
  983. _org = US.userInfo.org,
  984. _oid = US.userInfo.organizeid,
  985. _role = US.userInfo.role,
  986. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  987. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  988. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  989. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  990. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  991. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  992. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  993. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  994. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  995. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  996. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  997. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  998. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  999. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1000. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1001. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1002. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1003. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1004. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1005. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1006. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1007. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1008. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1009. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1010. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1011. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1012. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1013. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1014. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1015. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1016. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1017. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1018. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1019. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1020. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1021. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1022. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1023. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1024. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1025. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1026. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1027. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1028. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1029. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1030. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1031. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1032. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1033. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1034. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1035. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1036. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1037. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1038. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1039. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1040. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1041. 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'];
  1042. 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'];
  1043. //清楚桌面图标
  1044. el.innerHTML = "";
  1045. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1046. _teacherDesktopIconInfo.push(
  1047. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1048. { "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)" } },
  1049. )
  1050. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1051. }
  1052. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1053. _teacherDesktopIconInfo.push(
  1054. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1055. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1056. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1057. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1058. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1059. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1060. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1061. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1062. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1063. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1064. )
  1065. }
  1066. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1067. _teacherDesktopIconInfo.push(
  1068. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1069. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1070. )
  1071. _studentDesktopIconInfo.push(
  1072. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1073. )
  1074. }
  1075. //麒麟二中 和 民新小学
  1076. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1077. _teacherDesktopIconInfo.push(
  1078. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1079. )
  1080. }
  1081. //麒麟二中
  1082. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1083. _studentDesktopIconInfo.push(
  1084. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1085. )
  1086. }
  1087. //万科双语
  1088. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1089. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1090. if (el.Name == '项目管理') {
  1091. el.Name = 'PBL项目'
  1092. }
  1093. return el
  1094. })
  1095. _studentDesktopIconInfo3.push(
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. )
  1098. }
  1099. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1100. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1101. return el.Name != '魔盒识字' && el.Name != '24点'
  1102. })
  1103. }
  1104. 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) {
  1105. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1106. }
  1107. //循环创建桌面图标
  1108. if (type == 1) {
  1109. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1110. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1111. _content = $$("div", {
  1112. className: "U_MD_D_KO",
  1113. "onmousedown": U.UF.C.closure(function (obj) {
  1114. //防止拖动图标即打开了桌面应用
  1115. U.MD.D.click(this, obj);
  1116. }, [_studentDesktopIconInfo[i]]),
  1117. "onclick": U.UF.C.closure(function (obj) {
  1118. //防止拖动图标即打开了桌面应用
  1119. U.MD.D.click(this, obj);
  1120. }, [_studentDesktopIconInfo[i]])
  1121. }, _frag); //
  1122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1125. }
  1126. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1127. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1128. _content = $$("div", {
  1129. className: "U_MD_D_KO",
  1130. "onmousedown": U.UF.C.closure(function (obj) {
  1131. //防止拖动图标即打开了桌面应用
  1132. U.MD.D.click(this, obj);
  1133. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1134. "onclick": U.UF.C.closure(function (obj) {
  1135. //防止拖动图标即打开了桌面应用
  1136. U.MD.D.click(this, obj);
  1137. }, [_hkZJLSStudentDeskIconInfo[i]])
  1138. }, _frag); //
  1139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1142. } //
  1143. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1144. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1145. _content = $$("div", {
  1146. className: "U_MD_D_KO",
  1147. "onmousedown": U.UF.C.closure(function (obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_tpcStudentDeskIconInfo[i]]),
  1151. "onclick": U.UF.C.closure(function (obj) {
  1152. //防止拖动图标即打开了桌面应用
  1153. U.MD.D.click(this, obj);
  1154. }, [_tpcStudentDeskIconInfo[i]])
  1155. }, _frag); //
  1156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1159. } //
  1160. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1161. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1162. _content = $$("div", {
  1163. className: "U_MD_D_KO",
  1164. "onmousedown": U.UF.C.closure(function (obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_chjyjStudentDeskIconInfo[i]]),
  1168. "onclick": U.UF.C.closure(function (obj) {
  1169. //防止拖动图标即打开了桌面应用
  1170. U.MD.D.click(this, obj);
  1171. }, [_chjyjStudentDeskIconInfo[i]])
  1172. }, _frag); //
  1173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1176. }
  1177. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1178. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1179. _content = $$("div", {
  1180. className: "U_MD_D_KO",
  1181. "onmousedown": U.UF.C.closure(function (obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_szjkyStudentDeskIconInfo[i]]),
  1185. "onclick": U.UF.C.closure(function (obj) {
  1186. //防止拖动图标即打开了桌面应用
  1187. U.MD.D.click(this, obj);
  1188. }, [_szjkyStudentDeskIconInfo[i]])
  1189. }, _frag); //
  1190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1193. }
  1194. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1195. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1196. _content = $$("div", {
  1197. className: "U_MD_D_KO",
  1198. "onmousedown": U.UF.C.closure(function (obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_dseiStudentDeskIconInfo[i]]),
  1202. "onclick": U.UF.C.closure(function (obj) {
  1203. //防止拖动图标即打开了桌面应用
  1204. U.MD.D.click(this, obj);
  1205. }, [_dseiStudentDeskIconInfo[i]])
  1206. }, _frag); //
  1207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1210. }
  1211. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1212. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1213. _content = $$("div", {
  1214. className: "U_MD_D_KO",
  1215. "onmousedown": U.UF.C.closure(function (obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_siesStudentDeskIconInfo[i]]),
  1219. "onclick": U.UF.C.closure(function (obj) {
  1220. //防止拖动图标即打开了桌面应用
  1221. U.MD.D.click(this, obj);
  1222. }, [_siesStudentDeskIconInfo[i]])
  1223. }, _frag); //
  1224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1227. }
  1228. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1229. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1230. _content = $$("div", {
  1231. className: "U_MD_D_KO",
  1232. "onmousedown": U.UF.C.closure(function (obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_hkStudentDeskIconInfo[i]]),
  1236. "onclick": U.UF.C.closure(function (obj) {
  1237. //防止拖动图标即打开了桌面应用
  1238. U.MD.D.click(this, obj);
  1239. }, [_hkStudentDeskIconInfo[i]])
  1240. }, _frag); //
  1241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1244. }
  1245. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1246. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1247. _content = $$("div", {
  1248. className: "U_MD_D_KO",
  1249. "onmousedown": U.UF.C.closure(function (obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_studentDesktopIconInfo[i]]),
  1253. "onclick": U.UF.C.closure(function (obj) {
  1254. //防止拖动图标即打开了桌面应用
  1255. U.MD.D.click(this, obj);
  1256. }, [_studentDesktopIconInfo[i]])
  1257. }, _frag); //
  1258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1261. }
  1262. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1263. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1264. _content = $$("div", {
  1265. className: "U_MD_D_KO",
  1266. "onmousedown": U.UF.C.closure(function (obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_tcStudentDeskIconInfo[i]]),
  1270. "onclick": U.UF.C.closure(function (obj) {
  1271. //防止拖动图标即打开了桌面应用
  1272. U.MD.D.click(this, obj);
  1273. }, [_tcStudentDeskIconInfo[i]])
  1274. }, _frag); //
  1275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1278. }
  1279. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1280. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1281. _content = $$("div", {
  1282. className: "U_MD_D_KO",
  1283. "onmousedown": U.UF.C.closure(function (obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_szscStudentDeskIconInfo[i]]),
  1287. "onclick": U.UF.C.closure(function (obj) {
  1288. //防止拖动图标即打开了桌面应用
  1289. U.MD.D.click(this, obj);
  1290. }, [_szscStudentDeskIconInfo[i]])
  1291. }, _frag); //
  1292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1295. }
  1296. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1297. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1298. _content = $$("div", {
  1299. className: "U_MD_D_KO",
  1300. "onmousedown": U.UF.C.closure(function (obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_studentDesktopIconInfo3[i]]),
  1304. "onclick": U.UF.C.closure(function (obj) {
  1305. //防止拖动图标即打开了桌面应用
  1306. U.MD.D.click(this, obj);
  1307. }, [_studentDesktopIconInfo3[i]])
  1308. }, _frag); //
  1309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1312. }
  1313. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1314. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1315. _content = $$("div", {
  1316. className: "U_MD_D_KO",
  1317. "onmousedown": U.UF.C.closure(function (obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_studentDesktopIconInfo2[i]]),
  1321. "onclick": U.UF.C.closure(function (obj) {
  1322. //防止拖动图标即打开了桌面应用
  1323. U.MD.D.click(this, obj);
  1324. }, [_studentDesktopIconInfo2[i]])
  1325. }, _frag); //
  1326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1329. }
  1330. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1331. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1332. _content = $$("div", {
  1333. className: "U_MD_D_KO",
  1334. "onmousedown": U.UF.C.closure(function (obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_wanketeacherDesktopIconInfo[i]]),
  1338. "onclick": U.UF.C.closure(function (obj) {
  1339. //防止拖动图标即打开了桌面应用
  1340. U.MD.D.click(this, obj);
  1341. }, [_wanketeacherDesktopIconInfo[i]])
  1342. }, _frag); //
  1343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1346. }
  1347. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1348. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1349. _content = $$("div", {
  1350. className: "U_MD_D_KO",
  1351. "onmousedown": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_wankeAdminDesktopIconInfo[i]]),
  1355. "onclick": U.UF.C.closure(function (obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_wankeAdminDesktopIconInfo[i]])
  1359. }, _frag); //
  1360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1363. }
  1364. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1365. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1366. _content = $$("div", {
  1367. className: "U_MD_D_KO",
  1368. "onmousedown": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_tpcOrganizerDeskIconInfo[i]]),
  1372. "onclick": U.UF.C.closure(function (obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_tpcOrganizerDeskIconInfo[i]])
  1376. }, _frag); //
  1377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1380. }
  1381. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1382. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1383. _content = $$("div", {
  1384. className: "U_MD_D_KO",
  1385. "onmousedown": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_tpcTeacherDeskIconInfo[i]]),
  1389. "onclick": U.UF.C.closure(function (obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_tpcTeacherDeskIconInfo[i]])
  1393. }, _frag); //
  1394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1397. }
  1398. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1399. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1400. _content = $$("div", {
  1401. className: "U_MD_D_KO",
  1402. "onmousedown": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_teacherDesktopIconInfo2[i]]),
  1406. "onclick": U.UF.C.closure(function (obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_teacherDesktopIconInfo2[i]])
  1410. }, _frag); //
  1411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1414. }
  1415. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1416. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1417. _content = $$("div", {
  1418. className: "U_MD_D_KO",
  1419. "onmousedown": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_lotechTeacherDeskIconInfo[i]]),
  1423. "onclick": U.UF.C.closure(function (obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_lotechTeacherDeskIconInfo[i]])
  1427. }, _frag); //
  1428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1431. }//
  1432. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1433. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1434. _content = $$("div", {
  1435. className: "U_MD_D_KO",
  1436. "onmousedown": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_siesTeacherDeskIconInfo[i]]),
  1440. "onclick": U.UF.C.closure(function (obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_siesTeacherDeskIconInfo[i]])
  1444. }, _frag); //
  1445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1448. }
  1449. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1450. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_longhuaTeacherDeskIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_longhuaTeacherDeskIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1465. }
  1466. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1467. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_yunhaiTeacherDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1482. } //_hkStudentDeskIconInfo
  1483. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1484. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1499. }
  1500. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1501. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkTeacherDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkTeacherDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1516. }
  1517. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1518. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_gdjgAdminDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_gdjgAdminDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1533. }
  1534. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1535. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_gdjgTeacherDeskIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_gdjgTeacherDeskIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1550. }
  1551. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1552. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_szherTeacherDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_szherTeacherDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1567. }
  1568. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1569. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_heyuannAdminDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_heyuannAdminDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1586. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_heyuanTeacherDeskIconInfo[i]]),
  1593. "onclick": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_heyuanTeacherDeskIconInfo[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1601. } //
  1602. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1603. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_dseiAdminDeskIconInfo[i]]),
  1610. "onclick": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_dseiAdminDeskIconInfo[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1618. }
  1619. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1620. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_dseiTeacherDeskIconInfo[i]]),
  1627. "onclick": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_dseiTeacherDeskIconInfo[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1635. } //
  1636. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1637. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_chjyjAdminDeskIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_chjyjAdminDeskIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1652. }//
  1653. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1654. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_chjyjTeacherDeskIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_chjyjTeacherDeskIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1671. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_szjkyAdminDeskIconInfo[i]]),
  1678. "onclick": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_szjkyAdminDeskIconInfo[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1686. }//
  1687. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1688. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_szjkyTeacherDeskIconInfo[i]]),
  1695. "onclick": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_szjkyTeacherDeskIconInfo[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1703. }
  1704. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1705. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_futianAdminDeskIconInfo[i]]),
  1712. "onclick": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_futianAdminDeskIconInfo[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1720. }
  1721. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1722. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_futianTeacherDeskIconInfo[i]]),
  1729. "onclick": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_futianTeacherDeskIconInfo[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1737. }
  1738. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1739. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_MingdeTeacherDeskIcon[i]]),
  1746. "onclick": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_MingdeTeacherDeskIcon[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1754. }
  1755. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1756. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_lhsAdminDesktopIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_lhsAdminDesktopIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1773. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_lhsteacherDesktopIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_lhsteacherDesktopIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1790. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_zhoujiateacherDesktopIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1805. }
  1806. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1807. for (i = 0; i < _hanDeskIcon.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_hanDeskIcon[i]]),
  1814. "onclick": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_hanDeskIcon[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1824. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_orgStemDeskIcon[i]]),
  1831. "onclick": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_orgStemDeskIcon[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1841. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_szulsDeskIcon[i]]),
  1848. "onclick": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_szulsDeskIcon[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1858. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_orgDesktopIconInfo[i]]),
  1865. "onclick": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_orgDesktopIconInfo[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1873. }
  1874. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1875. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_schoolDesktopIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_schoolDesktopIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1892. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. "onmousedown": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_GMteacherDesktopIconInfo[i]]),
  1899. "onclick": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_GMteacherDesktopIconInfo[i]])
  1903. }, _frag); //
  1904. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1905. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1906. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1907. }
  1908. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1909. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1910. _content = $$("div", {
  1911. className: "U_MD_D_KO",
  1912. "onmousedown": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_SONGteacherDesktopIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_SONGteacherDesktopIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1924. }
  1925. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1926. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1927. _content = $$("div", {
  1928. className: "U_MD_D_KO",
  1929. "onmousedown": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_GMstudentDesktopIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_GMstudentDesktopIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1941. }
  1942. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1943. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1944. _content = $$("div", {
  1945. className: "U_MD_D_KO",
  1946. "onmousedown": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_tcTeacherDeskIconInfo[i]]),
  1950. "onclick": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_tcTeacherDeskIconInfo[i]])
  1954. }, _frag); //
  1955. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1956. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1957. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1958. }
  1959. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1960. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1961. _content = $$("div", {
  1962. className: "U_MD_D_KO",
  1963. "onmousedown": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_tcOrganizerDeskIconInfo[i]]),
  1967. "onclick": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_tcOrganizerDeskIconInfo[i]])
  1971. }, _frag); //
  1972. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1973. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1974. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1975. }
  1976. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1977. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1978. _content = $$("div", {
  1979. className: "U_MD_D_KO",
  1980. "onmousedown": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_szscTeacherDeskIconInfo[i]]),
  1984. "onclick": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_szscTeacherDeskIconInfo[i]])
  1988. }, _frag); //
  1989. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1990. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1991. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1992. }
  1993. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1994. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1995. _content = $$("div", {
  1996. className: "U_MD_D_KO",
  1997. "onmousedown": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_szscOrganizerDeskIconInfo[i]]),
  2001. "onclick": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_szscOrganizerDeskIconInfo[i]])
  2005. }, _frag); //
  2006. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2007. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2008. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2009. }
  2010. } else {
  2011. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. "onmousedown": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_teacherDesktopIconInfo[i]]),
  2018. "onclick": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_teacherDesktopIconInfo[i]])
  2022. }, _frag); //
  2023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2026. }
  2027. }
  2028. } else {
  2029. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2030. _content = $$("div", {
  2031. className: "U_MD_D_KO",
  2032. style: { 'width': '124px', 'height': '145px' },
  2033. "onmousedown": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_easyDesktopIconInfo[i]]),
  2037. "onclick": U.UF.C.closure(function (obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_easyDesktopIconInfo[i]])
  2041. }, _frag); //
  2042. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2043. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2044. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2045. }
  2046. }
  2047. if (type == 1) {
  2048. //加载好后给图标定位
  2049. U.MD.D.iconPostion($(_frag).Child());
  2050. } else {
  2051. //加载好后给图标定位
  2052. U.MD.D.iconPostion2($(_frag).Child());
  2053. }
  2054. //把图标加载到页面
  2055. el.appendChild(_frag);
  2056. }
  2057. /**
  2058. * 显示任务栏
  2059. *
  2060. * @param {element} 桌面元素
  2061. */
  2062. U.MD.D.I.displayTaskbar = function (el) {
  2063. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2064. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2065. //任务栏位置变化
  2066. U.selectEl(el).css({ "bottom": "0px" });
  2067. //桌面位置变话
  2068. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2069. }
  2070. }
  2071. //#region 桌面图标拖动逻辑
  2072. /**
  2073. * 桌面排列图标
  2074. *
  2075. * @param {element} 桌面元素
  2076. * @param {object} 上下相距的距离
  2077. * @param {object} 左右相距的距离
  2078. * @return {object} 命名空间
  2079. */
  2080. U.MD.D.iconPostion = function (childs, top, left) {
  2081. var i; //用于循环处理
  2082. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2083. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2084. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2085. for (i = 0; i < childs.length; i++) {
  2086. //如果竖排top超过了范围处理
  2087. if (top + 95 > US.height - 10) {
  2088. //left超过了页面范围处理,则向上重叠打印处理
  2089. if ((left + 180) > US.width) {
  2090. top -= 110;
  2091. left -= 90;
  2092. }
  2093. //没有超过范围,那么left+90添加到下一个竖排打印
  2094. else {
  2095. left += 90;
  2096. top = 15;
  2097. };
  2098. }
  2099. //给图标的位置赋值
  2100. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2101. if (i < childs.length - 1) {
  2102. //页面图标每次向下加95
  2103. top += 95;
  2104. }
  2105. }
  2106. //返回最后调用的图标的位置
  2107. return [top, left];
  2108. }
  2109. /**
  2110. * 桌面排列图标
  2111. *
  2112. * @param {element} 桌面元素
  2113. * @param {object} 上下相距的距离
  2114. * @param {object} 左右相距的距离
  2115. * @return {object} 命名空间
  2116. */
  2117. U.MD.D.iconPostion2 = function (childs, top, left) {
  2118. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2119. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2120. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2121. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2122. for (i = 0; i < childs.length; i++) {
  2123. //如果竖排top超过了范围处理
  2124. if (left + 150 > US.width - 10) {
  2125. //left超过了页面范围处理,则向上重叠打印处理
  2126. if ((top + 180) > US.Height) {
  2127. top -= 150;
  2128. left -= 150;
  2129. }
  2130. //没有超过范围,那么left+90添加到下一个竖排打印
  2131. else {
  2132. top += 150;
  2133. left = ol;
  2134. };
  2135. }
  2136. //给图标的位置赋值
  2137. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2138. if (i < childs.length - 1) {
  2139. //页面图标每次向下加95
  2140. left += 150;
  2141. }
  2142. }
  2143. //返回最后调用的图标的位置
  2144. return [top, left];
  2145. }
  2146. /**
  2147. * 桌面点击事件逻辑
  2148. *
  2149. * @param {element} 桌面元素
  2150. * @param {object} 上下相距的距离
  2151. * @param {object} 左右相距的距离
  2152. * @return {object} 命名空间
  2153. */
  2154. U.MD.D.click = function (el, obj) {
  2155. var _buttonnumber = event.button; //点击的按钮的事件值
  2156. var _userinfo = US.userInfo;
  2157. U.UF.EV.stopBubble(); //阻止向上冒泡
  2158. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2159. if (_buttonnumber < 2) {
  2160. //如果是click事件的处理
  2161. if (event.type == "click") {
  2162. //如果元素在mousemove事件中没有移动则出发click事件
  2163. if (!U.MD.D.I.IsDrag) {
  2164. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2165. U.alert("请先登录您的账号!");
  2166. setTimeout(() => {
  2167. U.MD.U.L.login();
  2168. }, 2000);
  2169. } else {
  2170. //打开应用处理
  2171. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2172. }
  2173. }
  2174. }
  2175. //如果是mouse事件的处理
  2176. else {
  2177. if (US.Config.type == '1') {
  2178. //拖动处理,添加拖动和拖动结束事件
  2179. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2180. }
  2181. }
  2182. U.MD.D.I.IsDrag = false;
  2183. }
  2184. }
  2185. /**
  2186. * 拖动的处理
  2187. *
  2188. */
  2189. U.MD.D.iconMove = function () {
  2190. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2191. U.MD.D.I.IsDrag = true;
  2192. }
  2193. /**
  2194. * 拖动结束后,这里是定位处理,以网状的形式定位
  2195. *
  2196. * @param {element} 拖动的元素
  2197. * @return {object} 命名空间
  2198. */
  2199. U.MD.D.iconUp = function (el) {
  2200. var _top = 15,
  2201. _left = 20,
  2202. _margin,
  2203. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2204. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2205. if (_positioninfo["OT"] > 15) {
  2206. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2207. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2208. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2209. }
  2210. if (_positioninfo["OL"] > 20) {
  2211. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2212. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2213. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2214. }
  2215. //while循环判断么一个重叠的元素
  2216. do {
  2217. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2218. _top = _positioninfo[0] + 95; //得到定位后的top
  2219. _left = _positioninfo[1]; //得到定位后的left
  2220. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2221. }
  2222. /**
  2223. * 判断拖动后图标是否重叠
  2224. *
  2225. * @param {element} 拖动的元素
  2226. * @param {element} 桌面所有的元素
  2227. * @param {array} 拖动元素的位置
  2228. ----------[0] 上 top
  2229. ----------[1] 左 left
  2230. * @return {object} 命名空间
  2231. */
  2232. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2233. //循环所有的图标
  2234. for (var i = 0; i < childs.length; i++) {
  2235. //判断有没有和该图标诶子重叠的元素
  2236. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2237. return childs[i]; //如果有返回
  2238. }
  2239. }
  2240. }
  2241. //#endregion
  2242. //#endregion
  2243. //#region 桌面应用
  2244. /**
  2245. * 打开应用
  2246. *
  2247. * @param {string} 类型
  2248. -----------------Disk 网盘系统
  2249. -----------------PDisk 学习系统网盘
  2250. -----------------Poto 图片
  2251. -----------------Video 视频
  2252. -----------------Music 音乐
  2253. -----------------Word word
  2254. -----------------Excel excel
  2255. -----------------Txt 记事本
  2256. -----------------PB 学习系统
  2257. -----------------Blog 朋友圈系统
  2258. -----------------FTP ftp系统
  2259. -----------------Group 好友群
  2260. -----------------SY 首页系统
  2261. -----------------Set 个人设置
  2262. -----------------XSet 系统设置
  2263. -----------------App 我们所有的app
  2264. -----------------BC c.1473.cn 平台
  2265. -----------------CWeb d.1473.cn 变成平台
  2266. -----------------其他的外联系统 我们统一用iframe打开
  2267. * @param {array} 类型
  2268. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2269. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2270. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2271. 如果第一个参数为其他,则无第二个参数
  2272. * @returns {array}
  2273. */
  2274. window.addEventListener('message', function (e) { // 监听 message 事件
  2275. // alert(e.data.type);
  2276. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2277. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2278. //3是展示全部阶段 2学生 1老师 4专家
  2279. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2280. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2281. //3是展示全部阶段 2学生 1老师 4专家
  2282. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2283. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2284. //3是展示全部阶段 2学生 1老师 4专家
  2285. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2286. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2287. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2288. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2289. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2290. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2291. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2292. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2293. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2294. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2295. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2296. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2297. //3是展示全部阶段 2学生 1老师 4专家
  2298. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2299. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2300. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2301. U.MD.D.I.selectUser();
  2302. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2303. var _formel = document.getElementById("study");
  2304. U.UF.F.windowZooming(_formel);
  2305. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2306. var _formel = document.getElementById("studyDetail");
  2307. U.UF.F.windowZooming(_formel);
  2308. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2309. var _formel = document.getElementById("studyDetail");
  2310. U.UF.F.windowZooming(_formel);
  2311. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2312. var _formel = document.getElementById("studentStudy");
  2313. U.UF.F.windowZooming(_formel);
  2314. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2315. // var _formel = document.getElementById("study");
  2316. //如果最大化了,那么就把他缩小
  2317. // if (_formel.ismaximize) {
  2318. // return;
  2319. // }
  2320. // U.UF.F.windowZooming(_formel);
  2321. // U.UF.F.topWindow(_formel);
  2322. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2323. // var _formel = document.getElementById("studyDetail");
  2324. //如果最大化了,那么就把他缩小
  2325. // if (_formel.ismaximize) {
  2326. // return;
  2327. // }
  2328. // U.UF.F.windowZooming(_formel);
  2329. // U.UF.F.topWindow(_formel);
  2330. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2331. // var _formel = document.getElementById("studentStudy");
  2332. // if (_formel.ismaximize) {
  2333. // return;
  2334. // }
  2335. // U.UF.F.windowZooming(_formel);
  2336. // U.UF.F.topWindow(_formel);
  2337. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2338. var _formel = document.getElementById("study");
  2339. // if (_formel.ismaximize) {
  2340. // return;
  2341. // }
  2342. // U.UF.F.windowZooming(_formel);
  2343. U.UF.F.topWindow(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2345. var _formel = document.getElementById("studentIndex");
  2346. U.UF.F.windowZooming(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2348. var _formel = document.getElementById("studyDetailS");
  2349. U.UF.F.windowZooming(_formel);
  2350. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2351. var _formel = document.getElementById("studioIndex");
  2352. U.UF.F.windowZooming(_formel);
  2353. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2354. var _formel = document.getElementById("studyDetailStudio");
  2355. U.UF.F.windowZooming(_formel);
  2356. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2357. var _formel = document.getElementById("studyDetailStudio");
  2358. U.UF.F.windowZooming(_formel);
  2359. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2360. var _formel = document.getElementById("studyDetailNT");
  2361. U.UF.F.windowZooming(_formel);
  2362. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2363. var _formel = document.getElementById("studyDetailS");
  2364. U.UF.F.windowZooming(_formel);
  2365. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2366. var _formel = document.getElementById("studyDetailS");
  2367. U.UF.F.topWindow(_formel);
  2368. } else if (e.data.tools && e.data.tools == "1") {
  2369. // U.MD.D.I.openApplication("whiteboard")
  2370. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2371. } else if (e.data.tools && e.data.tools == "2") {
  2372. U.MD.D.I.openApplication("note")
  2373. } else if (e.data.tools && e.data.tools == "3") {
  2374. // U.MD.D.I.openApplication("mind")
  2375. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2376. } else if (e.data.tools && e.data.tools == "4") {
  2377. U.MD.D.I.openApplication("investigation")
  2378. } else if (e.data.tools && e.data.tools == "6") {
  2379. // U.MD.D.I.openApplication("doc")
  2380. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2381. } else if (e.data.tools && e.data.tools == "7") {
  2382. // U.MD.D.I.openApplication("mindNetwork")
  2383. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2384. } else if (e.data.tools && e.data.tools == "8") {
  2385. U.MD.D.I.openApplication("library")
  2386. } else if (e.data.tools && e.data.tools == "17") {
  2387. U.MD.D.I.openApplication("stuLibrary")
  2388. } else if (e.data.tools && e.data.tools == "18") {
  2389. U.MD.D.I.openApplication("train")
  2390. } else if (e.data.tools && e.data.tools == "21") {
  2391. U.MD.D.I.openApplication("program")
  2392. } else if (e.data.tools && e.data.tools == "22") {
  2393. U.MD.D.I.openApplication("AIprogram2")
  2394. } else if (e.data.tools && e.data.tools == "23") {
  2395. U.MD.D.I.openApplication("Pythonprogram")
  2396. } else if (e.data.tools && e.data.tools == "24") {
  2397. U.MD.D.I.openApplication("AIprogram")
  2398. } else if (e.data.tools && e.data.tools == "25") {
  2399. U.MD.D.I.openApplication("sys")
  2400. } else if (e.data.tools && e.data.tools == "26") {
  2401. // U.MD.D.I.openApplication("courseDesign")
  2402. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2403. } else if (e.data.tools && e.data.tools == "31") {
  2404. U.MD.D.I.openApplication("netWorkPanel")
  2405. } else if (e.data.tools && e.data.tools == "32") {
  2406. U.MD.D.I.openApplication("codeEdit")
  2407. } else if (e.data.tools && e.data.tools == "57") {
  2408. U.MD.D.I.openApplication("CocoPi")
  2409. } else if (e.data.tools && e.data.tools == "63") {
  2410. U.MD.D.I.openApplication("Wood")
  2411. } else if (e.data.tools && e.data.tools == "58") {
  2412. U.MD.D.I.openApplication("car")
  2413. } else if (e.data.tools && e.data.tools == "59") {
  2414. U.MD.D.I.openApplication("lineSearch")
  2415. } else if (e.data.tools && e.data.tools == "60") {
  2416. U.MD.D.I.openApplication("deepLearning")
  2417. } else if (e.data.tools && e.data.tools == "61") {
  2418. U.MD.D.I.openApplication("allHistory")
  2419. } else if (e.data.tools && e.data.tools == "28") {
  2420. U.MD.D.I.openApplication("translation")
  2421. } else if (e.data.tools && e.data.tools == "37") {
  2422. U.MD.D.I.openApplication("mohe")
  2423. } else if (e.data.tools && e.data.tools == "38") {
  2424. U.MD.D.I.openApplication("24game")
  2425. } else if (e.data.tools && e.data.tools == "39") {
  2426. U.MD.D.I.openApplication("GeoGebra")
  2427. } else if (e.data.tools && e.data.tools == "43") {
  2428. U.MD.D.I.openApplication("studentEvaluate")
  2429. } else if (e.data.tools && e.data.tools == "44") {
  2430. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2431. } else if (e.data.tools && e.data.tools == "46") {
  2432. U.MD.D.I.openApplication("project")
  2433. } else if (e.data.tools && e.data.tools == "1s") {
  2434. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2435. } else if (e.data.tools && e.data.tools == "3s") {
  2436. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2437. } else if (e.data.tools && e.data.tools == "6s") {
  2438. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2439. } else if (e.data.tools && e.data.tools == "1studio") {
  2440. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2441. } else if (e.data.tools && e.data.tools == "3studio") {
  2442. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2443. } else if (e.data.tools && e.data.tools == "6studio") {
  2444. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2445. } else if (e.data.tools && e.data.tools == "3y") {
  2446. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2447. } else if (e.data.tools && e.data.tools == "1y") {
  2448. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2449. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2450. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2451. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2452. U.MD.D.I.openApplication("AIAnalyse")
  2453. } else if (e.data.tools && e.data.tools == "1teacher") {
  2454. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2455. } else if (e.data.tools && e.data.tools == "3teacher") {
  2456. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2457. } else if (e.data.tools && e.data.tools == "7teacher") {
  2458. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2459. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2460. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2461. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2462. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2463. } else if (e.data.tools && e.data.tools == "1E") {
  2464. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2465. } else if (e.data.tools && e.data.tools == "3E") {
  2466. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2467. } else if (e.data.tools && e.data.tools == "57y") {
  2468. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2469. } else if (e.data.tools && e.data.tools == "57u") {
  2470. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2471. } else if (e.data.tools && e.data.tools == "57teacher") {
  2472. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2473. } else if (e.data.tools && e.data.tools == "64") {
  2474. U.MD.D.I.openApplication("AIChat")
  2475. } else if (e.data.tools && e.data.tools == "66") {
  2476. U.MD.D.I.openApplication("formulaEdi")
  2477. } else if (e.data.tools && e.data.tools == "67") {
  2478. U.MD.D.I.openApplication("molStr")
  2479. } else if (e.data.tools && e.data.tools == "68") {
  2480. U.MD.D.I.openApplication("timeAxis")
  2481. } else if (e.data.tools && e.data.tools == "openCourse") {
  2482. let _data = {
  2483. typea: e.data.typea || '',
  2484. typeb: e.data.typeb || '',
  2485. typed: e.data.typed || '',
  2486. }
  2487. U.MD.D.I.openInApplication("index", _data)
  2488. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2489. let _data = {
  2490. classid: e.data.classid || '',
  2491. }
  2492. U.MD.D.I.openInApplication("dataClass", _data)
  2493. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2494. let _data = {
  2495. cid: e.data.cid || '',
  2496. gid: e.data.gid || '',
  2497. }
  2498. U.MD.D.I.openInApplication("opencCscl", _data)
  2499. }
  2500. });
  2501. U.MD.D.I.selectUser = function () {
  2502. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2503. if (res.value[0].length > 0) {
  2504. US.userInfo = res.value[0][0];
  2505. $(".userName")[0].innerHTML = US.userInfo.username;
  2506. }
  2507. }, [], { "type": "GET", "withCredentials": true });
  2508. }
  2509. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2510. var _userinfo = US.userInfo, //登录用户信息
  2511. _userid = US.userInfo.userid, //登录用户id
  2512. _oid = _userinfo.organizeid,
  2513. _type = US.userInfo.type,
  2514. _org = US.userInfo.org,
  2515. _role = US.userInfo.role,
  2516. _classId = US.userInfo.classid;
  2517. if (_type == 4) {
  2518. tType = 4
  2519. }
  2520. switch (str) {
  2521. case "studyDetailNT": //无终端模式
  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/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2530. "id": "studyDetailNT",
  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 "studyDetail":
  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/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2548. "id": "studyDetail",
  2549. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2555. break;
  2556. }
  2557. case "studyDetailS":
  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/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2566. "id": "studyDetailS",
  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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2573. break;
  2574. }
  2575. case "studyDetailStudio":
  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/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2584. "id": "studyDetailStudio",
  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/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2591. break;
  2592. }
  2593. case "studyDetailS5":
  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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2602. "id": "studyDetailS",
  2603. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2609. break;
  2610. }
  2611. case "studyDetailGM":
  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": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2620. "id": "studyDetail",
  2621. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2627. break;
  2628. }
  2629. case "hanUrl":
  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": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2638. "id": "hanUrl",
  2639. "style": { "width": "90%", "height": "90%", "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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2645. break;
  2646. }
  2647. case "index":
  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-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 }), {
  2656. "id": "study",
  2657. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2663. break;
  2664. }
  2665. case "dataClass":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2674. "id": "dataClass",
  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/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2681. break;
  2682. }
  2683. case "opencCscl":
  2684. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2685. setTimeout(() => {
  2686. U.MD.U.L.login();
  2687. }, 2000);
  2688. } else {
  2689. _formdiv = new U.UF.UI.form(
  2690. "协同建构",
  2691. $$("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 }), {
  2692. "id": "futureClass",
  2693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2694. "onresize": function () { }
  2695. }, {
  2696. closecallback: function () { }
  2697. }, { "style": { "height": "36px" } }).form; //创建窗体
  2698. _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); } }
  2699. break;
  2700. }
  2701. }
  2702. }
  2703. U.MD.D.I.openApplication = function (str, obj, info) {
  2704. obj = obj || {};
  2705. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2706. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2707. _userinfo = US.userInfo, //登录用户信息
  2708. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2709. _oid = obj.organizeid || _userinfo.organizeid,
  2710. _type = US.userInfo.type,
  2711. _org = US.userInfo.org,
  2712. _role = US.userInfo.role,
  2713. _classId = US.userInfo.classid,
  2714. _TscreenType = 1
  2715. _screenType = 2,
  2716. _SscreenType = 3;
  2717. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2718. return;
  2719. }
  2720. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2721. switch (str) {
  2722. case "studnetProject": //好友打开
  2723. _formdiv = new U.UF.UI.form(
  2724. "我的项目",
  2725. $$("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 }), {
  2726. "id": "studnetProject",
  2727. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2728. "onresize": function () { }
  2729. }, {
  2730. closecallback: function () { }
  2731. }, { "style": { "height": "36px" } }).form; //创建窗体
  2732. _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); } }
  2733. break;
  2734. case "studentEvaluate": //好友打开
  2735. _formdiv = new U.UF.UI.form(
  2736. "我的评价",
  2737. $$("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 }), {
  2738. "id": "studentEvaluate",
  2739. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2740. "onresize": function () { }
  2741. }, {
  2742. closecallback: function () { }
  2743. }, { "style": { "height": "36px" } }).form; //创建窗体
  2744. _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); } }
  2745. break;
  2746. case "my":
  2747. _formdiv = new U.UF.UI.form(
  2748. "我的资料",
  2749. $$("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 }), {
  2750. "id": "my",
  2751. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2752. "onresize": function () { }
  2753. }, {
  2754. closecallback: function () { }
  2755. }, { "style": { "height": "36px" } }).form; //创建窗体
  2756. _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); } }
  2757. break;
  2758. case "program":
  2759. _formdiv = new U.UF.UI.form(
  2760. "编程平台",
  2761. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2762. "id": "program",
  2763. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2764. "onresize": function () { }
  2765. }, {
  2766. closecallback: function () { }
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _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); } }
  2769. break;
  2770. case "library":
  2771. _formdiv = new U.UF.UI.form(
  2772. "素材库",
  2773. $$("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 }), {
  2774. "id": "library",
  2775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2776. "onresize": function () { }
  2777. }, {
  2778. closecallback: function () { }
  2779. }, { "style": { "height": "36px" } }).form; //创建窗体
  2780. _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); } }
  2781. break;
  2782. case "whiteboard":
  2783. _formdiv = new U.UF.UI.form(
  2784. "电子白板",
  2785. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2786. "id": "whiteboard",
  2787. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2788. "onresize": function () { }
  2789. }, {
  2790. closecallback: function () { }
  2791. }, { "style": { "height": "36px" } }).form; //创建窗体
  2792. _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); } }
  2793. break;
  2794. case "investigation":
  2795. _formdiv = new U.UF.UI.form(
  2796. "问卷调查",
  2797. $$("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 }), {
  2798. "id": "investigation",
  2799. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2800. "onresize": function () { }
  2801. }, {
  2802. closecallback: function () { }
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _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); } }
  2805. break;
  2806. case "note":
  2807. _formdiv = new U.UF.UI.form(
  2808. "便签分类",
  2809. $$("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 }), {
  2810. "id": "note",
  2811. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2812. "onresize": function () { }
  2813. }, {
  2814. closecallback: function () { }
  2815. }, { "style": { "height": "36px" } }).form; //创建窗体
  2816. _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); } }
  2817. break;
  2818. // case "score":
  2819. // _formdiv = new U.UF.UI.form(
  2820. // "量规评分",
  2821. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2822. // "id": "score",
  2823. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2824. // "onresize": function() {}
  2825. // }, {
  2826. // closecallback: function() {}
  2827. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2828. // _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); } }
  2829. // break;
  2830. case "mind":
  2831. _formdiv = new U.UF.UI.form(
  2832. "思维导图",
  2833. $$("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"
  2834. "id": "mind",
  2835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2836. "onresize": function () { }
  2837. }, {
  2838. closecallback: function () { }
  2839. }, { "style": { "height": "36px" } }).form; //创建窗体
  2840. _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); } }
  2841. break;
  2842. case "doc":
  2843. // U.MD.D.I.isRoom();
  2844. _formdiv = new U.UF.UI.form(
  2845. "协同文档",
  2846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2847. "id": "doc",
  2848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2849. "onresize": function () { }
  2850. }, {
  2851. closecallback: function () { }
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2854. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2855. // })
  2856. _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); } }
  2857. break;
  2858. case "studentStudy":
  2859. _formdiv = new U.UF.UI.form(
  2860. "课程中心",
  2861. $$("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
  2862. "id": "studentStudy",
  2863. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2864. "onresize": function () { }
  2865. }, {
  2866. closecallback: function () { }
  2867. }, { "style": { "height": "36px" } }).form; //创建窗体
  2868. _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); } }
  2869. break;
  2870. case "train": //好友打开
  2871. _formdiv = new U.UF.UI.form(
  2872. "训练平台",
  2873. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2874. "id": "train",
  2875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2876. "onresize": function () { }
  2877. }, {
  2878. closecallback: function () { }
  2879. }, { "style": { "height": "36px" } }).form; //创建窗体
  2880. _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); } }
  2881. break;
  2882. case "mindNetwork": //好友打开
  2883. _formdiv = new U.UF.UI.form(
  2884. "思维网格",
  2885. $$("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 }), {
  2886. "id": "mindNetwork",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function () { }
  2889. }, {
  2890. closecallback: function () { }
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _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); } }
  2893. break;
  2894. case "studentClassRoom": //好友打开
  2895. _formdiv = new U.UF.UI.form(
  2896. "实时课堂",
  2897. $$("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 }), {
  2898. "id": "studentClassRoom",
  2899. "style": { "width": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2905. setTimeout(() => {
  2906. U.UF.F.windowZooming(_formdiv)
  2907. }, 0);
  2908. break;
  2909. }
  2910. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2911. switch (str) {
  2912. case "studnetProject": //好友打开
  2913. _formdiv = new U.UF.UI.form(
  2914. "我的项目",
  2915. $$("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 }), {
  2916. "id": "studnetProject",
  2917. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. _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); } }
  2923. break;
  2924. case "studentEvaluate": //好友打开
  2925. _formdiv = new U.UF.UI.form(
  2926. "我的评价",
  2927. $$("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 }), {
  2928. "id": "studentEvaluate",
  2929. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //创建窗体
  2934. _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); } }
  2935. break;
  2936. case "my":
  2937. _formdiv = new U.UF.UI.form(
  2938. "我的资料",
  2939. $$("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 }), {
  2940. "id": "my",
  2941. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function () { }
  2943. }, {
  2944. closecallback: function () { }
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. case "program":
  2949. _formdiv = new U.UF.UI.form(
  2950. "编程平台",
  2951. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2952. "id": "program",
  2953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function () { }
  2955. }, {
  2956. closecallback: function () { }
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "library":
  2961. _formdiv = new U.UF.UI.form(
  2962. "素材库",
  2963. $$("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 }), {
  2964. "id": "library",
  2965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. case "whiteboard":
  2973. _formdiv = new U.UF.UI.form(
  2974. "电子白板",
  2975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2976. "id": "whiteboard",
  2977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function () { }
  2979. }, {
  2980. closecallback: function () { }
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "investigation":
  2985. _formdiv = new U.UF.UI.form(
  2986. "问卷调查",
  2987. $$("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 }), {
  2988. "id": "investigation",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function () { }
  2991. }, {
  2992. closecallback: function () { }
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. case "note":
  2997. _formdiv = new U.UF.UI.form(
  2998. "便签分类",
  2999. $$("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 }), {
  3000. "id": "note",
  3001. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function () { }
  3003. }, {
  3004. closecallback: function () { }
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _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); } }
  3007. break;
  3008. // case "score":
  3009. // _formdiv = new U.UF.UI.form(
  3010. // "量规评分",
  3011. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3012. // "id": "score",
  3013. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. // "onresize": function() {}
  3015. // }, {
  3016. // closecallback: function() {}
  3017. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. // _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); } }
  3019. // break;
  3020. case "mind":
  3021. _formdiv = new U.UF.UI.form(
  3022. "思维导图",
  3023. $$("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"
  3024. "id": "mind",
  3025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function () { }
  3027. }, {
  3028. closecallback: function () { }
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. case "doc":
  3033. // U.MD.D.I.isRoom();
  3034. _formdiv = new U.UF.UI.form(
  3035. "协同文档",
  3036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3037. "id": "doc",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3044. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3045. })
  3046. _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); } }
  3047. break;
  3048. case "train": //好友打开
  3049. _formdiv = new U.UF.UI.form(
  3050. "训练平台",
  3051. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3052. "id": "train",
  3053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3054. "onresize": function () { }
  3055. }, {
  3056. closecallback: function () { }
  3057. }, { "style": { "height": "36px" } }).form; //创建窗体
  3058. _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); } }
  3059. break;
  3060. case "studentStudy":
  3061. _formdiv = new U.UF.UI.form(
  3062. "课程中心",
  3063. $$("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
  3064. "id": "studentStudy",
  3065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3066. "onresize": function () { }
  3067. }, {
  3068. closecallback: function () { }
  3069. }, { "style": { "height": "36px" } }).form; //创建窗体
  3070. _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); } }
  3071. break;
  3072. case "mindNetwork": //好友打开
  3073. _formdiv = new U.UF.UI.form(
  3074. "思维网格",
  3075. $$("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 }), {
  3076. "id": "mindNetwork",
  3077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3078. "onresize": function () { }
  3079. }, {
  3080. closecallback: function () { }
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. break;
  3084. case "studentClassRoom": //好友打开
  3085. _formdiv = new U.UF.UI.form(
  3086. "实时课堂",
  3087. $$("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 }), {
  3088. "id": "studentClassRoom",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function () { }
  3091. }, {
  3092. closecallback: function () { }
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. setTimeout(() => {
  3096. U.UF.F.windowZooming(_formdiv)
  3097. }, 0);
  3098. break;
  3099. }
  3100. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3101. //选择应用处理
  3102. switch (str) {
  3103. case "project": //好友打开
  3104. _formdiv = new U.UF.UI.form(
  3105. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3106. $$("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 }), {
  3107. "id": "project",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function () { }
  3110. }, {
  3111. closecallback: function () { }
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3114. break;
  3115. case "student":
  3116. _formdiv = new U.UF.UI.form(
  3117. "学生管理",
  3118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3119. "id": "student",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3126. break;
  3127. case "evaluate":
  3128. _formdiv = new U.UF.UI.form(
  3129. "学生评价",
  3130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3131. "id": "evaluate",
  3132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3138. break;
  3139. case "sys":
  3140. _formdiv = new U.UF.UI.form(
  3141. "目标管理",
  3142. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3143. "id": "sys",
  3144. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3145. "onresize": function () { }
  3146. }, {
  3147. closecallback: function () { }
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3150. break;
  3151. case "courseDesign":
  3152. _formdiv = new U.UF.UI.form(
  3153. "项目设计",
  3154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3155. "id": "courseDesign",
  3156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3162. break;
  3163. case "program":
  3164. _formdiv = new U.UF.UI.form(
  3165. "编程平台",
  3166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3167. "id": "program",
  3168. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3174. break;
  3175. case "class":
  3176. _formdiv = new U.UF.UI.form(
  3177. "班级管理",
  3178. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3179. "id": "class",
  3180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3186. break;
  3187. case "Grade":
  3188. _formdiv = new U.UF.UI.form(
  3189. "年级管理",
  3190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3191. "id": "Grade",
  3192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3198. break;
  3199. case "teacherOffice":
  3200. _formdiv = new U.UF.UI.form(
  3201. "教研室",
  3202. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3203. "id": "teacherOffice",
  3204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3210. break;
  3211. case "my":
  3212. _formdiv = new U.UF.UI.form(
  3213. "我的资料",
  3214. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3215. "id": "my",
  3216. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3222. break;
  3223. case "notice":
  3224. _formdiv = new U.UF.UI.form(
  3225. "通知公告",
  3226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3227. "id": "notice",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3234. break;
  3235. case "library":
  3236. _formdiv = new U.UF.UI.form(
  3237. "素材库",
  3238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3239. "id": "library",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3246. break;
  3247. case "whiteboard":
  3248. _formdiv = new U.UF.UI.form(
  3249. "电子白板",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3251. "id": "whiteboard",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3258. break;
  3259. case "investigation":
  3260. _formdiv = new U.UF.UI.form(
  3261. "问卷调查",
  3262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3263. "id": "investigation",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3270. break;
  3271. case "note":
  3272. _formdiv = new U.UF.UI.form(
  3273. "便签分类",
  3274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3275. "id": "note",
  3276. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3282. break;
  3283. // case "score":
  3284. // _formdiv = new U.UF.UI.form(
  3285. // "量规评分",
  3286. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3287. // "id": "score",
  3288. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. // "onresize": function() {}
  3290. // }, {
  3291. // closecallback: function() {}
  3292. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. // _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); } }
  3294. // break;
  3295. case "mind":
  3296. _formdiv = new U.UF.UI.form(
  3297. "思维导图",
  3298. $$("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"
  3299. "id": "mind",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { }
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. case "doc":
  3308. // U.MD.D.I.isRoom();
  3309. _formdiv = new U.UF.UI.form(
  3310. "协同文档",
  3311. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3312. "id": "doc",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function () { }
  3315. }, {
  3316. closecallback: function () { }
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3319. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3320. })
  3321. _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); } }
  3322. break;
  3323. case "study":
  3324. _formdiv = new U.UF.UI.form(
  3325. "课程中心",
  3326. $$("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
  3327. "id": "study",
  3328. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3334. break;
  3335. case "mindNetwork": //好友打开
  3336. _formdiv = new U.UF.UI.form(
  3337. "思维网格",
  3338. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3339. "id": "mindNetwork",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3346. break;
  3347. case "train": //好友打开
  3348. _formdiv = new U.UF.UI.form(
  3349. "训练平台",
  3350. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3351. "id": "mindNetwork",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function () { }
  3354. }, {
  3355. closecallback: function () { }
  3356. }, { "style": { "height": "36px" } }).form; //创建窗体
  3357. _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); } }
  3358. break;
  3359. case "teacherClassRoom": //好友打开
  3360. _formdiv = new U.UF.UI.form(
  3361. "实时课堂",
  3362. $$("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 }), {
  3363. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3370. setTimeout(() => {
  3371. U.UF.F.windowZooming(_formdiv)
  3372. }, 0);
  3373. break;
  3374. }
  3375. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3376. switch (str) {
  3377. case "project": //好友打开
  3378. _formdiv = new U.UF.UI.form(
  3379. "课程管理",
  3380. $$("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 }), {
  3381. "id": "project",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. case "evaluate":
  3390. _formdiv = new U.UF.UI.form(
  3391. "学生评价",
  3392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3393. "id": "evaluate",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "notice":
  3402. _formdiv = new U.UF.UI.form(
  3403. "通知公告",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3405. "id": "notice",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "stuLibrary":
  3414. _formdiv = new U.UF.UI.form(
  3415. "学习资料",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3417. "id": "stuLibrary",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "program":
  3426. _formdiv = new U.UF.UI.form(
  3427. "编程平台",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3429. "id": "program",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "whiteboard":
  3438. _formdiv = new U.UF.UI.form(
  3439. "电子白板",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3441. "id": "whiteboard",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "investigation":
  3450. _formdiv = new U.UF.UI.form(
  3451. "问卷调查",
  3452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3453. "id": "investigation",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3460. break;
  3461. case "mind":
  3462. _formdiv = new U.UF.UI.form(
  3463. "思维导图",
  3464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3465. "id": "mind",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3472. break;
  3473. case "doc":
  3474. // U.MD.D.I.isRoom();
  3475. _formdiv = new U.UF.UI.form(
  3476. "协同文档",
  3477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3478. "id": "doc",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3485. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3486. })
  3487. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3488. break;
  3489. case "study":
  3490. _formdiv = new U.UF.UI.form(
  3491. "课程中心",
  3492. $$("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
  3493. "id": "study",
  3494. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3495. "onresize": function () { }
  3496. }, {
  3497. closecallback: function () { }
  3498. }, { "style": { "height": "36px" } }).form; //创建窗体
  3499. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3500. break;
  3501. case "mindNetwork": //好友打开
  3502. _formdiv = new U.UF.UI.form(
  3503. "思维网格",
  3504. $$("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 }), {
  3505. "id": "mindNetwork",
  3506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3512. break;
  3513. case "train": //好友打开
  3514. _formdiv = new U.UF.UI.form(
  3515. "训练平台",
  3516. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3517. "id": "train",
  3518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3524. break;
  3525. case "sys":
  3526. _formdiv = new U.UF.UI.form(
  3527. "目标管理",
  3528. $$("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 }), {
  3529. "id": "sys",
  3530. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3536. break;
  3537. case "courseDesign":
  3538. _formdiv = new U.UF.UI.form(
  3539. "项目设计",
  3540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3541. "id": "courseDesign",
  3542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function () { }
  3544. }, {
  3545. closecallback: function () { }
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. _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); } }
  3548. break;
  3549. }
  3550. } else if (!_type) {
  3551. switch (str) {
  3552. case "my":
  3553. _formdiv = new U.UF.UI.form(
  3554. "我的资料",
  3555. $$("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 }), {
  3556. "id": "my",
  3557. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3563. break;
  3564. }
  3565. }
  3566. switch (str) {
  3567. // AIprogram2 AI体验 aihub.cocorobo.cn
  3568. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3569. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3570. case "formulaEdi": //公式编辑
  3571. _formdiv = new U.UF.UI.form(
  3572. "公式编辑",
  3573. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3574. "id": "formulaEdi",
  3575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3581. break;
  3582. case "molStr": //分子结构
  3583. _formdiv = new U.UF.UI.form(
  3584. "分子结构",
  3585. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3586. "id": "molStr",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. case "timeAxis": //时间轴
  3595. _formdiv = new U.UF.UI.form(
  3596. "时间轴",
  3597. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3598. "id": "timeAxis",
  3599. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "AIprogram2": //AI体验
  3607. _formdiv = new U.UF.UI.form(
  3608. "AI体验",
  3609. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3610. "id": "AIprogram2",
  3611. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "Pythonprogram": //python编程
  3619. _formdiv = new U.UF.UI.form(
  3620. "Python编程",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3622. "id": "Pythonprogram",
  3623. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function () { }
  3625. }, {
  3626. closecallback: function () { }
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3629. break;
  3630. case "AIprogram": //ai编程
  3631. _formdiv = new U.UF.UI.form(
  3632. "AI编程平台",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3634. "id": "AIprogram",
  3635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "CocoPi": //CocoPi
  3643. _formdiv = new U.UF.UI.form(
  3644. "CocoPi",
  3645. $$("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" }), {
  3646. "id": "CocoPi",
  3647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. case "Wood": //Wood
  3655. _formdiv = new U.UF.UI.form(
  3656. "海龟编程",
  3657. $$("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/" }), {
  3658. "id": "Wood",
  3659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "car": //模拟驾驶
  3667. _formdiv = new U.UF.UI.form(
  3668. "模拟驾驶",
  3669. $$("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/" }), {
  3670. "id": "car",
  3671. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "lineSearch": //路径搜索
  3679. _formdiv = new U.UF.UI.form(
  3680. "路径搜索",
  3681. $$("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/" }), {
  3682. "id": "lineSearch",
  3683. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "deepLearning": //深度学习
  3691. _formdiv = new U.UF.UI.form(
  3692. "深度学习",
  3693. $$("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/#" }), {
  3694. "id": "deepLearning",
  3695. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3701. break;
  3702. case "allHistory": //深度学习
  3703. _formdiv = new U.UF.UI.form(
  3704. "全历史",
  3705. $$("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/" }), {
  3706. "id": "allHistory",
  3707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3713. break;
  3714. case "chatPDF": //ai编程
  3715. _formdiv = new U.UF.UI.form(
  3716. "chatPDF",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3718. "id": "chatPDF",
  3719. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3725. break;
  3726. case "resources": //国家教育
  3727. _formdiv = new U.UF.UI.form(
  3728. "国家教育",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3730. "id": "resources",
  3731. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3737. break;
  3738. case "codeEdit": //源码编辑
  3739. _formdiv = new U.UF.UI.form(
  3740. "源码编辑",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3742. "id": "codeEdit",
  3743. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break; //
  3750. case "MindMap": //MindMap
  3751. _formdiv = new U.UF.UI.form(
  3752. "MindMap",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3754. "id": "MindMap",
  3755. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. case "netWorkPanel": //netWorkPanel
  3763. _formdiv = new U.UF.UI.form(
  3764. "netWorkPanel",
  3765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3766. "id": "netWorkPanel",
  3767. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. case "GeoGebra": //GeoGebra
  3775. _formdiv = new U.UF.UI.form(
  3776. "GeoGebra",
  3777. $$("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" }), {
  3778. "id": "GeoGebra",
  3779. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "translation": //翻译
  3787. _formdiv = new U.UF.UI.form(
  3788. "翻译",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3790. "id": "translation",
  3791. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. case "mohe": //魔盒
  3799. _formdiv = new U.UF.UI.form(
  3800. "魔盒识字",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3802. "id": "mohe",
  3803. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3809. break;
  3810. case "24game": //24点
  3811. _formdiv = new U.UF.UI.form(
  3812. "24点",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3814. "id": "24game",
  3815. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3821. break;
  3822. case "case":
  3823. _formdiv = new U.UF.UI.form(
  3824. "课程进展",
  3825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3826. "id": "case",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3833. break;
  3834. case "snf":
  3835. _formdiv = new U.UF.UI.form(
  3836. "赛诺梵",
  3837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3838. "id": "snf",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3845. break;
  3846. case "hanFamily":
  3847. _formdiv = new U.UF.UI.form(
  3848. "汉字家族",
  3849. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3850. "id": "hanFamily",
  3851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function () { }
  3853. }, {
  3854. closecallback: function () { }
  3855. }, { "style": { "height": "36px" } }).form; //创建窗体
  3856. _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); } }
  3857. break;
  3858. case "hanClassics":
  3859. _formdiv = new U.UF.UI.form(
  3860. "国学经典",
  3861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3862. "id": "hanClassics",
  3863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _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); } }
  3869. break;
  3870. case "hanTraining":
  3871. _formdiv = new U.UF.UI.form(
  3872. "笔画训练",
  3873. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3874. "id": "hanTraining",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function () { }
  3877. }, {
  3878. closecallback: function () { }
  3879. }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. _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); } }
  3881. break;
  3882. case "hanClass":
  3883. _formdiv = new U.UF.UI.form(
  3884. "书法课堂",
  3885. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3886. "id": "hanClass",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function () { }
  3889. }, {
  3890. closecallback: function () { }
  3891. }, { "style": { "height": "36px" } }).form; //创建窗体
  3892. _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); } }
  3893. break;
  3894. case "han":
  3895. _formdiv = new U.UF.UI.form(
  3896. "汉字宫",
  3897. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3898. "id": "han",
  3899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3900. "onresize": function () { }
  3901. }, {
  3902. closecallback: function () { }
  3903. }, { "style": { "height": "36px" } }).form; //创建窗体
  3904. _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); } }
  3905. break;
  3906. case "projectGM": //课程管理
  3907. _formdiv = new U.UF.UI.form(
  3908. "课程管理",
  3909. $$("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 }), {
  3910. "id": "projectGM",
  3911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function () { }
  3913. }, {
  3914. closecallback: function () { }
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _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); } }
  3917. break;
  3918. case "studyGM": //课程中心
  3919. _formdiv = new U.UF.UI.form(
  3920. "课程中心",
  3921. $$("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
  3922. "id": "study",
  3923. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3924. "onresize": function () { }
  3925. }, {
  3926. closecallback: function () { }
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _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); } }
  3929. break;
  3930. // studentGM
  3931. case "studentGM": //学生管理
  3932. _formdiv = new U.UF.UI.form(
  3933. "学生管理",
  3934. $$("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 }), {
  3935. "id": "studentGM",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. case "evaluateGM": //学生评价
  3944. _formdiv = new U.UF.UI.form(
  3945. "学生评价",
  3946. $$("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 }), {
  3947. "id": "evaluateGM",
  3948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3954. break;
  3955. // classGM
  3956. case "classGM": //班级管理
  3957. _formdiv = new U.UF.UI.form(
  3958. "班级管理",
  3959. $$("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 }), {
  3960. "id": "classGM",
  3961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _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); } }
  3967. break;
  3968. // dataGM
  3969. case "dataGM":
  3970. _formdiv = new U.UF.UI.form(
  3971. "我的资料",
  3972. $$("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 }), {
  3973. "id": "dataGM",
  3974. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _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); } }
  3980. break;
  3981. // caseGM
  3982. case "caseGM": //课程进展
  3983. _formdiv = new U.UF.UI.form(
  3984. "课程进展",
  3985. $$("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 }), {
  3986. "id": "caseGM",
  3987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _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); } }
  3993. break;
  3994. // meterialGM
  3995. case "meterialGM": //素材库
  3996. _formdiv = new U.UF.UI.form(
  3997. "素材库",
  3998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  3999. "id": "meterialGM",
  4000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4006. break;
  4007. // evaluateSGM
  4008. case "evaluateSGM": //我的评价
  4009. _formdiv = new U.UF.UI.form(
  4010. "我的评价",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4012. "id": "evaluateSGM",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "jupyter": //jupyter
  4021. _formdiv = new U.UF.UI.form(
  4022. "jupyter",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4024. "id": "jupyter",
  4025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "number": //数字实验室
  4033. _formdiv = new U.UF.UI.form(
  4034. "数字实验室",
  4035. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4036. "id": "number",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "studentCourse": //项目管理 学生
  4045. _formdiv = new U.UF.UI.form(
  4046. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4047. $$("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 }), {
  4048. "id": "studentCourse",
  4049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "studentCourseS": //项目管理 老师
  4057. _formdiv = new U.UF.UI.form(
  4058. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4059. $$("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 }), {
  4060. "id": "studentCourseS",
  4061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "studentIndex": //项目中心
  4069. _formdiv = new U.UF.UI.form(
  4070. "项目中心",
  4071. $$("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 }), {
  4072. "id": "studentIndex",
  4073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. case "CaseDesignS":
  4081. _formdiv = new U.UF.UI.form(
  4082. "项目进展",
  4083. $$("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 }), {
  4084. "id": "case",
  4085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "tcStudent": //腾讯学生管理
  4093. _formdiv = new U.UF.UI.form(
  4094. "学生管理",
  4095. $$("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 }), {
  4096. "id": "tcStudent",
  4097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "tcSchool": //腾讯学校管理
  4105. _formdiv = new U.UF.UI.form(
  4106. "学校管理",
  4107. $$("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 }), {
  4108. "id": "tcSchool",
  4109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "tcTeacher": //腾讯学校管理
  4117. _formdiv = new U.UF.UI.form(
  4118. "教师管理",
  4119. $$("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 }), {
  4120. "id": "tcTeacher",
  4121. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "tcData": //腾讯我的资料
  4129. _formdiv = new U.UF.UI.form(
  4130. "我的资料",
  4131. $$("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 }), {
  4132. "id": "tcData",
  4133. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "tcNotice": //腾讯消息通知
  4141. _formdiv = new U.UF.UI.form(
  4142. "消息通知",
  4143. $$("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 }), {
  4144. "id": "tcNotice",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "myReport": //好友打开
  4153. _formdiv = new U.UF.UI.form(
  4154. "我的评价",
  4155. $$("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 }), {
  4156. "id": "myReport",
  4157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "learnAna": //好友打开
  4165. _formdiv = new U.UF.UI.form(
  4166. "学习分析",
  4167. $$("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 }), {
  4168. "id": "learnAna",
  4169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. case "AIChat": //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/aichat/" }), {
  4180. "id": "AIChat",
  4181. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. istop: true,
  4185. closecallback: function () { $("#aichat_icon").remove(); },
  4186. narrowcallback: function () {
  4187. if (!$("#aichat_icon")[0]) {
  4188. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4189. }
  4190. },
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. case "ainew": //AI共创
  4195. _formdiv = new U.UF.UI.form(
  4196. "AI协同",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4198. "id": "ainew",
  4199. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "futureClass": //AI共创
  4207. _formdiv = new U.UF.UI.form(
  4208. "协同建构",
  4209. $$("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
  4210. "id": "synergyCourse",
  4211. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. case "aiagent": //ai agent
  4219. _formdiv = new U.UF.UI.form(
  4220. "AI Agent",
  4221. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4222. "id": "AIAgent",
  4223. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //创建窗体
  4228. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4229. break;
  4230. case "dataBoard": //数据看板
  4231. _formdiv = new U.UF.UI.form(
  4232. "数据看板",
  4233. $$("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 }), {
  4234. "id": "dataBoard",
  4235. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //创建窗体
  4240. _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); } }
  4241. break;
  4242. case "AIAnalyse": //AI共创
  4243. _formdiv = new U.UF.UI.form(
  4244. "AI分析",
  4245. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4246. "id": "AIAnalyse",
  4247. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //创建窗体
  4252. _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); } }
  4253. break;
  4254. case "studioCourse": //AI共创
  4255. _formdiv = new U.UF.UI.form(
  4256. "工作管理",
  4257. $$("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 }), {
  4258. "id": "studioCourse",
  4259. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //创建窗体
  4264. _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); } }
  4265. break;
  4266. case "studioIndex": //AI共创
  4267. _formdiv = new U.UF.UI.form(
  4268. "工作中心",
  4269. $$("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 }), {
  4270. "id": "studioIndex",
  4271. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _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); } }
  4277. break;
  4278. case "source":
  4279. _formdiv = new U.UF.UI.form(
  4280. "教学资源",
  4281. $$("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 }), {
  4282. "id": "source",
  4283. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _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); } }
  4289. break;
  4290. case "testTeacher":
  4291. _formdiv = new U.UF.UI.form(
  4292. "评测管理",
  4293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4294. "id": "testTeacher",
  4295. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //创建窗体
  4300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4301. break;
  4302. case "testStudent":
  4303. _formdiv = new U.UF.UI.form(
  4304. "评测中心",
  4305. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4306. "id": "testStudent",
  4307. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //创建窗体
  4312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4313. break;
  4314. }
  4315. //U.MD.D.I.openClick(str);
  4316. //如果有任务栏信息
  4317. if (_taskbar) {
  4318. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4319. }
  4320. }
  4321. // U.MD.D.I.openClick = function(str){
  4322. // var click = '';
  4323. // switch(str){
  4324. // case 'friend':
  4325. // click = '我的好友';
  4326. // break;
  4327. // case 'domain':
  4328. // click = '域名管理';
  4329. // break;
  4330. // case 'disk':
  4331. // click = '我的云盘';
  4332. // break;
  4333. // case 'word':
  4334. // click = 'Word';
  4335. // break;
  4336. // case 'excel':
  4337. // click = 'Execl';
  4338. // break;
  4339. // case 'txt':
  4340. // click = '文本文件';
  4341. // break;
  4342. // case 'lookupFriend':
  4343. // click = '查找好友';
  4344. // break;
  4345. // case 'ftp':
  4346. // click = 'FTP';
  4347. // break;
  4348. // case 'group':
  4349. // click = '群组';
  4350. // break;
  4351. // case 'set':
  4352. // click = '我的设置';
  4353. // break;
  4354. // case 'systemSet':
  4355. // click = '系统设置';
  4356. // break;
  4357. // case 'boomYun':
  4358. // click = '互联办公';
  4359. // break;
  4360. // case 'xz':
  4361. // click = '云端下载';
  4362. // break;
  4363. // case 'client':
  4364. // click = '有思浏览器';
  4365. // break;
  4366. // case 'backEndProgramming':
  4367. // click = '在线后台编程';
  4368. // break;
  4369. // case 'frontEndProgramming':
  4370. // click = '在线前端编程';
  4371. // break;
  4372. // default: break;
  4373. // }
  4374. // if(U.MD.D.I.Ip && click){
  4375. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4376. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4377. // })
  4378. // }
  4379. // }
  4380. /**
  4381. *函数作用:ajax简易函数,使用post格式
  4382. *@param url {data} 后台地址
  4383. *@param data {data} 参数json
  4384. *@param fn {data} 回调函数
  4385. *
  4386. */
  4387. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4388. // var xhr = new XMLHttpRequest();
  4389. // xhr.open("GET",url,true);
  4390. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4391. // xhr.onreadystatechange = function(){
  4392. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4393. // fn.call(this,xhr.responseText);
  4394. // }
  4395. // };
  4396. // xhr.send();
  4397. // }
  4398. /*判断是否是内网IP*/
  4399. // U.MD.D.I.isInnerIPFn = function(str){
  4400. // var curPageUrl = str;
  4401. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4402. // curPageUrl =curPageUrl.replace(reg1,'');
  4403. // // console.log('curPageUrl-1 '+curPageUrl);
  4404. // var reg2 = /\:+/g;//替换冒号为一点
  4405. // curPageUrl =curPageUrl.replace(reg2,'.');
  4406. // // console.log('curPageUrl-2 '+curPageUrl);
  4407. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4408. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4409. // if(curPageUrl[2] != '16'){
  4410. // return ipAddress;
  4411. // }else{
  4412. // return false;
  4413. // }
  4414. // }
  4415. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4416. // //compatibility for firefox and chrome
  4417. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4418. // var pc = new myPeerConnection({
  4419. // iceServers: []
  4420. // }),
  4421. // noop = function() {},
  4422. // localIPs = {},
  4423. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4424. // key;
  4425. // function iterateIP(ip) {
  4426. // if (!localIPs[ip]) onNewIP(ip);
  4427. // localIPs[ip] = true;
  4428. // }
  4429. // //create a bogus data channel
  4430. // pc.createDataChannel("");
  4431. // // create offer and set local description
  4432. // pc.createOffer().then(function(sdp) {
  4433. // sdp.sdp.split('\n').forEach(function(line) {
  4434. // if (line.indexOf('candidate') < 0) return;
  4435. // line.match(ipRegex).forEach(iterateIP);
  4436. // });
  4437. // pc.setLocalDescription(sdp, noop, noop);
  4438. // }).catch(function(reason) {
  4439. // // An error occurred, so handle the failure to connect
  4440. // });
  4441. // //sten for candidate events
  4442. // pc.onicecandidate = function(ice) {
  4443. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4444. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4445. // };
  4446. // }
  4447. // U.MD.D.I.getUserIpBool = function(callback){
  4448. // U.MD.D.I.getUserIP(function(ip){
  4449. // alert("Got IP! :" + ip);
  4450. // });
  4451. //}
  4452. //#endregion
  4453. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4454. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4455. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4456. _userinfo = US.userInfo, //登录用户信息
  4457. _userid = US.userInfo.userid //登录用户id
  4458. let _iframe;
  4459. let _cid = cid,
  4460. _stage = stage,
  4461. _task = task,
  4462. _tool = tool;
  4463. var _jie = $$("div", {
  4464. "style": {
  4465. "position": "absolute",
  4466. "bottom": "50px",
  4467. "right": "50px",
  4468. "zIndex": "9999",
  4469. "backgroundColor": "#2268bc",
  4470. "color": "#fff",
  4471. "padding": "12px 20px",
  4472. "cursor": "pointer",
  4473. "borderRadius": "4px",
  4474. },
  4475. "innerHTML": "提交作业"
  4476. })
  4477. let aTool = ''
  4478. let _loading = document.createElement('div')
  4479. _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;"
  4480. // _loading.id = "";
  4481. let _lchild = document.createElement('div')
  4482. let _limg = document.createElement('img')
  4483. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4484. _limg.style = "width: 26px;margin-right: 10px;"
  4485. _lchild.appendChild(_limg)
  4486. let _lspan = document.createElement('span')
  4487. _lspan.innerHTML = "上传中..."
  4488. _lchild.appendChild(_lspan)
  4489. _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%);"
  4490. _loading.appendChild(_lchild)
  4491. var _box = $$('div', {
  4492. "style": {
  4493. "position": "relative",
  4494. "width": "100%",
  4495. "height": "100%",
  4496. },
  4497. })
  4498. _box.appendChild(_loading)
  4499. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4500. switch (str) {
  4501. case "whiteboard":
  4502. aTool = 1;
  4503. _iframe = $$("iframe", {
  4504. "frameborder": "no",
  4505. "border": "0",
  4506. "scrolling ": "no",
  4507. "style": {
  4508. "cssText": "border:0;width:100%;height:100%"
  4509. },
  4510. "src": "https://iwb.cocorobo.cn/"
  4511. })
  4512. _box.appendChild(_iframe);
  4513. _box.appendChild(_jie);
  4514. _formdiv = new U.UF.UI.form(
  4515. "电子白板",
  4516. _box, {
  4517. "id": "whiteboard" + cid + stage + task + tool,
  4518. "style": {
  4519. "width": "90%",
  4520. "height": "90%",
  4521. "overflow": 'hidden'
  4522. },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, {
  4527. "style": {
  4528. "height": "36px"
  4529. }
  4530. }).form; //创建窗体
  4531. _taskbar = {
  4532. "id": str + _formdiv.id,
  4533. "style": {
  4534. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4535. },
  4536. "name": "电子白板",
  4537. "forms": _formdiv,
  4538. "click": function () {
  4539. U.MD.D.I.openApplication(str, obj, info);
  4540. }
  4541. }
  4542. break;
  4543. case "mind":
  4544. aTool = 3;
  4545. _iframe = $$("iframe", {
  4546. "frameborder": "no",
  4547. "border": "0",
  4548. "scrolling ": "no",
  4549. "style": {
  4550. "cssText": "border:0;width:100%;height:100%"
  4551. },
  4552. "src": "/kityminder-editor/dist/index.html"
  4553. })
  4554. _box.appendChild(_iframe);
  4555. _box.appendChild(_jie);
  4556. _formdiv = new U.UF.UI.form(
  4557. "思维导图",
  4558. _box, { //"/jsmind/example/demo.html"
  4559. "id": "mind" + cid + stage + task + tool,
  4560. "style": {
  4561. "width": "90%",
  4562. "height": "90%",
  4563. "overflow": 'hidden'
  4564. },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, {
  4569. "style": {
  4570. "height": "36px"
  4571. }
  4572. }).form; //创建窗体
  4573. _taskbar = {
  4574. "id": str + _formdiv.id,
  4575. "style": {
  4576. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4577. },
  4578. "name": "思维导图",
  4579. "forms": _formdiv,
  4580. "click": function () {
  4581. U.MD.D.I.openApplication(str, obj, info);
  4582. }
  4583. }
  4584. break;
  4585. case "MindMap":
  4586. aTool = 3;
  4587. _iframe = $$("iframe", {
  4588. "frameborder": "no",
  4589. "border": "0",
  4590. "scrolling ": "no",
  4591. "style": {
  4592. "cssText": "border:0;width:100%;height:100%"
  4593. },
  4594. "src": "//cloud.cocorobo.cn/mind/"
  4595. })
  4596. _box.appendChild(_iframe);
  4597. _box.appendChild(_jie);
  4598. _formdiv = new U.UF.UI.form(
  4599. "思维导图",
  4600. _box, { //"/jsmind/example/demo.html"
  4601. "id": "mind" + cid + stage + task + tool,
  4602. "style": {
  4603. "width": "90%",
  4604. "height": "90%",
  4605. "overflow": 'hidden'
  4606. },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, {
  4611. "style": {
  4612. "height": "36px"
  4613. }
  4614. }).form; //创建窗体
  4615. _taskbar = {
  4616. "id": str + _formdiv.id,
  4617. "style": {
  4618. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4619. },
  4620. "name": "思维导图",
  4621. "forms": _formdiv,
  4622. "click": function () {
  4623. U.MD.D.I.openApplication(str, obj, info);
  4624. }
  4625. }
  4626. break;
  4627. case "doc":
  4628. aTool = 6;
  4629. _iframe = $$("iframe", {
  4630. "frameborder": "no",
  4631. "border": "0",
  4632. "scrolling ": "no",
  4633. "style": {
  4634. "cssText": "border:0;width:100%;height:100%"
  4635. },
  4636. "src": "/Office/Word/WordEditArea.htm"
  4637. })
  4638. _box.appendChild(_iframe);
  4639. _box.appendChild(_jie);
  4640. _formdiv = new U.UF.UI.form(
  4641. "协同文档",
  4642. _box, {
  4643. "id": "doc" + cid + stage + task + tool,
  4644. "style": {
  4645. "width": "90%",
  4646. "height": "90%",
  4647. "overflow": 'hidden'
  4648. },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, {
  4653. "style": {
  4654. "height": "36px"
  4655. }
  4656. }).form; //创建窗体
  4657. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4658. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4659. })
  4660. _taskbar = {
  4661. "id": str + _formdiv.id,
  4662. "style": {
  4663. "backgroundImage": "url(/img/icon/doc.png)"
  4664. },
  4665. "name": "协同文档",
  4666. "forms": _formdiv,
  4667. "click": function () {
  4668. U.MD.D.I.openApplication(str, obj, info);
  4669. }
  4670. }
  4671. break;
  4672. case "mindNetwork": //好友打开
  4673. aTool = 7;
  4674. _iframe = $$("iframe", {
  4675. "webkitallowfullscreen": "",
  4676. "mozallowfullscreen": "",
  4677. "allowfullscreen": "",
  4678. "frameborder": "no",
  4679. "border": "0",
  4680. "scrolling ": "no",
  4681. "style": {
  4682. "cssText": "border:0; width:100%; height:100%;"
  4683. },
  4684. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4685. })
  4686. _box.appendChild(_iframe);
  4687. _box.appendChild(_jie);
  4688. _formdiv = new U.UF.UI.form(
  4689. "思维网格",
  4690. _box, {
  4691. "id": "mindNetwork" + cid + stage + task + tool,
  4692. "style": {
  4693. "width": "90%",
  4694. "height": "90%",
  4695. "overflow": 'hidden'
  4696. },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, {
  4701. "style": {
  4702. "height": "36px"
  4703. }
  4704. }).form; //创建窗体
  4705. _taskbar = {
  4706. "id": str + _formdiv.id,
  4707. "style": {
  4708. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4709. },
  4710. "name": "思维网格",
  4711. "forms": _formdiv,
  4712. "click": function () {
  4713. U.MD.D.I.openApplication(str, obj, info);
  4714. }
  4715. }
  4716. break;
  4717. case "courseDesign":
  4718. _iframe = $$("iframe", {
  4719. "webkitallowfullscreen": "",
  4720. "mozallowfullscreen": "",
  4721. "allowfullscreen": "",
  4722. "frameborder": "no",
  4723. "border": "0",
  4724. "scrolling ": "no",
  4725. "style": {
  4726. "cssText": "border:0; width:100%; height:100%;"
  4727. },
  4728. "src": "/course-design-vue"
  4729. })
  4730. _box.appendChild(_iframe);
  4731. _box.appendChild(_jie);
  4732. _formdiv = new U.UF.UI.form(
  4733. "项目设计",
  4734. _box, {
  4735. "id": "courseDesign" + cid + stage + task + tool,
  4736. "style": {
  4737. "width": "90%",
  4738. "height": "90%",
  4739. "overflow": 'hidden'
  4740. },
  4741. "onresize": function () { }
  4742. }, {
  4743. closecallback: function () { }
  4744. }, {
  4745. "style": {
  4746. "height": "36px"
  4747. }
  4748. }).form; //创建窗体
  4749. _taskbar = {
  4750. "id": str + _formdiv.id,
  4751. "style": {
  4752. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4753. },
  4754. "name": "项目设计",
  4755. "forms": _formdiv,
  4756. "click": function () {
  4757. U.MD.D.I.openApplication(str, obj, info);
  4758. }
  4759. }
  4760. break;
  4761. }
  4762. const script1 = document.createElement("script");
  4763. script1.type = "text/javascript";
  4764. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4765. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4766. const script2 = document.createElement("script");
  4767. script2.type = "text/javascript";
  4768. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4769. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4770. const script3 = document.createElement("script");
  4771. script3.type = "text/javascript";
  4772. script3.charset = "UTF-8";
  4773. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4774. const script4 = document.createElement("script");
  4775. script4.type = "text/javascript";
  4776. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4777. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4778. if (_iframe) {
  4779. if (str == 'doc') {
  4780. _iframe = _formdiv.querySelector('iframe')
  4781. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4782. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4783. _iframe.contentWindow.document.body.appendChild(script1);
  4784. _iframe.contentWindow.document.body.appendChild(script2);
  4785. // _iframe.contentWindow.document.body.appendChild(script3);
  4786. _iframe.contentWindow.document.body.appendChild(script4);
  4787. })
  4788. if (onloadListener) {
  4789. _iframe.contentDocument.location.reload()
  4790. } else {
  4791. _iframe.contentDocument.location.reload()
  4792. }
  4793. } else if (str == 'courseDesign') {
  4794. U.UF.DL.iframeLoad(_iframe, function () {
  4795. // _iframe.contentWindow.U.MD.O.W.load();
  4796. // _iframe.contentWindow.document.body.appendChild(script1);
  4797. _iframe.contentWindow.document.body.appendChild(script2);
  4798. _iframe.contentWindow.document.body.appendChild(script4);
  4799. })
  4800. } else if (str == 'mind') {
  4801. _iframe = _formdiv.querySelector('iframe')
  4802. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4803. //
  4804. _iframe.contentWindow.document.body.appendChild(script1);
  4805. _iframe.contentWindow.document.body.appendChild(script2);
  4806. _iframe.contentWindow.document.body.appendChild(script4);
  4807. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4808. })
  4809. if (onloadListener) {
  4810. _iframe.contentDocument.location.reload()
  4811. } else {
  4812. _iframe.contentDocument.location.reload()
  4813. }
  4814. } else if (str == 'whiteboard') {
  4815. _iframe = _formdiv.querySelector('iframe')
  4816. let onloadListener = _iframe.onload = () => {
  4817. _iframe.contentWindow.document.body.appendChild(script1);
  4818. _iframe.contentWindow.document.body.appendChild(script2);
  4819. _iframe.contentWindow.document.body.appendChild(script4);
  4820. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4821. };
  4822. if (onloadListener) {
  4823. _iframe.contentDocument.location.reload()
  4824. } else {
  4825. _iframe.contentDocument.location.reload()
  4826. }
  4827. } else {
  4828. _iframe.onload = () => {
  4829. _iframe.contentWindow.document.body.appendChild(script1);
  4830. _iframe.contentWindow.document.body.appendChild(script2);
  4831. // _iframe.contentWindow.document.body.appendChild(script3);
  4832. _iframe.contentWindow.document.body.appendChild(script4);
  4833. };
  4834. }
  4835. _jie.onclick = async () => {
  4836. let text = ''
  4837. if (aTool == 1) {
  4838. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4839. } else if (aTool == 6) {
  4840. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4841. } else if (aTool == 3) {
  4842. text = await U.MD.D.I.getEditorContent(_iframe);
  4843. }
  4844. _loading.style.display = 'flex'
  4845. console.log(_loading);
  4846. var _ajs = _iframe.contentWindow.document.createElement("script");
  4847. _ajs.type = "text/javascript";
  4848. _ajs.innerHTML =
  4849. // 'console.log(' + _loading + ');\n' +
  4850. 'var _js = document.createElement("script");\n' +
  4851. '_js.type="text/javascript";\n' +
  4852. '_js.charset="UTF-8";\n' +
  4853. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4854. "_js.onload = function(){\n" +
  4855. ' var a = document.getElementsByTagName("img")\n' +
  4856. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4857. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4858. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4859. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4860. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4861. "beforeUpload_shishi(file," +
  4862. "'" +
  4863. _userid +
  4864. "'" +
  4865. ", " +
  4866. "'" +
  4867. _cid +
  4868. "'" +
  4869. ", " +
  4870. "'" +
  4871. _stage +
  4872. "'" +
  4873. ", " +
  4874. "'" +
  4875. _task +
  4876. "'" +
  4877. ", " +
  4878. "'" +
  4879. _tool +
  4880. "'" +
  4881. ", " +
  4882. "'" +
  4883. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4884. "'" +
  4885. ", " +
  4886. "'" +
  4887. aTool +
  4888. "'" +
  4889. ", " +
  4890. "`" +
  4891. text +
  4892. "`" +
  4893. ")\n" +
  4894. " });\n" +
  4895. "}\n" +
  4896. "document.head.appendChild(_js);\n";
  4897. _iframe.contentWindow.document.head.appendChild(_ajs);
  4898. }
  4899. }
  4900. //U.MD.D.I.openClick(str);
  4901. //如果有任务栏信息
  4902. // if (_taskbar) {
  4903. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4904. // }
  4905. }
  4906. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4907. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4908. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4909. _userinfo = US.userInfo, //登录用户信息
  4910. _userid = US.userInfo.userid //登录用户id
  4911. let _iframe;
  4912. let _cid = cid,
  4913. _stage = stage,
  4914. _task = task,
  4915. _tool = tool;
  4916. var _jie = $$("div", {
  4917. "style": {
  4918. "position": "absolute",
  4919. "bottom": "50px",
  4920. "right": "50px",
  4921. "zIndex": "9999",
  4922. "backgroundColor": "#2268bc",
  4923. "color": "#fff",
  4924. "padding": "12px 20px",
  4925. "cursor": "pointer",
  4926. "borderRadius": "4px",
  4927. },
  4928. "innerHTML": "提交作业"
  4929. })
  4930. let aTool = ''
  4931. let _loading = document.createElement('div')
  4932. _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;"
  4933. // _loading.id = "";
  4934. let _lchild = document.createElement('div')
  4935. let _limg = document.createElement('img')
  4936. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4937. _limg.style = "width: 26px;margin-right: 10px;"
  4938. _lchild.appendChild(_limg)
  4939. let _lspan = document.createElement('span')
  4940. _lspan.innerHTML = "上传中..."
  4941. _lchild.appendChild(_lspan)
  4942. _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%);"
  4943. _loading.appendChild(_lchild)
  4944. var _box = $$('div', {
  4945. "style": {
  4946. "position": "relative",
  4947. "width": "100%",
  4948. "height": "100%",
  4949. },
  4950. })
  4951. _box.appendChild(_loading)
  4952. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4953. switch (str) {
  4954. case "whiteboard":
  4955. aTool = 1;
  4956. _iframe = $$("iframe", {
  4957. "frameborder": "no",
  4958. "border": "0",
  4959. "scrolling ": "no",
  4960. "style": {
  4961. "cssText": "border:0;width:100%;height:100%"
  4962. },
  4963. "src": "https://iwb.cocorobo.cn/"
  4964. })
  4965. _box.appendChild(_iframe);
  4966. _box.appendChild(_jie);
  4967. _formdiv = new U.UF.UI.form(
  4968. "电子白板",
  4969. _box, {
  4970. "id": "whiteboard" + cid + stage + task + tool,
  4971. "style": {
  4972. "width": "90%",
  4973. "height": "90%",
  4974. "overflow": 'hidden'
  4975. },
  4976. "onresize": function () { }
  4977. }, {
  4978. closecallback: function () { }
  4979. }, {
  4980. "style": {
  4981. "height": "36px"
  4982. }
  4983. }).form; //创建窗体
  4984. _taskbar = {
  4985. "id": str + _formdiv.id,
  4986. "style": {
  4987. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4988. },
  4989. "name": "电子白板",
  4990. "forms": _formdiv,
  4991. "click": function () {
  4992. U.MD.D.I.openApplication(str, obj, info);
  4993. }
  4994. }
  4995. break;
  4996. case "mind":
  4997. aTool = 3;
  4998. _iframe = $$("iframe", {
  4999. "frameborder": "no",
  5000. "border": "0",
  5001. "scrolling ": "no",
  5002. "style": {
  5003. "cssText": "border:0;width:100%;height:100%"
  5004. },
  5005. "src": "/kityminder-editor/dist/index.html"
  5006. })
  5007. _box.appendChild(_iframe);
  5008. _box.appendChild(_jie);
  5009. _formdiv = new U.UF.UI.form(
  5010. "思维导图",
  5011. _box, { //"/jsmind/example/demo.html"
  5012. "id": "mind" + cid + stage + task + tool,
  5013. "style": {
  5014. "width": "90%",
  5015. "height": "90%",
  5016. "overflow": 'hidden'
  5017. },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, {
  5022. "style": {
  5023. "height": "36px"
  5024. }
  5025. }).form; //创建窗体
  5026. _taskbar = {
  5027. "id": str + _formdiv.id,
  5028. "style": {
  5029. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5030. },
  5031. "name": "思维导图",
  5032. "forms": _formdiv,
  5033. "click": function () {
  5034. U.MD.D.I.openApplication(str, obj, info);
  5035. }
  5036. }
  5037. break;
  5038. case "MindMap":
  5039. aTool = 3;
  5040. _iframe = $$("iframe", {
  5041. "frameborder": "no",
  5042. "border": "0",
  5043. "scrolling ": "no",
  5044. "style": {
  5045. "cssText": "border:0;width:100%;height:100%"
  5046. },
  5047. "src": "//cloud.cocorobo.cn/mind/"
  5048. })
  5049. _box.appendChild(_iframe);
  5050. _box.appendChild(_jie);
  5051. _formdiv = new U.UF.UI.form(
  5052. "思维导图",
  5053. _box, { //"/jsmind/example/demo.html"
  5054. "id": "mind" + cid + stage + task + tool,
  5055. "style": {
  5056. "width": "90%",
  5057. "height": "90%",
  5058. "overflow": 'hidden'
  5059. },
  5060. "onresize": function () { }
  5061. }, {
  5062. closecallback: function () { }
  5063. }, {
  5064. "style": {
  5065. "height": "36px"
  5066. }
  5067. }).form; //创建窗体
  5068. _taskbar = {
  5069. "id": str + _formdiv.id,
  5070. "style": {
  5071. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5072. },
  5073. "name": "思维导图",
  5074. "forms": _formdiv,
  5075. "click": function () {
  5076. U.MD.D.I.openApplication(str, obj, info);
  5077. }
  5078. }
  5079. break;
  5080. case "doc":
  5081. aTool = 6;
  5082. _iframe = $$("iframe", {
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0;width:100%;height:100%"
  5088. },
  5089. "src": "/Office/Word/WordEditArea.htm"
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "协同文档",
  5095. _box, {
  5096. "id": "doc" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //创建窗体
  5110. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5111. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5112. })
  5113. _taskbar = {
  5114. "id": str + _formdiv.id,
  5115. "style": {
  5116. "backgroundImage": "url(/img/icon/doc.png)"
  5117. },
  5118. "name": "协同文档",
  5119. "forms": _formdiv,
  5120. "click": function () {
  5121. U.MD.D.I.openApplication(str, obj, info);
  5122. }
  5123. }
  5124. break;
  5125. case "mindNetwork": //好友打开
  5126. aTool = 7;
  5127. _iframe = $$("iframe", {
  5128. "webkitallowfullscreen": "",
  5129. "mozallowfullscreen": "",
  5130. "allowfullscreen": "",
  5131. "frameborder": "no",
  5132. "border": "0",
  5133. "scrolling ": "no",
  5134. "style": {
  5135. "cssText": "border:0; width:100%; height:100%;"
  5136. },
  5137. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5138. })
  5139. _box.appendChild(_iframe);
  5140. _box.appendChild(_jie);
  5141. _formdiv = new U.UF.UI.form(
  5142. "思维网格",
  5143. _box, {
  5144. "id": "mindNetwork" + cid + stage + task + tool,
  5145. "style": {
  5146. "width": "90%",
  5147. "height": "90%",
  5148. "overflow": 'hidden'
  5149. },
  5150. "onresize": function () { }
  5151. }, {
  5152. closecallback: function () { }
  5153. }, {
  5154. "style": {
  5155. "height": "36px"
  5156. }
  5157. }).form; //创建窗体
  5158. _taskbar = {
  5159. "id": str + _formdiv.id,
  5160. "style": {
  5161. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5162. },
  5163. "name": "思维网格",
  5164. "forms": _formdiv,
  5165. "click": function () {
  5166. U.MD.D.I.openApplication(str, obj, info);
  5167. }
  5168. }
  5169. break;
  5170. case "courseDesign":
  5171. _iframe = $$("iframe", {
  5172. "webkitallowfullscreen": "",
  5173. "mozallowfullscreen": "",
  5174. "allowfullscreen": "",
  5175. "frameborder": "no",
  5176. "border": "0",
  5177. "scrolling ": "no",
  5178. "style": {
  5179. "cssText": "border:0; width:100%; height:100%;"
  5180. },
  5181. "src": "/course-design-vue"
  5182. })
  5183. _box.appendChild(_iframe);
  5184. _box.appendChild(_jie);
  5185. _formdiv = new U.UF.UI.form(
  5186. "项目设计",
  5187. _box, {
  5188. "id": "courseDesign" + cid + stage + task + tool,
  5189. "style": {
  5190. "width": "90%",
  5191. "height": "90%",
  5192. "overflow": 'hidden'
  5193. },
  5194. "onresize": function () { }
  5195. }, {
  5196. closecallback: function () { }
  5197. }, {
  5198. "style": {
  5199. "height": "36px"
  5200. }
  5201. }).form; //创建窗体
  5202. _taskbar = {
  5203. "id": str + _formdiv.id,
  5204. "style": {
  5205. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5206. },
  5207. "name": "项目设计",
  5208. "forms": _formdiv,
  5209. "click": function () {
  5210. U.MD.D.I.openApplication(str, obj, info);
  5211. }
  5212. }
  5213. break;
  5214. }
  5215. const script1 = document.createElement("script");
  5216. script1.type = "text/javascript";
  5217. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5218. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5219. const script2 = document.createElement("script");
  5220. script2.type = "text/javascript";
  5221. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5222. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5223. const script3 = document.createElement("script");
  5224. script3.type = "text/javascript";
  5225. script3.charset = "UTF-8";
  5226. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5227. const script4 = document.createElement("script");
  5228. script4.type = "text/javascript";
  5229. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5230. script4.src = window.origin + "/js/Common/jietu2E.js";
  5231. if (_iframe) {
  5232. if (str == 'doc') {
  5233. _iframe = _formdiv.querySelector('iframe')
  5234. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5235. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5236. _iframe.contentWindow.document.body.appendChild(script1);
  5237. _iframe.contentWindow.document.body.appendChild(script2);
  5238. // _iframe.contentWindow.document.body.appendChild(script3);
  5239. _iframe.contentWindow.document.body.appendChild(script4);
  5240. })
  5241. if (onloadListener) {
  5242. _iframe.contentDocument.location.reload()
  5243. } else {
  5244. _iframe.contentDocument.location.reload()
  5245. }
  5246. } else if (str == 'courseDesign') {
  5247. U.UF.DL.iframeLoad(_iframe, function () {
  5248. // _iframe.contentWindow.U.MD.O.W.load();
  5249. // _iframe.contentWindow.document.body.appendChild(script1);
  5250. _iframe.contentWindow.document.body.appendChild(script2);
  5251. _iframe.contentWindow.document.body.appendChild(script4);
  5252. })
  5253. } else if (str == 'mind') {
  5254. _iframe = _formdiv.querySelector('iframe')
  5255. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5256. //
  5257. _iframe.contentWindow.document.body.appendChild(script1);
  5258. _iframe.contentWindow.document.body.appendChild(script2);
  5259. _iframe.contentWindow.document.body.appendChild(script4);
  5260. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5261. })
  5262. if (onloadListener) {
  5263. _iframe.contentDocument.location.reload()
  5264. } else {
  5265. _iframe.contentDocument.location.reload()
  5266. }
  5267. } else if (str == 'whiteboard') {
  5268. _iframe = _formdiv.querySelector('iframe')
  5269. let onloadListener = _iframe.onload = () => {
  5270. _iframe.contentWindow.document.body.appendChild(script1);
  5271. _iframe.contentWindow.document.body.appendChild(script2);
  5272. _iframe.contentWindow.document.body.appendChild(script4);
  5273. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5274. };
  5275. if (onloadListener) {
  5276. _iframe.contentDocument.location.reload()
  5277. } else {
  5278. _iframe.contentDocument.location.reload()
  5279. }
  5280. } else {
  5281. _iframe.onload = () => {
  5282. _iframe.contentWindow.document.body.appendChild(script1);
  5283. _iframe.contentWindow.document.body.appendChild(script2);
  5284. // _iframe.contentWindow.document.body.appendChild(script3);
  5285. _iframe.contentWindow.document.body.appendChild(script4);
  5286. };
  5287. }
  5288. _jie.onclick = async () => {
  5289. let text = ''
  5290. if (aTool == 1) {
  5291. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5292. } else if (aTool == 6) {
  5293. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5294. } else if (aTool == 3) {
  5295. text = await U.MD.D.I.getEditorContent(_iframe);
  5296. }
  5297. _loading.style.display = 'flex'
  5298. console.log(_loading);
  5299. var _ajs = _iframe.contentWindow.document.createElement("script");
  5300. _ajs.type = "text/javascript";
  5301. _ajs.innerHTML =
  5302. // 'console.log(' + _loading + ');\n' +
  5303. 'var _js = document.createElement("script");\n' +
  5304. '_js.type="text/javascript";\n' +
  5305. '_js.charset="UTF-8";\n' +
  5306. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5307. "_js.onload = function(){\n" +
  5308. ' var a = document.getElementsByTagName("img")\n' +
  5309. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5310. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5311. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5312. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5313. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5314. "beforeUpload_shishi(file," +
  5315. "'" +
  5316. _userid +
  5317. "'" +
  5318. ", " +
  5319. "'" +
  5320. _cid +
  5321. "'" +
  5322. ", " +
  5323. "'" +
  5324. _stage +
  5325. "'" +
  5326. ", " +
  5327. "'" +
  5328. _task +
  5329. "'" +
  5330. ", " +
  5331. "'" +
  5332. _tool +
  5333. "'" +
  5334. ", " +
  5335. "'" +
  5336. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5337. "'" +
  5338. ", " +
  5339. "'" +
  5340. aTool +
  5341. "'" +
  5342. ", " +
  5343. "`" +
  5344. text +
  5345. "`" +
  5346. ")\n" +
  5347. " });\n" +
  5348. "}\n" +
  5349. "document.head.appendChild(_js);\n";
  5350. _iframe.contentWindow.document.head.appendChild(_ajs);
  5351. }
  5352. }
  5353. //U.MD.D.I.openClick(str);
  5354. //如果有任务栏信息
  5355. // if (_taskbar) {
  5356. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5357. // }
  5358. }
  5359. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5360. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5361. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5362. _userid = student.userid, //登录用户id
  5363. _username = student.student //用户名字
  5364. let _iframe;
  5365. let _cid = cid,
  5366. _stage = stage,
  5367. _task = task,
  5368. _tool = tool;
  5369. var _jie = $$("div", {
  5370. "style": {
  5371. "position": "absolute",
  5372. "bottom": "50px",
  5373. "right": "50px",
  5374. "zIndex": "9999",
  5375. "backgroundColor": "#2268bc",
  5376. "color": "#fff",
  5377. "padding": "12px 20px",
  5378. "cursor": "pointer",
  5379. "borderRadius": "4px",
  5380. },
  5381. "innerHTML": "提交作业"
  5382. })
  5383. let aTool = ''
  5384. let _loading = document.createElement('div')
  5385. _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;"
  5386. // _loading.id = "";
  5387. let _lchild = document.createElement('div')
  5388. let _limg = document.createElement('img')
  5389. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5390. _limg.style = "width: 26px;margin-right: 10px;"
  5391. _lchild.appendChild(_limg)
  5392. let _lspan = document.createElement('span')
  5393. _lspan.innerHTML = "上传中..."
  5394. _lchild.appendChild(_lspan)
  5395. _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%);"
  5396. _loading.appendChild(_lchild)
  5397. var _box = $$('div', {
  5398. "style": {
  5399. "position": "relative",
  5400. "width": "100%",
  5401. "height": "100%",
  5402. },
  5403. })
  5404. _box.appendChild(_loading)
  5405. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5406. switch (str) {
  5407. case "whiteboard":
  5408. aTool = 1;
  5409. _iframe = $$("iframe", {
  5410. "frameborder": "no",
  5411. "border": "0",
  5412. "scrolling ": "no",
  5413. "style": {
  5414. "cssText": "border:0;width:100%;height:100%"
  5415. },
  5416. "src": "https://iwb.cocorobo.cn/"
  5417. })
  5418. _box.appendChild(_iframe);
  5419. _box.appendChild(_jie);
  5420. _formdiv = new U.UF.UI.form(
  5421. "电子白板-" + _username,
  5422. _box, {
  5423. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5424. "style": {
  5425. "width": "90%",
  5426. "height": "90%",
  5427. "overflow": 'hidden'
  5428. },
  5429. "onresize": function () { }
  5430. }, {
  5431. closecallback: function () { }
  5432. }, {
  5433. "style": {
  5434. "height": "36px"
  5435. }
  5436. }).form; //创建窗体
  5437. _taskbar = {
  5438. "id": str + _formdiv.id,
  5439. "style": {
  5440. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5441. },
  5442. "name": "电子白板",
  5443. "forms": _formdiv,
  5444. "click": function () {
  5445. U.MD.D.I.openApplication(str, obj, info);
  5446. }
  5447. }
  5448. break;
  5449. case "mind":
  5450. aTool = 3;
  5451. _iframe = $$("iframe", {
  5452. "frameborder": "no",
  5453. "border": "0",
  5454. "scrolling ": "no",
  5455. "style": {
  5456. "cssText": "border:0;width:100%;height:100%"
  5457. },
  5458. "src": "/kityminder-editor/dist/index.html"
  5459. })
  5460. _box.appendChild(_iframe);
  5461. _box.appendChild(_jie);
  5462. _formdiv = new U.UF.UI.form(
  5463. "思维导图-" + _username,
  5464. _box, { //"/jsmind/example/demo.html"
  5465. "id": "mind" + cid + stage + task + tool + _userid,
  5466. "style": {
  5467. "width": "90%",
  5468. "height": "90%",
  5469. "overflow": 'hidden'
  5470. },
  5471. "onresize": function () { }
  5472. }, {
  5473. closecallback: function () { }
  5474. }, {
  5475. "style": {
  5476. "height": "36px"
  5477. }
  5478. }).form; //创建窗体
  5479. _taskbar = {
  5480. "id": str + _formdiv.id,
  5481. "style": {
  5482. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5483. },
  5484. "name": "思维导图",
  5485. "forms": _formdiv,
  5486. "click": function () {
  5487. U.MD.D.I.openApplication(str, obj, info);
  5488. }
  5489. }
  5490. break;
  5491. case "MindMap":
  5492. aTool = 3;
  5493. _iframe = $$("iframe", {
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0;width:100%;height:100%"
  5499. },
  5500. "src": "//cloud.cocorobo.cn/mind/"
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "思维导图-" + _username,
  5506. _box, { //"/jsmind/example/demo.html"
  5507. "id": "mind" + cid + stage + task + tool + _userid,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function () { }
  5514. }, {
  5515. closecallback: function () { }
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //创建窗体
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5525. },
  5526. "name": "思维导图",
  5527. "forms": _formdiv,
  5528. "click": function () {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. case "doc":
  5534. aTool = 6;
  5535. _iframe = $$("iframe", {
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0;width:100%;height:100%"
  5541. },
  5542. "src": "/Office/Word/WordEditArea.htm"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "协同文档-" + _username,
  5548. _box, {
  5549. "id": "doc" + cid + stage + task + tool + _userid,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5564. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5565. })
  5566. _taskbar = {
  5567. "id": str + _formdiv.id,
  5568. "style": {
  5569. "backgroundImage": "url(/img/icon/doc.png)"
  5570. },
  5571. "name": "协同文档",
  5572. "forms": _formdiv,
  5573. "click": function () {
  5574. U.MD.D.I.openApplication(str, obj, info);
  5575. }
  5576. }
  5577. break;
  5578. case "mindNetwork": //好友打开
  5579. aTool = 7;
  5580. _iframe = $$("iframe", {
  5581. "webkitallowfullscreen": "",
  5582. "mozallowfullscreen": "",
  5583. "allowfullscreen": "",
  5584. "frameborder": "no",
  5585. "border": "0",
  5586. "scrolling ": "no",
  5587. "style": {
  5588. "cssText": "border:0; width:100%; height:100%;"
  5589. },
  5590. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5591. })
  5592. _box.appendChild(_iframe);
  5593. _box.appendChild(_jie);
  5594. _formdiv = new U.UF.UI.form(
  5595. "思维网格-" + _username,
  5596. _box, {
  5597. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5598. "style": {
  5599. "width": "90%",
  5600. "height": "90%",
  5601. "overflow": 'hidden'
  5602. },
  5603. "onresize": function () { }
  5604. }, {
  5605. closecallback: function () { }
  5606. }, {
  5607. "style": {
  5608. "height": "36px"
  5609. }
  5610. }).form; //创建窗体
  5611. _taskbar = {
  5612. "id": str + _formdiv.id,
  5613. "style": {
  5614. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5615. },
  5616. "name": "思维网格",
  5617. "forms": _formdiv,
  5618. "click": function () {
  5619. U.MD.D.I.openApplication(str, obj, info);
  5620. }
  5621. }
  5622. break;
  5623. case "courseDesign":
  5624. _iframe = $$("iframe", {
  5625. "webkitallowfullscreen": "",
  5626. "mozallowfullscreen": "",
  5627. "allowfullscreen": "",
  5628. "frameborder": "no",
  5629. "border": "0",
  5630. "scrolling ": "no",
  5631. "style": {
  5632. "cssText": "border:0; width:100%; height:100%;"
  5633. },
  5634. "src": "/course-design-vue"
  5635. })
  5636. _box.appendChild(_iframe);
  5637. _box.appendChild(_jie);
  5638. _formdiv = new U.UF.UI.form(
  5639. "项目设计-" + _username,
  5640. _box, {
  5641. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5642. "style": {
  5643. "width": "90%",
  5644. "height": "90%",
  5645. "overflow": 'hidden'
  5646. },
  5647. "onresize": function () { }
  5648. }, {
  5649. closecallback: function () { }
  5650. }, {
  5651. "style": {
  5652. "height": "36px"
  5653. }
  5654. }).form; //创建窗体
  5655. _taskbar = {
  5656. "id": str + _formdiv.id,
  5657. "style": {
  5658. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5659. },
  5660. "name": "项目设计",
  5661. "forms": _formdiv,
  5662. "click": function () {
  5663. U.MD.D.I.openApplication(str, obj, info);
  5664. }
  5665. }
  5666. break;
  5667. }
  5668. const script1 = document.createElement("script");
  5669. script1.type = "text/javascript";
  5670. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5671. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5672. const script2 = document.createElement("script");
  5673. script2.type = "text/javascript";
  5674. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5675. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5676. const script3 = document.createElement("script");
  5677. script3.type = "text/javascript";
  5678. script3.charset = "UTF-8";
  5679. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5680. const script4 = document.createElement("script");
  5681. script4.type = "text/javascript";
  5682. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5683. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5684. if (_iframe) {
  5685. if (str == 'doc') {
  5686. _iframe = _formdiv.querySelector('iframe')
  5687. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5688. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5689. _iframe.contentWindow.document.body.appendChild(script1);
  5690. _iframe.contentWindow.document.body.appendChild(script2);
  5691. // _iframe.contentWindow.document.body.appendChild(script3);
  5692. _iframe.contentWindow.document.body.appendChild(script4);
  5693. })
  5694. if (onloadListener) {
  5695. _iframe.contentDocument.location.reload()
  5696. } else {
  5697. _iframe.contentDocument.location.reload()
  5698. }
  5699. } else if (str == 'courseDesign') {
  5700. U.UF.DL.iframeLoad(_iframe, function () {
  5701. // _iframe.contentWindow.U.MD.O.W.load();
  5702. // _iframe.contentWindow.document.body.appendChild(script1);
  5703. _iframe.contentWindow.document.body.appendChild(script2);
  5704. _iframe.contentWindow.document.body.appendChild(script4);
  5705. })
  5706. } else if (str == 'mind') {
  5707. _iframe = _formdiv.querySelector('iframe')
  5708. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5709. //
  5710. _iframe.contentWindow.document.body.appendChild(script1);
  5711. _iframe.contentWindow.document.body.appendChild(script2);
  5712. _iframe.contentWindow.document.body.appendChild(script4);
  5713. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5714. })
  5715. if (onloadListener) {
  5716. _iframe.contentDocument.location.reload()
  5717. } else {
  5718. _iframe.contentDocument.location.reload()
  5719. }
  5720. } else if (str == 'whiteboard') {
  5721. _iframe = _formdiv.querySelector('iframe')
  5722. let onloadListener = _iframe.onload = () => {
  5723. _iframe.contentWindow.document.body.appendChild(script1);
  5724. _iframe.contentWindow.document.body.appendChild(script2);
  5725. _iframe.contentWindow.document.body.appendChild(script4);
  5726. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5727. };
  5728. if (onloadListener) {
  5729. _iframe.contentDocument.location.reload()
  5730. } else {
  5731. _iframe.contentDocument.location.reload()
  5732. }
  5733. } else {
  5734. _iframe.onload = () => {
  5735. _iframe.contentWindow.document.body.appendChild(script1);
  5736. _iframe.contentWindow.document.body.appendChild(script2);
  5737. // _iframe.contentWindow.document.body.appendChild(script3);
  5738. _iframe.contentWindow.document.body.appendChild(script4);
  5739. };
  5740. }
  5741. _jie.onclick = async () => {
  5742. let text = ''
  5743. if (aTool == 1) {
  5744. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5745. } else if (aTool == 6) {
  5746. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5747. } else if (aTool == 3) {
  5748. text = await U.MD.D.I.getEditorContent(_iframe);
  5749. }
  5750. _loading.style.display = 'flex'
  5751. console.log(_loading);
  5752. var _ajs = _iframe.contentWindow.document.createElement("script");
  5753. _ajs.type = "text/javascript";
  5754. _ajs.innerHTML =
  5755. // 'console.log(' + _loading + ');\n' +
  5756. 'var _js = document.createElement("script");\n' +
  5757. '_js.type="text/javascript";\n' +
  5758. '_js.charset="UTF-8";\n' +
  5759. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5760. "_js.onload = function(){\n" +
  5761. ' var a = document.getElementsByTagName("img")\n' +
  5762. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5763. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5764. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5765. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5766. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5767. "beforeUpload_shishi(file," +
  5768. "'" +
  5769. _userid +
  5770. "'" +
  5771. ", " +
  5772. "'" +
  5773. _cid +
  5774. "'" +
  5775. ", " +
  5776. "'" +
  5777. _stage +
  5778. "'" +
  5779. ", " +
  5780. "'" +
  5781. _task +
  5782. "'" +
  5783. ", " +
  5784. "'" +
  5785. _tool +
  5786. "'" +
  5787. ", " +
  5788. "'" +
  5789. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5790. "'" +
  5791. ", " +
  5792. "'" +
  5793. aTool +
  5794. "'" +
  5795. ", " +
  5796. "`" +
  5797. text +
  5798. "`" +
  5799. ")\n" +
  5800. " });\n" +
  5801. "}\n" +
  5802. "document.head.appendChild(_js);\n";
  5803. _iframe.contentWindow.document.head.appendChild(_ajs);
  5804. }
  5805. }
  5806. }
  5807. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5808. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5809. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5810. _userid = student.userid, //登录用户id
  5811. _username = student.student //用户名字
  5812. let _iframe;
  5813. let _cid = cid,
  5814. _stage = stage,
  5815. _task = task,
  5816. _tool = tool;
  5817. var _jie = $$("div", {
  5818. "style": {
  5819. "position": "absolute",
  5820. "bottom": "50px",
  5821. "right": "50px",
  5822. "zIndex": "9999",
  5823. "backgroundColor": "#2268bc",
  5824. "color": "#fff",
  5825. "padding": "12px 20px",
  5826. "cursor": "pointer",
  5827. "borderRadius": "4px",
  5828. },
  5829. "innerHTML": "提交作业"
  5830. })
  5831. let aTool = ''
  5832. let _loading = document.createElement('div')
  5833. _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;"
  5834. // _loading.id = "";
  5835. let _lchild = document.createElement('div')
  5836. let _limg = document.createElement('img')
  5837. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5838. _limg.style = "width: 26px;margin-right: 10px;"
  5839. _lchild.appendChild(_limg)
  5840. let _lspan = document.createElement('span')
  5841. _lspan.innerHTML = "上传中..."
  5842. _lchild.appendChild(_lspan)
  5843. _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%);"
  5844. _loading.appendChild(_lchild)
  5845. var _box = $$('div', {
  5846. "style": {
  5847. "position": "relative",
  5848. "width": "100%",
  5849. "height": "100%",
  5850. },
  5851. })
  5852. _box.appendChild(_loading)
  5853. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5854. switch (str) {
  5855. case "whiteboard":
  5856. aTool = 1;
  5857. _iframe = $$("iframe", {
  5858. "frameborder": "no",
  5859. "border": "0",
  5860. "scrolling ": "no",
  5861. "style": {
  5862. "cssText": "border:0;width:100%;height:100%"
  5863. },
  5864. "src": "https://iwb.cocorobo.cn/"
  5865. })
  5866. _box.appendChild(_iframe);
  5867. _box.appendChild(_jie);
  5868. _formdiv = new U.UF.UI.form(
  5869. "电子白板-" + _username,
  5870. _box, {
  5871. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5872. "style": {
  5873. "width": "90%",
  5874. "height": "90%",
  5875. "overflow": 'hidden'
  5876. },
  5877. "onresize": function () { }
  5878. }, {
  5879. closecallback: function () { }
  5880. }, {
  5881. "style": {
  5882. "height": "36px"
  5883. }
  5884. }).form; //创建窗体
  5885. _taskbar = {
  5886. "id": str + _formdiv.id,
  5887. "style": {
  5888. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5889. },
  5890. "name": "电子白板",
  5891. "forms": _formdiv,
  5892. "click": function () {
  5893. U.MD.D.I.openApplication(str, obj, info);
  5894. }
  5895. }
  5896. break;
  5897. case "mind":
  5898. aTool = 3;
  5899. _iframe = $$("iframe", {
  5900. "frameborder": "no",
  5901. "border": "0",
  5902. "scrolling ": "no",
  5903. "style": {
  5904. "cssText": "border:0;width:100%;height:100%"
  5905. },
  5906. "src": "/kityminder-editor/dist/index.html"
  5907. })
  5908. _box.appendChild(_iframe);
  5909. _box.appendChild(_jie);
  5910. _formdiv = new U.UF.UI.form(
  5911. "思维导图-" + _username,
  5912. _box, { //"/jsmind/example/demo.html"
  5913. "id": "mind" + cid + stage + task + tool + _userid,
  5914. "style": {
  5915. "width": "90%",
  5916. "height": "90%",
  5917. "overflow": 'hidden'
  5918. },
  5919. "onresize": function () { }
  5920. }, {
  5921. closecallback: function () { }
  5922. }, {
  5923. "style": {
  5924. "height": "36px"
  5925. }
  5926. }).form; //创建窗体
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5931. },
  5932. "name": "思维导图",
  5933. "forms": _formdiv,
  5934. "click": function () {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "MindMap":
  5940. aTool = 3;
  5941. _iframe = $$("iframe", {
  5942. "frameborder": "no",
  5943. "border": "0",
  5944. "scrolling ": "no",
  5945. "style": {
  5946. "cssText": "border:0;width:100%;height:100%"
  5947. },
  5948. "src": "//cloud.cocorobo.cn/mind/"
  5949. })
  5950. _box.appendChild(_iframe);
  5951. _box.appendChild(_jie);
  5952. _formdiv = new U.UF.UI.form(
  5953. "思维导图-" + _username,
  5954. _box, { //"/jsmind/example/demo.html"
  5955. "id": "mind" + cid + stage + task + tool + _userid,
  5956. "style": {
  5957. "width": "90%",
  5958. "height": "90%",
  5959. "overflow": 'hidden'
  5960. },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, {
  5965. "style": {
  5966. "height": "36px"
  5967. }
  5968. }).form; //创建窗体
  5969. _taskbar = {
  5970. "id": str + _formdiv.id,
  5971. "style": {
  5972. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5973. },
  5974. "name": "思维导图",
  5975. "forms": _formdiv,
  5976. "click": function () {
  5977. U.MD.D.I.openApplication(str, obj, info);
  5978. }
  5979. }
  5980. break;
  5981. case "doc":
  5982. aTool = 6;
  5983. _iframe = $$("iframe", {
  5984. "frameborder": "no",
  5985. "border": "0",
  5986. "scrolling ": "no",
  5987. "style": {
  5988. "cssText": "border:0;width:100%;height:100%"
  5989. },
  5990. "src": "/Office/Word/WordEditArea.htm"
  5991. })
  5992. _box.appendChild(_iframe);
  5993. _box.appendChild(_jie);
  5994. _formdiv = new U.UF.UI.form(
  5995. "协同文档-" + _username,
  5996. _box, {
  5997. "id": "doc" + cid + stage + task + tool + _userid,
  5998. "style": {
  5999. "width": "90%",
  6000. "height": "90%",
  6001. "overflow": 'hidden'
  6002. },
  6003. "onresize": function () { }
  6004. }, {
  6005. closecallback: function () { }
  6006. }, {
  6007. "style": {
  6008. "height": "36px"
  6009. }
  6010. }).form; //创建窗体
  6011. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6012. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6013. })
  6014. _taskbar = {
  6015. "id": str + _formdiv.id,
  6016. "style": {
  6017. "backgroundImage": "url(/img/icon/doc.png)"
  6018. },
  6019. "name": "协同文档",
  6020. "forms": _formdiv,
  6021. "click": function () {
  6022. U.MD.D.I.openApplication(str, obj, info);
  6023. }
  6024. }
  6025. break;
  6026. case "mindNetwork": //好友打开
  6027. aTool = 7;
  6028. _iframe = $$("iframe", {
  6029. "webkitallowfullscreen": "",
  6030. "mozallowfullscreen": "",
  6031. "allowfullscreen": "",
  6032. "frameborder": "no",
  6033. "border": "0",
  6034. "scrolling ": "no",
  6035. "style": {
  6036. "cssText": "border:0; width:100%; height:100%;"
  6037. },
  6038. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6039. })
  6040. _box.appendChild(_iframe);
  6041. _box.appendChild(_jie);
  6042. _formdiv = new U.UF.UI.form(
  6043. "思维网格-" + _username,
  6044. _box, {
  6045. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6046. "style": {
  6047. "width": "90%",
  6048. "height": "90%",
  6049. "overflow": 'hidden'
  6050. },
  6051. "onresize": function () { }
  6052. }, {
  6053. closecallback: function () { }
  6054. }, {
  6055. "style": {
  6056. "height": "36px"
  6057. }
  6058. }).form; //创建窗体
  6059. _taskbar = {
  6060. "id": str + _formdiv.id,
  6061. "style": {
  6062. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6063. },
  6064. "name": "思维网格",
  6065. "forms": _formdiv,
  6066. "click": function () {
  6067. U.MD.D.I.openApplication(str, obj, info);
  6068. }
  6069. }
  6070. break;
  6071. case "courseDesign":
  6072. _iframe = $$("iframe", {
  6073. "webkitallowfullscreen": "",
  6074. "mozallowfullscreen": "",
  6075. "allowfullscreen": "",
  6076. "frameborder": "no",
  6077. "border": "0",
  6078. "scrolling ": "no",
  6079. "style": {
  6080. "cssText": "border:0; width:100%; height:100%;"
  6081. },
  6082. "src": "/course-design-vue"
  6083. })
  6084. _box.appendChild(_iframe);
  6085. _box.appendChild(_jie);
  6086. _formdiv = new U.UF.UI.form(
  6087. "项目设计-" + _username,
  6088. _box, {
  6089. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6090. "style": {
  6091. "width": "90%",
  6092. "height": "90%",
  6093. "overflow": 'hidden'
  6094. },
  6095. "onresize": function () { }
  6096. }, {
  6097. closecallback: function () { }
  6098. }, {
  6099. "style": {
  6100. "height": "36px"
  6101. }
  6102. }).form; //创建窗体
  6103. _taskbar = {
  6104. "id": str + _formdiv.id,
  6105. "style": {
  6106. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6107. },
  6108. "name": "项目设计",
  6109. "forms": _formdiv,
  6110. "click": function () {
  6111. U.MD.D.I.openApplication(str, obj, info);
  6112. }
  6113. }
  6114. break;
  6115. }
  6116. const script1 = document.createElement("script");
  6117. script1.type = "text/javascript";
  6118. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6119. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6120. const script2 = document.createElement("script");
  6121. script2.type = "text/javascript";
  6122. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6123. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6124. const script3 = document.createElement("script");
  6125. script3.type = "text/javascript";
  6126. script3.charset = "UTF-8";
  6127. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6128. const script4 = document.createElement("script");
  6129. script4.type = "text/javascript";
  6130. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6131. script4.src = window.origin + "/js/Common/jietu2E.js";
  6132. if (_iframe) {
  6133. if (str == 'doc') {
  6134. _iframe = _formdiv.querySelector('iframe')
  6135. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6136. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6137. _iframe.contentWindow.document.body.appendChild(script1);
  6138. _iframe.contentWindow.document.body.appendChild(script2);
  6139. // _iframe.contentWindow.document.body.appendChild(script3);
  6140. _iframe.contentWindow.document.body.appendChild(script4);
  6141. })
  6142. if (onloadListener) {
  6143. _iframe.contentDocument.location.reload()
  6144. } else {
  6145. _iframe.contentDocument.location.reload()
  6146. }
  6147. } else if (str == 'courseDesign') {
  6148. U.UF.DL.iframeLoad(_iframe, function () {
  6149. // _iframe.contentWindow.U.MD.O.W.load();
  6150. // _iframe.contentWindow.document.body.appendChild(script1);
  6151. _iframe.contentWindow.document.body.appendChild(script2);
  6152. _iframe.contentWindow.document.body.appendChild(script4);
  6153. })
  6154. } else if (str == 'mind') {
  6155. _iframe = _formdiv.querySelector('iframe')
  6156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6157. //
  6158. _iframe.contentWindow.document.body.appendChild(script1);
  6159. _iframe.contentWindow.document.body.appendChild(script2);
  6160. _iframe.contentWindow.document.body.appendChild(script4);
  6161. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6162. })
  6163. if (onloadListener) {
  6164. _iframe.contentDocument.location.reload()
  6165. } else {
  6166. _iframe.contentDocument.location.reload()
  6167. }
  6168. } else if (str == 'whiteboard') {
  6169. _iframe = _formdiv.querySelector('iframe')
  6170. let onloadListener = _iframe.onload = () => {
  6171. _iframe.contentWindow.document.body.appendChild(script1);
  6172. _iframe.contentWindow.document.body.appendChild(script2);
  6173. _iframe.contentWindow.document.body.appendChild(script4);
  6174. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6175. };
  6176. if (onloadListener) {
  6177. _iframe.contentDocument.location.reload()
  6178. } else {
  6179. _iframe.contentDocument.location.reload()
  6180. }
  6181. } else {
  6182. _iframe.onload = () => {
  6183. _iframe.contentWindow.document.body.appendChild(script1);
  6184. _iframe.contentWindow.document.body.appendChild(script2);
  6185. // _iframe.contentWindow.document.body.appendChild(script3);
  6186. _iframe.contentWindow.document.body.appendChild(script4);
  6187. };
  6188. }
  6189. _jie.onclick = async () => {
  6190. let text = ''
  6191. if (aTool == 1) {
  6192. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6193. } else if (aTool == 6) {
  6194. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6195. } else if (aTool == 3) {
  6196. text = await U.MD.D.I.getEditorContent(_iframe);
  6197. }
  6198. _loading.style.display = 'flex'
  6199. console.log(_loading);
  6200. var _ajs = _iframe.contentWindow.document.createElement("script");
  6201. _ajs.type = "text/javascript";
  6202. _ajs.innerHTML =
  6203. // 'console.log(' + _loading + ');\n' +
  6204. 'var _js = document.createElement("script");\n' +
  6205. '_js.type="text/javascript";\n' +
  6206. '_js.charset="UTF-8";\n' +
  6207. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6208. "_js.onload = function(){\n" +
  6209. ' var a = document.getElementsByTagName("img")\n' +
  6210. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6211. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6212. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6213. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6214. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6215. "beforeUpload_shishi(file," +
  6216. "'" +
  6217. _userid +
  6218. "'" +
  6219. ", " +
  6220. "'" +
  6221. _cid +
  6222. "'" +
  6223. ", " +
  6224. "'" +
  6225. _stage +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. _task +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. _tool +
  6234. "'" +
  6235. ", " +
  6236. "'" +
  6237. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6238. "'" +
  6239. ", " +
  6240. "'" +
  6241. aTool +
  6242. "'" +
  6243. ", " +
  6244. "`" +
  6245. text +
  6246. "`" +
  6247. ")\n" +
  6248. " });\n" +
  6249. "}\n" +
  6250. "document.head.appendChild(_js);\n";
  6251. _iframe.contentWindow.document.head.appendChild(_ajs);
  6252. }
  6253. }
  6254. }
  6255. U.MD.D.I.getEditorContent = function (iframe) {
  6256. return new Promise((resolve, reject) => {
  6257. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6258. console.log(content);
  6259. resolve(content)
  6260. });
  6261. });
  6262. }
  6263. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6264. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6265. // if (res.value[0].length > 0) {
  6266. // // resolve(res.value[0][0].text);
  6267. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6268. // $(fileInput).val('');
  6269. // });
  6270. // }
  6271. // }, [], { "type": "GET", "withCredentials": true });
  6272. var xmlhttp;
  6273. var Mac, Sn, DeviceId
  6274. if (window.XMLHttpRequest) {
  6275. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6276. xmlhttp = new XMLHttpRequest();
  6277. } else {
  6278. // IE6, IE5 浏览器执行代码
  6279. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6280. }
  6281. xmlhttp.onreadystatechange = function () {
  6282. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6283. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6284. // resolve(res.value[0][0].text);
  6285. if (type == '2') {
  6286. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6287. } else if (type == '3') {
  6288. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6289. }
  6290. } else {
  6291. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6292. }
  6293. }
  6294. }
  6295. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6296. xmlhttp.send();
  6297. }
  6298. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6299. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6300. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6301. _userinfo = US.userInfo, //登录用户信息
  6302. _userid = US.userInfo.userid //登录用户id
  6303. let _iframe;
  6304. let _cid = cid,
  6305. _stage = stage,
  6306. _task = task,
  6307. _tool = tool;
  6308. var _jie = $$("div", {
  6309. "style": {
  6310. "position": "absolute",
  6311. "bottom": "50px",
  6312. "right": "50px",
  6313. "zIndex": "9999",
  6314. "backgroundColor": "#2268bc",
  6315. "color": "#fff",
  6316. "padding": "12px 20px",
  6317. "cursor": "pointer",
  6318. "borderRadius": "4px",
  6319. },
  6320. "innerHTML": "确认并提交"
  6321. })
  6322. let aTool = ''
  6323. let _loading = document.createElement('div')
  6324. _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;"
  6325. // _loading.id = "";
  6326. let _lchild = document.createElement('div')
  6327. let _limg = document.createElement('img')
  6328. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6329. _limg.style = "width: 26px;margin-right: 10px;"
  6330. _lchild.appendChild(_limg)
  6331. let _lspan = document.createElement('span')
  6332. _lspan.innerHTML = "上传中..."
  6333. _lchild.appendChild(_lspan)
  6334. _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%);"
  6335. _loading.appendChild(_lchild)
  6336. var _box = $$('div', {
  6337. "style": {
  6338. "position": "relative",
  6339. "width": "100%",
  6340. "height": "100%",
  6341. },
  6342. })
  6343. _box.appendChild(_loading)
  6344. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6345. switch (str) {
  6346. case "whiteboard":
  6347. aTool = 1;
  6348. _iframe = $$("iframe", {
  6349. "frameborder": "no",
  6350. "border": "0",
  6351. "scrolling ": "no",
  6352. "style": {
  6353. "cssText": "border:0;width:100%;height:100%"
  6354. },
  6355. "src": "https://iwb.cocorobo.cn/"
  6356. })
  6357. _box.appendChild(_iframe);
  6358. _box.appendChild(_jie);
  6359. _formdiv = new U.UF.UI.form(
  6360. "电子白板",
  6361. _box, {
  6362. "id": "whiteboards" + cid + stage + task + tool,
  6363. "style": {
  6364. "width": "90%",
  6365. "height": "90%",
  6366. "overflow": 'hidden'
  6367. },
  6368. "onresize": function () { }
  6369. }, {
  6370. closecallback: function () { }
  6371. }, {
  6372. "style": {
  6373. "height": "36px"
  6374. }
  6375. }).form; //创建窗体
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6380. },
  6381. "name": "电子白板",
  6382. "forms": _formdiv,
  6383. "click": function () {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "mind":
  6389. aTool = 3;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "/kityminder-editor/dist/index.html"
  6398. });
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "思维导图",
  6403. _box, { //"/jsmind/example/demo.html"
  6404. "id": "minds" + cid + stage + task + tool,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function () { }
  6411. }, {
  6412. closecallback: function () { }
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6422. },
  6423. "name": "思维导图",
  6424. "forms": _formdiv,
  6425. "click": function () {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "doc":
  6431. aTool = 6;
  6432. _iframe = $$("iframe", {
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0;width:100%;height:100%"
  6438. },
  6439. "src": "/Office/Word/WordEditArea.htm"
  6440. })
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "协同文档",
  6445. _box, {
  6446. "id": "docs" + cid + stage + task + tool,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function () { }
  6453. }, {
  6454. closecallback: function () { }
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //创建窗体
  6460. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6461. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6462. })
  6463. _taskbar = {
  6464. "id": str + _formdiv.id,
  6465. "style": {
  6466. "backgroundImage": "url(/img/icon/doc.png)"
  6467. },
  6468. "name": "协同文档",
  6469. "forms": _formdiv,
  6470. "click": function () {
  6471. U.MD.D.I.openApplication(str, obj, info);
  6472. }
  6473. }
  6474. break;
  6475. }
  6476. const script1 = document.createElement("script");
  6477. script1.type = "text/javascript";
  6478. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6479. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6480. const script2 = document.createElement("script");
  6481. script2.type = "text/javascript";
  6482. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6483. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6484. const script3 = document.createElement("script");
  6485. script3.type = "text/javascript";
  6486. script3.charset = "UTF-8";
  6487. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6488. const script4 = document.createElement("script");
  6489. script4.type = "text/javascript";
  6490. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6491. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6492. if (_iframe) {
  6493. if (str == 'doc') {
  6494. _iframe = _formdiv.querySelector('iframe')
  6495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6496. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6497. _iframe.contentWindow.document.body.appendChild(script1);
  6498. _iframe.contentWindow.document.body.appendChild(script2);
  6499. // _iframe.contentWindow.document.body.appendChild(script3);
  6500. _iframe.contentWindow.document.body.appendChild(script4);
  6501. })
  6502. if (onloadListener) {
  6503. _iframe.contentDocument.location.reload()
  6504. } else {
  6505. _iframe.contentDocument.location.reload()
  6506. }
  6507. } else if (str == 'mind') {
  6508. _iframe = _formdiv.querySelector('iframe')
  6509. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6510. _iframe.contentWindow.document.body.appendChild(script1);
  6511. _iframe.contentWindow.document.body.appendChild(script2);
  6512. _iframe.contentWindow.document.body.appendChild(script4);
  6513. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6514. })
  6515. if (onloadListener) {
  6516. _iframe.contentDocument.location.reload()
  6517. } else {
  6518. _iframe.contentDocument.location.reload()
  6519. }
  6520. } else {
  6521. _iframe.onload = () => {
  6522. _iframe.contentWindow.document.body.appendChild(script1);
  6523. _iframe.contentWindow.document.body.appendChild(script2);
  6524. // _iframe.contentWindow.document.body.appendChild(script3);
  6525. _iframe.contentWindow.document.body.appendChild(script4);
  6526. };
  6527. }
  6528. _jie.onclick = async () => {
  6529. let text = ''
  6530. if (aTool == 6) {
  6531. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6532. } else if (aTool == 3) {
  6533. text = await U.MD.D.I.getEditorContent(_iframe);
  6534. }
  6535. _loading.style.display = 'flex'
  6536. console.log(_loading);
  6537. var _ajs = _iframe.contentWindow.document.createElement("script");
  6538. _ajs.type = "text/javascript";
  6539. _ajs.innerHTML =
  6540. // 'console.log(' + _loading + ');\n' +
  6541. 'var _js = document.createElement("script");\n' +
  6542. '_js.type="text/javascript";\n' +
  6543. '_js.charset="UTF-8";\n' +
  6544. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6545. "_js.onload = function(){\n" +
  6546. ' var a = document.getElementsByTagName("img")\n' +
  6547. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6548. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6549. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6550. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6551. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6552. "beforeUpload_shishi(file," +
  6553. "'" +
  6554. _userid +
  6555. "'" +
  6556. ", " +
  6557. "'" +
  6558. _cid +
  6559. "'" +
  6560. ", " +
  6561. "'" +
  6562. _stage +
  6563. "'" +
  6564. ", " +
  6565. "'" +
  6566. _task +
  6567. "'" +
  6568. ", " +
  6569. "'" +
  6570. _tool +
  6571. "'" +
  6572. ", " +
  6573. "'" +
  6574. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6575. "'" +
  6576. ", " +
  6577. "'" +
  6578. aTool +
  6579. "'" +
  6580. ", " +
  6581. "`" +
  6582. text +
  6583. "`" +
  6584. ")\n" +
  6585. " });\n" +
  6586. "}\n" +
  6587. "document.head.appendChild(_js);\n";
  6588. _iframe.contentWindow.document.head.appendChild(_ajs);
  6589. }
  6590. }
  6591. //U.MD.D.I.openClick(str);
  6592. //如果有任务栏信息
  6593. // if (_taskbar) {
  6594. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6595. // }
  6596. }
  6597. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6598. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6599. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6600. _userinfo = US.userInfo, //登录用户信息
  6601. _userid = US.userInfo.userid //登录用户id
  6602. let _iframe;
  6603. let _cid = cid,
  6604. _stage = stage,
  6605. _task = task,
  6606. _tool = tool;
  6607. var _jie = $$("div", {
  6608. "style": {
  6609. "position": "absolute",
  6610. "bottom": "50px",
  6611. "right": "50px",
  6612. "zIndex": "9999",
  6613. "backgroundColor": "#2268bc",
  6614. "color": "#fff",
  6615. "padding": "12px 20px",
  6616. "cursor": "pointer",
  6617. "borderRadius": "4px",
  6618. },
  6619. "innerHTML": "确认并提交"
  6620. })
  6621. let aTool = ''
  6622. let _loading = document.createElement('div')
  6623. _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;"
  6624. // _loading.id = "";
  6625. let _lchild = document.createElement('div')
  6626. let _limg = document.createElement('img')
  6627. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6628. _limg.style = "width: 26px;margin-right: 10px;"
  6629. _lchild.appendChild(_limg)
  6630. let _lspan = document.createElement('span')
  6631. _lspan.innerHTML = "上传中..."
  6632. _lchild.appendChild(_lspan)
  6633. _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%);"
  6634. _loading.appendChild(_lchild)
  6635. var _box = $$('div', {
  6636. "style": {
  6637. "position": "relative",
  6638. "width": "100%",
  6639. "height": "100%",
  6640. },
  6641. })
  6642. _box.appendChild(_loading)
  6643. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6644. switch (str) {
  6645. case "whiteboard":
  6646. aTool = 1;
  6647. _iframe = $$("iframe", {
  6648. "frameborder": "no",
  6649. "border": "0",
  6650. "scrolling ": "no",
  6651. "style": {
  6652. "cssText": "border:0;width:100%;height:100%"
  6653. },
  6654. "src": "https://iwb.cocorobo.cn/"
  6655. })
  6656. _box.appendChild(_iframe);
  6657. _box.appendChild(_jie);
  6658. _formdiv = new U.UF.UI.form(
  6659. "电子白板",
  6660. _box, {
  6661. "id": "whiteboards" + cid + stage + task + tool,
  6662. "style": {
  6663. "width": "90%",
  6664. "height": "90%",
  6665. "overflow": 'hidden'
  6666. },
  6667. "onresize": function () { }
  6668. }, {
  6669. closecallback: function () { }
  6670. }, {
  6671. "style": {
  6672. "height": "36px"
  6673. }
  6674. }).form; //创建窗体
  6675. _taskbar = {
  6676. "id": str + _formdiv.id,
  6677. "style": {
  6678. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6679. },
  6680. "name": "电子白板",
  6681. "forms": _formdiv,
  6682. "click": function () {
  6683. U.MD.D.I.openApplication(str, obj, info);
  6684. }
  6685. }
  6686. break;
  6687. case "mind":
  6688. aTool = 3;
  6689. _iframe = $$("iframe", {
  6690. "frameborder": "no",
  6691. "border": "0",
  6692. "scrolling ": "no",
  6693. "style": {
  6694. "cssText": "border:0;width:100%;height:100%"
  6695. },
  6696. "src": "/kityminder-editor/dist/index.html"
  6697. });
  6698. _box.appendChild(_iframe);
  6699. _box.appendChild(_jie);
  6700. _formdiv = new U.UF.UI.form(
  6701. "思维导图",
  6702. _box, { //"/jsmind/example/demo.html"
  6703. "id": "minds" + cid + stage + task + tool,
  6704. "style": {
  6705. "width": "90%",
  6706. "height": "90%",
  6707. "overflow": 'hidden'
  6708. },
  6709. "onresize": function () { }
  6710. }, {
  6711. closecallback: function () { }
  6712. }, {
  6713. "style": {
  6714. "height": "36px"
  6715. }
  6716. }).form; //创建窗体
  6717. _taskbar = {
  6718. "id": str + _formdiv.id,
  6719. "style": {
  6720. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6721. },
  6722. "name": "思维导图",
  6723. "forms": _formdiv,
  6724. "click": function () {
  6725. U.MD.D.I.openApplication(str, obj, info);
  6726. }
  6727. }
  6728. break;
  6729. case "doc":
  6730. aTool = 6;
  6731. _iframe = $$("iframe", {
  6732. "frameborder": "no",
  6733. "border": "0",
  6734. "scrolling ": "no",
  6735. "style": {
  6736. "cssText": "border:0;width:100%;height:100%"
  6737. },
  6738. "src": "/Office/Word/WordEditArea.htm"
  6739. })
  6740. _box.appendChild(_iframe);
  6741. _box.appendChild(_jie);
  6742. _formdiv = new U.UF.UI.form(
  6743. "协同文档",
  6744. _box, {
  6745. "id": "docs" + cid + stage + task + tool,
  6746. "style": {
  6747. "width": "90%",
  6748. "height": "90%",
  6749. "overflow": 'hidden'
  6750. },
  6751. "onresize": function () { }
  6752. }, {
  6753. closecallback: function () { }
  6754. }, {
  6755. "style": {
  6756. "height": "36px"
  6757. }
  6758. }).form; //创建窗体
  6759. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6760. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6761. })
  6762. _taskbar = {
  6763. "id": str + _formdiv.id,
  6764. "style": {
  6765. "backgroundImage": "url(/img/icon/doc.png)"
  6766. },
  6767. "name": "协同文档",
  6768. "forms": _formdiv,
  6769. "click": function () {
  6770. U.MD.D.I.openApplication(str, obj, info);
  6771. }
  6772. }
  6773. break;
  6774. }
  6775. const script1 = document.createElement("script");
  6776. script1.type = "text/javascript";
  6777. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6778. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6779. const script2 = document.createElement("script");
  6780. script2.type = "text/javascript";
  6781. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6782. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6783. const script3 = document.createElement("script");
  6784. script3.type = "text/javascript";
  6785. script3.charset = "UTF-8";
  6786. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6787. const script4 = document.createElement("script");
  6788. script4.type = "text/javascript";
  6789. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6790. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6791. if (_iframe) {
  6792. if (str == 'doc') {
  6793. _iframe = _formdiv.querySelector('iframe')
  6794. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6795. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6796. _iframe.contentWindow.document.body.appendChild(script1);
  6797. _iframe.contentWindow.document.body.appendChild(script2);
  6798. // _iframe.contentWindow.document.body.appendChild(script3);
  6799. _iframe.contentWindow.document.body.appendChild(script4);
  6800. })
  6801. if (onloadListener) {
  6802. _iframe.contentDocument.location.reload()
  6803. } else {
  6804. _iframe.contentDocument.location.reload()
  6805. }
  6806. } else if (str == 'mind') {
  6807. _iframe = _formdiv.querySelector('iframe')
  6808. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6809. _iframe.contentWindow.document.body.appendChild(script1);
  6810. _iframe.contentWindow.document.body.appendChild(script2);
  6811. _iframe.contentWindow.document.body.appendChild(script4);
  6812. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6813. })
  6814. if (onloadListener) {
  6815. _iframe.contentDocument.location.reload()
  6816. } else {
  6817. _iframe.contentDocument.location.reload()
  6818. }
  6819. } else {
  6820. _iframe.onload = () => {
  6821. _iframe.contentWindow.document.body.appendChild(script1);
  6822. _iframe.contentWindow.document.body.appendChild(script2);
  6823. // _iframe.contentWindow.document.body.appendChild(script3);
  6824. _iframe.contentWindow.document.body.appendChild(script4);
  6825. };
  6826. }
  6827. _jie.onclick = async () => {
  6828. let text = ''
  6829. if (aTool == 6) {
  6830. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6831. } else if (aTool == 3) {
  6832. text = await U.MD.D.I.getEditorContent(_iframe);
  6833. }
  6834. _loading.style.display = 'flex'
  6835. console.log(_loading);
  6836. var _ajs = _iframe.contentWindow.document.createElement("script");
  6837. _ajs.type = "text/javascript";
  6838. _ajs.innerHTML =
  6839. // 'console.log(' + _loading + ');\n' +
  6840. 'var _js = document.createElement("script");\n' +
  6841. '_js.type="text/javascript";\n' +
  6842. '_js.charset="UTF-8";\n' +
  6843. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6844. "_js.onload = function(){\n" +
  6845. ' var a = document.getElementsByTagName("img")\n' +
  6846. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6847. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6848. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6849. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6850. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6851. "beforeUpload_shishi(file," +
  6852. "'" +
  6853. _userid +
  6854. "'" +
  6855. ", " +
  6856. "'" +
  6857. _cid +
  6858. "'" +
  6859. ", " +
  6860. "'" +
  6861. _stage +
  6862. "'" +
  6863. ", " +
  6864. "'" +
  6865. _task +
  6866. "'" +
  6867. ", " +
  6868. "'" +
  6869. _tool +
  6870. "'" +
  6871. ", " +
  6872. "'" +
  6873. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6874. "'" +
  6875. ", " +
  6876. "'" +
  6877. aTool +
  6878. "'" +
  6879. ", " +
  6880. "`" +
  6881. text +
  6882. "`" +
  6883. ")\n" +
  6884. " });\n" +
  6885. "}\n" +
  6886. "document.head.appendChild(_js);\n";
  6887. _iframe.contentWindow.document.head.appendChild(_ajs);
  6888. }
  6889. }
  6890. //U.MD.D.I.openClick(str);
  6891. //如果有任务栏信息
  6892. // if (_taskbar) {
  6893. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6894. // }
  6895. }
  6896. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6897. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6898. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6899. _userinfo = US.userInfo, //登录用户信息
  6900. _userid = US.userInfo.userid //登录用户id
  6901. let _iframe;
  6902. let _cid = cid,
  6903. _stage = stage,
  6904. _task = task,
  6905. _tool = tool;
  6906. var _jie = $$("div", {
  6907. "style": {
  6908. "position": "absolute",
  6909. "bottom": "50px",
  6910. "right": "50px",
  6911. "zIndex": "9999",
  6912. "backgroundColor": "#2268bc",
  6913. "color": "#fff",
  6914. "padding": "12px 20px",
  6915. "cursor": "pointer",
  6916. "borderRadius": "4px",
  6917. },
  6918. "innerHTML": "上传模板"
  6919. })
  6920. let aTool = ''
  6921. let _loading = document.createElement('div')
  6922. _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;"
  6923. // _loading.id = "";
  6924. let _lchild = document.createElement('div')
  6925. let _limg = document.createElement('img')
  6926. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6927. _limg.style = "width: 26px;margin-right: 10px;"
  6928. _lchild.appendChild(_limg)
  6929. let _lspan = document.createElement('span')
  6930. _lspan.innerHTML = "上传中..."
  6931. _lchild.appendChild(_lspan)
  6932. _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%);"
  6933. _loading.appendChild(_lchild)
  6934. var _box = $$('div', {
  6935. "style": {
  6936. "position": "relative",
  6937. "width": "100%",
  6938. "height": "100%",
  6939. },
  6940. })
  6941. _box.appendChild(_loading)
  6942. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6943. switch (str) {
  6944. case "whiteboard":
  6945. aTool = 1;
  6946. _iframe = $$("iframe", {
  6947. "frameborder": "no",
  6948. "border": "0",
  6949. "scrolling ": "no",
  6950. "style": {
  6951. "cssText": "border:0;width:100%;height:100%"
  6952. },
  6953. "src": "https://iwb.cocorobo.cn/"
  6954. })
  6955. _box.appendChild(_iframe);
  6956. _box.appendChild(_jie);
  6957. _formdiv = new U.UF.UI.form(
  6958. "电子白板",
  6959. _box, {
  6960. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6961. "style": {
  6962. "width": "90%",
  6963. "height": "90%",
  6964. "overflow": 'hidden'
  6965. },
  6966. "onresize": function () { }
  6967. }, {
  6968. closecallback: function () { }
  6969. }, {
  6970. "style": {
  6971. "height": "36px"
  6972. }
  6973. }).form; //创建窗体
  6974. _taskbar = {
  6975. "id": str + _formdiv.id,
  6976. "style": {
  6977. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6978. },
  6979. "name": "电子白板",
  6980. "forms": _formdiv,
  6981. "click": function () {
  6982. U.MD.D.I.openApplication(str, obj, info);
  6983. }
  6984. }
  6985. break;
  6986. case "mind":
  6987. aTool = 3;
  6988. _iframe = $$("iframe", {
  6989. "frameborder": "no",
  6990. "border": "0",
  6991. "scrolling ": "no",
  6992. "style": {
  6993. "cssText": "border:0;width:100%;height:100%"
  6994. },
  6995. "src": "/kityminder-editor/dist/index.html"
  6996. });
  6997. _box.appendChild(_iframe);
  6998. _box.appendChild(_jie);
  6999. _formdiv = new U.UF.UI.form(
  7000. "思维导图",
  7001. _box, { //"/jsmind/example/demo.html"
  7002. "id": "minds_Yu" + cid + stage + task + tool,
  7003. "style": {
  7004. "width": "90%",
  7005. "height": "90%",
  7006. "overflow": 'hidden'
  7007. },
  7008. "onresize": function () { }
  7009. }, {
  7010. closecallback: function () { }
  7011. }, {
  7012. "style": {
  7013. "height": "36px"
  7014. }
  7015. }).form; //创建窗体
  7016. _taskbar = {
  7017. "id": str + _formdiv.id,
  7018. "style": {
  7019. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7020. },
  7021. "name": "思维导图",
  7022. "forms": _formdiv,
  7023. "click": function () {
  7024. U.MD.D.I.openApplication(str, obj, info);
  7025. }
  7026. }
  7027. break;
  7028. case "doc":
  7029. aTool = 6;
  7030. _iframe = $$("iframe", {
  7031. "frameborder": "no",
  7032. "border": "0",
  7033. "scrolling ": "no",
  7034. "style": {
  7035. "cssText": "border:0;width:100%;height:100%"
  7036. },
  7037. "src": "/Office/Word/WordEditArea.htm"
  7038. })
  7039. _box.appendChild(_iframe);
  7040. _box.appendChild(_jie);
  7041. _formdiv = new U.UF.UI.form(
  7042. "协同文档",
  7043. _box, {
  7044. "id": "docs_Yu" + cid + stage + task + tool,
  7045. "style": {
  7046. "width": "90%",
  7047. "height": "90%",
  7048. "overflow": 'hidden'
  7049. },
  7050. "onresize": function () { }
  7051. }, {
  7052. closecallback: function () { }
  7053. }, {
  7054. "style": {
  7055. "height": "36px"
  7056. }
  7057. }).form; //创建窗体
  7058. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7059. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7060. })
  7061. _taskbar = {
  7062. "id": str + _formdiv.id,
  7063. "style": {
  7064. "backgroundImage": "url(/img/icon/doc.png)"
  7065. },
  7066. "name": "协同文档",
  7067. "forms": _formdiv,
  7068. "click": function () {
  7069. U.MD.D.I.openApplication(str, obj, info);
  7070. }
  7071. }
  7072. break;
  7073. case "CocoPi":
  7074. aTool = 57;
  7075. _iframe = $$("iframe", {
  7076. "allowpaymentrequest": "allowpaymentrequest",
  7077. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7078. "webkitallowfullscreen": "",
  7079. "mozallowfullscreen": "",
  7080. "frameborder": "no",
  7081. "border": "0",
  7082. "scrolling ": "no",
  7083. "style": {
  7084. "cssText": "border:0;width:100%;height:100%"
  7085. },
  7086. "src": "https://pi.cocorobo.cn/"
  7087. })
  7088. _box.appendChild(_iframe);
  7089. _box.appendChild(_jie);
  7090. _formdiv = new U.UF.UI.form(
  7091. "CocoPi",
  7092. _box, {
  7093. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7094. "style": {
  7095. "width": "90%",
  7096. "height": "90%",
  7097. "overflow": 'hidden'
  7098. },
  7099. "onresize": function () { }
  7100. }, {
  7101. closecallback: function () { }
  7102. }, {
  7103. "style": {
  7104. "height": "36px"
  7105. }
  7106. }).form; //创建窗体
  7107. _taskbar = {
  7108. "id": str + _formdiv.id,
  7109. "style": {
  7110. "backgroundImage": "url(/img/icon/cocopi.png)"
  7111. },
  7112. "name": "CocoPi",
  7113. "forms": _formdiv,
  7114. "click": function () {
  7115. U.MD.D.I.openApplication(str, obj, info);
  7116. }
  7117. }
  7118. break;
  7119. }
  7120. if (_iframe) {
  7121. if (str == 'doc') {
  7122. _iframe = _formdiv.querySelector('iframe')
  7123. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7124. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7125. })
  7126. if (onloadListener) {
  7127. _iframe.contentDocument.location.reload()
  7128. } else {
  7129. _iframe.contentDocument.location.reload()
  7130. }
  7131. } else if (str == 'mind') {
  7132. _iframe = _formdiv.querySelector('iframe')
  7133. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7134. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7135. })
  7136. if (onloadListener) {
  7137. _iframe.contentDocument.location.reload()
  7138. } else {
  7139. _iframe.contentDocument.location.reload()
  7140. }
  7141. } else if (str == 'whiteboard') {
  7142. _iframe = _formdiv.querySelector('iframe')
  7143. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7144. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7145. })
  7146. if (onloadListener) {
  7147. _iframe.contentDocument.location.reload()
  7148. } else {
  7149. _iframe.contentDocument.location.reload()
  7150. }
  7151. } else if (str == 'CocoPi') {
  7152. _iframe = _formdiv.querySelector('iframe')
  7153. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7154. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7155. })
  7156. if (onloadListener) {
  7157. _iframe.contentDocument.location.reload()
  7158. } else {
  7159. _iframe.contentDocument.location.reload()
  7160. }
  7161. } else {
  7162. _iframe.onload = () => { };
  7163. }
  7164. _jie.onclick = async () => {
  7165. let text = ''
  7166. let type = '2'
  7167. if (aTool == 1) {
  7168. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7169. type = '3'
  7170. } else if (aTool == 6) {
  7171. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7172. type = '1'
  7173. } else if (aTool == 3) {
  7174. text = await U.MD.D.I.getEditorContent(_iframe);
  7175. type = '2'
  7176. } else if (aTool == 57) {
  7177. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7178. type = '4'
  7179. }
  7180. _loading.style.display = 'flex'
  7181. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7182. }
  7183. }
  7184. //U.MD.D.I.openClick(str);
  7185. //如果有任务栏信息
  7186. // if (_taskbar) {
  7187. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7188. // }
  7189. }
  7190. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7191. var xmlhttp;
  7192. var Mac, Sn, DeviceId
  7193. if (window.XMLHttpRequest) {
  7194. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7195. xmlhttp = new XMLHttpRequest();
  7196. } else {
  7197. // IE6, IE5 浏览器执行代码
  7198. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7199. }
  7200. xmlhttp.onreadystatechange = function () {
  7201. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7202. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7203. // resolve(res.value[0][0].text);
  7204. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7205. }
  7206. }
  7207. }
  7208. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7209. xmlhttp.send();
  7210. }
  7211. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7212. var xmlhttp;
  7213. var Mac, Sn, DeviceId
  7214. if (window.XMLHttpRequest) {
  7215. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7216. xmlhttp = new XMLHttpRequest();
  7217. } else {
  7218. // IE6, IE5 浏览器执行代码
  7219. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7220. }
  7221. xmlhttp.onreadystatechange = function () {
  7222. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7223. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7224. // resolve(res.value[0][0].text);
  7225. if (type == '2') {
  7226. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7227. } else if (type == '3') {
  7228. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7229. } else if (type == '4') {
  7230. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7231. }
  7232. } else {
  7233. if (type == '2') {
  7234. iframe.contentWindow.editor.minder.importData('json', '')
  7235. } else if (type == '3') {
  7236. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7237. } else if (type == '4') {
  7238. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7239. }
  7240. }
  7241. }
  7242. }
  7243. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7244. xmlhttp.send();
  7245. }
  7246. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7247. var xmlhttp;
  7248. var Mac, Sn, DeviceId
  7249. if (window.XMLHttpRequest) {
  7250. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7251. xmlhttp = new XMLHttpRequest();
  7252. } else {
  7253. // IE6, IE5 浏览器执行代码
  7254. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7255. }
  7256. xmlhttp.onreadystatechange = function () {
  7257. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7258. if (xmlhttp.response) {
  7259. // resolve(res.value[0][0].text);
  7260. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7261. // $(fileInput).val('');
  7262. // });
  7263. span.innerHTML = '上传成功'
  7264. setTimeout(() => {
  7265. loading.style.display = 'none'
  7266. }, 1000);
  7267. }
  7268. }
  7269. }
  7270. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7271. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7272. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7273. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7274. // 设置请求头,表示请求体的编码格式
  7275. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7276. // 设置请求体,使用url-encoded格式的数据
  7277. }
  7278. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7279. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7280. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7281. _userinfo = US.userInfo, //登录用户信息
  7282. _userid = US.userInfo.userid //登录用户id
  7283. let _iframe;
  7284. let _cid = cid,
  7285. _stage = stage,
  7286. _task = task,
  7287. _tool = tool;
  7288. var _jie = $$("div", {
  7289. "style": {
  7290. "position": "absolute",
  7291. "bottom": "50px",
  7292. "right": "50px",
  7293. "zIndex": "9999",
  7294. "backgroundColor": "#2268bc",
  7295. "color": "#fff",
  7296. "padding": "12px 20px",
  7297. "cursor": "pointer",
  7298. "borderRadius": "4px",
  7299. },
  7300. "innerHTML": "提交作业"
  7301. })
  7302. let aTool = ''
  7303. let _loading = document.createElement('div')
  7304. _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;"
  7305. // _loading.id = "";
  7306. let _lchild = document.createElement('div')
  7307. let _limg = document.createElement('img')
  7308. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7309. _limg.style = "width: 26px;margin-right: 10px;"
  7310. _lchild.appendChild(_limg)
  7311. let _lspan = document.createElement('span')
  7312. _lspan.innerHTML = "上传中..."
  7313. _lchild.appendChild(_lspan)
  7314. _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%);"
  7315. _loading.appendChild(_lchild)
  7316. var _box = $$('div', {
  7317. "style": {
  7318. "position": "relative",
  7319. "width": "100%",
  7320. "height": "100%",
  7321. },
  7322. })
  7323. _box.appendChild(_loading)
  7324. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7325. switch (str) {
  7326. case "CocoPi":
  7327. aTool = 57;
  7328. _iframe = $$("iframe", {
  7329. "allowpaymentrequest": "allowpaymentrequest",
  7330. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7331. "webkitallowfullscreen": "",
  7332. "mozallowfullscreen": "",
  7333. "frameborder": "no",
  7334. "border": "0",
  7335. "scrolling ": "no",
  7336. "style": {
  7337. "cssText": "border:0;width:100%;height:100%"
  7338. },
  7339. "src": "https://pi.cocorobo.cn/"
  7340. })
  7341. _box.appendChild(_iframe);
  7342. _box.appendChild(_jie);
  7343. _formdiv = new U.UF.UI.form(
  7344. "CocoPi",
  7345. _box, {
  7346. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7347. "style": {
  7348. "width": "90%",
  7349. "height": "90%",
  7350. "overflow": 'hidden'
  7351. },
  7352. "onresize": function () { }
  7353. }, {
  7354. closecallback: function () { }
  7355. }, {
  7356. "style": {
  7357. "height": "36px"
  7358. }
  7359. }).form; //创建窗体
  7360. _taskbar = {
  7361. "id": str + _formdiv.id,
  7362. "style": {
  7363. "backgroundImage": "url(/img/icon/cocopi.png)"
  7364. },
  7365. "name": "CocoPi",
  7366. "forms": _formdiv,
  7367. "click": function () {
  7368. U.MD.D.I.openApplication(str, obj, info);
  7369. }
  7370. }
  7371. break;
  7372. }
  7373. if (_iframe) {
  7374. if (str == 'CocoPi') {
  7375. _iframe = _formdiv.querySelector('iframe')
  7376. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7377. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7378. })
  7379. if (onloadListener) {
  7380. _iframe.contentDocument.location.reload()
  7381. } else {
  7382. _iframe.contentDocument.location.reload()
  7383. }
  7384. }
  7385. _jie.onclick = async () => {
  7386. let text = ''
  7387. if (aTool == 57) {
  7388. text = _iframe.contentWindow.getLoadXmlStr()
  7389. }
  7390. _loading.style.display = 'flex'
  7391. console.log(_loading);
  7392. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7393. _loading.style.display = 'none'
  7394. let _div = document.createElement('div')
  7395. _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;"
  7396. let _inner = document.createElement('div')
  7397. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7398. _inner.innerHTML = "上传成功"
  7399. _div.appendChild(_inner)
  7400. _iframe.contentWindow.window.document.body.appendChild(_div)
  7401. _div.onclick = () => {
  7402. _iframe.contentWindow.window.document.body.removeChild(_div)
  7403. }
  7404. setTimeout(() => {
  7405. _iframe.contentWindow.window.document.body.removeChild(_div)
  7406. }, 1000);
  7407. }, [], { "type": "POST", "withCredentials": true });
  7408. }
  7409. }
  7410. }
  7411. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7412. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7413. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7414. _userid = student.userid, //登录用户id
  7415. _username = student.student //用户名字
  7416. let _iframe;
  7417. let _cid = cid,
  7418. _stage = stage,
  7419. _task = task,
  7420. _tool = tool;
  7421. var _jie = $$("div", {
  7422. "style": {
  7423. "position": "absolute",
  7424. "bottom": "50px",
  7425. "right": "50px",
  7426. "zIndex": "9999",
  7427. "backgroundColor": "#2268bc",
  7428. "color": "#fff",
  7429. "padding": "12px 20px",
  7430. "cursor": "pointer",
  7431. "borderRadius": "4px",
  7432. },
  7433. "innerHTML": "提交作业"
  7434. })
  7435. let aTool = ''
  7436. let _loading = document.createElement('div')
  7437. _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;"
  7438. // _loading.id = "";
  7439. let _lchild = document.createElement('div')
  7440. let _limg = document.createElement('img')
  7441. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7442. _limg.style = "width: 26px;margin-right: 10px;"
  7443. _lchild.appendChild(_limg)
  7444. let _lspan = document.createElement('span')
  7445. _lspan.innerHTML = "上传中..."
  7446. _lchild.appendChild(_lspan)
  7447. _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%);"
  7448. _loading.appendChild(_lchild)
  7449. var _box = $$('div', {
  7450. "style": {
  7451. "position": "relative",
  7452. "width": "100%",
  7453. "height": "100%",
  7454. },
  7455. })
  7456. _box.appendChild(_loading)
  7457. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7458. switch (str) {
  7459. case "CocoPi":
  7460. aTool = 57;
  7461. _iframe = $$("iframe", {
  7462. "allowpaymentrequest": "allowpaymentrequest",
  7463. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7464. "webkitallowfullscreen": "",
  7465. "mozallowfullscreen": "",
  7466. "frameborder": "no",
  7467. "border": "0",
  7468. "scrolling ": "no",
  7469. "style": {
  7470. "cssText": "border:0;width:100%;height:100%"
  7471. },
  7472. "src": "https://pi.cocorobo.cn/"
  7473. })
  7474. _box.appendChild(_iframe);
  7475. _box.appendChild(_jie);
  7476. _formdiv = new U.UF.UI.form(
  7477. "CocoPi-" + _username,
  7478. _box, {
  7479. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7480. "style": {
  7481. "width": "90%",
  7482. "height": "90%",
  7483. "overflow": 'hidden'
  7484. },
  7485. "onresize": function () { }
  7486. }, {
  7487. closecallback: function () { }
  7488. }, {
  7489. "style": {
  7490. "height": "36px"
  7491. }
  7492. }).form; //创建窗体
  7493. _taskbar = {
  7494. "id": str + _formdiv.id,
  7495. "style": {
  7496. "backgroundImage": "url(/img/icon/cocopi.png)"
  7497. },
  7498. "name": "CocoPi",
  7499. "forms": _formdiv,
  7500. "click": function () {
  7501. U.MD.D.I.openApplication(str, obj, info);
  7502. }
  7503. }
  7504. break;
  7505. }
  7506. if (_iframe) {
  7507. if (str == 'CocoPi') {
  7508. _iframe = _formdiv.querySelector('iframe')
  7509. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7510. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7511. })
  7512. if (onloadListener) {
  7513. _iframe.contentDocument.location.reload()
  7514. } else {
  7515. _iframe.contentDocument.location.reload()
  7516. }
  7517. }
  7518. _jie.onclick = async () => {
  7519. let text = ''
  7520. if (aTool == 57) {
  7521. text = _iframe.contentWindow.getLoadXmlStr()
  7522. }
  7523. _loading.style.display = 'flex'
  7524. console.log(_loading);
  7525. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7526. _loading.style.display = 'none'
  7527. let _div = document.createElement('div')
  7528. _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;"
  7529. let _inner = document.createElement('div')
  7530. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7531. _inner.innerHTML = "上传成功"
  7532. _div.appendChild(_inner)
  7533. _iframe.contentWindow.window.document.body.appendChild(_div)
  7534. _div.onclick = () => {
  7535. _iframe.contentWindow.window.document.body.removeChild(_div)
  7536. }
  7537. setTimeout(() => {
  7538. _iframe.contentWindow.window.document.body.removeChild(_div)
  7539. }, 1000);
  7540. }, [], { "type": "POST", "withCredentials": true });
  7541. }
  7542. }
  7543. }
  7544. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7545. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7546. if (res.value[0].length > 0) {
  7547. if (atool == 57) {
  7548. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7549. }
  7550. } else {
  7551. if (atool == 57) {
  7552. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7553. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7554. }
  7555. }
  7556. }, [], { "type": "POST", "withCredentials": true });
  7557. }