DeskTop.js 450 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782
  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. ];
  617. //hk
  618. U.MD.D.I.hkStudentDeskIcon = [
  619. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  620. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  621. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  622. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. ];
  625. //香海正覺蓮社佛教正覺中學
  626. U.MD.D.I.hkZJLSteacherDeskIcon = [
  627. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  628. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  630. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  634. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  635. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  636. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  637. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  638. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  639. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  640. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  641. ];
  642. //香海正覺蓮社佛教正覺中學
  643. U.MD.D.I.hkZJLSStudentDeskIcon = [
  644. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. ];
  648. //云海
  649. U.MD.D.I.yunhaiTeacherDeskIcon = [
  650. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  651. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  654. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  655. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  656. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  657. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  658. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  659. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  660. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  661. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  662. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  663. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  664. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  665. ];
  666. //福田
  667. U.MD.D.I.heyuanTeacherDeskIcon = [
  668. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  669. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  670. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  671. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  672. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  673. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  674. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  675. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  677. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanAdminDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. ];
  691. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  692. U.MD.D.I.szherTeacherDeskIcon = [
  693. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  694. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  700. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. ];
  703. //dsei
  704. U.MD.D.I.dseiTeacherDeskIcon = [
  705. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  706. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  707. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  708. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  709. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  710. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  711. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  712. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  713. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  714. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  715. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  716. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  717. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  718. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  719. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  720. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  721. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  722. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  723. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  724. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  725. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  726. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  727. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  728. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  729. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  730. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  731. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  732. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  733. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  734. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  735. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  736. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  737. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  738. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  739. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  740. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  741. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  742. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  743. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  744. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  745. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  746. ];
  747. //dsei
  748. U.MD.D.I.dseiAdminDeskIcon = [
  749. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  750. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  751. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  752. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  756. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  757. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  758. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  759. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  760. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  761. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  762. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  763. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  764. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  765. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  766. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  767. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  768. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  769. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  770. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  771. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  772. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  773. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  774. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  775. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  776. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  777. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  778. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  779. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  780. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  781. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  782. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  783. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  784. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  789. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  790. ];
  791. //dsei
  792. U.MD.D.I.dseiStudentDeskIcon = [
  793. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  794. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  795. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  798. ];
  799. //未来教育基地
  800. U.MD.D.I.szjkyTeacherDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  808. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  809. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  810. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  811. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  815. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  816. ];
  817. //未来教育基地
  818. U.MD.D.I.szjkyAdminDeskIcon = [
  819. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  820. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  821. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  822. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  823. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  824. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  828. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  829. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  830. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  831. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  832. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  833. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  834. ];
  835. //未来教育基地
  836. U.MD.D.I.szjkyStudentDeskIcon = [
  837. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  838. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  839. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  840. ];
  841. //成华教育局
  842. U.MD.D.I.chjyjTeacherDeskIcon = [
  843. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  844. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  845. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  846. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  847. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  848. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  849. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  850. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  851. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  852. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  853. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  854. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  855. ];
  856. //成华教育局chjyj
  857. U.MD.D.I.chjyjAdminDeskIcon = [
  858. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  859. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  860. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  861. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  862. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  863. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  864. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  865. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  866. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  867. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  868. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  869. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  870. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  871. ];
  872. //成华教育局chjyj
  873. U.MD.D.I.chjyjStudentDeskIcon = [
  874. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. ];
  878. //tpc
  879. U.MD.D.I.tpcStudentDeskIcon = [
  880. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  881. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  882. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  883. ];
  884. //tpc
  885. U.MD.D.I.tpcTeacherDeskIcon = [
  886. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  887. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  891. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  892. ];
  893. //tpc
  894. U.MD.D.I.tpcAdminDeskIcon = [
  895. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  896. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  897. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  898. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  899. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  900. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  901. ];
  902. //#region 桌面初始化a
  903. /**
  904. * 初始化桌面的起始函数
  905. *
  906. */
  907. U.MD.D.I.init = function () {
  908. if ($("#U_MD_D_K")[0]) {
  909. //初始化桌面图标
  910. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  911. // var clickUrl = ':12588/requestIp.php';
  912. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  913. // U.MD.D.I.Ip = data;
  914. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  915. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  916. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  917. // })
  918. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  919. // })
  920. }
  921. }
  922. /**
  923. * 模式切换
  924. *
  925. */
  926. U.MD.D.I.ModeCheck = function (type) {
  927. if (US.Config.type == type) {
  928. return
  929. }
  930. US.Config.type = type
  931. $('.U_PBL_Check .active')[0].className = ''
  932. if (type == 1) {
  933. $('.U_PBL_Check div')[0].className = 'active'
  934. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  935. } else {
  936. $('.U_PBL_Check div')[1].className = 'active'
  937. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  938. }
  939. //初始化桌面图标
  940. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  941. if (type == 2) {
  942. U.MD.D.I.openApplication("project")
  943. }
  944. }
  945. /**
  946. * 隐藏任务栏
  947. *
  948. * @param {element} 桌面元素
  949. */
  950. U.MD.D.I.hiddenTaskbar = function (el) {
  951. //任务栏位置变小
  952. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  953. //桌面的位置变大
  954. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  955. }
  956. /**
  957. * 隐藏任务栏
  958. *
  959. * @param {element} 桌面元素
  960. */
  961. U.MD.D.I.hiddenTaskbarout = function (el) {
  962. //任务栏位置变小
  963. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  964. //任务栏位置变化
  965. U.selectEl(el).css({ "bottom": "-60px" });
  966. //桌面的位置变大
  967. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  968. }
  969. }
  970. /**
  971. * 初始化打印桌面图标
  972. *
  973. * @param {element} 桌面元素
  974. */
  975. U.MD.D.I.initDesktopIcons = function (el, type) {
  976. var i, //用于循环
  977. _content, //桌面图标元素
  978. _iconcontent, //桌面图标元素
  979. _frag = $$("frag"), //定义一个碎片元素
  980. _type = US.userInfo.type,
  981. _org = US.userInfo.org,
  982. _oid = US.userInfo.organizeid,
  983. _role = US.userInfo.role,
  984. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  985. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  986. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  987. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  988. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  989. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  990. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  991. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  992. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  993. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  994. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  995. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  996. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  997. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  998. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  999. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1000. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1001. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1002. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1003. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1004. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1005. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1006. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1007. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1008. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1009. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1010. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1011. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1012. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1013. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1014. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1015. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1016. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1017. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1018. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1019. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1020. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1021. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1022. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1023. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1024. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1025. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1026. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1027. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1028. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1029. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1030. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1031. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1032. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1033. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1034. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1035. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1036. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1037. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1038. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1039. 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'];
  1040. 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'];
  1041. //清楚桌面图标
  1042. el.innerHTML = "";
  1043. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1044. _teacherDesktopIconInfo.push(
  1045. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1046. { "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)" } },
  1047. )
  1048. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1049. }
  1050. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1051. _teacherDesktopIconInfo.push(
  1052. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1053. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1054. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1055. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1056. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1057. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1058. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1059. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1060. )
  1061. }
  1062. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1063. _teacherDesktopIconInfo.push(
  1064. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1065. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1066. )
  1067. _studentDesktopIconInfo.push(
  1068. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1069. )
  1070. }
  1071. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1072. _teacherDesktopIconInfo.push(
  1073. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1074. )
  1075. }
  1076. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1077. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1078. if (el.Name == '项目管理') {
  1079. el.Name = 'PBL项目'
  1080. }
  1081. return el
  1082. })
  1083. }
  1084. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1085. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1086. return el.Name != '魔盒识字' && el.Name != '24点'
  1087. })
  1088. }
  1089. 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) {
  1090. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1091. }
  1092. //循环创建桌面图标
  1093. if (type == 1) {
  1094. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1095. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1096. _content = $$("div", {
  1097. className: "U_MD_D_KO",
  1098. "onmousedown": U.UF.C.closure(function (obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_studentDesktopIconInfo[i]]),
  1102. "onclick": U.UF.C.closure(function (obj) {
  1103. //防止拖动图标即打开了桌面应用
  1104. U.MD.D.click(this, obj);
  1105. }, [_studentDesktopIconInfo[i]])
  1106. }, _frag); //
  1107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1110. }
  1111. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1112. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1113. _content = $$("div", {
  1114. className: "U_MD_D_KO",
  1115. "onmousedown": U.UF.C.closure(function (obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1119. "onclick": U.UF.C.closure(function (obj) {
  1120. //防止拖动图标即打开了桌面应用
  1121. U.MD.D.click(this, obj);
  1122. }, [_hkZJLSStudentDeskIconInfo[i]])
  1123. }, _frag); //
  1124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1127. } //
  1128. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1129. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1130. _content = $$("div", {
  1131. className: "U_MD_D_KO",
  1132. "onmousedown": U.UF.C.closure(function (obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_tpcStudentDeskIconInfo[i]]),
  1136. "onclick": U.UF.C.closure(function (obj) {
  1137. //防止拖动图标即打开了桌面应用
  1138. U.MD.D.click(this, obj);
  1139. }, [_tpcStudentDeskIconInfo[i]])
  1140. }, _frag); //
  1141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1144. } //
  1145. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1146. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1147. _content = $$("div", {
  1148. className: "U_MD_D_KO",
  1149. "onmousedown": U.UF.C.closure(function (obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_chjyjStudentDeskIconInfo[i]]),
  1153. "onclick": U.UF.C.closure(function (obj) {
  1154. //防止拖动图标即打开了桌面应用
  1155. U.MD.D.click(this, obj);
  1156. }, [_chjyjStudentDeskIconInfo[i]])
  1157. }, _frag); //
  1158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1161. }
  1162. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1163. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1164. _content = $$("div", {
  1165. className: "U_MD_D_KO",
  1166. "onmousedown": U.UF.C.closure(function (obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_szjkyStudentDeskIconInfo[i]]),
  1170. "onclick": U.UF.C.closure(function (obj) {
  1171. //防止拖动图标即打开了桌面应用
  1172. U.MD.D.click(this, obj);
  1173. }, [_szjkyStudentDeskIconInfo[i]])
  1174. }, _frag); //
  1175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1178. }
  1179. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1180. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1181. _content = $$("div", {
  1182. className: "U_MD_D_KO",
  1183. "onmousedown": U.UF.C.closure(function (obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_dseiStudentDeskIconInfo[i]]),
  1187. "onclick": U.UF.C.closure(function (obj) {
  1188. //防止拖动图标即打开了桌面应用
  1189. U.MD.D.click(this, obj);
  1190. }, [_dseiStudentDeskIconInfo[i]])
  1191. }, _frag); //
  1192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1195. }
  1196. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1197. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1198. _content = $$("div", {
  1199. className: "U_MD_D_KO",
  1200. "onmousedown": U.UF.C.closure(function (obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_siesStudentDeskIconInfo[i]]),
  1204. "onclick": U.UF.C.closure(function (obj) {
  1205. //防止拖动图标即打开了桌面应用
  1206. U.MD.D.click(this, obj);
  1207. }, [_siesStudentDeskIconInfo[i]])
  1208. }, _frag); //
  1209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1212. }
  1213. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1214. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1215. _content = $$("div", {
  1216. className: "U_MD_D_KO",
  1217. "onmousedown": U.UF.C.closure(function (obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_hkStudentDeskIconInfo[i]]),
  1221. "onclick": U.UF.C.closure(function (obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_hkStudentDeskIconInfo[i]])
  1225. }, _frag); //
  1226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1229. }
  1230. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1231. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1232. _content = $$("div", {
  1233. className: "U_MD_D_KO",
  1234. "onmousedown": U.UF.C.closure(function (obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo[i]]),
  1238. "onclick": U.UF.C.closure(function (obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_studentDesktopIconInfo[i]])
  1242. }, _frag); //
  1243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1246. }
  1247. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1248. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1249. _content = $$("div", {
  1250. className: "U_MD_D_KO",
  1251. "onmousedown": U.UF.C.closure(function (obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_tcStudentDeskIconInfo[i]]),
  1255. "onclick": U.UF.C.closure(function (obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_tcStudentDeskIconInfo[i]])
  1259. }, _frag); //
  1260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1263. }
  1264. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1265. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1266. _content = $$("div", {
  1267. className: "U_MD_D_KO",
  1268. "onmousedown": U.UF.C.closure(function (obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_szscStudentDeskIconInfo[i]]),
  1272. "onclick": U.UF.C.closure(function (obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_szscStudentDeskIconInfo[i]])
  1276. }, _frag); //
  1277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1280. }
  1281. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1282. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1283. _content = $$("div", {
  1284. className: "U_MD_D_KO",
  1285. "onmousedown": U.UF.C.closure(function (obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_studentDesktopIconInfo3[i]]),
  1289. "onclick": U.UF.C.closure(function (obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_studentDesktopIconInfo3[i]])
  1293. }, _frag); //
  1294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1297. }
  1298. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1299. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1300. _content = $$("div", {
  1301. className: "U_MD_D_KO",
  1302. "onmousedown": U.UF.C.closure(function (obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_studentDesktopIconInfo2[i]]),
  1306. "onclick": U.UF.C.closure(function (obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_studentDesktopIconInfo2[i]])
  1310. }, _frag); //
  1311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1314. }
  1315. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1316. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1317. _content = $$("div", {
  1318. className: "U_MD_D_KO",
  1319. "onmousedown": U.UF.C.closure(function (obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_wanketeacherDesktopIconInfo[i]]),
  1323. "onclick": U.UF.C.closure(function (obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_wanketeacherDesktopIconInfo[i]])
  1327. }, _frag); //
  1328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1331. }
  1332. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1333. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1334. _content = $$("div", {
  1335. className: "U_MD_D_KO",
  1336. "onmousedown": U.UF.C.closure(function (obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_wankeAdminDesktopIconInfo[i]]),
  1340. "onclick": U.UF.C.closure(function (obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_wankeAdminDesktopIconInfo[i]])
  1344. }, _frag); //
  1345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1348. }
  1349. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1350. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1351. _content = $$("div", {
  1352. className: "U_MD_D_KO",
  1353. "onmousedown": U.UF.C.closure(function (obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_tpcOrganizerDeskIconInfo[i]]),
  1357. "onclick": U.UF.C.closure(function (obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_tpcOrganizerDeskIconInfo[i]])
  1361. }, _frag); //
  1362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1365. }
  1366. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1367. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1368. _content = $$("div", {
  1369. className: "U_MD_D_KO",
  1370. "onmousedown": U.UF.C.closure(function (obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_tpcTeacherDeskIconInfo[i]]),
  1374. "onclick": U.UF.C.closure(function (obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_tpcTeacherDeskIconInfo[i]])
  1378. }, _frag); //
  1379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1382. }
  1383. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1384. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1385. _content = $$("div", {
  1386. className: "U_MD_D_KO",
  1387. "onmousedown": U.UF.C.closure(function (obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_teacherDesktopIconInfo2[i]]),
  1391. "onclick": U.UF.C.closure(function (obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_teacherDesktopIconInfo2[i]])
  1395. }, _frag); //
  1396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1399. }
  1400. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1401. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1402. _content = $$("div", {
  1403. className: "U_MD_D_KO",
  1404. "onmousedown": U.UF.C.closure(function (obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_lotechTeacherDeskIconInfo[i]]),
  1408. "onclick": U.UF.C.closure(function (obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_lotechTeacherDeskIconInfo[i]])
  1412. }, _frag); //
  1413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1416. }//
  1417. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1418. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1419. _content = $$("div", {
  1420. className: "U_MD_D_KO",
  1421. "onmousedown": U.UF.C.closure(function (obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_siesTeacherDeskIconInfo[i]]),
  1425. "onclick": U.UF.C.closure(function (obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_siesTeacherDeskIconInfo[i]])
  1429. }, _frag); //
  1430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1433. }
  1434. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1435. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1436. _content = $$("div", {
  1437. className: "U_MD_D_KO",
  1438. "onmousedown": U.UF.C.closure(function (obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_longhuaTeacherDeskIconInfo[i]]),
  1442. "onclick": U.UF.C.closure(function (obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_longhuaTeacherDeskIconInfo[i]])
  1446. }, _frag); //
  1447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1450. }
  1451. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1452. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1453. _content = $$("div", {
  1454. className: "U_MD_D_KO",
  1455. "onmousedown": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1459. "onclick": U.UF.C.closure(function (obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_yunhaiTeacherDeskIconInfo[i]])
  1463. }, _frag); //
  1464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1467. } //_hkStudentDeskIconInfo
  1468. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1469. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1470. _content = $$("div", {
  1471. className: "U_MD_D_KO",
  1472. "onmousedown": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1476. "onclick": U.UF.C.closure(function (obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1480. }, _frag); //
  1481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1484. }
  1485. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1486. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1487. _content = $$("div", {
  1488. className: "U_MD_D_KO",
  1489. "onmousedown": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_hkTeacherDeskIconInfo[i]]),
  1493. "onclick": U.UF.C.closure(function (obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_hkTeacherDeskIconInfo[i]])
  1497. }, _frag); //
  1498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1501. }
  1502. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1503. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1504. _content = $$("div", {
  1505. className: "U_MD_D_KO",
  1506. "onmousedown": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_gdjgAdminDeskIconInfo[i]]),
  1510. "onclick": U.UF.C.closure(function (obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_gdjgAdminDeskIconInfo[i]])
  1514. }, _frag); //
  1515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1518. }
  1519. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1520. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1521. _content = $$("div", {
  1522. className: "U_MD_D_KO",
  1523. "onmousedown": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_gdjgTeacherDeskIconInfo[i]]),
  1527. "onclick": U.UF.C.closure(function (obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_gdjgTeacherDeskIconInfo[i]])
  1531. }, _frag); //
  1532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1535. }
  1536. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1537. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1538. _content = $$("div", {
  1539. className: "U_MD_D_KO",
  1540. "onmousedown": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_szherTeacherDeskIconInfo[i]]),
  1544. "onclick": U.UF.C.closure(function (obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_szherTeacherDeskIconInfo[i]])
  1548. }, _frag); //
  1549. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1550. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1551. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1552. }
  1553. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1554. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1555. _content = $$("div", {
  1556. className: "U_MD_D_KO",
  1557. "onmousedown": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_heyuannAdminDeskIconInfo[i]]),
  1561. "onclick": U.UF.C.closure(function (obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_heyuannAdminDeskIconInfo[i]])
  1565. }, _frag); //
  1566. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1567. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1568. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1569. }
  1570. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1571. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1572. _content = $$("div", {
  1573. className: "U_MD_D_KO",
  1574. "onmousedown": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_heyuanTeacherDeskIconInfo[i]]),
  1578. "onclick": U.UF.C.closure(function (obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_heyuanTeacherDeskIconInfo[i]])
  1582. }, _frag); //
  1583. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1584. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1585. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1586. } //
  1587. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1588. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1589. _content = $$("div", {
  1590. className: "U_MD_D_KO",
  1591. "onmousedown": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_dseiAdminDeskIconInfo[i]]),
  1595. "onclick": U.UF.C.closure(function (obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_dseiAdminDeskIconInfo[i]])
  1599. }, _frag); //
  1600. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1601. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1602. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1603. }
  1604. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1605. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1606. _content = $$("div", {
  1607. className: "U_MD_D_KO",
  1608. "onmousedown": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_dseiTeacherDeskIconInfo[i]]),
  1612. "onclick": U.UF.C.closure(function (obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_dseiTeacherDeskIconInfo[i]])
  1616. }, _frag); //
  1617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1620. } //
  1621. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1622. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1623. _content = $$("div", {
  1624. className: "U_MD_D_KO",
  1625. "onmousedown": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_chjyjAdminDeskIconInfo[i]]),
  1629. "onclick": U.UF.C.closure(function (obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_chjyjAdminDeskIconInfo[i]])
  1633. }, _frag); //
  1634. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1635. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1636. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1637. }//
  1638. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1639. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1640. _content = $$("div", {
  1641. className: "U_MD_D_KO",
  1642. "onmousedown": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_chjyjTeacherDeskIconInfo[i]]),
  1646. "onclick": U.UF.C.closure(function (obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_chjyjTeacherDeskIconInfo[i]])
  1650. }, _frag); //
  1651. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1652. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1653. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1654. }
  1655. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1656. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1657. _content = $$("div", {
  1658. className: "U_MD_D_KO",
  1659. "onmousedown": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_szjkyAdminDeskIconInfo[i]]),
  1663. "onclick": U.UF.C.closure(function (obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_szjkyAdminDeskIconInfo[i]])
  1667. }, _frag); //
  1668. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1669. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1670. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1671. }//
  1672. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1673. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1674. _content = $$("div", {
  1675. className: "U_MD_D_KO",
  1676. "onmousedown": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_szjkyTeacherDeskIconInfo[i]]),
  1680. "onclick": U.UF.C.closure(function (obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_szjkyTeacherDeskIconInfo[i]])
  1684. }, _frag); //
  1685. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1686. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1687. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1688. }
  1689. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1690. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1691. _content = $$("div", {
  1692. className: "U_MD_D_KO",
  1693. "onmousedown": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_futianAdminDeskIconInfo[i]]),
  1697. "onclick": U.UF.C.closure(function (obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_futianAdminDeskIconInfo[i]])
  1701. }, _frag); //
  1702. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1703. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1704. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1705. }
  1706. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1707. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1708. _content = $$("div", {
  1709. className: "U_MD_D_KO",
  1710. "onmousedown": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_futianTeacherDeskIconInfo[i]]),
  1714. "onclick": U.UF.C.closure(function (obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_futianTeacherDeskIconInfo[i]])
  1718. }, _frag); //
  1719. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1720. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1721. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1722. }
  1723. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1724. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1725. _content = $$("div", {
  1726. className: "U_MD_D_KO",
  1727. "onmousedown": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_MingdeTeacherDeskIcon[i]]),
  1731. "onclick": U.UF.C.closure(function (obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_MingdeTeacherDeskIcon[i]])
  1735. }, _frag); //
  1736. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1737. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1738. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1739. }
  1740. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1741. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1742. _content = $$("div", {
  1743. className: "U_MD_D_KO",
  1744. "onmousedown": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_lhsAdminDesktopIconInfo[i]]),
  1748. "onclick": U.UF.C.closure(function (obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_lhsAdminDesktopIconInfo[i]])
  1752. }, _frag); //
  1753. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1754. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1755. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1756. }
  1757. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1758. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1759. _content = $$("div", {
  1760. className: "U_MD_D_KO",
  1761. "onmousedown": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_lhsteacherDesktopIconInfo[i]]),
  1765. "onclick": U.UF.C.closure(function (obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_lhsteacherDesktopIconInfo[i]])
  1769. }, _frag); //
  1770. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1771. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1772. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1773. }
  1774. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1775. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1776. _content = $$("div", {
  1777. className: "U_MD_D_KO",
  1778. "onmousedown": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1782. "onclick": U.UF.C.closure(function (obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_zhoujiateacherDesktopIconInfo[i]])
  1786. }, _frag); //
  1787. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1788. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1789. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1790. }
  1791. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1792. for (i = 0; i < _hanDeskIcon.length; i++) {
  1793. _content = $$("div", {
  1794. className: "U_MD_D_KO",
  1795. "onmousedown": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_hanDeskIcon[i]]),
  1799. "onclick": U.UF.C.closure(function (obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_hanDeskIcon[i]])
  1803. }, _frag); //
  1804. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1805. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1806. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1807. }
  1808. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1809. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1810. _content = $$("div", {
  1811. className: "U_MD_D_KO",
  1812. "onmousedown": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_orgStemDeskIcon[i]]),
  1816. "onclick": U.UF.C.closure(function (obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_orgStemDeskIcon[i]])
  1820. }, _frag); //
  1821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1824. }
  1825. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1826. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1827. _content = $$("div", {
  1828. className: "U_MD_D_KO",
  1829. "onmousedown": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_szulsDeskIcon[i]]),
  1833. "onclick": U.UF.C.closure(function (obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_szulsDeskIcon[i]])
  1837. }, _frag); //
  1838. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1839. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1840. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1841. }
  1842. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1843. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1844. _content = $$("div", {
  1845. className: "U_MD_D_KO",
  1846. "onmousedown": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_orgDesktopIconInfo[i]]),
  1850. "onclick": U.UF.C.closure(function (obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_orgDesktopIconInfo[i]])
  1854. }, _frag); //
  1855. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1856. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1857. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1858. }
  1859. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1860. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1861. _content = $$("div", {
  1862. className: "U_MD_D_KO",
  1863. "onmousedown": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_schoolDesktopIconInfo[i]]),
  1867. "onclick": U.UF.C.closure(function (obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_schoolDesktopIconInfo[i]])
  1871. }, _frag); //
  1872. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1873. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1874. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1875. }
  1876. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1877. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1878. _content = $$("div", {
  1879. className: "U_MD_D_KO",
  1880. "onmousedown": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_GMteacherDesktopIconInfo[i]]),
  1884. "onclick": U.UF.C.closure(function (obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_GMteacherDesktopIconInfo[i]])
  1888. }, _frag); //
  1889. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1890. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1891. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1892. }
  1893. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1894. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1895. _content = $$("div", {
  1896. className: "U_MD_D_KO",
  1897. "onmousedown": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_SONGteacherDesktopIconInfo[i]]),
  1901. "onclick": U.UF.C.closure(function (obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_SONGteacherDesktopIconInfo[i]])
  1905. }, _frag); //
  1906. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1909. }
  1910. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1911. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1912. _content = $$("div", {
  1913. className: "U_MD_D_KO",
  1914. "onmousedown": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_GMstudentDesktopIconInfo[i]]),
  1918. "onclick": U.UF.C.closure(function (obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_GMstudentDesktopIconInfo[i]])
  1922. }, _frag); //
  1923. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1924. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1925. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1926. }
  1927. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1928. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1929. _content = $$("div", {
  1930. className: "U_MD_D_KO",
  1931. "onmousedown": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_tcTeacherDeskIconInfo[i]]),
  1935. "onclick": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_tcTeacherDeskIconInfo[i]])
  1939. }, _frag); //
  1940. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1941. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1942. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1943. }
  1944. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1945. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1946. _content = $$("div", {
  1947. className: "U_MD_D_KO",
  1948. "onmousedown": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_tcOrganizerDeskIconInfo[i]]),
  1952. "onclick": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_tcOrganizerDeskIconInfo[i]])
  1956. }, _frag); //
  1957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1960. }
  1961. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1962. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1963. _content = $$("div", {
  1964. className: "U_MD_D_KO",
  1965. "onmousedown": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_szscTeacherDeskIconInfo[i]]),
  1969. "onclick": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_szscTeacherDeskIconInfo[i]])
  1973. }, _frag); //
  1974. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1975. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1976. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1977. }
  1978. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1979. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1980. _content = $$("div", {
  1981. className: "U_MD_D_KO",
  1982. "onmousedown": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_szscOrganizerDeskIconInfo[i]]),
  1986. "onclick": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_szscOrganizerDeskIconInfo[i]])
  1990. }, _frag); //
  1991. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1992. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1993. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1994. }
  1995. } else {
  1996. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1997. _content = $$("div", {
  1998. className: "U_MD_D_KO",
  1999. "onmousedown": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_teacherDesktopIconInfo[i]]),
  2003. "onclick": U.UF.C.closure(function (obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_teacherDesktopIconInfo[i]])
  2007. }, _frag); //
  2008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2011. }
  2012. }
  2013. } else {
  2014. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. style: { 'width': '124px', 'height': '145px' },
  2018. "onmousedown": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_easyDesktopIconInfo[i]]),
  2022. "onclick": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_easyDesktopIconInfo[i]])
  2026. }, _frag); //
  2027. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2028. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2029. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2030. }
  2031. }
  2032. if (type == 1) {
  2033. //加载好后给图标定位
  2034. U.MD.D.iconPostion($(_frag).Child());
  2035. } else {
  2036. //加载好后给图标定位
  2037. U.MD.D.iconPostion2($(_frag).Child());
  2038. }
  2039. //把图标加载到页面
  2040. el.appendChild(_frag);
  2041. }
  2042. /**
  2043. * 显示任务栏
  2044. *
  2045. * @param {element} 桌面元素
  2046. */
  2047. U.MD.D.I.displayTaskbar = function (el) {
  2048. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2049. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2050. //任务栏位置变化
  2051. U.selectEl(el).css({ "bottom": "0px" });
  2052. //桌面位置变话
  2053. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2054. }
  2055. }
  2056. //#region 桌面图标拖动逻辑
  2057. /**
  2058. * 桌面排列图标
  2059. *
  2060. * @param {element} 桌面元素
  2061. * @param {object} 上下相距的距离
  2062. * @param {object} 左右相距的距离
  2063. * @return {object} 命名空间
  2064. */
  2065. U.MD.D.iconPostion = function (childs, top, left) {
  2066. var i; //用于循环处理
  2067. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2068. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2069. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2070. for (i = 0; i < childs.length; i++) {
  2071. //如果竖排top超过了范围处理
  2072. if (top + 95 > US.height - 10) {
  2073. //left超过了页面范围处理,则向上重叠打印处理
  2074. if ((left + 180) > US.width) {
  2075. top -= 110;
  2076. left -= 90;
  2077. }
  2078. //没有超过范围,那么left+90添加到下一个竖排打印
  2079. else {
  2080. left += 90;
  2081. top = 15;
  2082. };
  2083. }
  2084. //给图标的位置赋值
  2085. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2086. if (i < childs.length - 1) {
  2087. //页面图标每次向下加95
  2088. top += 95;
  2089. }
  2090. }
  2091. //返回最后调用的图标的位置
  2092. return [top, left];
  2093. }
  2094. /**
  2095. * 桌面排列图标
  2096. *
  2097. * @param {element} 桌面元素
  2098. * @param {object} 上下相距的距离
  2099. * @param {object} 左右相距的距离
  2100. * @return {object} 命名空间
  2101. */
  2102. U.MD.D.iconPostion2 = function (childs, top, left) {
  2103. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2104. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2105. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2106. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2107. for (i = 0; i < childs.length; i++) {
  2108. //如果竖排top超过了范围处理
  2109. if (left + 150 > US.width - 10) {
  2110. //left超过了页面范围处理,则向上重叠打印处理
  2111. if ((top + 180) > US.Height) {
  2112. top -= 150;
  2113. left -= 150;
  2114. }
  2115. //没有超过范围,那么left+90添加到下一个竖排打印
  2116. else {
  2117. top += 150;
  2118. left = ol;
  2119. };
  2120. }
  2121. //给图标的位置赋值
  2122. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2123. if (i < childs.length - 1) {
  2124. //页面图标每次向下加95
  2125. left += 150;
  2126. }
  2127. }
  2128. //返回最后调用的图标的位置
  2129. return [top, left];
  2130. }
  2131. /**
  2132. * 桌面点击事件逻辑
  2133. *
  2134. * @param {element} 桌面元素
  2135. * @param {object} 上下相距的距离
  2136. * @param {object} 左右相距的距离
  2137. * @return {object} 命名空间
  2138. */
  2139. U.MD.D.click = function (el, obj) {
  2140. var _buttonnumber = event.button; //点击的按钮的事件值
  2141. var _userinfo = US.userInfo;
  2142. U.UF.EV.stopBubble(); //阻止向上冒泡
  2143. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2144. if (_buttonnumber < 2) {
  2145. //如果是click事件的处理
  2146. if (event.type == "click") {
  2147. //如果元素在mousemove事件中没有移动则出发click事件
  2148. if (!U.MD.D.I.IsDrag) {
  2149. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2150. U.alert("请先登录您的账号!");
  2151. setTimeout(() => {
  2152. U.MD.U.L.login();
  2153. }, 2000);
  2154. } else {
  2155. //打开应用处理
  2156. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2157. }
  2158. }
  2159. }
  2160. //如果是mouse事件的处理
  2161. else {
  2162. if (US.Config.type == '1') {
  2163. //拖动处理,添加拖动和拖动结束事件
  2164. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2165. }
  2166. }
  2167. U.MD.D.I.IsDrag = false;
  2168. }
  2169. }
  2170. /**
  2171. * 拖动的处理
  2172. *
  2173. */
  2174. U.MD.D.iconMove = function () {
  2175. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2176. U.MD.D.I.IsDrag = true;
  2177. }
  2178. /**
  2179. * 拖动结束后,这里是定位处理,以网状的形式定位
  2180. *
  2181. * @param {element} 拖动的元素
  2182. * @return {object} 命名空间
  2183. */
  2184. U.MD.D.iconUp = function (el) {
  2185. var _top = 15,
  2186. _left = 20,
  2187. _margin,
  2188. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2189. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2190. if (_positioninfo["OT"] > 15) {
  2191. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2192. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2193. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2194. }
  2195. if (_positioninfo["OL"] > 20) {
  2196. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2197. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2198. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2199. }
  2200. //while循环判断么一个重叠的元素
  2201. do {
  2202. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2203. _top = _positioninfo[0] + 95; //得到定位后的top
  2204. _left = _positioninfo[1]; //得到定位后的left
  2205. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2206. }
  2207. /**
  2208. * 判断拖动后图标是否重叠
  2209. *
  2210. * @param {element} 拖动的元素
  2211. * @param {element} 桌面所有的元素
  2212. * @param {array} 拖动元素的位置
  2213. ----------[0] 上 top
  2214. ----------[1] 左 left
  2215. * @return {object} 命名空间
  2216. */
  2217. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2218. //循环所有的图标
  2219. for (var i = 0; i < childs.length; i++) {
  2220. //判断有没有和该图标诶子重叠的元素
  2221. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2222. return childs[i]; //如果有返回
  2223. }
  2224. }
  2225. }
  2226. //#endregion
  2227. //#endregion
  2228. //#region 桌面应用
  2229. /**
  2230. * 打开应用
  2231. *
  2232. * @param {string} 类型
  2233. -----------------Disk 网盘系统
  2234. -----------------PDisk 学习系统网盘
  2235. -----------------Poto 图片
  2236. -----------------Video 视频
  2237. -----------------Music 音乐
  2238. -----------------Word word
  2239. -----------------Excel excel
  2240. -----------------Txt 记事本
  2241. -----------------PB 学习系统
  2242. -----------------Blog 朋友圈系统
  2243. -----------------FTP ftp系统
  2244. -----------------Group 好友群
  2245. -----------------SY 首页系统
  2246. -----------------Set 个人设置
  2247. -----------------XSet 系统设置
  2248. -----------------App 我们所有的app
  2249. -----------------BC c.1473.cn 平台
  2250. -----------------CWeb d.1473.cn 变成平台
  2251. -----------------其他的外联系统 我们统一用iframe打开
  2252. * @param {array} 类型
  2253. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2254. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2255. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2256. 如果第一个参数为其他,则无第二个参数
  2257. * @returns {array}
  2258. */
  2259. window.addEventListener('message', function (e) { // 监听 message 事件
  2260. // alert(e.data.type);
  2261. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2262. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2263. //3是展示全部阶段 2学生 1老师 4专家
  2264. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2265. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2266. //3是展示全部阶段 2学生 1老师 4专家
  2267. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2268. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2269. //3是展示全部阶段 2学生 1老师 4专家
  2270. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2271. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2272. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2273. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2274. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2275. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2276. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2277. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2278. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2279. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2280. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2281. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2282. //3是展示全部阶段 2学生 1老师 4专家
  2283. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2284. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2285. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2286. U.MD.D.I.selectUser();
  2287. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2288. var _formel = document.getElementById("study");
  2289. U.UF.F.windowZooming(_formel);
  2290. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2291. var _formel = document.getElementById("studyDetail");
  2292. U.UF.F.windowZooming(_formel);
  2293. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2294. var _formel = document.getElementById("studyDetail");
  2295. U.UF.F.windowZooming(_formel);
  2296. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2297. var _formel = document.getElementById("studentStudy");
  2298. U.UF.F.windowZooming(_formel);
  2299. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2300. // var _formel = document.getElementById("study");
  2301. //如果最大化了,那么就把他缩小
  2302. // if (_formel.ismaximize) {
  2303. // return;
  2304. // }
  2305. // U.UF.F.windowZooming(_formel);
  2306. // U.UF.F.topWindow(_formel);
  2307. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2308. // var _formel = document.getElementById("studyDetail");
  2309. //如果最大化了,那么就把他缩小
  2310. // if (_formel.ismaximize) {
  2311. // return;
  2312. // }
  2313. // U.UF.F.windowZooming(_formel);
  2314. // U.UF.F.topWindow(_formel);
  2315. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2316. // var _formel = document.getElementById("studentStudy");
  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 == "5gm") {
  2323. var _formel = document.getElementById("study");
  2324. // if (_formel.ismaximize) {
  2325. // return;
  2326. // }
  2327. // U.UF.F.windowZooming(_formel);
  2328. U.UF.F.topWindow(_formel);
  2329. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2330. var _formel = document.getElementById("studentIndex");
  2331. U.UF.F.windowZooming(_formel);
  2332. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2333. var _formel = document.getElementById("studyDetailS");
  2334. U.UF.F.windowZooming(_formel);
  2335. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2336. var _formel = document.getElementById("studioIndex");
  2337. U.UF.F.windowZooming(_formel);
  2338. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2339. var _formel = document.getElementById("studyDetailStudio");
  2340. U.UF.F.windowZooming(_formel);
  2341. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2342. var _formel = document.getElementById("studyDetailStudio");
  2343. U.UF.F.windowZooming(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2345. var _formel = document.getElementById("studyDetailNT");
  2346. U.UF.F.windowZooming(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2348. var _formel = document.getElementById("studyDetailS");
  2349. U.UF.F.windowZooming(_formel);
  2350. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2351. var _formel = document.getElementById("studyDetailS");
  2352. U.UF.F.topWindow(_formel);
  2353. } else if (e.data.tools && e.data.tools == "1") {
  2354. // U.MD.D.I.openApplication("whiteboard")
  2355. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2356. } else if (e.data.tools && e.data.tools == "2") {
  2357. U.MD.D.I.openApplication("note")
  2358. } else if (e.data.tools && e.data.tools == "3") {
  2359. // U.MD.D.I.openApplication("mind")
  2360. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "4") {
  2362. U.MD.D.I.openApplication("investigation")
  2363. } else if (e.data.tools && e.data.tools == "6") {
  2364. // U.MD.D.I.openApplication("doc")
  2365. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2366. } else if (e.data.tools && e.data.tools == "7") {
  2367. // U.MD.D.I.openApplication("mindNetwork")
  2368. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2369. } else if (e.data.tools && e.data.tools == "8") {
  2370. U.MD.D.I.openApplication("library")
  2371. } else if (e.data.tools && e.data.tools == "17") {
  2372. U.MD.D.I.openApplication("stuLibrary")
  2373. } else if (e.data.tools && e.data.tools == "18") {
  2374. U.MD.D.I.openApplication("train")
  2375. } else if (e.data.tools && e.data.tools == "21") {
  2376. U.MD.D.I.openApplication("program")
  2377. } else if (e.data.tools && e.data.tools == "22") {
  2378. U.MD.D.I.openApplication("AIprogram2")
  2379. } else if (e.data.tools && e.data.tools == "23") {
  2380. U.MD.D.I.openApplication("Pythonprogram")
  2381. } else if (e.data.tools && e.data.tools == "24") {
  2382. U.MD.D.I.openApplication("AIprogram")
  2383. } else if (e.data.tools && e.data.tools == "25") {
  2384. U.MD.D.I.openApplication("sys")
  2385. } else if (e.data.tools && e.data.tools == "26") {
  2386. // U.MD.D.I.openApplication("courseDesign")
  2387. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2388. } else if (e.data.tools && e.data.tools == "31") {
  2389. U.MD.D.I.openApplication("netWorkPanel")
  2390. } else if (e.data.tools && e.data.tools == "32") {
  2391. U.MD.D.I.openApplication("codeEdit")
  2392. } else if (e.data.tools && e.data.tools == "57") {
  2393. U.MD.D.I.openApplication("CocoPi")
  2394. } else if (e.data.tools && e.data.tools == "63") {
  2395. U.MD.D.I.openApplication("Wood")
  2396. } else if (e.data.tools && e.data.tools == "58") {
  2397. U.MD.D.I.openApplication("car")
  2398. } else if (e.data.tools && e.data.tools == "59") {
  2399. U.MD.D.I.openApplication("lineSearch")
  2400. } else if (e.data.tools && e.data.tools == "60") {
  2401. U.MD.D.I.openApplication("deepLearning")
  2402. } else if (e.data.tools && e.data.tools == "61") {
  2403. U.MD.D.I.openApplication("allHistory")
  2404. } else if (e.data.tools && e.data.tools == "28") {
  2405. U.MD.D.I.openApplication("translation")
  2406. } else if (e.data.tools && e.data.tools == "37") {
  2407. U.MD.D.I.openApplication("mohe")
  2408. } else if (e.data.tools && e.data.tools == "38") {
  2409. U.MD.D.I.openApplication("24game")
  2410. } else if (e.data.tools && e.data.tools == "39") {
  2411. U.MD.D.I.openApplication("GeoGebra")
  2412. } else if (e.data.tools && e.data.tools == "43") {
  2413. U.MD.D.I.openApplication("studentEvaluate")
  2414. } else if (e.data.tools && e.data.tools == "44") {
  2415. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2416. } else if (e.data.tools && e.data.tools == "46") {
  2417. U.MD.D.I.openApplication("project")
  2418. } else if (e.data.tools && e.data.tools == "1s") {
  2419. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2420. } else if (e.data.tools && e.data.tools == "3s") {
  2421. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2422. } else if (e.data.tools && e.data.tools == "6s") {
  2423. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2424. } else if (e.data.tools && e.data.tools == "1studio") {
  2425. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2426. } else if (e.data.tools && e.data.tools == "3studio") {
  2427. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2428. } else if (e.data.tools && e.data.tools == "6studio") {
  2429. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2430. } else if (e.data.tools && e.data.tools == "3y") {
  2431. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2432. } else if (e.data.tools && e.data.tools == "1y") {
  2433. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2434. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2435. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2436. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2437. U.MD.D.I.openApplication("AIAnalyse")
  2438. } else if (e.data.tools && e.data.tools == "1teacher") {
  2439. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2440. } else if (e.data.tools && e.data.tools == "3teacher") {
  2441. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2442. } else if (e.data.tools && e.data.tools == "7teacher") {
  2443. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2444. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2445. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2446. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2447. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2448. } else if (e.data.tools && e.data.tools == "1E") {
  2449. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2450. } else if (e.data.tools && e.data.tools == "3E") {
  2451. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2452. } else if (e.data.tools && e.data.tools == "57y") {
  2453. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2454. } else if (e.data.tools && e.data.tools == "57u") {
  2455. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2456. } else if (e.data.tools && e.data.tools == "57teacher") {
  2457. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2458. } else if (e.data.tools && e.data.tools == "64") {
  2459. U.MD.D.I.openApplication("AIChat")
  2460. } else if (e.data.tools && e.data.tools == "66") {
  2461. U.MD.D.I.openApplication("formulaEdi")
  2462. } else if (e.data.tools && e.data.tools == "67") {
  2463. U.MD.D.I.openApplication("molStr")
  2464. } else if (e.data.tools && e.data.tools == "68") {
  2465. U.MD.D.I.openApplication("timeAxis")
  2466. } else if (e.data.tools && e.data.tools == "openCourse") {
  2467. let _data = {
  2468. typea: e.data.typea || '',
  2469. typeb: e.data.typeb || '',
  2470. typed: e.data.typed || '',
  2471. }
  2472. U.MD.D.I.openInApplication("index", _data)
  2473. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2474. let _data = {
  2475. classid: e.data.classid || '',
  2476. }
  2477. U.MD.D.I.openInApplication("dataClass", _data)
  2478. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2479. let _data = {
  2480. cid: e.data.cid || '',
  2481. gid: e.data.gid || '',
  2482. }
  2483. U.MD.D.I.openInApplication("opencCscl", _data)
  2484. }
  2485. });
  2486. U.MD.D.I.selectUser = function () {
  2487. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2488. if (res.value[0].length > 0) {
  2489. US.userInfo = res.value[0][0];
  2490. $(".userName")[0].innerHTML = US.userInfo.username;
  2491. }
  2492. }, [], { "type": "GET", "withCredentials": true });
  2493. }
  2494. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2495. var _userinfo = US.userInfo, //登录用户信息
  2496. _userid = US.userInfo.userid, //登录用户id
  2497. _oid = _userinfo.organizeid,
  2498. _type = US.userInfo.type,
  2499. _org = US.userInfo.org,
  2500. _role = US.userInfo.role,
  2501. _classId = US.userInfo.classid;
  2502. if (_type == 4) {
  2503. tType = 4
  2504. }
  2505. switch (str) {
  2506. case "studyDetailNT": //无终端模式
  2507. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2508. setTimeout(() => {
  2509. U.MD.U.L.login();
  2510. }, 2000);
  2511. } else {
  2512. _formdiv = new U.UF.UI.form(
  2513. "课程详情",
  2514. $$("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 }), {
  2515. "id": "studyDetailNT",
  2516. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2517. "onresize": function () { }
  2518. }, {
  2519. closecallback: function () { }
  2520. }, { "style": { "height": "36px" } }).form; //创建窗体
  2521. _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); } }
  2522. break;
  2523. }
  2524. case "studyDetail":
  2525. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2526. setTimeout(() => {
  2527. U.MD.U.L.login();
  2528. }, 2000);
  2529. } else {
  2530. _formdiv = new U.UF.UI.form(
  2531. "课程详情",
  2532. $$("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 }), {
  2533. "id": "studyDetail",
  2534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2535. "onresize": function () { }
  2536. }, {
  2537. closecallback: function () { }
  2538. }, { "style": { "height": "36px" } }).form; //创建窗体
  2539. _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); } }
  2540. break;
  2541. }
  2542. case "studyDetailS":
  2543. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2544. setTimeout(() => {
  2545. U.MD.U.L.login();
  2546. }, 2000);
  2547. } else {
  2548. _formdiv = new U.UF.UI.form(
  2549. "项目详情",
  2550. $$("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 }), {
  2551. "id": "studyDetailS",
  2552. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2553. "onresize": function () { }
  2554. }, {
  2555. closecallback: function () { }
  2556. }, { "style": { "height": "36px" } }).form; //创建窗体
  2557. _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); } }
  2558. break;
  2559. }
  2560. case "studyDetailStudio":
  2561. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2562. setTimeout(() => {
  2563. U.MD.U.L.login();
  2564. }, 2000);
  2565. } else {
  2566. _formdiv = new U.UF.UI.form(
  2567. "工作详情",
  2568. $$("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 }), {
  2569. "id": "studyDetailStudio",
  2570. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2571. "onresize": function () { }
  2572. }, {
  2573. closecallback: function () { }
  2574. }, { "style": { "height": "36px" } }).form; //创建窗体
  2575. _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); } }
  2576. break;
  2577. }
  2578. case "studyDetailS5":
  2579. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2580. setTimeout(() => {
  2581. U.MD.U.L.login();
  2582. }, 2000);
  2583. } else {
  2584. _formdiv = new U.UF.UI.form(
  2585. "项目详情",
  2586. $$("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 }), {
  2587. "id": "studyDetailS",
  2588. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2589. "onresize": function () { }
  2590. }, {
  2591. closecallback: function () { }
  2592. }, { "style": { "height": "36px" } }).form; //创建窗体
  2593. _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); } }
  2594. break;
  2595. }
  2596. case "studyDetailGM":
  2597. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2598. setTimeout(() => {
  2599. U.MD.U.L.login();
  2600. }, 2000);
  2601. } else {
  2602. _formdiv = new U.UF.UI.form(
  2603. "课程详情",
  2604. $$("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 }), {
  2605. "id": "studyDetail",
  2606. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2607. "onresize": function () { }
  2608. }, {
  2609. closecallback: function () { }
  2610. }, { "style": { "height": "36px" } }).form; //创建窗体
  2611. _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); } }
  2612. break;
  2613. }
  2614. case "hanUrl":
  2615. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2616. setTimeout(() => {
  2617. U.MD.U.L.login();
  2618. }, 2000);
  2619. } else {
  2620. _formdiv = new U.UF.UI.form(
  2621. "汉字宫",
  2622. $$("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" }), {
  2623. "id": "hanUrl",
  2624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2625. "onresize": function () { }
  2626. }, {
  2627. closecallback: function () { }
  2628. }, { "style": { "height": "36px" } }).form; //创建窗体
  2629. _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); } }
  2630. break;
  2631. }
  2632. case "index":
  2633. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2634. setTimeout(() => {
  2635. U.MD.U.L.login();
  2636. }, 2000);
  2637. } else {
  2638. _formdiv = new U.UF.UI.form(
  2639. "课程中心",
  2640. $$("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 }), {
  2641. "id": "study",
  2642. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2643. "onresize": function () { }
  2644. }, {
  2645. closecallback: function () { }
  2646. }, { "style": { "height": "36px" } }).form; //创建窗体
  2647. _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); } }
  2648. break;
  2649. }
  2650. case "dataClass":
  2651. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2652. setTimeout(() => {
  2653. U.MD.U.L.login();
  2654. }, 2000);
  2655. } else {
  2656. _formdiv = new U.UF.UI.form(
  2657. "数据报告",
  2658. $$("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 }), {
  2659. "id": "dataClass",
  2660. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2661. "onresize": function () { }
  2662. }, {
  2663. closecallback: function () { }
  2664. }, { "style": { "height": "36px" } }).form; //创建窗体
  2665. _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); } }
  2666. break;
  2667. }
  2668. case "opencCscl":
  2669. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2670. setTimeout(() => {
  2671. U.MD.U.L.login();
  2672. }, 2000);
  2673. } else {
  2674. _formdiv = new U.UF.UI.form(
  2675. "协同建构",
  2676. $$("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 }), {
  2677. "id": "futureClass",
  2678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2679. "onresize": function () { }
  2680. }, {
  2681. closecallback: function () { }
  2682. }, { "style": { "height": "36px" } }).form; //创建窗体
  2683. _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); } }
  2684. break;
  2685. }
  2686. }
  2687. }
  2688. U.MD.D.I.openApplication = function (str, obj, info) {
  2689. obj = obj || {};
  2690. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2691. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2692. _userinfo = US.userInfo, //登录用户信息
  2693. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2694. _oid = obj.organizeid || _userinfo.organizeid,
  2695. _type = US.userInfo.type,
  2696. _org = US.userInfo.org,
  2697. _role = US.userInfo.role,
  2698. _classId = US.userInfo.classid,
  2699. _TscreenType = 1
  2700. _screenType = 2,
  2701. _SscreenType = 3;
  2702. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2703. return;
  2704. }
  2705. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2706. switch (str) {
  2707. case "studnetProject": //好友打开
  2708. _formdiv = new U.UF.UI.form(
  2709. "我的项目",
  2710. $$("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 }), {
  2711. "id": "studnetProject",
  2712. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2713. "onresize": function () { }
  2714. }, {
  2715. closecallback: function () { }
  2716. }, { "style": { "height": "36px" } }).form; //创建窗体
  2717. _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); } }
  2718. break;
  2719. case "studentEvaluate": //好友打开
  2720. _formdiv = new U.UF.UI.form(
  2721. "我的评价",
  2722. $$("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 }), {
  2723. "id": "studentEvaluate",
  2724. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2725. "onresize": function () { }
  2726. }, {
  2727. closecallback: function () { }
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _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); } }
  2730. break;
  2731. case "my":
  2732. _formdiv = new U.UF.UI.form(
  2733. "我的资料",
  2734. $$("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 }), {
  2735. "id": "my",
  2736. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2737. "onresize": function () { }
  2738. }, {
  2739. closecallback: function () { }
  2740. }, { "style": { "height": "36px" } }).form; //创建窗体
  2741. _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); } }
  2742. break;
  2743. case "program":
  2744. _formdiv = new U.UF.UI.form(
  2745. "编程平台",
  2746. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2747. "id": "program",
  2748. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2749. "onresize": function () { }
  2750. }, {
  2751. closecallback: function () { }
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _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); } }
  2754. break;
  2755. case "library":
  2756. _formdiv = new U.UF.UI.form(
  2757. "素材库",
  2758. $$("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 }), {
  2759. "id": "library",
  2760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2761. "onresize": function () { }
  2762. }, {
  2763. closecallback: function () { }
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _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); } }
  2766. break;
  2767. case "whiteboard":
  2768. _formdiv = new U.UF.UI.form(
  2769. "电子白板",
  2770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2771. "id": "whiteboard",
  2772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2773. "onresize": function () { }
  2774. }, {
  2775. closecallback: function () { }
  2776. }, { "style": { "height": "36px" } }).form; //创建窗体
  2777. _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); } }
  2778. break;
  2779. case "investigation":
  2780. _formdiv = new U.UF.UI.form(
  2781. "问卷调查",
  2782. $$("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 }), {
  2783. "id": "investigation",
  2784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2785. "onresize": function () { }
  2786. }, {
  2787. closecallback: function () { }
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _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); } }
  2790. break;
  2791. case "note":
  2792. _formdiv = new U.UF.UI.form(
  2793. "便签分类",
  2794. $$("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 }), {
  2795. "id": "note",
  2796. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2797. "onresize": function () { }
  2798. }, {
  2799. closecallback: function () { }
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _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); } }
  2802. break;
  2803. // case "score":
  2804. // _formdiv = new U.UF.UI.form(
  2805. // "量规评分",
  2806. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2807. // "id": "score",
  2808. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2809. // "onresize": function() {}
  2810. // }, {
  2811. // closecallback: function() {}
  2812. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2813. // _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); } }
  2814. // break;
  2815. case "mind":
  2816. _formdiv = new U.UF.UI.form(
  2817. "思维导图",
  2818. $$("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"
  2819. "id": "mind",
  2820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2821. "onresize": function () { }
  2822. }, {
  2823. closecallback: function () { }
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _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); } }
  2826. break;
  2827. case "doc":
  2828. // U.MD.D.I.isRoom();
  2829. _formdiv = new U.UF.UI.form(
  2830. "协同文档",
  2831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2832. "id": "doc",
  2833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2834. "onresize": function () { }
  2835. }, {
  2836. closecallback: function () { }
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2839. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2840. // })
  2841. _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); } }
  2842. break;
  2843. case "studentStudy":
  2844. _formdiv = new U.UF.UI.form(
  2845. "课程中心",
  2846. $$("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
  2847. "id": "studentStudy",
  2848. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2849. "onresize": function () { }
  2850. }, {
  2851. closecallback: function () { }
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. _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); } }
  2854. break;
  2855. case "train": //好友打开
  2856. _formdiv = new U.UF.UI.form(
  2857. "训练平台",
  2858. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2859. "id": "train",
  2860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2861. "onresize": function () { }
  2862. }, {
  2863. closecallback: function () { }
  2864. }, { "style": { "height": "36px" } }).form; //创建窗体
  2865. _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); } }
  2866. break;
  2867. case "mindNetwork": //好友打开
  2868. _formdiv = new U.UF.UI.form(
  2869. "思维网格",
  2870. $$("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 }), {
  2871. "id": "mindNetwork",
  2872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2873. "onresize": function () { }
  2874. }, {
  2875. closecallback: function () { }
  2876. }, { "style": { "height": "36px" } }).form; //创建窗体
  2877. _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); } }
  2878. break;
  2879. case "studentClassRoom": //好友打开
  2880. _formdiv = new U.UF.UI.form(
  2881. "实时课堂",
  2882. $$("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 }), {
  2883. "id": "studentClassRoom",
  2884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2885. "onresize": function () { }
  2886. }, {
  2887. closecallback: function () { }
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _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); } }
  2890. setTimeout(() => {
  2891. U.UF.F.windowZooming(_formdiv)
  2892. }, 0);
  2893. break;
  2894. }
  2895. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2896. switch (str) {
  2897. case "studnetProject": //好友打开
  2898. _formdiv = new U.UF.UI.form(
  2899. "我的项目",
  2900. $$("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 }), {
  2901. "id": "studnetProject",
  2902. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2903. "onresize": function () { }
  2904. }, {
  2905. closecallback: function () { }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _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); } }
  2908. break;
  2909. case "studentEvaluate": //好友打开
  2910. _formdiv = new U.UF.UI.form(
  2911. "我的评价",
  2912. $$("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 }), {
  2913. "id": "studentEvaluate",
  2914. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2915. "onresize": function () { }
  2916. }, {
  2917. closecallback: function () { }
  2918. }, { "style": { "height": "36px" } }).form; //创建窗体
  2919. _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); } }
  2920. break;
  2921. case "my":
  2922. _formdiv = new U.UF.UI.form(
  2923. "我的资料",
  2924. $$("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 }), {
  2925. "id": "my",
  2926. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. case "program":
  2934. _formdiv = new U.UF.UI.form(
  2935. "编程平台",
  2936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2937. "id": "program",
  2938. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. case "library":
  2946. _formdiv = new U.UF.UI.form(
  2947. "素材库",
  2948. $$("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 }), {
  2949. "id": "library",
  2950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function () { }
  2952. }, {
  2953. closecallback: function () { }
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _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); } }
  2956. break;
  2957. case "whiteboard":
  2958. _formdiv = new U.UF.UI.form(
  2959. "电子白板",
  2960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2961. "id": "whiteboard",
  2962. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "investigation":
  2970. _formdiv = new U.UF.UI.form(
  2971. "问卷调查",
  2972. $$("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 }), {
  2973. "id": "investigation",
  2974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "note":
  2982. _formdiv = new U.UF.UI.form(
  2983. "便签分类",
  2984. $$("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 }), {
  2985. "id": "note",
  2986. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. // case "score":
  2994. // _formdiv = new U.UF.UI.form(
  2995. // "量规评分",
  2996. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2997. // "id": "score",
  2998. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. // "onresize": function() {}
  3000. // }, {
  3001. // closecallback: function() {}
  3002. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. // _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); } }
  3004. // break;
  3005. case "mind":
  3006. _formdiv = new U.UF.UI.form(
  3007. "思维导图",
  3008. $$("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"
  3009. "id": "mind",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. case "doc":
  3018. // U.MD.D.I.isRoom();
  3019. _formdiv = new U.UF.UI.form(
  3020. "协同文档",
  3021. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3022. "id": "doc",
  3023. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function () { }
  3025. }, {
  3026. closecallback: function () { }
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3029. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3030. })
  3031. _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); } }
  3032. break;
  3033. case "train": //好友打开
  3034. _formdiv = new U.UF.UI.form(
  3035. "训练平台",
  3036. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3037. "id": "train",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. _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); } }
  3044. break;
  3045. case "studentStudy":
  3046. _formdiv = new U.UF.UI.form(
  3047. "课程中心",
  3048. $$("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
  3049. "id": "studentStudy",
  3050. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3051. "onresize": function () { }
  3052. }, {
  3053. closecallback: function () { }
  3054. }, { "style": { "height": "36px" } }).form; //创建窗体
  3055. _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); } }
  3056. break;
  3057. case "mindNetwork": //好友打开
  3058. _formdiv = new U.UF.UI.form(
  3059. "思维网格",
  3060. $$("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 }), {
  3061. "id": "mindNetwork",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. case "studentClassRoom": //好友打开
  3070. _formdiv = new U.UF.UI.form(
  3071. "实时课堂",
  3072. $$("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 }), {
  3073. "id": "studentClassRoom",
  3074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _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); } }
  3080. setTimeout(() => {
  3081. U.UF.F.windowZooming(_formdiv)
  3082. }, 0);
  3083. break;
  3084. }
  3085. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3086. //选择应用处理
  3087. switch (str) {
  3088. case "project": //好友打开
  3089. _formdiv = new U.UF.UI.form(
  3090. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3091. $$("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 }), {
  3092. "id": "project",
  3093. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3094. "onresize": function () { }
  3095. }, {
  3096. closecallback: function () { }
  3097. }, { "style": { "height": "36px" } }).form; //创建窗体
  3098. _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); } }
  3099. break;
  3100. case "student":
  3101. _formdiv = new U.UF.UI.form(
  3102. "学生管理",
  3103. $$("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 }), {
  3104. "id": "student",
  3105. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. _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); } }
  3111. break;
  3112. case "evaluate":
  3113. _formdiv = new U.UF.UI.form(
  3114. "学生评价",
  3115. $$("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 }), {
  3116. "id": "evaluate",
  3117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. case "sys":
  3125. _formdiv = new U.UF.UI.form(
  3126. "目标管理",
  3127. $$("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 }), {
  3128. "id": "sys",
  3129. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "courseDesign":
  3137. _formdiv = new U.UF.UI.form(
  3138. "项目设计",
  3139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3140. "id": "courseDesign",
  3141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "program":
  3149. _formdiv = new U.UF.UI.form(
  3150. "编程平台",
  3151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3152. "id": "program",
  3153. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. case "class":
  3161. _formdiv = new U.UF.UI.form(
  3162. "班级管理",
  3163. $$("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 }), {
  3164. "id": "class",
  3165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function () { }
  3167. }, {
  3168. closecallback: function () { }
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "Grade":
  3173. _formdiv = new U.UF.UI.form(
  3174. "年级管理",
  3175. $$("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 }), {
  3176. "id": "Grade",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "teacherOffice":
  3185. _formdiv = new U.UF.UI.form(
  3186. "教研室",
  3187. $$("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 }), {
  3188. "id": "teacherOffice",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. case "my":
  3197. _formdiv = new U.UF.UI.form(
  3198. "我的资料",
  3199. $$("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 }), {
  3200. "id": "my",
  3201. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function () { }
  3203. }, {
  3204. closecallback: function () { }
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _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); } }
  3207. break;
  3208. case "notice":
  3209. _formdiv = new U.UF.UI.form(
  3210. "通知公告",
  3211. $$("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 }), {
  3212. "id": "notice",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _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); } }
  3219. break;
  3220. case "library":
  3221. _formdiv = new U.UF.UI.form(
  3222. "素材库",
  3223. $$("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 }), {
  3224. "id": "library",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function () { }
  3227. }, {
  3228. closecallback: function () { }
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. _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); } }
  3231. break;
  3232. case "whiteboard":
  3233. _formdiv = new U.UF.UI.form(
  3234. "电子白板",
  3235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3236. "id": "whiteboard",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function () { }
  3239. }, {
  3240. closecallback: function () { }
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _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); } }
  3243. break;
  3244. case "investigation":
  3245. _formdiv = new U.UF.UI.form(
  3246. "问卷调查",
  3247. $$("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 }), {
  3248. "id": "investigation",
  3249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3250. "onresize": function () { }
  3251. }, {
  3252. closecallback: function () { }
  3253. }, { "style": { "height": "36px" } }).form; //创建窗体
  3254. _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); } }
  3255. break;
  3256. case "note":
  3257. _formdiv = new U.UF.UI.form(
  3258. "便签分类",
  3259. $$("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 }), {
  3260. "id": "note",
  3261. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3262. "onresize": function () { }
  3263. }, {
  3264. closecallback: function () { }
  3265. }, { "style": { "height": "36px" } }).form; //创建窗体
  3266. _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); } }
  3267. break;
  3268. // case "score":
  3269. // _formdiv = new U.UF.UI.form(
  3270. // "量规评分",
  3271. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3272. // "id": "score",
  3273. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3274. // "onresize": function() {}
  3275. // }, {
  3276. // closecallback: function() {}
  3277. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3278. // _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); } }
  3279. // break;
  3280. case "mind":
  3281. _formdiv = new U.UF.UI.form(
  3282. "思维导图",
  3283. $$("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"
  3284. "id": "mind",
  3285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function () { }
  3287. }, {
  3288. closecallback: function () { }
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. _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); } }
  3291. break;
  3292. case "doc":
  3293. // U.MD.D.I.isRoom();
  3294. _formdiv = new U.UF.UI.form(
  3295. "协同文档",
  3296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3297. "id": "doc",
  3298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function () { }
  3300. }, {
  3301. closecallback: function () { }
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3304. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3305. })
  3306. _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); } }
  3307. break;
  3308. case "study":
  3309. _formdiv = new U.UF.UI.form(
  3310. "课程中心",
  3311. $$("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
  3312. "id": "study",
  3313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3314. "onresize": function () { }
  3315. }, {
  3316. closecallback: function () { }
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. _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); } }
  3319. break;
  3320. case "mindNetwork": //好友打开
  3321. _formdiv = new U.UF.UI.form(
  3322. "思维网格",
  3323. $$("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 }), {
  3324. "id": "mindNetwork",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function () { }
  3327. }, {
  3328. closecallback: function () { }
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. case "train": //好友打开
  3333. _formdiv = new U.UF.UI.form(
  3334. "训练平台",
  3335. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3336. "id": "mindNetwork",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function () { }
  3339. }, {
  3340. closecallback: function () { }
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _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); } }
  3343. break;
  3344. case "teacherClassRoom": //好友打开
  3345. _formdiv = new U.UF.UI.form(
  3346. "实时课堂",
  3347. $$("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 }), {
  3348. "id": "teacherClassRoom",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function () { }
  3351. }, {
  3352. closecallback: function () { }
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. setTimeout(() => {
  3356. U.UF.F.windowZooming(_formdiv)
  3357. }, 0);
  3358. break;
  3359. }
  3360. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3361. switch (str) {
  3362. case "project": //好友打开
  3363. _formdiv = new U.UF.UI.form(
  3364. "课程管理",
  3365. $$("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 }), {
  3366. "id": "project",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "evaluate":
  3375. _formdiv = new U.UF.UI.form(
  3376. "学生评价",
  3377. $$("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 }), {
  3378. "id": "evaluate",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _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); } }
  3385. break;
  3386. case "notice":
  3387. _formdiv = new U.UF.UI.form(
  3388. "通知公告",
  3389. $$("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 }), {
  3390. "id": "notice",
  3391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _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); } }
  3397. break;
  3398. case "stuLibrary":
  3399. _formdiv = new U.UF.UI.form(
  3400. "学习资料",
  3401. $$("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 }), {
  3402. "id": "stuLibrary",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _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); } }
  3409. break;
  3410. case "program":
  3411. _formdiv = new U.UF.UI.form(
  3412. "编程平台",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3414. "id": "program",
  3415. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _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); } }
  3421. break;
  3422. case "whiteboard":
  3423. _formdiv = new U.UF.UI.form(
  3424. "电子白板",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3426. "id": "whiteboard",
  3427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function () { }
  3429. }, {
  3430. closecallback: function () { }
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _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); } }
  3433. break;
  3434. case "investigation":
  3435. _formdiv = new U.UF.UI.form(
  3436. "问卷调查",
  3437. $$("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 }), {
  3438. "id": "investigation",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _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); } }
  3445. break;
  3446. case "mind":
  3447. _formdiv = new U.UF.UI.form(
  3448. "思维导图",
  3449. $$("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"
  3450. "id": "mind",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _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); } }
  3457. break;
  3458. case "doc":
  3459. // U.MD.D.I.isRoom();
  3460. _formdiv = new U.UF.UI.form(
  3461. "协同文档",
  3462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3463. "id": "doc",
  3464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3465. "onresize": function () { }
  3466. }, {
  3467. closecallback: function () { }
  3468. }, { "style": { "height": "36px" } }).form; //创建窗体
  3469. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3470. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3471. })
  3472. _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); } }
  3473. break;
  3474. case "study":
  3475. _formdiv = new U.UF.UI.form(
  3476. "课程中心",
  3477. $$("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
  3478. "id": "study",
  3479. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3485. break;
  3486. case "mindNetwork": //好友打开
  3487. _formdiv = new U.UF.UI.form(
  3488. "思维网格",
  3489. $$("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 }), {
  3490. "id": "mindNetwork",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function () { }
  3493. }, {
  3494. closecallback: function () { }
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3497. break;
  3498. case "train": //好友打开
  3499. _formdiv = new U.UF.UI.form(
  3500. "训练平台",
  3501. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3502. "id": "train",
  3503. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3509. break;
  3510. case "sys":
  3511. _formdiv = new U.UF.UI.form(
  3512. "目标管理",
  3513. $$("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 }), {
  3514. "id": "sys",
  3515. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3521. break;
  3522. case "courseDesign":
  3523. _formdiv = new U.UF.UI.form(
  3524. "项目设计",
  3525. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3526. "id": "courseDesign",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3533. break;
  3534. }
  3535. } else if (!_type) {
  3536. switch (str) {
  3537. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3541. "id": "my",
  3542. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3548. break;
  3549. }
  3550. }
  3551. switch (str) {
  3552. // AIprogram2 AI体验 aihub.cocorobo.cn
  3553. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3554. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3555. case "formulaEdi": //公式编辑
  3556. _formdiv = new U.UF.UI.form(
  3557. "公式编辑",
  3558. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3559. "id": "formulaEdi",
  3560. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3561. "onresize": function () { }
  3562. }, {
  3563. closecallback: function () { }
  3564. }, { "style": { "height": "36px" } }).form; //创建窗体
  3565. _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); } }
  3566. break;
  3567. case "molStr": //分子结构
  3568. _formdiv = new U.UF.UI.form(
  3569. "分子结构",
  3570. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3571. "id": "molStr",
  3572. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function () { }
  3574. }, {
  3575. closecallback: function () { }
  3576. }, { "style": { "height": "36px" } }).form; //创建窗体
  3577. _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); } }
  3578. break;
  3579. case "timeAxis": //时间轴
  3580. _formdiv = new U.UF.UI.form(
  3581. "时间轴",
  3582. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3583. "id": "timeAxis",
  3584. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //创建窗体
  3589. _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); } }
  3590. break;
  3591. case "AIprogram2": //AI体验
  3592. _formdiv = new U.UF.UI.form(
  3593. "AI体验",
  3594. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3595. "id": "AIprogram2",
  3596. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. _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); } }
  3602. break;
  3603. case "Pythonprogram": //python编程
  3604. _formdiv = new U.UF.UI.form(
  3605. "Python编程",
  3606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3607. "id": "Pythonprogram",
  3608. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _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); } }
  3614. break;
  3615. case "AIprogram": //ai编程
  3616. _formdiv = new U.UF.UI.form(
  3617. "AI编程平台",
  3618. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3619. "id": "AIprogram",
  3620. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _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); } }
  3626. break;
  3627. case "CocoPi": //CocoPi
  3628. _formdiv = new U.UF.UI.form(
  3629. "CocoPi",
  3630. $$("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" }), {
  3631. "id": "CocoPi",
  3632. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "Wood": //Wood
  3640. _formdiv = new U.UF.UI.form(
  3641. "海龟编程",
  3642. $$("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/" }), {
  3643. "id": "Wood",
  3644. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "car": //模拟驾驶
  3652. _formdiv = new U.UF.UI.form(
  3653. "模拟驾驶",
  3654. $$("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/" }), {
  3655. "id": "car",
  3656. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "lineSearch": //路径搜索
  3664. _formdiv = new U.UF.UI.form(
  3665. "路径搜索",
  3666. $$("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/" }), {
  3667. "id": "lineSearch",
  3668. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _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); } }
  3674. break;
  3675. case "deepLearning": //深度学习
  3676. _formdiv = new U.UF.UI.form(
  3677. "深度学习",
  3678. $$("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/#" }), {
  3679. "id": "deepLearning",
  3680. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "allHistory": //深度学习
  3688. _formdiv = new U.UF.UI.form(
  3689. "全历史",
  3690. $$("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/" }), {
  3691. "id": "allHistory",
  3692. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "chatPDF": //ai编程
  3700. _formdiv = new U.UF.UI.form(
  3701. "chatPDF",
  3702. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3703. "id": "chatPDF",
  3704. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. break;
  3711. case "resources": //国家教育
  3712. _formdiv = new U.UF.UI.form(
  3713. "国家教育",
  3714. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3715. "id": "resources",
  3716. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function () { }
  3718. }, {
  3719. closecallback: function () { }
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _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); } }
  3722. break;
  3723. case "codeEdit": //源码编辑
  3724. _formdiv = new U.UF.UI.form(
  3725. "源码编辑",
  3726. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3727. "id": "codeEdit",
  3728. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function () { }
  3730. }, {
  3731. closecallback: function () { }
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. break; //
  3735. case "MindMap": //MindMap
  3736. _formdiv = new U.UF.UI.form(
  3737. "MindMap",
  3738. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3739. "id": "MindMap",
  3740. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function () { }
  3742. }, {
  3743. closecallback: function () { }
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _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); } }
  3746. break;
  3747. case "netWorkPanel": //netWorkPanel
  3748. _formdiv = new U.UF.UI.form(
  3749. "netWorkPanel",
  3750. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3751. "id": "netWorkPanel",
  3752. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. case "GeoGebra": //GeoGebra
  3760. _formdiv = new U.UF.UI.form(
  3761. "GeoGebra",
  3762. $$("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" }), {
  3763. "id": "GeoGebra",
  3764. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3765. "onresize": function () { }
  3766. }, {
  3767. closecallback: function () { }
  3768. }, { "style": { "height": "36px" } }).form; //创建窗体
  3769. _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); } }
  3770. break;
  3771. case "translation": //翻译
  3772. _formdiv = new U.UF.UI.form(
  3773. "翻译",
  3774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3775. "id": "translation",
  3776. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function () { }
  3778. }, {
  3779. closecallback: function () { }
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. case "mohe": //魔盒
  3784. _formdiv = new U.UF.UI.form(
  3785. "魔盒识字",
  3786. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3787. "id": "mohe",
  3788. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3789. "onresize": function () { }
  3790. }, {
  3791. closecallback: function () { }
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. case "24game": //24点
  3796. _formdiv = new U.UF.UI.form(
  3797. "24点",
  3798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3799. "id": "24game",
  3800. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3801. "onresize": function () { }
  3802. }, {
  3803. closecallback: function () { }
  3804. }, { "style": { "height": "36px" } }).form; //创建窗体
  3805. _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); } }
  3806. break;
  3807. case "case":
  3808. _formdiv = new U.UF.UI.form(
  3809. "课程进展",
  3810. $$("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 }), {
  3811. "id": "case",
  3812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3813. "onresize": function () { }
  3814. }, {
  3815. closecallback: function () { }
  3816. }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. _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); } }
  3818. break;
  3819. case "snf":
  3820. _formdiv = new U.UF.UI.form(
  3821. "赛诺梵",
  3822. $$("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" }), {
  3823. "id": "snf",
  3824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3825. "onresize": function () { }
  3826. }, {
  3827. closecallback: function () { }
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "hanFamily":
  3832. _formdiv = new U.UF.UI.form(
  3833. "汉字家族",
  3834. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3835. "id": "hanFamily",
  3836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function () { }
  3838. }, {
  3839. closecallback: function () { }
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. case "hanClassics":
  3844. _formdiv = new U.UF.UI.form(
  3845. "国学经典",
  3846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3847. "id": "hanClassics",
  3848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. _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); } }
  3854. break;
  3855. case "hanTraining":
  3856. _formdiv = new U.UF.UI.form(
  3857. "笔画训练",
  3858. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3859. "id": "hanTraining",
  3860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3861. "onresize": function () { }
  3862. }, {
  3863. closecallback: function () { }
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _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); } }
  3866. break;
  3867. case "hanClass":
  3868. _formdiv = new U.UF.UI.form(
  3869. "书法课堂",
  3870. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3871. "id": "hanClass",
  3872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. case "han":
  3880. _formdiv = new U.UF.UI.form(
  3881. "汉字宫",
  3882. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3883. "id": "han",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _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); } }
  3890. break;
  3891. case "projectGM": //课程管理
  3892. _formdiv = new U.UF.UI.form(
  3893. "课程管理",
  3894. $$("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 }), {
  3895. "id": "projectGM",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _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); } }
  3902. break;
  3903. case "studyGM": //课程中心
  3904. _formdiv = new U.UF.UI.form(
  3905. "课程中心",
  3906. $$("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
  3907. "id": "study",
  3908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. // studentGM
  3916. case "studentGM": //学生管理
  3917. _formdiv = new U.UF.UI.form(
  3918. "学生管理",
  3919. $$("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 }), {
  3920. "id": "studentGM",
  3921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _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); } }
  3927. break;
  3928. case "evaluateGM": //学生评价
  3929. _formdiv = new U.UF.UI.form(
  3930. "学生评价",
  3931. $$("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 }), {
  3932. "id": "evaluateGM",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _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); } }
  3939. break;
  3940. // classGM
  3941. case "classGM": //班级管理
  3942. _formdiv = new U.UF.UI.form(
  3943. "班级管理",
  3944. $$("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 }), {
  3945. "id": "classGM",
  3946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. // dataGM
  3954. case "dataGM":
  3955. _formdiv = new U.UF.UI.form(
  3956. "我的资料",
  3957. $$("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 }), {
  3958. "id": "dataGM",
  3959. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3960. "onresize": function () { }
  3961. }, {
  3962. closecallback: function () { }
  3963. }, { "style": { "height": "36px" } }).form; //创建窗体
  3964. _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); } }
  3965. break;
  3966. // caseGM
  3967. case "caseGM": //课程进展
  3968. _formdiv = new U.UF.UI.form(
  3969. "课程进展",
  3970. $$("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 }), {
  3971. "id": "caseGM",
  3972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3978. break;
  3979. // meterialGM
  3980. case "meterialGM": //素材库
  3981. _formdiv = new U.UF.UI.form(
  3982. "素材库",
  3983. $$("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 }), {
  3984. "id": "meterialGM",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _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); } }
  3991. break;
  3992. // evaluateSGM
  3993. case "evaluateSGM": //我的评价
  3994. _formdiv = new U.UF.UI.form(
  3995. "我的评价",
  3996. $$("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 }), {
  3997. "id": "evaluateSGM",
  3998. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. case "jupyter": //jupyter
  4006. _formdiv = new U.UF.UI.form(
  4007. "jupyter",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4009. "id": "jupyter",
  4010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //创建窗体
  4015. _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); } }
  4016. break;
  4017. case "number": //数字实验室
  4018. _formdiv = new U.UF.UI.form(
  4019. "数字实验室",
  4020. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4021. "id": "number",
  4022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4023. "onresize": function () { }
  4024. }, {
  4025. closecallback: function () { }
  4026. }, { "style": { "height": "36px" } }).form; //创建窗体
  4027. _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); } }
  4028. break;
  4029. case "studentCourse": //项目管理 学生
  4030. _formdiv = new U.UF.UI.form(
  4031. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4032. $$("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 }), {
  4033. "id": "studentCourse",
  4034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //创建窗体
  4039. _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); } }
  4040. break;
  4041. case "studentCourseS": //项目管理 老师
  4042. _formdiv = new U.UF.UI.form(
  4043. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4044. $$("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 }), {
  4045. "id": "studentCourseS",
  4046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4047. "onresize": function () { }
  4048. }, {
  4049. closecallback: function () { }
  4050. }, { "style": { "height": "36px" } }).form; //创建窗体
  4051. _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); } }
  4052. break;
  4053. case "studentIndex": //项目中心
  4054. _formdiv = new U.UF.UI.form(
  4055. "项目中心",
  4056. $$("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 }), {
  4057. "id": "studentIndex",
  4058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4059. "onresize": function () { }
  4060. }, {
  4061. closecallback: function () { }
  4062. }, { "style": { "height": "36px" } }).form; //创建窗体
  4063. _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); } }
  4064. break;
  4065. case "CaseDesignS":
  4066. _formdiv = new U.UF.UI.form(
  4067. "项目进展",
  4068. $$("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 }), {
  4069. "id": "case",
  4070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4071. "onresize": function () { }
  4072. }, {
  4073. closecallback: function () { }
  4074. }, { "style": { "height": "36px" } }).form; //创建窗体
  4075. _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); } }
  4076. break;
  4077. case "tcStudent": //腾讯学生管理
  4078. _formdiv = new U.UF.UI.form(
  4079. "学生管理",
  4080. $$("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 }), {
  4081. "id": "tcStudent",
  4082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4083. "onresize": function () { }
  4084. }, {
  4085. closecallback: function () { }
  4086. }, { "style": { "height": "36px" } }).form; //创建窗体
  4087. _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); } }
  4088. break;
  4089. case "tcSchool": //腾讯学校管理
  4090. _formdiv = new U.UF.UI.form(
  4091. "学校管理",
  4092. $$("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 }), {
  4093. "id": "tcSchool",
  4094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4095. "onresize": function () { }
  4096. }, {
  4097. closecallback: function () { }
  4098. }, { "style": { "height": "36px" } }).form; //创建窗体
  4099. _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); } }
  4100. break;
  4101. case "tcTeacher": //腾讯学校管理
  4102. _formdiv = new U.UF.UI.form(
  4103. "教师管理",
  4104. $$("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 }), {
  4105. "id": "tcTeacher",
  4106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _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); } }
  4112. break;
  4113. case "tcData": //腾讯我的资料
  4114. _formdiv = new U.UF.UI.form(
  4115. "我的资料",
  4116. $$("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 }), {
  4117. "id": "tcData",
  4118. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _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); } }
  4124. break;
  4125. case "tcNotice": //腾讯消息通知
  4126. _formdiv = new U.UF.UI.form(
  4127. "消息通知",
  4128. $$("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 }), {
  4129. "id": "tcNotice",
  4130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4131. "onresize": function () { }
  4132. }, {
  4133. closecallback: function () { }
  4134. }, { "style": { "height": "36px" } }).form; //创建窗体
  4135. _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); } }
  4136. break;
  4137. case "myReport": //好友打开
  4138. _formdiv = new U.UF.UI.form(
  4139. "我的评价",
  4140. $$("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 }), {
  4141. "id": "myReport",
  4142. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4143. "onresize": function () { }
  4144. }, {
  4145. closecallback: function () { }
  4146. }, { "style": { "height": "36px" } }).form; //创建窗体
  4147. _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); } }
  4148. break;
  4149. case "learnAna": //好友打开
  4150. _formdiv = new U.UF.UI.form(
  4151. "学习分析",
  4152. $$("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 }), {
  4153. "id": "learnAna",
  4154. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4155. "onresize": function () { }
  4156. }, {
  4157. closecallback: function () { }
  4158. }, { "style": { "height": "36px" } }).form; //创建窗体
  4159. _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); } }
  4160. break;
  4161. case "AIChat": //AI共创
  4162. _formdiv = new U.UF.UI.form(
  4163. "AI共创",
  4164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4165. "id": "AIChat",
  4166. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4167. "onresize": function () { }
  4168. }, {
  4169. istop: true,
  4170. closecallback: function () { $("#aichat_icon").remove(); },
  4171. narrowcallback: function () {
  4172. if (!$("#aichat_icon")[0]) {
  4173. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4174. }
  4175. },
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "ainew": //AI共创
  4180. _formdiv = new U.UF.UI.form(
  4181. "AI协同",
  4182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4183. "id": "ainew",
  4184. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break;
  4191. case "futureClass": //AI共创
  4192. _formdiv = new U.UF.UI.form(
  4193. "协同建构",
  4194. $$("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
  4195. "id": "synergyCourse",
  4196. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _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); } }
  4202. break;
  4203. case "dataBoard": //数据看板
  4204. _formdiv = new U.UF.UI.form(
  4205. "数据看板",
  4206. $$("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 }), {
  4207. "id": "dataBoard",
  4208. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "AIAnalyse": //AI共创
  4216. _formdiv = new U.UF.UI.form(
  4217. "AI分析",
  4218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4219. "id": "AIAnalyse",
  4220. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "studioCourse": //AI共创
  4228. _formdiv = new U.UF.UI.form(
  4229. "工作管理",
  4230. $$("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 }), {
  4231. "id": "studioCourse",
  4232. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "studioIndex": //AI共创
  4240. _formdiv = new U.UF.UI.form(
  4241. "工作中心",
  4242. $$("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 }), {
  4243. "id": "studioIndex",
  4244. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "source":
  4252. _formdiv = new U.UF.UI.form(
  4253. "教学资源",
  4254. $$("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 }), {
  4255. "id": "source",
  4256. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. }
  4264. //U.MD.D.I.openClick(str);
  4265. //如果有任务栏信息
  4266. if (_taskbar) {
  4267. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4268. }
  4269. }
  4270. // U.MD.D.I.openClick = function(str){
  4271. // var click = '';
  4272. // switch(str){
  4273. // case 'friend':
  4274. // click = '我的好友';
  4275. // break;
  4276. // case 'domain':
  4277. // click = '域名管理';
  4278. // break;
  4279. // case 'disk':
  4280. // click = '我的云盘';
  4281. // break;
  4282. // case 'word':
  4283. // click = 'Word';
  4284. // break;
  4285. // case 'excel':
  4286. // click = 'Execl';
  4287. // break;
  4288. // case 'txt':
  4289. // click = '文本文件';
  4290. // break;
  4291. // case 'lookupFriend':
  4292. // click = '查找好友';
  4293. // break;
  4294. // case 'ftp':
  4295. // click = 'FTP';
  4296. // break;
  4297. // case 'group':
  4298. // click = '群组';
  4299. // break;
  4300. // case 'set':
  4301. // click = '我的设置';
  4302. // break;
  4303. // case 'systemSet':
  4304. // click = '系统设置';
  4305. // break;
  4306. // case 'boomYun':
  4307. // click = '互联办公';
  4308. // break;
  4309. // case 'xz':
  4310. // click = '云端下载';
  4311. // break;
  4312. // case 'client':
  4313. // click = '有思浏览器';
  4314. // break;
  4315. // case 'backEndProgramming':
  4316. // click = '在线后台编程';
  4317. // break;
  4318. // case 'frontEndProgramming':
  4319. // click = '在线前端编程';
  4320. // break;
  4321. // default: break;
  4322. // }
  4323. // if(U.MD.D.I.Ip && click){
  4324. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4325. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4326. // })
  4327. // }
  4328. // }
  4329. /**
  4330. *函数作用:ajax简易函数,使用post格式
  4331. *@param url {data} 后台地址
  4332. *@param data {data} 参数json
  4333. *@param fn {data} 回调函数
  4334. *
  4335. */
  4336. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4337. // var xhr = new XMLHttpRequest();
  4338. // xhr.open("GET",url,true);
  4339. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4340. // xhr.onreadystatechange = function(){
  4341. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4342. // fn.call(this,xhr.responseText);
  4343. // }
  4344. // };
  4345. // xhr.send();
  4346. // }
  4347. /*判断是否是内网IP*/
  4348. // U.MD.D.I.isInnerIPFn = function(str){
  4349. // var curPageUrl = str;
  4350. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4351. // curPageUrl =curPageUrl.replace(reg1,'');
  4352. // // console.log('curPageUrl-1 '+curPageUrl);
  4353. // var reg2 = /\:+/g;//替换冒号为一点
  4354. // curPageUrl =curPageUrl.replace(reg2,'.');
  4355. // // console.log('curPageUrl-2 '+curPageUrl);
  4356. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4357. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4358. // if(curPageUrl[2] != '16'){
  4359. // return ipAddress;
  4360. // }else{
  4361. // return false;
  4362. // }
  4363. // }
  4364. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4365. // //compatibility for firefox and chrome
  4366. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4367. // var pc = new myPeerConnection({
  4368. // iceServers: []
  4369. // }),
  4370. // noop = function() {},
  4371. // localIPs = {},
  4372. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4373. // key;
  4374. // function iterateIP(ip) {
  4375. // if (!localIPs[ip]) onNewIP(ip);
  4376. // localIPs[ip] = true;
  4377. // }
  4378. // //create a bogus data channel
  4379. // pc.createDataChannel("");
  4380. // // create offer and set local description
  4381. // pc.createOffer().then(function(sdp) {
  4382. // sdp.sdp.split('\n').forEach(function(line) {
  4383. // if (line.indexOf('candidate') < 0) return;
  4384. // line.match(ipRegex).forEach(iterateIP);
  4385. // });
  4386. // pc.setLocalDescription(sdp, noop, noop);
  4387. // }).catch(function(reason) {
  4388. // // An error occurred, so handle the failure to connect
  4389. // });
  4390. // //sten for candidate events
  4391. // pc.onicecandidate = function(ice) {
  4392. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4393. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4394. // };
  4395. // }
  4396. // U.MD.D.I.getUserIpBool = function(callback){
  4397. // U.MD.D.I.getUserIP(function(ip){
  4398. // alert("Got IP! :" + ip);
  4399. // });
  4400. //}
  4401. //#endregion
  4402. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4403. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4404. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4405. _userinfo = US.userInfo, //登录用户信息
  4406. _userid = US.userInfo.userid //登录用户id
  4407. let _iframe;
  4408. let _cid = cid,
  4409. _stage = stage,
  4410. _task = task,
  4411. _tool = tool;
  4412. var _jie = $$("div", {
  4413. "style": {
  4414. "position": "absolute",
  4415. "bottom": "50px",
  4416. "right": "50px",
  4417. "zIndex": "9999",
  4418. "backgroundColor": "#2268bc",
  4419. "color": "#fff",
  4420. "padding": "12px 20px",
  4421. "cursor": "pointer",
  4422. "borderRadius": "4px",
  4423. },
  4424. "innerHTML": "提交作业"
  4425. })
  4426. let aTool = ''
  4427. let _loading = document.createElement('div')
  4428. _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;"
  4429. // _loading.id = "";
  4430. let _lchild = document.createElement('div')
  4431. let _limg = document.createElement('img')
  4432. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4433. _limg.style = "width: 26px;margin-right: 10px;"
  4434. _lchild.appendChild(_limg)
  4435. let _lspan = document.createElement('span')
  4436. _lspan.innerHTML = "上传中..."
  4437. _lchild.appendChild(_lspan)
  4438. _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%);"
  4439. _loading.appendChild(_lchild)
  4440. var _box = $$('div', {
  4441. "style": {
  4442. "position": "relative",
  4443. "width": "100%",
  4444. "height": "100%",
  4445. },
  4446. })
  4447. _box.appendChild(_loading)
  4448. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4449. switch (str) {
  4450. case "whiteboard":
  4451. aTool = 1;
  4452. _iframe = $$("iframe", {
  4453. "frameborder": "no",
  4454. "border": "0",
  4455. "scrolling ": "no",
  4456. "style": {
  4457. "cssText": "border:0;width:100%;height:100%"
  4458. },
  4459. "src": "https://iwb.cocorobo.cn/"
  4460. })
  4461. _box.appendChild(_iframe);
  4462. _box.appendChild(_jie);
  4463. _formdiv = new U.UF.UI.form(
  4464. "电子白板",
  4465. _box, {
  4466. "id": "whiteboard" + cid + stage + task + tool,
  4467. "style": {
  4468. "width": "90%",
  4469. "height": "90%",
  4470. "overflow": 'hidden'
  4471. },
  4472. "onresize": function () { }
  4473. }, {
  4474. closecallback: function () { }
  4475. }, {
  4476. "style": {
  4477. "height": "36px"
  4478. }
  4479. }).form; //创建窗体
  4480. _taskbar = {
  4481. "id": str + _formdiv.id,
  4482. "style": {
  4483. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4484. },
  4485. "name": "电子白板",
  4486. "forms": _formdiv,
  4487. "click": function () {
  4488. U.MD.D.I.openApplication(str, obj, info);
  4489. }
  4490. }
  4491. break;
  4492. case "mind":
  4493. aTool = 3;
  4494. _iframe = $$("iframe", {
  4495. "frameborder": "no",
  4496. "border": "0",
  4497. "scrolling ": "no",
  4498. "style": {
  4499. "cssText": "border:0;width:100%;height:100%"
  4500. },
  4501. "src": "/kityminder-editor/dist/index.html"
  4502. })
  4503. _box.appendChild(_iframe);
  4504. _box.appendChild(_jie);
  4505. _formdiv = new U.UF.UI.form(
  4506. "思维导图",
  4507. _box, { //"/jsmind/example/demo.html"
  4508. "id": "mind" + cid + stage + task + tool,
  4509. "style": {
  4510. "width": "90%",
  4511. "height": "90%",
  4512. "overflow": 'hidden'
  4513. },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { }
  4517. }, {
  4518. "style": {
  4519. "height": "36px"
  4520. }
  4521. }).form; //创建窗体
  4522. _taskbar = {
  4523. "id": str + _formdiv.id,
  4524. "style": {
  4525. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4526. },
  4527. "name": "思维导图",
  4528. "forms": _formdiv,
  4529. "click": function () {
  4530. U.MD.D.I.openApplication(str, obj, info);
  4531. }
  4532. }
  4533. break;
  4534. case "MindMap":
  4535. aTool = 3;
  4536. _iframe = $$("iframe", {
  4537. "frameborder": "no",
  4538. "border": "0",
  4539. "scrolling ": "no",
  4540. "style": {
  4541. "cssText": "border:0;width:100%;height:100%"
  4542. },
  4543. "src": "//cloud.cocorobo.cn/mind/"
  4544. })
  4545. _box.appendChild(_iframe);
  4546. _box.appendChild(_jie);
  4547. _formdiv = new U.UF.UI.form(
  4548. "思维导图",
  4549. _box, { //"/jsmind/example/demo.html"
  4550. "id": "mind" + cid + stage + task + tool,
  4551. "style": {
  4552. "width": "90%",
  4553. "height": "90%",
  4554. "overflow": 'hidden'
  4555. },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, {
  4560. "style": {
  4561. "height": "36px"
  4562. }
  4563. }).form; //创建窗体
  4564. _taskbar = {
  4565. "id": str + _formdiv.id,
  4566. "style": {
  4567. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4568. },
  4569. "name": "思维导图",
  4570. "forms": _formdiv,
  4571. "click": function () {
  4572. U.MD.D.I.openApplication(str, obj, info);
  4573. }
  4574. }
  4575. break;
  4576. case "doc":
  4577. aTool = 6;
  4578. _iframe = $$("iframe", {
  4579. "frameborder": "no",
  4580. "border": "0",
  4581. "scrolling ": "no",
  4582. "style": {
  4583. "cssText": "border:0;width:100%;height:100%"
  4584. },
  4585. "src": "/Office/Word/WordEditArea.htm"
  4586. })
  4587. _box.appendChild(_iframe);
  4588. _box.appendChild(_jie);
  4589. _formdiv = new U.UF.UI.form(
  4590. "协同文档",
  4591. _box, {
  4592. "id": "doc" + cid + stage + task + tool,
  4593. "style": {
  4594. "width": "90%",
  4595. "height": "90%",
  4596. "overflow": 'hidden'
  4597. },
  4598. "onresize": function () { }
  4599. }, {
  4600. closecallback: function () { }
  4601. }, {
  4602. "style": {
  4603. "height": "36px"
  4604. }
  4605. }).form; //创建窗体
  4606. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4607. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4608. })
  4609. _taskbar = {
  4610. "id": str + _formdiv.id,
  4611. "style": {
  4612. "backgroundImage": "url(/img/icon/doc.png)"
  4613. },
  4614. "name": "协同文档",
  4615. "forms": _formdiv,
  4616. "click": function () {
  4617. U.MD.D.I.openApplication(str, obj, info);
  4618. }
  4619. }
  4620. break;
  4621. case "mindNetwork": //好友打开
  4622. aTool = 7;
  4623. _iframe = $$("iframe", {
  4624. "webkitallowfullscreen": "",
  4625. "mozallowfullscreen": "",
  4626. "allowfullscreen": "",
  4627. "frameborder": "no",
  4628. "border": "0",
  4629. "scrolling ": "no",
  4630. "style": {
  4631. "cssText": "border:0; width:100%; height:100%;"
  4632. },
  4633. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4634. })
  4635. _box.appendChild(_iframe);
  4636. _box.appendChild(_jie);
  4637. _formdiv = new U.UF.UI.form(
  4638. "思维网格",
  4639. _box, {
  4640. "id": "mindNetwork" + cid + stage + task + tool,
  4641. "style": {
  4642. "width": "90%",
  4643. "height": "90%",
  4644. "overflow": 'hidden'
  4645. },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, {
  4650. "style": {
  4651. "height": "36px"
  4652. }
  4653. }).form; //创建窗体
  4654. _taskbar = {
  4655. "id": str + _formdiv.id,
  4656. "style": {
  4657. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4658. },
  4659. "name": "思维网格",
  4660. "forms": _formdiv,
  4661. "click": function () {
  4662. U.MD.D.I.openApplication(str, obj, info);
  4663. }
  4664. }
  4665. break;
  4666. case "courseDesign":
  4667. _iframe = $$("iframe", {
  4668. "webkitallowfullscreen": "",
  4669. "mozallowfullscreen": "",
  4670. "allowfullscreen": "",
  4671. "frameborder": "no",
  4672. "border": "0",
  4673. "scrolling ": "no",
  4674. "style": {
  4675. "cssText": "border:0; width:100%; height:100%;"
  4676. },
  4677. "src": "/course-design-vue"
  4678. })
  4679. _box.appendChild(_iframe);
  4680. _box.appendChild(_jie);
  4681. _formdiv = new U.UF.UI.form(
  4682. "项目设计",
  4683. _box, {
  4684. "id": "courseDesign" + cid + stage + task + tool,
  4685. "style": {
  4686. "width": "90%",
  4687. "height": "90%",
  4688. "overflow": 'hidden'
  4689. },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, {
  4694. "style": {
  4695. "height": "36px"
  4696. }
  4697. }).form; //创建窗体
  4698. _taskbar = {
  4699. "id": str + _formdiv.id,
  4700. "style": {
  4701. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4702. },
  4703. "name": "项目设计",
  4704. "forms": _formdiv,
  4705. "click": function () {
  4706. U.MD.D.I.openApplication(str, obj, info);
  4707. }
  4708. }
  4709. break;
  4710. }
  4711. const script1 = document.createElement("script");
  4712. script1.type = "text/javascript";
  4713. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4714. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4715. const script2 = document.createElement("script");
  4716. script2.type = "text/javascript";
  4717. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4718. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4719. const script3 = document.createElement("script");
  4720. script3.type = "text/javascript";
  4721. script3.charset = "UTF-8";
  4722. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4723. const script4 = document.createElement("script");
  4724. script4.type = "text/javascript";
  4725. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4726. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4727. if (_iframe) {
  4728. if (str == 'doc') {
  4729. _iframe = _formdiv.querySelector('iframe')
  4730. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4731. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4732. _iframe.contentWindow.document.body.appendChild(script1);
  4733. _iframe.contentWindow.document.body.appendChild(script2);
  4734. // _iframe.contentWindow.document.body.appendChild(script3);
  4735. _iframe.contentWindow.document.body.appendChild(script4);
  4736. })
  4737. if (onloadListener) {
  4738. _iframe.contentDocument.location.reload()
  4739. } else {
  4740. _iframe.contentDocument.location.reload()
  4741. }
  4742. } else if (str == 'courseDesign') {
  4743. U.UF.DL.iframeLoad(_iframe, function () {
  4744. // _iframe.contentWindow.U.MD.O.W.load();
  4745. // _iframe.contentWindow.document.body.appendChild(script1);
  4746. _iframe.contentWindow.document.body.appendChild(script2);
  4747. _iframe.contentWindow.document.body.appendChild(script4);
  4748. })
  4749. } else if (str == 'mind') {
  4750. _iframe = _formdiv.querySelector('iframe')
  4751. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4752. //
  4753. _iframe.contentWindow.document.body.appendChild(script1);
  4754. _iframe.contentWindow.document.body.appendChild(script2);
  4755. _iframe.contentWindow.document.body.appendChild(script4);
  4756. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4757. })
  4758. if (onloadListener) {
  4759. _iframe.contentDocument.location.reload()
  4760. } else {
  4761. _iframe.contentDocument.location.reload()
  4762. }
  4763. } else if (str == 'whiteboard') {
  4764. _iframe = _formdiv.querySelector('iframe')
  4765. let onloadListener = _iframe.onload = () => {
  4766. _iframe.contentWindow.document.body.appendChild(script1);
  4767. _iframe.contentWindow.document.body.appendChild(script2);
  4768. _iframe.contentWindow.document.body.appendChild(script4);
  4769. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4770. };
  4771. if (onloadListener) {
  4772. _iframe.contentDocument.location.reload()
  4773. } else {
  4774. _iframe.contentDocument.location.reload()
  4775. }
  4776. } else {
  4777. _iframe.onload = () => {
  4778. _iframe.contentWindow.document.body.appendChild(script1);
  4779. _iframe.contentWindow.document.body.appendChild(script2);
  4780. // _iframe.contentWindow.document.body.appendChild(script3);
  4781. _iframe.contentWindow.document.body.appendChild(script4);
  4782. };
  4783. }
  4784. _jie.onclick = async () => {
  4785. let text = ''
  4786. if (aTool == 1) {
  4787. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4788. } else if (aTool == 6) {
  4789. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4790. } else if (aTool == 3) {
  4791. text = await U.MD.D.I.getEditorContent(_iframe);
  4792. }
  4793. _loading.style.display = 'flex'
  4794. console.log(_loading);
  4795. var _ajs = _iframe.contentWindow.document.createElement("script");
  4796. _ajs.type = "text/javascript";
  4797. _ajs.innerHTML =
  4798. // 'console.log(' + _loading + ');\n' +
  4799. 'var _js = document.createElement("script");\n' +
  4800. '_js.type="text/javascript";\n' +
  4801. '_js.charset="UTF-8";\n' +
  4802. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4803. "_js.onload = function(){\n" +
  4804. ' var a = document.getElementsByTagName("img")\n' +
  4805. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4806. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4807. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4808. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4809. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4810. "beforeUpload_shishi(file," +
  4811. "'" +
  4812. _userid +
  4813. "'" +
  4814. ", " +
  4815. "'" +
  4816. _cid +
  4817. "'" +
  4818. ", " +
  4819. "'" +
  4820. _stage +
  4821. "'" +
  4822. ", " +
  4823. "'" +
  4824. _task +
  4825. "'" +
  4826. ", " +
  4827. "'" +
  4828. _tool +
  4829. "'" +
  4830. ", " +
  4831. "'" +
  4832. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4833. "'" +
  4834. ", " +
  4835. "'" +
  4836. aTool +
  4837. "'" +
  4838. ", " +
  4839. "`" +
  4840. text +
  4841. "`" +
  4842. ")\n" +
  4843. " });\n" +
  4844. "}\n" +
  4845. "document.head.appendChild(_js);\n";
  4846. _iframe.contentWindow.document.head.appendChild(_ajs);
  4847. }
  4848. }
  4849. //U.MD.D.I.openClick(str);
  4850. //如果有任务栏信息
  4851. // if (_taskbar) {
  4852. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4853. // }
  4854. }
  4855. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4856. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4857. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4858. _userinfo = US.userInfo, //登录用户信息
  4859. _userid = US.userInfo.userid //登录用户id
  4860. let _iframe;
  4861. let _cid = cid,
  4862. _stage = stage,
  4863. _task = task,
  4864. _tool = tool;
  4865. var _jie = $$("div", {
  4866. "style": {
  4867. "position": "absolute",
  4868. "bottom": "50px",
  4869. "right": "50px",
  4870. "zIndex": "9999",
  4871. "backgroundColor": "#2268bc",
  4872. "color": "#fff",
  4873. "padding": "12px 20px",
  4874. "cursor": "pointer",
  4875. "borderRadius": "4px",
  4876. },
  4877. "innerHTML": "提交作业"
  4878. })
  4879. let aTool = ''
  4880. let _loading = document.createElement('div')
  4881. _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;"
  4882. // _loading.id = "";
  4883. let _lchild = document.createElement('div')
  4884. let _limg = document.createElement('img')
  4885. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4886. _limg.style = "width: 26px;margin-right: 10px;"
  4887. _lchild.appendChild(_limg)
  4888. let _lspan = document.createElement('span')
  4889. _lspan.innerHTML = "上传中..."
  4890. _lchild.appendChild(_lspan)
  4891. _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%);"
  4892. _loading.appendChild(_lchild)
  4893. var _box = $$('div', {
  4894. "style": {
  4895. "position": "relative",
  4896. "width": "100%",
  4897. "height": "100%",
  4898. },
  4899. })
  4900. _box.appendChild(_loading)
  4901. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4902. switch (str) {
  4903. case "whiteboard":
  4904. aTool = 1;
  4905. _iframe = $$("iframe", {
  4906. "frameborder": "no",
  4907. "border": "0",
  4908. "scrolling ": "no",
  4909. "style": {
  4910. "cssText": "border:0;width:100%;height:100%"
  4911. },
  4912. "src": "https://iwb.cocorobo.cn/"
  4913. })
  4914. _box.appendChild(_iframe);
  4915. _box.appendChild(_jie);
  4916. _formdiv = new U.UF.UI.form(
  4917. "电子白板",
  4918. _box, {
  4919. "id": "whiteboard" + cid + stage + task + tool,
  4920. "style": {
  4921. "width": "90%",
  4922. "height": "90%",
  4923. "overflow": 'hidden'
  4924. },
  4925. "onresize": function () { }
  4926. }, {
  4927. closecallback: function () { }
  4928. }, {
  4929. "style": {
  4930. "height": "36px"
  4931. }
  4932. }).form; //创建窗体
  4933. _taskbar = {
  4934. "id": str + _formdiv.id,
  4935. "style": {
  4936. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4937. },
  4938. "name": "电子白板",
  4939. "forms": _formdiv,
  4940. "click": function () {
  4941. U.MD.D.I.openApplication(str, obj, info);
  4942. }
  4943. }
  4944. break;
  4945. case "mind":
  4946. aTool = 3;
  4947. _iframe = $$("iframe", {
  4948. "frameborder": "no",
  4949. "border": "0",
  4950. "scrolling ": "no",
  4951. "style": {
  4952. "cssText": "border:0;width:100%;height:100%"
  4953. },
  4954. "src": "/kityminder-editor/dist/index.html"
  4955. })
  4956. _box.appendChild(_iframe);
  4957. _box.appendChild(_jie);
  4958. _formdiv = new U.UF.UI.form(
  4959. "思维导图",
  4960. _box, { //"/jsmind/example/demo.html"
  4961. "id": "mind" + cid + stage + task + tool,
  4962. "style": {
  4963. "width": "90%",
  4964. "height": "90%",
  4965. "overflow": 'hidden'
  4966. },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, {
  4971. "style": {
  4972. "height": "36px"
  4973. }
  4974. }).form; //创建窗体
  4975. _taskbar = {
  4976. "id": str + _formdiv.id,
  4977. "style": {
  4978. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4979. },
  4980. "name": "思维导图",
  4981. "forms": _formdiv,
  4982. "click": function () {
  4983. U.MD.D.I.openApplication(str, obj, info);
  4984. }
  4985. }
  4986. break;
  4987. case "MindMap":
  4988. aTool = 3;
  4989. _iframe = $$("iframe", {
  4990. "frameborder": "no",
  4991. "border": "0",
  4992. "scrolling ": "no",
  4993. "style": {
  4994. "cssText": "border:0;width:100%;height:100%"
  4995. },
  4996. "src": "//cloud.cocorobo.cn/mind/"
  4997. })
  4998. _box.appendChild(_iframe);
  4999. _box.appendChild(_jie);
  5000. _formdiv = new U.UF.UI.form(
  5001. "思维导图",
  5002. _box, { //"/jsmind/example/demo.html"
  5003. "id": "mind" + cid + stage + task + tool,
  5004. "style": {
  5005. "width": "90%",
  5006. "height": "90%",
  5007. "overflow": 'hidden'
  5008. },
  5009. "onresize": function () { }
  5010. }, {
  5011. closecallback: function () { }
  5012. }, {
  5013. "style": {
  5014. "height": "36px"
  5015. }
  5016. }).form; //创建窗体
  5017. _taskbar = {
  5018. "id": str + _formdiv.id,
  5019. "style": {
  5020. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5021. },
  5022. "name": "思维导图",
  5023. "forms": _formdiv,
  5024. "click": function () {
  5025. U.MD.D.I.openApplication(str, obj, info);
  5026. }
  5027. }
  5028. break;
  5029. case "doc":
  5030. aTool = 6;
  5031. _iframe = $$("iframe", {
  5032. "frameborder": "no",
  5033. "border": "0",
  5034. "scrolling ": "no",
  5035. "style": {
  5036. "cssText": "border:0;width:100%;height:100%"
  5037. },
  5038. "src": "/Office/Word/WordEditArea.htm"
  5039. })
  5040. _box.appendChild(_iframe);
  5041. _box.appendChild(_jie);
  5042. _formdiv = new U.UF.UI.form(
  5043. "协同文档",
  5044. _box, {
  5045. "id": "doc" + cid + stage + task + tool,
  5046. "style": {
  5047. "width": "90%",
  5048. "height": "90%",
  5049. "overflow": 'hidden'
  5050. },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, {
  5055. "style": {
  5056. "height": "36px"
  5057. }
  5058. }).form; //创建窗体
  5059. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5060. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5061. })
  5062. _taskbar = {
  5063. "id": str + _formdiv.id,
  5064. "style": {
  5065. "backgroundImage": "url(/img/icon/doc.png)"
  5066. },
  5067. "name": "协同文档",
  5068. "forms": _formdiv,
  5069. "click": function () {
  5070. U.MD.D.I.openApplication(str, obj, info);
  5071. }
  5072. }
  5073. break;
  5074. case "mindNetwork": //好友打开
  5075. aTool = 7;
  5076. _iframe = $$("iframe", {
  5077. "webkitallowfullscreen": "",
  5078. "mozallowfullscreen": "",
  5079. "allowfullscreen": "",
  5080. "frameborder": "no",
  5081. "border": "0",
  5082. "scrolling ": "no",
  5083. "style": {
  5084. "cssText": "border:0; width:100%; height:100%;"
  5085. },
  5086. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5087. })
  5088. _box.appendChild(_iframe);
  5089. _box.appendChild(_jie);
  5090. _formdiv = new U.UF.UI.form(
  5091. "思维网格",
  5092. _box, {
  5093. "id": "mindNetwork" + cid + stage + task + tool,
  5094. "style": {
  5095. "width": "90%",
  5096. "height": "90%",
  5097. "overflow": 'hidden'
  5098. },
  5099. "onresize": function () { }
  5100. }, {
  5101. closecallback: function () { }
  5102. }, {
  5103. "style": {
  5104. "height": "36px"
  5105. }
  5106. }).form; //创建窗体
  5107. _taskbar = {
  5108. "id": str + _formdiv.id,
  5109. "style": {
  5110. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5111. },
  5112. "name": "思维网格",
  5113. "forms": _formdiv,
  5114. "click": function () {
  5115. U.MD.D.I.openApplication(str, obj, info);
  5116. }
  5117. }
  5118. break;
  5119. case "courseDesign":
  5120. _iframe = $$("iframe", {
  5121. "webkitallowfullscreen": "",
  5122. "mozallowfullscreen": "",
  5123. "allowfullscreen": "",
  5124. "frameborder": "no",
  5125. "border": "0",
  5126. "scrolling ": "no",
  5127. "style": {
  5128. "cssText": "border:0; width:100%; height:100%;"
  5129. },
  5130. "src": "/course-design-vue"
  5131. })
  5132. _box.appendChild(_iframe);
  5133. _box.appendChild(_jie);
  5134. _formdiv = new U.UF.UI.form(
  5135. "项目设计",
  5136. _box, {
  5137. "id": "courseDesign" + cid + stage + task + tool,
  5138. "style": {
  5139. "width": "90%",
  5140. "height": "90%",
  5141. "overflow": 'hidden'
  5142. },
  5143. "onresize": function () { }
  5144. }, {
  5145. closecallback: function () { }
  5146. }, {
  5147. "style": {
  5148. "height": "36px"
  5149. }
  5150. }).form; //创建窗体
  5151. _taskbar = {
  5152. "id": str + _formdiv.id,
  5153. "style": {
  5154. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5155. },
  5156. "name": "项目设计",
  5157. "forms": _formdiv,
  5158. "click": function () {
  5159. U.MD.D.I.openApplication(str, obj, info);
  5160. }
  5161. }
  5162. break;
  5163. }
  5164. const script1 = document.createElement("script");
  5165. script1.type = "text/javascript";
  5166. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5167. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5168. const script2 = document.createElement("script");
  5169. script2.type = "text/javascript";
  5170. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5171. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5172. const script3 = document.createElement("script");
  5173. script3.type = "text/javascript";
  5174. script3.charset = "UTF-8";
  5175. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5176. const script4 = document.createElement("script");
  5177. script4.type = "text/javascript";
  5178. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5179. script4.src = window.origin + "/js/Common/jietu2E.js";
  5180. if (_iframe) {
  5181. if (str == 'doc') {
  5182. _iframe = _formdiv.querySelector('iframe')
  5183. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5184. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5185. _iframe.contentWindow.document.body.appendChild(script1);
  5186. _iframe.contentWindow.document.body.appendChild(script2);
  5187. // _iframe.contentWindow.document.body.appendChild(script3);
  5188. _iframe.contentWindow.document.body.appendChild(script4);
  5189. })
  5190. if (onloadListener) {
  5191. _iframe.contentDocument.location.reload()
  5192. } else {
  5193. _iframe.contentDocument.location.reload()
  5194. }
  5195. } else if (str == 'courseDesign') {
  5196. U.UF.DL.iframeLoad(_iframe, function () {
  5197. // _iframe.contentWindow.U.MD.O.W.load();
  5198. // _iframe.contentWindow.document.body.appendChild(script1);
  5199. _iframe.contentWindow.document.body.appendChild(script2);
  5200. _iframe.contentWindow.document.body.appendChild(script4);
  5201. })
  5202. } else if (str == 'mind') {
  5203. _iframe = _formdiv.querySelector('iframe')
  5204. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5205. //
  5206. _iframe.contentWindow.document.body.appendChild(script1);
  5207. _iframe.contentWindow.document.body.appendChild(script2);
  5208. _iframe.contentWindow.document.body.appendChild(script4);
  5209. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5210. })
  5211. if (onloadListener) {
  5212. _iframe.contentDocument.location.reload()
  5213. } else {
  5214. _iframe.contentDocument.location.reload()
  5215. }
  5216. } else if (str == 'whiteboard') {
  5217. _iframe = _formdiv.querySelector('iframe')
  5218. let onloadListener = _iframe.onload = () => {
  5219. _iframe.contentWindow.document.body.appendChild(script1);
  5220. _iframe.contentWindow.document.body.appendChild(script2);
  5221. _iframe.contentWindow.document.body.appendChild(script4);
  5222. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5223. };
  5224. if (onloadListener) {
  5225. _iframe.contentDocument.location.reload()
  5226. } else {
  5227. _iframe.contentDocument.location.reload()
  5228. }
  5229. } else {
  5230. _iframe.onload = () => {
  5231. _iframe.contentWindow.document.body.appendChild(script1);
  5232. _iframe.contentWindow.document.body.appendChild(script2);
  5233. // _iframe.contentWindow.document.body.appendChild(script3);
  5234. _iframe.contentWindow.document.body.appendChild(script4);
  5235. };
  5236. }
  5237. _jie.onclick = async () => {
  5238. let text = ''
  5239. if (aTool == 1) {
  5240. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5241. } else if (aTool == 6) {
  5242. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5243. } else if (aTool == 3) {
  5244. text = await U.MD.D.I.getEditorContent(_iframe);
  5245. }
  5246. _loading.style.display = 'flex'
  5247. console.log(_loading);
  5248. var _ajs = _iframe.contentWindow.document.createElement("script");
  5249. _ajs.type = "text/javascript";
  5250. _ajs.innerHTML =
  5251. // 'console.log(' + _loading + ');\n' +
  5252. 'var _js = document.createElement("script");\n' +
  5253. '_js.type="text/javascript";\n' +
  5254. '_js.charset="UTF-8";\n' +
  5255. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5256. "_js.onload = function(){\n" +
  5257. ' var a = document.getElementsByTagName("img")\n' +
  5258. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5259. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5260. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5261. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5262. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5263. "beforeUpload_shishi(file," +
  5264. "'" +
  5265. _userid +
  5266. "'" +
  5267. ", " +
  5268. "'" +
  5269. _cid +
  5270. "'" +
  5271. ", " +
  5272. "'" +
  5273. _stage +
  5274. "'" +
  5275. ", " +
  5276. "'" +
  5277. _task +
  5278. "'" +
  5279. ", " +
  5280. "'" +
  5281. _tool +
  5282. "'" +
  5283. ", " +
  5284. "'" +
  5285. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5286. "'" +
  5287. ", " +
  5288. "'" +
  5289. aTool +
  5290. "'" +
  5291. ", " +
  5292. "`" +
  5293. text +
  5294. "`" +
  5295. ")\n" +
  5296. " });\n" +
  5297. "}\n" +
  5298. "document.head.appendChild(_js);\n";
  5299. _iframe.contentWindow.document.head.appendChild(_ajs);
  5300. }
  5301. }
  5302. //U.MD.D.I.openClick(str);
  5303. //如果有任务栏信息
  5304. // if (_taskbar) {
  5305. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5306. // }
  5307. }
  5308. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5309. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5310. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5311. _userid = student.userid, //登录用户id
  5312. _username = student.student //用户名字
  5313. let _iframe;
  5314. let _cid = cid,
  5315. _stage = stage,
  5316. _task = task,
  5317. _tool = tool;
  5318. var _jie = $$("div", {
  5319. "style": {
  5320. "position": "absolute",
  5321. "bottom": "50px",
  5322. "right": "50px",
  5323. "zIndex": "9999",
  5324. "backgroundColor": "#2268bc",
  5325. "color": "#fff",
  5326. "padding": "12px 20px",
  5327. "cursor": "pointer",
  5328. "borderRadius": "4px",
  5329. },
  5330. "innerHTML": "提交作业"
  5331. })
  5332. let aTool = ''
  5333. let _loading = document.createElement('div')
  5334. _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;"
  5335. // _loading.id = "";
  5336. let _lchild = document.createElement('div')
  5337. let _limg = document.createElement('img')
  5338. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5339. _limg.style = "width: 26px;margin-right: 10px;"
  5340. _lchild.appendChild(_limg)
  5341. let _lspan = document.createElement('span')
  5342. _lspan.innerHTML = "上传中..."
  5343. _lchild.appendChild(_lspan)
  5344. _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%);"
  5345. _loading.appendChild(_lchild)
  5346. var _box = $$('div', {
  5347. "style": {
  5348. "position": "relative",
  5349. "width": "100%",
  5350. "height": "100%",
  5351. },
  5352. })
  5353. _box.appendChild(_loading)
  5354. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5355. switch (str) {
  5356. case "whiteboard":
  5357. aTool = 1;
  5358. _iframe = $$("iframe", {
  5359. "frameborder": "no",
  5360. "border": "0",
  5361. "scrolling ": "no",
  5362. "style": {
  5363. "cssText": "border:0;width:100%;height:100%"
  5364. },
  5365. "src": "https://iwb.cocorobo.cn/"
  5366. })
  5367. _box.appendChild(_iframe);
  5368. _box.appendChild(_jie);
  5369. _formdiv = new U.UF.UI.form(
  5370. "电子白板-" + _username,
  5371. _box, {
  5372. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5373. "style": {
  5374. "width": "90%",
  5375. "height": "90%",
  5376. "overflow": 'hidden'
  5377. },
  5378. "onresize": function () { }
  5379. }, {
  5380. closecallback: function () { }
  5381. }, {
  5382. "style": {
  5383. "height": "36px"
  5384. }
  5385. }).form; //创建窗体
  5386. _taskbar = {
  5387. "id": str + _formdiv.id,
  5388. "style": {
  5389. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5390. },
  5391. "name": "电子白板",
  5392. "forms": _formdiv,
  5393. "click": function () {
  5394. U.MD.D.I.openApplication(str, obj, info);
  5395. }
  5396. }
  5397. break;
  5398. case "mind":
  5399. aTool = 3;
  5400. _iframe = $$("iframe", {
  5401. "frameborder": "no",
  5402. "border": "0",
  5403. "scrolling ": "no",
  5404. "style": {
  5405. "cssText": "border:0;width:100%;height:100%"
  5406. },
  5407. "src": "/kityminder-editor/dist/index.html"
  5408. })
  5409. _box.appendChild(_iframe);
  5410. _box.appendChild(_jie);
  5411. _formdiv = new U.UF.UI.form(
  5412. "思维导图-" + _username,
  5413. _box, { //"/jsmind/example/demo.html"
  5414. "id": "mind" + cid + stage + task + tool + _userid,
  5415. "style": {
  5416. "width": "90%",
  5417. "height": "90%",
  5418. "overflow": 'hidden'
  5419. },
  5420. "onresize": function () { }
  5421. }, {
  5422. closecallback: function () { }
  5423. }, {
  5424. "style": {
  5425. "height": "36px"
  5426. }
  5427. }).form; //创建窗体
  5428. _taskbar = {
  5429. "id": str + _formdiv.id,
  5430. "style": {
  5431. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5432. },
  5433. "name": "思维导图",
  5434. "forms": _formdiv,
  5435. "click": function () {
  5436. U.MD.D.I.openApplication(str, obj, info);
  5437. }
  5438. }
  5439. break;
  5440. case "MindMap":
  5441. aTool = 3;
  5442. _iframe = $$("iframe", {
  5443. "frameborder": "no",
  5444. "border": "0",
  5445. "scrolling ": "no",
  5446. "style": {
  5447. "cssText": "border:0;width:100%;height:100%"
  5448. },
  5449. "src": "//cloud.cocorobo.cn/mind/"
  5450. })
  5451. _box.appendChild(_iframe);
  5452. _box.appendChild(_jie);
  5453. _formdiv = new U.UF.UI.form(
  5454. "思维导图-" + _username,
  5455. _box, { //"/jsmind/example/demo.html"
  5456. "id": "mind" + cid + stage + task + tool + _userid,
  5457. "style": {
  5458. "width": "90%",
  5459. "height": "90%",
  5460. "overflow": 'hidden'
  5461. },
  5462. "onresize": function () { }
  5463. }, {
  5464. closecallback: function () { }
  5465. }, {
  5466. "style": {
  5467. "height": "36px"
  5468. }
  5469. }).form; //创建窗体
  5470. _taskbar = {
  5471. "id": str + _formdiv.id,
  5472. "style": {
  5473. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5474. },
  5475. "name": "思维导图",
  5476. "forms": _formdiv,
  5477. "click": function () {
  5478. U.MD.D.I.openApplication(str, obj, info);
  5479. }
  5480. }
  5481. break;
  5482. case "doc":
  5483. aTool = 6;
  5484. _iframe = $$("iframe", {
  5485. "frameborder": "no",
  5486. "border": "0",
  5487. "scrolling ": "no",
  5488. "style": {
  5489. "cssText": "border:0;width:100%;height:100%"
  5490. },
  5491. "src": "/Office/Word/WordEditArea.htm"
  5492. })
  5493. _box.appendChild(_iframe);
  5494. _box.appendChild(_jie);
  5495. _formdiv = new U.UF.UI.form(
  5496. "协同文档-" + _username,
  5497. _box, {
  5498. "id": "doc" + cid + stage + task + tool + _userid,
  5499. "style": {
  5500. "width": "90%",
  5501. "height": "90%",
  5502. "overflow": 'hidden'
  5503. },
  5504. "onresize": function () { }
  5505. }, {
  5506. closecallback: function () { }
  5507. }, {
  5508. "style": {
  5509. "height": "36px"
  5510. }
  5511. }).form; //创建窗体
  5512. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5513. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5514. })
  5515. _taskbar = {
  5516. "id": str + _formdiv.id,
  5517. "style": {
  5518. "backgroundImage": "url(/img/icon/doc.png)"
  5519. },
  5520. "name": "协同文档",
  5521. "forms": _formdiv,
  5522. "click": function () {
  5523. U.MD.D.I.openApplication(str, obj, info);
  5524. }
  5525. }
  5526. break;
  5527. case "mindNetwork": //好友打开
  5528. aTool = 7;
  5529. _iframe = $$("iframe", {
  5530. "webkitallowfullscreen": "",
  5531. "mozallowfullscreen": "",
  5532. "allowfullscreen": "",
  5533. "frameborder": "no",
  5534. "border": "0",
  5535. "scrolling ": "no",
  5536. "style": {
  5537. "cssText": "border:0; width:100%; height:100%;"
  5538. },
  5539. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5540. })
  5541. _box.appendChild(_iframe);
  5542. _box.appendChild(_jie);
  5543. _formdiv = new U.UF.UI.form(
  5544. "思维网格-" + _username,
  5545. _box, {
  5546. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5547. "style": {
  5548. "width": "90%",
  5549. "height": "90%",
  5550. "overflow": 'hidden'
  5551. },
  5552. "onresize": function () { }
  5553. }, {
  5554. closecallback: function () { }
  5555. }, {
  5556. "style": {
  5557. "height": "36px"
  5558. }
  5559. }).form; //创建窗体
  5560. _taskbar = {
  5561. "id": str + _formdiv.id,
  5562. "style": {
  5563. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5564. },
  5565. "name": "思维网格",
  5566. "forms": _formdiv,
  5567. "click": function () {
  5568. U.MD.D.I.openApplication(str, obj, info);
  5569. }
  5570. }
  5571. break;
  5572. case "courseDesign":
  5573. _iframe = $$("iframe", {
  5574. "webkitallowfullscreen": "",
  5575. "mozallowfullscreen": "",
  5576. "allowfullscreen": "",
  5577. "frameborder": "no",
  5578. "border": "0",
  5579. "scrolling ": "no",
  5580. "style": {
  5581. "cssText": "border:0; width:100%; height:100%;"
  5582. },
  5583. "src": "/course-design-vue"
  5584. })
  5585. _box.appendChild(_iframe);
  5586. _box.appendChild(_jie);
  5587. _formdiv = new U.UF.UI.form(
  5588. "项目设计-" + _username,
  5589. _box, {
  5590. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5591. "style": {
  5592. "width": "90%",
  5593. "height": "90%",
  5594. "overflow": 'hidden'
  5595. },
  5596. "onresize": function () { }
  5597. }, {
  5598. closecallback: function () { }
  5599. }, {
  5600. "style": {
  5601. "height": "36px"
  5602. }
  5603. }).form; //创建窗体
  5604. _taskbar = {
  5605. "id": str + _formdiv.id,
  5606. "style": {
  5607. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5608. },
  5609. "name": "项目设计",
  5610. "forms": _formdiv,
  5611. "click": function () {
  5612. U.MD.D.I.openApplication(str, obj, info);
  5613. }
  5614. }
  5615. break;
  5616. }
  5617. const script1 = document.createElement("script");
  5618. script1.type = "text/javascript";
  5619. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5620. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5621. const script2 = document.createElement("script");
  5622. script2.type = "text/javascript";
  5623. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5624. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5625. const script3 = document.createElement("script");
  5626. script3.type = "text/javascript";
  5627. script3.charset = "UTF-8";
  5628. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5629. const script4 = document.createElement("script");
  5630. script4.type = "text/javascript";
  5631. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5632. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5633. if (_iframe) {
  5634. if (str == 'doc') {
  5635. _iframe = _formdiv.querySelector('iframe')
  5636. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5637. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5638. _iframe.contentWindow.document.body.appendChild(script1);
  5639. _iframe.contentWindow.document.body.appendChild(script2);
  5640. // _iframe.contentWindow.document.body.appendChild(script3);
  5641. _iframe.contentWindow.document.body.appendChild(script4);
  5642. })
  5643. if (onloadListener) {
  5644. _iframe.contentDocument.location.reload()
  5645. } else {
  5646. _iframe.contentDocument.location.reload()
  5647. }
  5648. } else if (str == 'courseDesign') {
  5649. U.UF.DL.iframeLoad(_iframe, function () {
  5650. // _iframe.contentWindow.U.MD.O.W.load();
  5651. // _iframe.contentWindow.document.body.appendChild(script1);
  5652. _iframe.contentWindow.document.body.appendChild(script2);
  5653. _iframe.contentWindow.document.body.appendChild(script4);
  5654. })
  5655. } else if (str == 'mind') {
  5656. _iframe = _formdiv.querySelector('iframe')
  5657. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5658. //
  5659. _iframe.contentWindow.document.body.appendChild(script1);
  5660. _iframe.contentWindow.document.body.appendChild(script2);
  5661. _iframe.contentWindow.document.body.appendChild(script4);
  5662. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5663. })
  5664. if (onloadListener) {
  5665. _iframe.contentDocument.location.reload()
  5666. } else {
  5667. _iframe.contentDocument.location.reload()
  5668. }
  5669. } else if (str == 'whiteboard') {
  5670. _iframe = _formdiv.querySelector('iframe')
  5671. let onloadListener = _iframe.onload = () => {
  5672. _iframe.contentWindow.document.body.appendChild(script1);
  5673. _iframe.contentWindow.document.body.appendChild(script2);
  5674. _iframe.contentWindow.document.body.appendChild(script4);
  5675. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5676. };
  5677. if (onloadListener) {
  5678. _iframe.contentDocument.location.reload()
  5679. } else {
  5680. _iframe.contentDocument.location.reload()
  5681. }
  5682. } else {
  5683. _iframe.onload = () => {
  5684. _iframe.contentWindow.document.body.appendChild(script1);
  5685. _iframe.contentWindow.document.body.appendChild(script2);
  5686. // _iframe.contentWindow.document.body.appendChild(script3);
  5687. _iframe.contentWindow.document.body.appendChild(script4);
  5688. };
  5689. }
  5690. _jie.onclick = async () => {
  5691. let text = ''
  5692. if (aTool == 1) {
  5693. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5694. } else if (aTool == 6) {
  5695. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5696. } else if (aTool == 3) {
  5697. text = await U.MD.D.I.getEditorContent(_iframe);
  5698. }
  5699. _loading.style.display = 'flex'
  5700. console.log(_loading);
  5701. var _ajs = _iframe.contentWindow.document.createElement("script");
  5702. _ajs.type = "text/javascript";
  5703. _ajs.innerHTML =
  5704. // 'console.log(' + _loading + ');\n' +
  5705. 'var _js = document.createElement("script");\n' +
  5706. '_js.type="text/javascript";\n' +
  5707. '_js.charset="UTF-8";\n' +
  5708. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5709. "_js.onload = function(){\n" +
  5710. ' var a = document.getElementsByTagName("img")\n' +
  5711. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5712. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5713. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5714. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5715. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5716. "beforeUpload_shishi(file," +
  5717. "'" +
  5718. _userid +
  5719. "'" +
  5720. ", " +
  5721. "'" +
  5722. _cid +
  5723. "'" +
  5724. ", " +
  5725. "'" +
  5726. _stage +
  5727. "'" +
  5728. ", " +
  5729. "'" +
  5730. _task +
  5731. "'" +
  5732. ", " +
  5733. "'" +
  5734. _tool +
  5735. "'" +
  5736. ", " +
  5737. "'" +
  5738. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5739. "'" +
  5740. ", " +
  5741. "'" +
  5742. aTool +
  5743. "'" +
  5744. ", " +
  5745. "`" +
  5746. text +
  5747. "`" +
  5748. ")\n" +
  5749. " });\n" +
  5750. "}\n" +
  5751. "document.head.appendChild(_js);\n";
  5752. _iframe.contentWindow.document.head.appendChild(_ajs);
  5753. }
  5754. }
  5755. }
  5756. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5757. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5758. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5759. _userid = student.userid, //登录用户id
  5760. _username = student.student //用户名字
  5761. let _iframe;
  5762. let _cid = cid,
  5763. _stage = stage,
  5764. _task = task,
  5765. _tool = tool;
  5766. var _jie = $$("div", {
  5767. "style": {
  5768. "position": "absolute",
  5769. "bottom": "50px",
  5770. "right": "50px",
  5771. "zIndex": "9999",
  5772. "backgroundColor": "#2268bc",
  5773. "color": "#fff",
  5774. "padding": "12px 20px",
  5775. "cursor": "pointer",
  5776. "borderRadius": "4px",
  5777. },
  5778. "innerHTML": "提交作业"
  5779. })
  5780. let aTool = ''
  5781. let _loading = document.createElement('div')
  5782. _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;"
  5783. // _loading.id = "";
  5784. let _lchild = document.createElement('div')
  5785. let _limg = document.createElement('img')
  5786. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5787. _limg.style = "width: 26px;margin-right: 10px;"
  5788. _lchild.appendChild(_limg)
  5789. let _lspan = document.createElement('span')
  5790. _lspan.innerHTML = "上传中..."
  5791. _lchild.appendChild(_lspan)
  5792. _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%);"
  5793. _loading.appendChild(_lchild)
  5794. var _box = $$('div', {
  5795. "style": {
  5796. "position": "relative",
  5797. "width": "100%",
  5798. "height": "100%",
  5799. },
  5800. })
  5801. _box.appendChild(_loading)
  5802. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5803. switch (str) {
  5804. case "whiteboard":
  5805. aTool = 1;
  5806. _iframe = $$("iframe", {
  5807. "frameborder": "no",
  5808. "border": "0",
  5809. "scrolling ": "no",
  5810. "style": {
  5811. "cssText": "border:0;width:100%;height:100%"
  5812. },
  5813. "src": "https://iwb.cocorobo.cn/"
  5814. })
  5815. _box.appendChild(_iframe);
  5816. _box.appendChild(_jie);
  5817. _formdiv = new U.UF.UI.form(
  5818. "电子白板-" + _username,
  5819. _box, {
  5820. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5821. "style": {
  5822. "width": "90%",
  5823. "height": "90%",
  5824. "overflow": 'hidden'
  5825. },
  5826. "onresize": function () { }
  5827. }, {
  5828. closecallback: function () { }
  5829. }, {
  5830. "style": {
  5831. "height": "36px"
  5832. }
  5833. }).form; //创建窗体
  5834. _taskbar = {
  5835. "id": str + _formdiv.id,
  5836. "style": {
  5837. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5838. },
  5839. "name": "电子白板",
  5840. "forms": _formdiv,
  5841. "click": function () {
  5842. U.MD.D.I.openApplication(str, obj, info);
  5843. }
  5844. }
  5845. break;
  5846. case "mind":
  5847. aTool = 3;
  5848. _iframe = $$("iframe", {
  5849. "frameborder": "no",
  5850. "border": "0",
  5851. "scrolling ": "no",
  5852. "style": {
  5853. "cssText": "border:0;width:100%;height:100%"
  5854. },
  5855. "src": "/kityminder-editor/dist/index.html"
  5856. })
  5857. _box.appendChild(_iframe);
  5858. _box.appendChild(_jie);
  5859. _formdiv = new U.UF.UI.form(
  5860. "思维导图-" + _username,
  5861. _box, { //"/jsmind/example/demo.html"
  5862. "id": "mind" + cid + stage + task + tool + _userid,
  5863. "style": {
  5864. "width": "90%",
  5865. "height": "90%",
  5866. "overflow": 'hidden'
  5867. },
  5868. "onresize": function () { }
  5869. }, {
  5870. closecallback: function () { }
  5871. }, {
  5872. "style": {
  5873. "height": "36px"
  5874. }
  5875. }).form; //创建窗体
  5876. _taskbar = {
  5877. "id": str + _formdiv.id,
  5878. "style": {
  5879. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5880. },
  5881. "name": "思维导图",
  5882. "forms": _formdiv,
  5883. "click": function () {
  5884. U.MD.D.I.openApplication(str, obj, info);
  5885. }
  5886. }
  5887. break;
  5888. case "MindMap":
  5889. aTool = 3;
  5890. _iframe = $$("iframe", {
  5891. "frameborder": "no",
  5892. "border": "0",
  5893. "scrolling ": "no",
  5894. "style": {
  5895. "cssText": "border:0;width:100%;height:100%"
  5896. },
  5897. "src": "//cloud.cocorobo.cn/mind/"
  5898. })
  5899. _box.appendChild(_iframe);
  5900. _box.appendChild(_jie);
  5901. _formdiv = new U.UF.UI.form(
  5902. "思维导图-" + _username,
  5903. _box, { //"/jsmind/example/demo.html"
  5904. "id": "mind" + cid + stage + task + tool + _userid,
  5905. "style": {
  5906. "width": "90%",
  5907. "height": "90%",
  5908. "overflow": 'hidden'
  5909. },
  5910. "onresize": function () { }
  5911. }, {
  5912. closecallback: function () { }
  5913. }, {
  5914. "style": {
  5915. "height": "36px"
  5916. }
  5917. }).form; //创建窗体
  5918. _taskbar = {
  5919. "id": str + _formdiv.id,
  5920. "style": {
  5921. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5922. },
  5923. "name": "思维导图",
  5924. "forms": _formdiv,
  5925. "click": function () {
  5926. U.MD.D.I.openApplication(str, obj, info);
  5927. }
  5928. }
  5929. break;
  5930. case "doc":
  5931. aTool = 6;
  5932. _iframe = $$("iframe", {
  5933. "frameborder": "no",
  5934. "border": "0",
  5935. "scrolling ": "no",
  5936. "style": {
  5937. "cssText": "border:0;width:100%;height:100%"
  5938. },
  5939. "src": "/Office/Word/WordEditArea.htm"
  5940. })
  5941. _box.appendChild(_iframe);
  5942. _box.appendChild(_jie);
  5943. _formdiv = new U.UF.UI.form(
  5944. "协同文档-" + _username,
  5945. _box, {
  5946. "id": "doc" + cid + stage + task + tool + _userid,
  5947. "style": {
  5948. "width": "90%",
  5949. "height": "90%",
  5950. "overflow": 'hidden'
  5951. },
  5952. "onresize": function () { }
  5953. }, {
  5954. closecallback: function () { }
  5955. }, {
  5956. "style": {
  5957. "height": "36px"
  5958. }
  5959. }).form; //创建窗体
  5960. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5961. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5962. })
  5963. _taskbar = {
  5964. "id": str + _formdiv.id,
  5965. "style": {
  5966. "backgroundImage": "url(/img/icon/doc.png)"
  5967. },
  5968. "name": "协同文档",
  5969. "forms": _formdiv,
  5970. "click": function () {
  5971. U.MD.D.I.openApplication(str, obj, info);
  5972. }
  5973. }
  5974. break;
  5975. case "mindNetwork": //好友打开
  5976. aTool = 7;
  5977. _iframe = $$("iframe", {
  5978. "webkitallowfullscreen": "",
  5979. "mozallowfullscreen": "",
  5980. "allowfullscreen": "",
  5981. "frameborder": "no",
  5982. "border": "0",
  5983. "scrolling ": "no",
  5984. "style": {
  5985. "cssText": "border:0; width:100%; height:100%;"
  5986. },
  5987. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5988. })
  5989. _box.appendChild(_iframe);
  5990. _box.appendChild(_jie);
  5991. _formdiv = new U.UF.UI.form(
  5992. "思维网格-" + _username,
  5993. _box, {
  5994. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5995. "style": {
  5996. "width": "90%",
  5997. "height": "90%",
  5998. "overflow": 'hidden'
  5999. },
  6000. "onresize": function () { }
  6001. }, {
  6002. closecallback: function () { }
  6003. }, {
  6004. "style": {
  6005. "height": "36px"
  6006. }
  6007. }).form; //创建窗体
  6008. _taskbar = {
  6009. "id": str + _formdiv.id,
  6010. "style": {
  6011. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6012. },
  6013. "name": "思维网格",
  6014. "forms": _formdiv,
  6015. "click": function () {
  6016. U.MD.D.I.openApplication(str, obj, info);
  6017. }
  6018. }
  6019. break;
  6020. case "courseDesign":
  6021. _iframe = $$("iframe", {
  6022. "webkitallowfullscreen": "",
  6023. "mozallowfullscreen": "",
  6024. "allowfullscreen": "",
  6025. "frameborder": "no",
  6026. "border": "0",
  6027. "scrolling ": "no",
  6028. "style": {
  6029. "cssText": "border:0; width:100%; height:100%;"
  6030. },
  6031. "src": "/course-design-vue"
  6032. })
  6033. _box.appendChild(_iframe);
  6034. _box.appendChild(_jie);
  6035. _formdiv = new U.UF.UI.form(
  6036. "项目设计-" + _username,
  6037. _box, {
  6038. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6039. "style": {
  6040. "width": "90%",
  6041. "height": "90%",
  6042. "overflow": 'hidden'
  6043. },
  6044. "onresize": function () { }
  6045. }, {
  6046. closecallback: function () { }
  6047. }, {
  6048. "style": {
  6049. "height": "36px"
  6050. }
  6051. }).form; //创建窗体
  6052. _taskbar = {
  6053. "id": str + _formdiv.id,
  6054. "style": {
  6055. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6056. },
  6057. "name": "项目设计",
  6058. "forms": _formdiv,
  6059. "click": function () {
  6060. U.MD.D.I.openApplication(str, obj, info);
  6061. }
  6062. }
  6063. break;
  6064. }
  6065. const script1 = document.createElement("script");
  6066. script1.type = "text/javascript";
  6067. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6068. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6069. const script2 = document.createElement("script");
  6070. script2.type = "text/javascript";
  6071. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6072. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6073. const script3 = document.createElement("script");
  6074. script3.type = "text/javascript";
  6075. script3.charset = "UTF-8";
  6076. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6077. const script4 = document.createElement("script");
  6078. script4.type = "text/javascript";
  6079. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6080. script4.src = window.origin + "/js/Common/jietu2E.js";
  6081. if (_iframe) {
  6082. if (str == 'doc') {
  6083. _iframe = _formdiv.querySelector('iframe')
  6084. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6085. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6086. _iframe.contentWindow.document.body.appendChild(script1);
  6087. _iframe.contentWindow.document.body.appendChild(script2);
  6088. // _iframe.contentWindow.document.body.appendChild(script3);
  6089. _iframe.contentWindow.document.body.appendChild(script4);
  6090. })
  6091. if (onloadListener) {
  6092. _iframe.contentDocument.location.reload()
  6093. } else {
  6094. _iframe.contentDocument.location.reload()
  6095. }
  6096. } else if (str == 'courseDesign') {
  6097. U.UF.DL.iframeLoad(_iframe, function () {
  6098. // _iframe.contentWindow.U.MD.O.W.load();
  6099. // _iframe.contentWindow.document.body.appendChild(script1);
  6100. _iframe.contentWindow.document.body.appendChild(script2);
  6101. _iframe.contentWindow.document.body.appendChild(script4);
  6102. })
  6103. } else if (str == 'mind') {
  6104. _iframe = _formdiv.querySelector('iframe')
  6105. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6106. //
  6107. _iframe.contentWindow.document.body.appendChild(script1);
  6108. _iframe.contentWindow.document.body.appendChild(script2);
  6109. _iframe.contentWindow.document.body.appendChild(script4);
  6110. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6111. })
  6112. if (onloadListener) {
  6113. _iframe.contentDocument.location.reload()
  6114. } else {
  6115. _iframe.contentDocument.location.reload()
  6116. }
  6117. } else if (str == 'whiteboard') {
  6118. _iframe = _formdiv.querySelector('iframe')
  6119. let onloadListener = _iframe.onload = () => {
  6120. _iframe.contentWindow.document.body.appendChild(script1);
  6121. _iframe.contentWindow.document.body.appendChild(script2);
  6122. _iframe.contentWindow.document.body.appendChild(script4);
  6123. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6124. };
  6125. if (onloadListener) {
  6126. _iframe.contentDocument.location.reload()
  6127. } else {
  6128. _iframe.contentDocument.location.reload()
  6129. }
  6130. } else {
  6131. _iframe.onload = () => {
  6132. _iframe.contentWindow.document.body.appendChild(script1);
  6133. _iframe.contentWindow.document.body.appendChild(script2);
  6134. // _iframe.contentWindow.document.body.appendChild(script3);
  6135. _iframe.contentWindow.document.body.appendChild(script4);
  6136. };
  6137. }
  6138. _jie.onclick = async () => {
  6139. let text = ''
  6140. if (aTool == 1) {
  6141. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6142. } else if (aTool == 6) {
  6143. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6144. } else if (aTool == 3) {
  6145. text = await U.MD.D.I.getEditorContent(_iframe);
  6146. }
  6147. _loading.style.display = 'flex'
  6148. console.log(_loading);
  6149. var _ajs = _iframe.contentWindow.document.createElement("script");
  6150. _ajs.type = "text/javascript";
  6151. _ajs.innerHTML =
  6152. // 'console.log(' + _loading + ');\n' +
  6153. 'var _js = document.createElement("script");\n' +
  6154. '_js.type="text/javascript";\n' +
  6155. '_js.charset="UTF-8";\n' +
  6156. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6157. "_js.onload = function(){\n" +
  6158. ' var a = document.getElementsByTagName("img")\n' +
  6159. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6160. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6161. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6162. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6163. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6164. "beforeUpload_shishi(file," +
  6165. "'" +
  6166. _userid +
  6167. "'" +
  6168. ", " +
  6169. "'" +
  6170. _cid +
  6171. "'" +
  6172. ", " +
  6173. "'" +
  6174. _stage +
  6175. "'" +
  6176. ", " +
  6177. "'" +
  6178. _task +
  6179. "'" +
  6180. ", " +
  6181. "'" +
  6182. _tool +
  6183. "'" +
  6184. ", " +
  6185. "'" +
  6186. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6187. "'" +
  6188. ", " +
  6189. "'" +
  6190. aTool +
  6191. "'" +
  6192. ", " +
  6193. "`" +
  6194. text +
  6195. "`" +
  6196. ")\n" +
  6197. " });\n" +
  6198. "}\n" +
  6199. "document.head.appendChild(_js);\n";
  6200. _iframe.contentWindow.document.head.appendChild(_ajs);
  6201. }
  6202. }
  6203. }
  6204. U.MD.D.I.getEditorContent = function (iframe) {
  6205. return new Promise((resolve, reject) => {
  6206. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6207. console.log(content);
  6208. resolve(content)
  6209. });
  6210. });
  6211. }
  6212. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6213. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6214. // if (res.value[0].length > 0) {
  6215. // // resolve(res.value[0][0].text);
  6216. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6217. // $(fileInput).val('');
  6218. // });
  6219. // }
  6220. // }, [], { "type": "GET", "withCredentials": true });
  6221. var xmlhttp;
  6222. var Mac, Sn, DeviceId
  6223. if (window.XMLHttpRequest) {
  6224. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6225. xmlhttp = new XMLHttpRequest();
  6226. } else {
  6227. // IE6, IE5 浏览器执行代码
  6228. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6229. }
  6230. xmlhttp.onreadystatechange = function () {
  6231. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6232. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6233. // resolve(res.value[0][0].text);
  6234. if (type == '2') {
  6235. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6236. } else if (type == '3') {
  6237. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6238. }
  6239. } else {
  6240. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6241. }
  6242. }
  6243. }
  6244. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6245. xmlhttp.send();
  6246. }
  6247. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6248. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6249. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6250. _userinfo = US.userInfo, //登录用户信息
  6251. _userid = US.userInfo.userid //登录用户id
  6252. let _iframe;
  6253. let _cid = cid,
  6254. _stage = stage,
  6255. _task = task,
  6256. _tool = tool;
  6257. var _jie = $$("div", {
  6258. "style": {
  6259. "position": "absolute",
  6260. "bottom": "50px",
  6261. "right": "50px",
  6262. "zIndex": "9999",
  6263. "backgroundColor": "#2268bc",
  6264. "color": "#fff",
  6265. "padding": "12px 20px",
  6266. "cursor": "pointer",
  6267. "borderRadius": "4px",
  6268. },
  6269. "innerHTML": "确认并提交"
  6270. })
  6271. let aTool = ''
  6272. let _loading = document.createElement('div')
  6273. _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;"
  6274. // _loading.id = "";
  6275. let _lchild = document.createElement('div')
  6276. let _limg = document.createElement('img')
  6277. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6278. _limg.style = "width: 26px;margin-right: 10px;"
  6279. _lchild.appendChild(_limg)
  6280. let _lspan = document.createElement('span')
  6281. _lspan.innerHTML = "上传中..."
  6282. _lchild.appendChild(_lspan)
  6283. _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%);"
  6284. _loading.appendChild(_lchild)
  6285. var _box = $$('div', {
  6286. "style": {
  6287. "position": "relative",
  6288. "width": "100%",
  6289. "height": "100%",
  6290. },
  6291. })
  6292. _box.appendChild(_loading)
  6293. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6294. switch (str) {
  6295. case "whiteboard":
  6296. aTool = 1;
  6297. _iframe = $$("iframe", {
  6298. "frameborder": "no",
  6299. "border": "0",
  6300. "scrolling ": "no",
  6301. "style": {
  6302. "cssText": "border:0;width:100%;height:100%"
  6303. },
  6304. "src": "https://iwb.cocorobo.cn/"
  6305. })
  6306. _box.appendChild(_iframe);
  6307. _box.appendChild(_jie);
  6308. _formdiv = new U.UF.UI.form(
  6309. "电子白板",
  6310. _box, {
  6311. "id": "whiteboards" + cid + stage + task + tool,
  6312. "style": {
  6313. "width": "90%",
  6314. "height": "90%",
  6315. "overflow": 'hidden'
  6316. },
  6317. "onresize": function () { }
  6318. }, {
  6319. closecallback: function () { }
  6320. }, {
  6321. "style": {
  6322. "height": "36px"
  6323. }
  6324. }).form; //创建窗体
  6325. _taskbar = {
  6326. "id": str + _formdiv.id,
  6327. "style": {
  6328. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6329. },
  6330. "name": "电子白板",
  6331. "forms": _formdiv,
  6332. "click": function () {
  6333. U.MD.D.I.openApplication(str, obj, info);
  6334. }
  6335. }
  6336. break;
  6337. case "mind":
  6338. aTool = 3;
  6339. _iframe = $$("iframe", {
  6340. "frameborder": "no",
  6341. "border": "0",
  6342. "scrolling ": "no",
  6343. "style": {
  6344. "cssText": "border:0;width:100%;height:100%"
  6345. },
  6346. "src": "/kityminder-editor/dist/index.html"
  6347. });
  6348. _box.appendChild(_iframe);
  6349. _box.appendChild(_jie);
  6350. _formdiv = new U.UF.UI.form(
  6351. "思维导图",
  6352. _box, { //"/jsmind/example/demo.html"
  6353. "id": "minds" + cid + stage + task + tool,
  6354. "style": {
  6355. "width": "90%",
  6356. "height": "90%",
  6357. "overflow": 'hidden'
  6358. },
  6359. "onresize": function () { }
  6360. }, {
  6361. closecallback: function () { }
  6362. }, {
  6363. "style": {
  6364. "height": "36px"
  6365. }
  6366. }).form; //创建窗体
  6367. _taskbar = {
  6368. "id": str + _formdiv.id,
  6369. "style": {
  6370. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6371. },
  6372. "name": "思维导图",
  6373. "forms": _formdiv,
  6374. "click": function () {
  6375. U.MD.D.I.openApplication(str, obj, info);
  6376. }
  6377. }
  6378. break;
  6379. case "doc":
  6380. aTool = 6;
  6381. _iframe = $$("iframe", {
  6382. "frameborder": "no",
  6383. "border": "0",
  6384. "scrolling ": "no",
  6385. "style": {
  6386. "cssText": "border:0;width:100%;height:100%"
  6387. },
  6388. "src": "/Office/Word/WordEditArea.htm"
  6389. })
  6390. _box.appendChild(_iframe);
  6391. _box.appendChild(_jie);
  6392. _formdiv = new U.UF.UI.form(
  6393. "协同文档",
  6394. _box, {
  6395. "id": "docs" + cid + stage + task + tool,
  6396. "style": {
  6397. "width": "90%",
  6398. "height": "90%",
  6399. "overflow": 'hidden'
  6400. },
  6401. "onresize": function () { }
  6402. }, {
  6403. closecallback: function () { }
  6404. }, {
  6405. "style": {
  6406. "height": "36px"
  6407. }
  6408. }).form; //创建窗体
  6409. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6410. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6411. })
  6412. _taskbar = {
  6413. "id": str + _formdiv.id,
  6414. "style": {
  6415. "backgroundImage": "url(/img/icon/doc.png)"
  6416. },
  6417. "name": "协同文档",
  6418. "forms": _formdiv,
  6419. "click": function () {
  6420. U.MD.D.I.openApplication(str, obj, info);
  6421. }
  6422. }
  6423. break;
  6424. }
  6425. const script1 = document.createElement("script");
  6426. script1.type = "text/javascript";
  6427. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6428. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6429. const script2 = document.createElement("script");
  6430. script2.type = "text/javascript";
  6431. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6432. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6433. const script3 = document.createElement("script");
  6434. script3.type = "text/javascript";
  6435. script3.charset = "UTF-8";
  6436. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6437. const script4 = document.createElement("script");
  6438. script4.type = "text/javascript";
  6439. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6440. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6441. if (_iframe) {
  6442. if (str == 'doc') {
  6443. _iframe = _formdiv.querySelector('iframe')
  6444. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6445. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6446. _iframe.contentWindow.document.body.appendChild(script1);
  6447. _iframe.contentWindow.document.body.appendChild(script2);
  6448. // _iframe.contentWindow.document.body.appendChild(script3);
  6449. _iframe.contentWindow.document.body.appendChild(script4);
  6450. })
  6451. if (onloadListener) {
  6452. _iframe.contentDocument.location.reload()
  6453. } else {
  6454. _iframe.contentDocument.location.reload()
  6455. }
  6456. } else if (str == 'mind') {
  6457. _iframe = _formdiv.querySelector('iframe')
  6458. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6459. _iframe.contentWindow.document.body.appendChild(script1);
  6460. _iframe.contentWindow.document.body.appendChild(script2);
  6461. _iframe.contentWindow.document.body.appendChild(script4);
  6462. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6463. })
  6464. if (onloadListener) {
  6465. _iframe.contentDocument.location.reload()
  6466. } else {
  6467. _iframe.contentDocument.location.reload()
  6468. }
  6469. } else {
  6470. _iframe.onload = () => {
  6471. _iframe.contentWindow.document.body.appendChild(script1);
  6472. _iframe.contentWindow.document.body.appendChild(script2);
  6473. // _iframe.contentWindow.document.body.appendChild(script3);
  6474. _iframe.contentWindow.document.body.appendChild(script4);
  6475. };
  6476. }
  6477. _jie.onclick = async () => {
  6478. let text = ''
  6479. if (aTool == 6) {
  6480. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6481. } else if (aTool == 3) {
  6482. text = await U.MD.D.I.getEditorContent(_iframe);
  6483. }
  6484. _loading.style.display = 'flex'
  6485. console.log(_loading);
  6486. var _ajs = _iframe.contentWindow.document.createElement("script");
  6487. _ajs.type = "text/javascript";
  6488. _ajs.innerHTML =
  6489. // 'console.log(' + _loading + ');\n' +
  6490. 'var _js = document.createElement("script");\n' +
  6491. '_js.type="text/javascript";\n' +
  6492. '_js.charset="UTF-8";\n' +
  6493. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6494. "_js.onload = function(){\n" +
  6495. ' var a = document.getElementsByTagName("img")\n' +
  6496. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6497. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6498. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6499. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6500. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6501. "beforeUpload_shishi(file," +
  6502. "'" +
  6503. _userid +
  6504. "'" +
  6505. ", " +
  6506. "'" +
  6507. _cid +
  6508. "'" +
  6509. ", " +
  6510. "'" +
  6511. _stage +
  6512. "'" +
  6513. ", " +
  6514. "'" +
  6515. _task +
  6516. "'" +
  6517. ", " +
  6518. "'" +
  6519. _tool +
  6520. "'" +
  6521. ", " +
  6522. "'" +
  6523. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6524. "'" +
  6525. ", " +
  6526. "'" +
  6527. aTool +
  6528. "'" +
  6529. ", " +
  6530. "`" +
  6531. text +
  6532. "`" +
  6533. ")\n" +
  6534. " });\n" +
  6535. "}\n" +
  6536. "document.head.appendChild(_js);\n";
  6537. _iframe.contentWindow.document.head.appendChild(_ajs);
  6538. }
  6539. }
  6540. //U.MD.D.I.openClick(str);
  6541. //如果有任务栏信息
  6542. // if (_taskbar) {
  6543. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6544. // }
  6545. }
  6546. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6547. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6548. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6549. _userinfo = US.userInfo, //登录用户信息
  6550. _userid = US.userInfo.userid //登录用户id
  6551. let _iframe;
  6552. let _cid = cid,
  6553. _stage = stage,
  6554. _task = task,
  6555. _tool = tool;
  6556. var _jie = $$("div", {
  6557. "style": {
  6558. "position": "absolute",
  6559. "bottom": "50px",
  6560. "right": "50px",
  6561. "zIndex": "9999",
  6562. "backgroundColor": "#2268bc",
  6563. "color": "#fff",
  6564. "padding": "12px 20px",
  6565. "cursor": "pointer",
  6566. "borderRadius": "4px",
  6567. },
  6568. "innerHTML": "确认并提交"
  6569. })
  6570. let aTool = ''
  6571. let _loading = document.createElement('div')
  6572. _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;"
  6573. // _loading.id = "";
  6574. let _lchild = document.createElement('div')
  6575. let _limg = document.createElement('img')
  6576. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6577. _limg.style = "width: 26px;margin-right: 10px;"
  6578. _lchild.appendChild(_limg)
  6579. let _lspan = document.createElement('span')
  6580. _lspan.innerHTML = "上传中..."
  6581. _lchild.appendChild(_lspan)
  6582. _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%);"
  6583. _loading.appendChild(_lchild)
  6584. var _box = $$('div', {
  6585. "style": {
  6586. "position": "relative",
  6587. "width": "100%",
  6588. "height": "100%",
  6589. },
  6590. })
  6591. _box.appendChild(_loading)
  6592. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6593. switch (str) {
  6594. case "whiteboard":
  6595. aTool = 1;
  6596. _iframe = $$("iframe", {
  6597. "frameborder": "no",
  6598. "border": "0",
  6599. "scrolling ": "no",
  6600. "style": {
  6601. "cssText": "border:0;width:100%;height:100%"
  6602. },
  6603. "src": "https://iwb.cocorobo.cn/"
  6604. })
  6605. _box.appendChild(_iframe);
  6606. _box.appendChild(_jie);
  6607. _formdiv = new U.UF.UI.form(
  6608. "电子白板",
  6609. _box, {
  6610. "id": "whiteboards" + cid + stage + task + tool,
  6611. "style": {
  6612. "width": "90%",
  6613. "height": "90%",
  6614. "overflow": 'hidden'
  6615. },
  6616. "onresize": function () { }
  6617. }, {
  6618. closecallback: function () { }
  6619. }, {
  6620. "style": {
  6621. "height": "36px"
  6622. }
  6623. }).form; //创建窗体
  6624. _taskbar = {
  6625. "id": str + _formdiv.id,
  6626. "style": {
  6627. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6628. },
  6629. "name": "电子白板",
  6630. "forms": _formdiv,
  6631. "click": function () {
  6632. U.MD.D.I.openApplication(str, obj, info);
  6633. }
  6634. }
  6635. break;
  6636. case "mind":
  6637. aTool = 3;
  6638. _iframe = $$("iframe", {
  6639. "frameborder": "no",
  6640. "border": "0",
  6641. "scrolling ": "no",
  6642. "style": {
  6643. "cssText": "border:0;width:100%;height:100%"
  6644. },
  6645. "src": "/kityminder-editor/dist/index.html"
  6646. });
  6647. _box.appendChild(_iframe);
  6648. _box.appendChild(_jie);
  6649. _formdiv = new U.UF.UI.form(
  6650. "思维导图",
  6651. _box, { //"/jsmind/example/demo.html"
  6652. "id": "minds" + cid + stage + task + tool,
  6653. "style": {
  6654. "width": "90%",
  6655. "height": "90%",
  6656. "overflow": 'hidden'
  6657. },
  6658. "onresize": function () { }
  6659. }, {
  6660. closecallback: function () { }
  6661. }, {
  6662. "style": {
  6663. "height": "36px"
  6664. }
  6665. }).form; //创建窗体
  6666. _taskbar = {
  6667. "id": str + _formdiv.id,
  6668. "style": {
  6669. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6670. },
  6671. "name": "思维导图",
  6672. "forms": _formdiv,
  6673. "click": function () {
  6674. U.MD.D.I.openApplication(str, obj, info);
  6675. }
  6676. }
  6677. break;
  6678. case "doc":
  6679. aTool = 6;
  6680. _iframe = $$("iframe", {
  6681. "frameborder": "no",
  6682. "border": "0",
  6683. "scrolling ": "no",
  6684. "style": {
  6685. "cssText": "border:0;width:100%;height:100%"
  6686. },
  6687. "src": "/Office/Word/WordEditArea.htm"
  6688. })
  6689. _box.appendChild(_iframe);
  6690. _box.appendChild(_jie);
  6691. _formdiv = new U.UF.UI.form(
  6692. "协同文档",
  6693. _box, {
  6694. "id": "docs" + cid + stage + task + tool,
  6695. "style": {
  6696. "width": "90%",
  6697. "height": "90%",
  6698. "overflow": 'hidden'
  6699. },
  6700. "onresize": function () { }
  6701. }, {
  6702. closecallback: function () { }
  6703. }, {
  6704. "style": {
  6705. "height": "36px"
  6706. }
  6707. }).form; //创建窗体
  6708. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6709. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6710. })
  6711. _taskbar = {
  6712. "id": str + _formdiv.id,
  6713. "style": {
  6714. "backgroundImage": "url(/img/icon/doc.png)"
  6715. },
  6716. "name": "协同文档",
  6717. "forms": _formdiv,
  6718. "click": function () {
  6719. U.MD.D.I.openApplication(str, obj, info);
  6720. }
  6721. }
  6722. break;
  6723. }
  6724. const script1 = document.createElement("script");
  6725. script1.type = "text/javascript";
  6726. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6727. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6728. const script2 = document.createElement("script");
  6729. script2.type = "text/javascript";
  6730. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6731. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6732. const script3 = document.createElement("script");
  6733. script3.type = "text/javascript";
  6734. script3.charset = "UTF-8";
  6735. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6736. const script4 = document.createElement("script");
  6737. script4.type = "text/javascript";
  6738. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6739. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6740. if (_iframe) {
  6741. if (str == 'doc') {
  6742. _iframe = _formdiv.querySelector('iframe')
  6743. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6744. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6745. _iframe.contentWindow.document.body.appendChild(script1);
  6746. _iframe.contentWindow.document.body.appendChild(script2);
  6747. // _iframe.contentWindow.document.body.appendChild(script3);
  6748. _iframe.contentWindow.document.body.appendChild(script4);
  6749. })
  6750. if (onloadListener) {
  6751. _iframe.contentDocument.location.reload()
  6752. } else {
  6753. _iframe.contentDocument.location.reload()
  6754. }
  6755. } else if (str == 'mind') {
  6756. _iframe = _formdiv.querySelector('iframe')
  6757. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6758. _iframe.contentWindow.document.body.appendChild(script1);
  6759. _iframe.contentWindow.document.body.appendChild(script2);
  6760. _iframe.contentWindow.document.body.appendChild(script4);
  6761. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6762. })
  6763. if (onloadListener) {
  6764. _iframe.contentDocument.location.reload()
  6765. } else {
  6766. _iframe.contentDocument.location.reload()
  6767. }
  6768. } else {
  6769. _iframe.onload = () => {
  6770. _iframe.contentWindow.document.body.appendChild(script1);
  6771. _iframe.contentWindow.document.body.appendChild(script2);
  6772. // _iframe.contentWindow.document.body.appendChild(script3);
  6773. _iframe.contentWindow.document.body.appendChild(script4);
  6774. };
  6775. }
  6776. _jie.onclick = async () => {
  6777. let text = ''
  6778. if (aTool == 6) {
  6779. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6780. } else if (aTool == 3) {
  6781. text = await U.MD.D.I.getEditorContent(_iframe);
  6782. }
  6783. _loading.style.display = 'flex'
  6784. console.log(_loading);
  6785. var _ajs = _iframe.contentWindow.document.createElement("script");
  6786. _ajs.type = "text/javascript";
  6787. _ajs.innerHTML =
  6788. // 'console.log(' + _loading + ');\n' +
  6789. 'var _js = document.createElement("script");\n' +
  6790. '_js.type="text/javascript";\n' +
  6791. '_js.charset="UTF-8";\n' +
  6792. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6793. "_js.onload = function(){\n" +
  6794. ' var a = document.getElementsByTagName("img")\n' +
  6795. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6796. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6797. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6798. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6799. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6800. "beforeUpload_shishi(file," +
  6801. "'" +
  6802. _userid +
  6803. "'" +
  6804. ", " +
  6805. "'" +
  6806. _cid +
  6807. "'" +
  6808. ", " +
  6809. "'" +
  6810. _stage +
  6811. "'" +
  6812. ", " +
  6813. "'" +
  6814. _task +
  6815. "'" +
  6816. ", " +
  6817. "'" +
  6818. _tool +
  6819. "'" +
  6820. ", " +
  6821. "'" +
  6822. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6823. "'" +
  6824. ", " +
  6825. "'" +
  6826. aTool +
  6827. "'" +
  6828. ", " +
  6829. "`" +
  6830. text +
  6831. "`" +
  6832. ")\n" +
  6833. " });\n" +
  6834. "}\n" +
  6835. "document.head.appendChild(_js);\n";
  6836. _iframe.contentWindow.document.head.appendChild(_ajs);
  6837. }
  6838. }
  6839. //U.MD.D.I.openClick(str);
  6840. //如果有任务栏信息
  6841. // if (_taskbar) {
  6842. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6843. // }
  6844. }
  6845. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6846. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6847. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6848. _userinfo = US.userInfo, //登录用户信息
  6849. _userid = US.userInfo.userid //登录用户id
  6850. let _iframe;
  6851. let _cid = cid,
  6852. _stage = stage,
  6853. _task = task,
  6854. _tool = tool;
  6855. var _jie = $$("div", {
  6856. "style": {
  6857. "position": "absolute",
  6858. "bottom": "50px",
  6859. "right": "50px",
  6860. "zIndex": "9999",
  6861. "backgroundColor": "#2268bc",
  6862. "color": "#fff",
  6863. "padding": "12px 20px",
  6864. "cursor": "pointer",
  6865. "borderRadius": "4px",
  6866. },
  6867. "innerHTML": "上传模板"
  6868. })
  6869. let aTool = ''
  6870. let _loading = document.createElement('div')
  6871. _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;"
  6872. // _loading.id = "";
  6873. let _lchild = document.createElement('div')
  6874. let _limg = document.createElement('img')
  6875. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6876. _limg.style = "width: 26px;margin-right: 10px;"
  6877. _lchild.appendChild(_limg)
  6878. let _lspan = document.createElement('span')
  6879. _lspan.innerHTML = "上传中..."
  6880. _lchild.appendChild(_lspan)
  6881. _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%);"
  6882. _loading.appendChild(_lchild)
  6883. var _box = $$('div', {
  6884. "style": {
  6885. "position": "relative",
  6886. "width": "100%",
  6887. "height": "100%",
  6888. },
  6889. })
  6890. _box.appendChild(_loading)
  6891. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6892. switch (str) {
  6893. case "whiteboard":
  6894. aTool = 1;
  6895. _iframe = $$("iframe", {
  6896. "frameborder": "no",
  6897. "border": "0",
  6898. "scrolling ": "no",
  6899. "style": {
  6900. "cssText": "border:0;width:100%;height:100%"
  6901. },
  6902. "src": "https://iwb.cocorobo.cn/"
  6903. })
  6904. _box.appendChild(_iframe);
  6905. _box.appendChild(_jie);
  6906. _formdiv = new U.UF.UI.form(
  6907. "电子白板",
  6908. _box, {
  6909. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6910. "style": {
  6911. "width": "90%",
  6912. "height": "90%",
  6913. "overflow": 'hidden'
  6914. },
  6915. "onresize": function () { }
  6916. }, {
  6917. closecallback: function () { }
  6918. }, {
  6919. "style": {
  6920. "height": "36px"
  6921. }
  6922. }).form; //创建窗体
  6923. _taskbar = {
  6924. "id": str + _formdiv.id,
  6925. "style": {
  6926. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6927. },
  6928. "name": "电子白板",
  6929. "forms": _formdiv,
  6930. "click": function () {
  6931. U.MD.D.I.openApplication(str, obj, info);
  6932. }
  6933. }
  6934. break;
  6935. case "mind":
  6936. aTool = 3;
  6937. _iframe = $$("iframe", {
  6938. "frameborder": "no",
  6939. "border": "0",
  6940. "scrolling ": "no",
  6941. "style": {
  6942. "cssText": "border:0;width:100%;height:100%"
  6943. },
  6944. "src": "/kityminder-editor/dist/index.html"
  6945. });
  6946. _box.appendChild(_iframe);
  6947. _box.appendChild(_jie);
  6948. _formdiv = new U.UF.UI.form(
  6949. "思维导图",
  6950. _box, { //"/jsmind/example/demo.html"
  6951. "id": "minds_Yu" + cid + stage + task + tool,
  6952. "style": {
  6953. "width": "90%",
  6954. "height": "90%",
  6955. "overflow": 'hidden'
  6956. },
  6957. "onresize": function () { }
  6958. }, {
  6959. closecallback: function () { }
  6960. }, {
  6961. "style": {
  6962. "height": "36px"
  6963. }
  6964. }).form; //创建窗体
  6965. _taskbar = {
  6966. "id": str + _formdiv.id,
  6967. "style": {
  6968. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6969. },
  6970. "name": "思维导图",
  6971. "forms": _formdiv,
  6972. "click": function () {
  6973. U.MD.D.I.openApplication(str, obj, info);
  6974. }
  6975. }
  6976. break;
  6977. case "doc":
  6978. aTool = 6;
  6979. _iframe = $$("iframe", {
  6980. "frameborder": "no",
  6981. "border": "0",
  6982. "scrolling ": "no",
  6983. "style": {
  6984. "cssText": "border:0;width:100%;height:100%"
  6985. },
  6986. "src": "/Office/Word/WordEditArea.htm"
  6987. })
  6988. _box.appendChild(_iframe);
  6989. _box.appendChild(_jie);
  6990. _formdiv = new U.UF.UI.form(
  6991. "协同文档",
  6992. _box, {
  6993. "id": "docs_Yu" + cid + stage + task + tool,
  6994. "style": {
  6995. "width": "90%",
  6996. "height": "90%",
  6997. "overflow": 'hidden'
  6998. },
  6999. "onresize": function () { }
  7000. }, {
  7001. closecallback: function () { }
  7002. }, {
  7003. "style": {
  7004. "height": "36px"
  7005. }
  7006. }).form; //创建窗体
  7007. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7008. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7009. })
  7010. _taskbar = {
  7011. "id": str + _formdiv.id,
  7012. "style": {
  7013. "backgroundImage": "url(/img/icon/doc.png)"
  7014. },
  7015. "name": "协同文档",
  7016. "forms": _formdiv,
  7017. "click": function () {
  7018. U.MD.D.I.openApplication(str, obj, info);
  7019. }
  7020. }
  7021. break;
  7022. case "CocoPi":
  7023. aTool = 57;
  7024. _iframe = $$("iframe", {
  7025. "allowpaymentrequest": "allowpaymentrequest",
  7026. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7027. "webkitallowfullscreen": "",
  7028. "mozallowfullscreen": "",
  7029. "frameborder": "no",
  7030. "border": "0",
  7031. "scrolling ": "no",
  7032. "style": {
  7033. "cssText": "border:0;width:100%;height:100%"
  7034. },
  7035. "src": "https://pi.cocorobo.cn/"
  7036. })
  7037. _box.appendChild(_iframe);
  7038. _box.appendChild(_jie);
  7039. _formdiv = new U.UF.UI.form(
  7040. "CocoPi",
  7041. _box, {
  7042. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7043. "style": {
  7044. "width": "90%",
  7045. "height": "90%",
  7046. "overflow": 'hidden'
  7047. },
  7048. "onresize": function () { }
  7049. }, {
  7050. closecallback: function () { }
  7051. }, {
  7052. "style": {
  7053. "height": "36px"
  7054. }
  7055. }).form; //创建窗体
  7056. _taskbar = {
  7057. "id": str + _formdiv.id,
  7058. "style": {
  7059. "backgroundImage": "url(/img/icon/cocopi.png)"
  7060. },
  7061. "name": "CocoPi",
  7062. "forms": _formdiv,
  7063. "click": function () {
  7064. U.MD.D.I.openApplication(str, obj, info);
  7065. }
  7066. }
  7067. break;
  7068. }
  7069. if (_iframe) {
  7070. if (str == 'doc') {
  7071. _iframe = _formdiv.querySelector('iframe')
  7072. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7073. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7074. })
  7075. if (onloadListener) {
  7076. _iframe.contentDocument.location.reload()
  7077. } else {
  7078. _iframe.contentDocument.location.reload()
  7079. }
  7080. } else if (str == 'mind') {
  7081. _iframe = _formdiv.querySelector('iframe')
  7082. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7083. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7084. })
  7085. if (onloadListener) {
  7086. _iframe.contentDocument.location.reload()
  7087. } else {
  7088. _iframe.contentDocument.location.reload()
  7089. }
  7090. } else if (str == 'whiteboard') {
  7091. _iframe = _formdiv.querySelector('iframe')
  7092. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7093. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7094. })
  7095. if (onloadListener) {
  7096. _iframe.contentDocument.location.reload()
  7097. } else {
  7098. _iframe.contentDocument.location.reload()
  7099. }
  7100. } else if (str == 'CocoPi') {
  7101. _iframe = _formdiv.querySelector('iframe')
  7102. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7103. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7104. })
  7105. if (onloadListener) {
  7106. _iframe.contentDocument.location.reload()
  7107. } else {
  7108. _iframe.contentDocument.location.reload()
  7109. }
  7110. } else {
  7111. _iframe.onload = () => { };
  7112. }
  7113. _jie.onclick = async () => {
  7114. let text = ''
  7115. let type = '2'
  7116. if (aTool == 1) {
  7117. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7118. type = '3'
  7119. } else if (aTool == 6) {
  7120. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7121. type = '1'
  7122. } else if (aTool == 3) {
  7123. text = await U.MD.D.I.getEditorContent(_iframe);
  7124. type = '2'
  7125. } else if (aTool == 57) {
  7126. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7127. type = '4'
  7128. }
  7129. _loading.style.display = 'flex'
  7130. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7131. }
  7132. }
  7133. //U.MD.D.I.openClick(str);
  7134. //如果有任务栏信息
  7135. // if (_taskbar) {
  7136. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7137. // }
  7138. }
  7139. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7140. var xmlhttp;
  7141. var Mac, Sn, DeviceId
  7142. if (window.XMLHttpRequest) {
  7143. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7144. xmlhttp = new XMLHttpRequest();
  7145. } else {
  7146. // IE6, IE5 浏览器执行代码
  7147. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7148. }
  7149. xmlhttp.onreadystatechange = function () {
  7150. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7151. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7152. // resolve(res.value[0][0].text);
  7153. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7154. }
  7155. }
  7156. }
  7157. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7158. xmlhttp.send();
  7159. }
  7160. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7161. var xmlhttp;
  7162. var Mac, Sn, DeviceId
  7163. if (window.XMLHttpRequest) {
  7164. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7165. xmlhttp = new XMLHttpRequest();
  7166. } else {
  7167. // IE6, IE5 浏览器执行代码
  7168. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7169. }
  7170. xmlhttp.onreadystatechange = function () {
  7171. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7172. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7173. // resolve(res.value[0][0].text);
  7174. if (type == '2') {
  7175. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7176. } else if (type == '3') {
  7177. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7178. } else if (type == '4') {
  7179. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7180. }
  7181. } else {
  7182. if (type == '2') {
  7183. iframe.contentWindow.editor.minder.importData('json', '')
  7184. } else if (type == '3') {
  7185. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7186. } else if (type == '4') {
  7187. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7188. }
  7189. }
  7190. }
  7191. }
  7192. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7193. xmlhttp.send();
  7194. }
  7195. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7196. var xmlhttp;
  7197. var Mac, Sn, DeviceId
  7198. if (window.XMLHttpRequest) {
  7199. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7200. xmlhttp = new XMLHttpRequest();
  7201. } else {
  7202. // IE6, IE5 浏览器执行代码
  7203. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7204. }
  7205. xmlhttp.onreadystatechange = function () {
  7206. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7207. if (xmlhttp.response) {
  7208. // resolve(res.value[0][0].text);
  7209. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7210. // $(fileInput).val('');
  7211. // });
  7212. span.innerHTML = '上传成功'
  7213. setTimeout(() => {
  7214. loading.style.display = 'none'
  7215. }, 1000);
  7216. }
  7217. }
  7218. }
  7219. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7220. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7221. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7222. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7223. // 设置请求头,表示请求体的编码格式
  7224. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7225. // 设置请求体,使用url-encoded格式的数据
  7226. }
  7227. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7228. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7229. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7230. _userinfo = US.userInfo, //登录用户信息
  7231. _userid = US.userInfo.userid //登录用户id
  7232. let _iframe;
  7233. let _cid = cid,
  7234. _stage = stage,
  7235. _task = task,
  7236. _tool = tool;
  7237. var _jie = $$("div", {
  7238. "style": {
  7239. "position": "absolute",
  7240. "bottom": "50px",
  7241. "right": "50px",
  7242. "zIndex": "9999",
  7243. "backgroundColor": "#2268bc",
  7244. "color": "#fff",
  7245. "padding": "12px 20px",
  7246. "cursor": "pointer",
  7247. "borderRadius": "4px",
  7248. },
  7249. "innerHTML": "提交作业"
  7250. })
  7251. let aTool = ''
  7252. let _loading = document.createElement('div')
  7253. _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;"
  7254. // _loading.id = "";
  7255. let _lchild = document.createElement('div')
  7256. let _limg = document.createElement('img')
  7257. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7258. _limg.style = "width: 26px;margin-right: 10px;"
  7259. _lchild.appendChild(_limg)
  7260. let _lspan = document.createElement('span')
  7261. _lspan.innerHTML = "上传中..."
  7262. _lchild.appendChild(_lspan)
  7263. _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%);"
  7264. _loading.appendChild(_lchild)
  7265. var _box = $$('div', {
  7266. "style": {
  7267. "position": "relative",
  7268. "width": "100%",
  7269. "height": "100%",
  7270. },
  7271. })
  7272. _box.appendChild(_loading)
  7273. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7274. switch (str) {
  7275. case "CocoPi":
  7276. aTool = 57;
  7277. _iframe = $$("iframe", {
  7278. "allowpaymentrequest": "allowpaymentrequest",
  7279. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7280. "webkitallowfullscreen": "",
  7281. "mozallowfullscreen": "",
  7282. "frameborder": "no",
  7283. "border": "0",
  7284. "scrolling ": "no",
  7285. "style": {
  7286. "cssText": "border:0;width:100%;height:100%"
  7287. },
  7288. "src": "https://pi.cocorobo.cn/"
  7289. })
  7290. _box.appendChild(_iframe);
  7291. _box.appendChild(_jie);
  7292. _formdiv = new U.UF.UI.form(
  7293. "CocoPi",
  7294. _box, {
  7295. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7296. "style": {
  7297. "width": "90%",
  7298. "height": "90%",
  7299. "overflow": 'hidden'
  7300. },
  7301. "onresize": function () { }
  7302. }, {
  7303. closecallback: function () { }
  7304. }, {
  7305. "style": {
  7306. "height": "36px"
  7307. }
  7308. }).form; //创建窗体
  7309. _taskbar = {
  7310. "id": str + _formdiv.id,
  7311. "style": {
  7312. "backgroundImage": "url(/img/icon/cocopi.png)"
  7313. },
  7314. "name": "CocoPi",
  7315. "forms": _formdiv,
  7316. "click": function () {
  7317. U.MD.D.I.openApplication(str, obj, info);
  7318. }
  7319. }
  7320. break;
  7321. }
  7322. if (_iframe) {
  7323. if (str == 'CocoPi') {
  7324. _iframe = _formdiv.querySelector('iframe')
  7325. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7326. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7327. })
  7328. if (onloadListener) {
  7329. _iframe.contentDocument.location.reload()
  7330. } else {
  7331. _iframe.contentDocument.location.reload()
  7332. }
  7333. }
  7334. _jie.onclick = async () => {
  7335. let text = ''
  7336. if (aTool == 57) {
  7337. text = _iframe.contentWindow.getLoadXmlStr()
  7338. }
  7339. _loading.style.display = 'flex'
  7340. console.log(_loading);
  7341. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7342. _loading.style.display = 'none'
  7343. let _div = document.createElement('div')
  7344. _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;"
  7345. let _inner = document.createElement('div')
  7346. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7347. _inner.innerHTML = "上传成功"
  7348. _div.appendChild(_inner)
  7349. _iframe.contentWindow.window.document.body.appendChild(_div)
  7350. _div.onclick = () => {
  7351. _iframe.contentWindow.window.document.body.removeChild(_div)
  7352. }
  7353. setTimeout(() => {
  7354. _iframe.contentWindow.window.document.body.removeChild(_div)
  7355. }, 1000);
  7356. }, [], { "type": "POST", "withCredentials": true });
  7357. }
  7358. }
  7359. }
  7360. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7361. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7362. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7363. _userid = student.userid, //登录用户id
  7364. _username = student.student //用户名字
  7365. let _iframe;
  7366. let _cid = cid,
  7367. _stage = stage,
  7368. _task = task,
  7369. _tool = tool;
  7370. var _jie = $$("div", {
  7371. "style": {
  7372. "position": "absolute",
  7373. "bottom": "50px",
  7374. "right": "50px",
  7375. "zIndex": "9999",
  7376. "backgroundColor": "#2268bc",
  7377. "color": "#fff",
  7378. "padding": "12px 20px",
  7379. "cursor": "pointer",
  7380. "borderRadius": "4px",
  7381. },
  7382. "innerHTML": "提交作业"
  7383. })
  7384. let aTool = ''
  7385. let _loading = document.createElement('div')
  7386. _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;"
  7387. // _loading.id = "";
  7388. let _lchild = document.createElement('div')
  7389. let _limg = document.createElement('img')
  7390. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7391. _limg.style = "width: 26px;margin-right: 10px;"
  7392. _lchild.appendChild(_limg)
  7393. let _lspan = document.createElement('span')
  7394. _lspan.innerHTML = "上传中..."
  7395. _lchild.appendChild(_lspan)
  7396. _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%);"
  7397. _loading.appendChild(_lchild)
  7398. var _box = $$('div', {
  7399. "style": {
  7400. "position": "relative",
  7401. "width": "100%",
  7402. "height": "100%",
  7403. },
  7404. })
  7405. _box.appendChild(_loading)
  7406. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7407. switch (str) {
  7408. case "CocoPi":
  7409. aTool = 57;
  7410. _iframe = $$("iframe", {
  7411. "allowpaymentrequest": "allowpaymentrequest",
  7412. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7413. "webkitallowfullscreen": "",
  7414. "mozallowfullscreen": "",
  7415. "frameborder": "no",
  7416. "border": "0",
  7417. "scrolling ": "no",
  7418. "style": {
  7419. "cssText": "border:0;width:100%;height:100%"
  7420. },
  7421. "src": "https://pi.cocorobo.cn/"
  7422. })
  7423. _box.appendChild(_iframe);
  7424. _box.appendChild(_jie);
  7425. _formdiv = new U.UF.UI.form(
  7426. "CocoPi-" + _username,
  7427. _box, {
  7428. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7429. "style": {
  7430. "width": "90%",
  7431. "height": "90%",
  7432. "overflow": 'hidden'
  7433. },
  7434. "onresize": function () { }
  7435. }, {
  7436. closecallback: function () { }
  7437. }, {
  7438. "style": {
  7439. "height": "36px"
  7440. }
  7441. }).form; //创建窗体
  7442. _taskbar = {
  7443. "id": str + _formdiv.id,
  7444. "style": {
  7445. "backgroundImage": "url(/img/icon/cocopi.png)"
  7446. },
  7447. "name": "CocoPi",
  7448. "forms": _formdiv,
  7449. "click": function () {
  7450. U.MD.D.I.openApplication(str, obj, info);
  7451. }
  7452. }
  7453. break;
  7454. }
  7455. if (_iframe) {
  7456. if (str == 'CocoPi') {
  7457. _iframe = _formdiv.querySelector('iframe')
  7458. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7459. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7460. })
  7461. if (onloadListener) {
  7462. _iframe.contentDocument.location.reload()
  7463. } else {
  7464. _iframe.contentDocument.location.reload()
  7465. }
  7466. }
  7467. _jie.onclick = async () => {
  7468. let text = ''
  7469. if (aTool == 57) {
  7470. text = _iframe.contentWindow.getLoadXmlStr()
  7471. }
  7472. _loading.style.display = 'flex'
  7473. console.log(_loading);
  7474. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7475. _loading.style.display = 'none'
  7476. let _div = document.createElement('div')
  7477. _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;"
  7478. let _inner = document.createElement('div')
  7479. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7480. _inner.innerHTML = "上传成功"
  7481. _div.appendChild(_inner)
  7482. _iframe.contentWindow.window.document.body.appendChild(_div)
  7483. _div.onclick = () => {
  7484. _iframe.contentWindow.window.document.body.removeChild(_div)
  7485. }
  7486. setTimeout(() => {
  7487. _iframe.contentWindow.window.document.body.removeChild(_div)
  7488. }, 1000);
  7489. }, [], { "type": "POST", "withCredentials": true });
  7490. }
  7491. }
  7492. }
  7493. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7494. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7495. if (res.value[0].length > 0) {
  7496. if (atool == 57) {
  7497. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7498. }
  7499. } else {
  7500. if (atool == 57) {
  7501. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7502. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7503. }
  7504. }
  7505. }, [], { "type": "POST", "withCredentials": true });
  7506. }