DeskTop.js 444 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695
  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. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  530. ];
  531. //龙华中心小学教师桌面图标的全局变量
  532. U.MD.D.I.longhuateacherDeskIcon = [
  533. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  534. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  535. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  536. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  537. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  538. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  543. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  544. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  545. ];
  546. //教科院实小教师桌面图标的全局变量
  547. U.MD.D.I.siesteacherDeskIcon = [
  548. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  549. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  550. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  552. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  553. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  554. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  555. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  556. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  557. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  558. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  559. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. ];
  563. //教科院实小教师桌面图标的全局变量
  564. U.MD.D.I.siesStudentDeskIcon = [
  565. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. ];
  569. //福田
  570. U.MD.D.I.gdjgTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  578. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  579. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. ];
  582. //gdjg
  583. U.MD.D.I.gdjgAdminDeskIcon = [
  584. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  585. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  586. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  587. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  588. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  589. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  590. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  593. ];
  594. //hk
  595. U.MD.D.I.hkteacherDeskIcon = [
  596. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  597. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  598. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  599. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  600. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  601. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  602. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  603. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  604. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  605. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  606. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  607. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  608. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  609. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  611. ];
  612. //hk
  613. U.MD.D.I.hkStudentDeskIcon = [
  614. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  619. ];
  620. //香海正覺蓮社佛教正覺中學
  621. U.MD.D.I.hkZJLSteacherDeskIcon = [
  622. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  623. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  624. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  625. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  626. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  629. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  630. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  631. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  632. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  633. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  634. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  635. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSStudentDeskIcon = [
  639. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. ];
  643. //云海
  644. U.MD.D.I.yunhaiTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  649. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  652. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  653. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  654. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  655. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  656. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  657. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  658. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  659. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  660. ];
  661. //福田
  662. U.MD.D.I.heyuanTeacherDeskIcon = [
  663. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  664. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  665. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  666. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  667. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  668. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  669. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  670. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  671. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  672. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. ];
  674. //福田
  675. U.MD.D.I.heyuanAdminDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  684. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. ];
  686. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  687. U.MD.D.I.szherTeacherDeskIcon = [
  688. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  695. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  697. ];
  698. //dsei
  699. U.MD.D.I.dseiTeacherDeskIcon = [
  700. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  701. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  703. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  704. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  705. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  706. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  707. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  708. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  709. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  710. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  711. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  712. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  713. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  714. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  715. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  716. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  717. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  718. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  719. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  720. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  721. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  722. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  723. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  724. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  726. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  727. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  728. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  729. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  730. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  731. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  732. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  733. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  734. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  735. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  736. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  740. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  741. ];
  742. //dsei
  743. U.MD.D.I.dseiAdminDeskIcon = [
  744. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  745. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  746. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  747. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  748. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  749. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  750. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  751. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  752. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  753. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  754. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  755. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  756. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  757. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  758. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  759. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  760. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  761. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  762. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  763. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  764. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  765. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  766. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  767. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  768. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  769. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  770. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  771. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  772. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  773. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  774. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  775. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  776. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  777. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  778. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  781. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  784. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  785. ];
  786. //dsei
  787. U.MD.D.I.dseiStudentDeskIcon = [
  788. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. ];
  794. //未来教育基地
  795. U.MD.D.I.szjkyTeacherDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  799. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  800. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  801. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  802. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  803. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  804. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  805. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  806. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  807. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyAdminDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyStudentDeskIcon = [
  832. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. ];
  836. //成华教育局
  837. U.MD.D.I.chjyjTeacherDeskIcon = [
  838. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  839. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  843. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  844. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  845. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  846. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  847. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  848. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  850. ];
  851. //成华教育局chjyj
  852. U.MD.D.I.chjyjAdminDeskIcon = [
  853. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  854. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  855. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  856. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  857. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  858. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  859. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  860. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  861. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  862. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. ];
  867. //成华教育局chjyj
  868. U.MD.D.I.chjyjStudentDeskIcon = [
  869. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. ];
  873. //#region 桌面初始化a
  874. /**
  875. * 初始化桌面的起始函数
  876. *
  877. */
  878. U.MD.D.I.init = function () {
  879. if ($("#U_MD_D_K")[0]) {
  880. //初始化桌面图标
  881. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  882. // var clickUrl = ':12588/requestIp.php';
  883. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  884. // U.MD.D.I.Ip = data;
  885. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  886. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  887. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  888. // })
  889. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  890. // })
  891. }
  892. }
  893. /**
  894. * 模式切换
  895. *
  896. */
  897. U.MD.D.I.ModeCheck = function (type) {
  898. if (US.Config.type == type) {
  899. return
  900. }
  901. US.Config.type = type
  902. $('.U_PBL_Check .active')[0].className = ''
  903. if (type == 1) {
  904. $('.U_PBL_Check div')[0].className = 'active'
  905. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  906. } else {
  907. $('.U_PBL_Check div')[1].className = 'active'
  908. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  909. }
  910. //初始化桌面图标
  911. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  912. if (type == 2) {
  913. U.MD.D.I.openApplication("project")
  914. }
  915. }
  916. /**
  917. * 隐藏任务栏
  918. *
  919. * @param {element} 桌面元素
  920. */
  921. U.MD.D.I.hiddenTaskbar = function (el) {
  922. //任务栏位置变小
  923. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  924. //桌面的位置变大
  925. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  926. }
  927. /**
  928. * 隐藏任务栏
  929. *
  930. * @param {element} 桌面元素
  931. */
  932. U.MD.D.I.hiddenTaskbarout = function (el) {
  933. //任务栏位置变小
  934. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  935. //任务栏位置变化
  936. U.selectEl(el).css({ "bottom": "-60px" });
  937. //桌面的位置变大
  938. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  939. }
  940. }
  941. /**
  942. * 初始化打印桌面图标
  943. *
  944. * @param {element} 桌面元素
  945. */
  946. U.MD.D.I.initDesktopIcons = function (el, type) {
  947. var i, //用于循环
  948. _content, //桌面图标元素
  949. _iconcontent, //桌面图标元素
  950. _frag = $$("frag"), //定义一个碎片元素
  951. _type = US.userInfo.type,
  952. _org = US.userInfo.org,
  953. _oid = US.userInfo.organizeid,
  954. _role = US.userInfo.role,
  955. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  956. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  957. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  958. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  959. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  960. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  961. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  962. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  963. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  964. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  965. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  966. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  967. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  968. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  969. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  970. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  971. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  972. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  973. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  974. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  975. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  976. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  977. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  978. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  979. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  980. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  981. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  982. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  983. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  984. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  985. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  986. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  987. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  988. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  989. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  990. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  991. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  992. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  993. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  994. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  995. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  996. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  997. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  998. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  999. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1000. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1001. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1002. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1003. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1004. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1005. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1006. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1007. 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'];
  1008. 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'];
  1009. //清楚桌面图标
  1010. el.innerHTML = "";
  1011. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1012. _teacherDesktopIconInfo.push(
  1013. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1014. { "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)" } },
  1015. )
  1016. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1017. }
  1018. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1019. _teacherDesktopIconInfo.push(
  1020. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1021. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1022. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1023. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1024. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1025. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1026. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1028. )
  1029. }
  1030. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1031. _teacherDesktopIconInfo.push(
  1032. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1033. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1034. )
  1035. _studentDesktopIconInfo.push(
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. )
  1038. }
  1039. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1040. _teacherDesktopIconInfo.push(
  1041. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1042. )
  1043. }
  1044. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1045. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1046. if (el.Name == '项目管理') {
  1047. el.Name = 'PBL项目'
  1048. }
  1049. return el
  1050. })
  1051. }
  1052. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1053. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1054. return el.Name != '魔盒识字' && el.Name != '24点'
  1055. })
  1056. }
  1057. 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) {
  1058. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1059. }
  1060. //循环创建桌面图标
  1061. if (type == 1) {
  1062. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1063. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1064. _content = $$("div", {
  1065. className: "U_MD_D_KO",
  1066. "onmousedown": U.UF.C.closure(function (obj) {
  1067. //防止拖动图标即打开了桌面应用
  1068. U.MD.D.click(this, obj);
  1069. }, [_studentDesktopIconInfo[i]]),
  1070. "onclick": U.UF.C.closure(function (obj) {
  1071. //防止拖动图标即打开了桌面应用
  1072. U.MD.D.click(this, obj);
  1073. }, [_studentDesktopIconInfo[i]])
  1074. }, _frag); //
  1075. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1076. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1077. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1078. }
  1079. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1080. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1081. _content = $$("div", {
  1082. className: "U_MD_D_KO",
  1083. "onmousedown": U.UF.C.closure(function (obj) {
  1084. //防止拖动图标即打开了桌面应用
  1085. U.MD.D.click(this, obj);
  1086. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1087. "onclick": U.UF.C.closure(function (obj) {
  1088. //防止拖动图标即打开了桌面应用
  1089. U.MD.D.click(this, obj);
  1090. }, [_hkZJLSStudentDeskIconInfo[i]])
  1091. }, _frag); //
  1092. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1093. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1094. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1095. } //
  1096. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1097. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1098. _content = $$("div", {
  1099. className: "U_MD_D_KO",
  1100. "onmousedown": U.UF.C.closure(function (obj) {
  1101. //防止拖动图标即打开了桌面应用
  1102. U.MD.D.click(this, obj);
  1103. }, [_chjyjStudentDeskIconInfo[i]]),
  1104. "onclick": U.UF.C.closure(function (obj) {
  1105. //防止拖动图标即打开了桌面应用
  1106. U.MD.D.click(this, obj);
  1107. }, [_chjyjStudentDeskIconInfo[i]])
  1108. }, _frag); //
  1109. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1110. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1111. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1112. }
  1113. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1114. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1115. _content = $$("div", {
  1116. className: "U_MD_D_KO",
  1117. "onmousedown": U.UF.C.closure(function (obj) {
  1118. //防止拖动图标即打开了桌面应用
  1119. U.MD.D.click(this, obj);
  1120. }, [_szjkyStudentDeskIconInfo[i]]),
  1121. "onclick": U.UF.C.closure(function (obj) {
  1122. //防止拖动图标即打开了桌面应用
  1123. U.MD.D.click(this, obj);
  1124. }, [_szjkyStudentDeskIconInfo[i]])
  1125. }, _frag); //
  1126. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1127. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1128. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1129. }
  1130. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1131. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1132. _content = $$("div", {
  1133. className: "U_MD_D_KO",
  1134. "onmousedown": U.UF.C.closure(function (obj) {
  1135. //防止拖动图标即打开了桌面应用
  1136. U.MD.D.click(this, obj);
  1137. }, [_dseiStudentDeskIconInfo[i]]),
  1138. "onclick": U.UF.C.closure(function (obj) {
  1139. //防止拖动图标即打开了桌面应用
  1140. U.MD.D.click(this, obj);
  1141. }, [_dseiStudentDeskIconInfo[i]])
  1142. }, _frag); //
  1143. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1144. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1145. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1146. }
  1147. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1148. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1149. _content = $$("div", {
  1150. className: "U_MD_D_KO",
  1151. "onmousedown": U.UF.C.closure(function (obj) {
  1152. //防止拖动图标即打开了桌面应用
  1153. U.MD.D.click(this, obj);
  1154. }, [_siesStudentDeskIconInfo[i]]),
  1155. "onclick": U.UF.C.closure(function (obj) {
  1156. //防止拖动图标即打开了桌面应用
  1157. U.MD.D.click(this, obj);
  1158. }, [_siesStudentDeskIconInfo[i]])
  1159. }, _frag); //
  1160. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1161. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1162. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1163. }
  1164. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1165. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1166. _content = $$("div", {
  1167. className: "U_MD_D_KO",
  1168. "onmousedown": U.UF.C.closure(function (obj) {
  1169. //防止拖动图标即打开了桌面应用
  1170. U.MD.D.click(this, obj);
  1171. }, [_hkStudentDeskIconInfo[i]]),
  1172. "onclick": U.UF.C.closure(function (obj) {
  1173. //防止拖动图标即打开了桌面应用
  1174. U.MD.D.click(this, obj);
  1175. }, [_hkStudentDeskIconInfo[i]])
  1176. }, _frag); //
  1177. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1178. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1179. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1180. }
  1181. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1182. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1183. _content = $$("div", {
  1184. className: "U_MD_D_KO",
  1185. "onmousedown": U.UF.C.closure(function (obj) {
  1186. //防止拖动图标即打开了桌面应用
  1187. U.MD.D.click(this, obj);
  1188. }, [_studentDesktopIconInfo[i]]),
  1189. "onclick": U.UF.C.closure(function (obj) {
  1190. //防止拖动图标即打开了桌面应用
  1191. U.MD.D.click(this, obj);
  1192. }, [_studentDesktopIconInfo[i]])
  1193. }, _frag); //
  1194. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1195. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1196. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1197. }
  1198. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1199. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1200. _content = $$("div", {
  1201. className: "U_MD_D_KO",
  1202. "onmousedown": U.UF.C.closure(function (obj) {
  1203. //防止拖动图标即打开了桌面应用
  1204. U.MD.D.click(this, obj);
  1205. }, [_tcStudentDeskIconInfo[i]]),
  1206. "onclick": U.UF.C.closure(function (obj) {
  1207. //防止拖动图标即打开了桌面应用
  1208. U.MD.D.click(this, obj);
  1209. }, [_tcStudentDeskIconInfo[i]])
  1210. }, _frag); //
  1211. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1212. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1213. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1214. }
  1215. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1216. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1217. _content = $$("div", {
  1218. className: "U_MD_D_KO",
  1219. "onmousedown": U.UF.C.closure(function (obj) {
  1220. //防止拖动图标即打开了桌面应用
  1221. U.MD.D.click(this, obj);
  1222. }, [_szscStudentDeskIconInfo[i]]),
  1223. "onclick": U.UF.C.closure(function (obj) {
  1224. //防止拖动图标即打开了桌面应用
  1225. U.MD.D.click(this, obj);
  1226. }, [_szscStudentDeskIconInfo[i]])
  1227. }, _frag); //
  1228. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1229. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1230. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1231. }
  1232. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1233. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1234. _content = $$("div", {
  1235. className: "U_MD_D_KO",
  1236. "onmousedown": U.UF.C.closure(function (obj) {
  1237. //防止拖动图标即打开了桌面应用
  1238. U.MD.D.click(this, obj);
  1239. }, [_studentDesktopIconInfo3[i]]),
  1240. "onclick": U.UF.C.closure(function (obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_studentDesktopIconInfo3[i]])
  1244. }, _frag); //
  1245. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1246. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1247. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1248. }
  1249. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1250. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1251. _content = $$("div", {
  1252. className: "U_MD_D_KO",
  1253. "onmousedown": U.UF.C.closure(function (obj) {
  1254. //防止拖动图标即打开了桌面应用
  1255. U.MD.D.click(this, obj);
  1256. }, [_studentDesktopIconInfo2[i]]),
  1257. "onclick": U.UF.C.closure(function (obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_studentDesktopIconInfo2[i]])
  1261. }, _frag); //
  1262. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1263. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1264. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1265. }
  1266. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1267. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1268. _content = $$("div", {
  1269. className: "U_MD_D_KO",
  1270. "onmousedown": U.UF.C.closure(function (obj) {
  1271. //防止拖动图标即打开了桌面应用
  1272. U.MD.D.click(this, obj);
  1273. }, [_wanketeacherDesktopIconInfo[i]]),
  1274. "onclick": U.UF.C.closure(function (obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_wanketeacherDesktopIconInfo[i]])
  1278. }, _frag); //
  1279. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1280. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1281. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1282. }
  1283. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1284. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1285. _content = $$("div", {
  1286. className: "U_MD_D_KO",
  1287. "onmousedown": U.UF.C.closure(function (obj) {
  1288. //防止拖动图标即打开了桌面应用
  1289. U.MD.D.click(this, obj);
  1290. }, [_wankeAdminDesktopIconInfo[i]]),
  1291. "onclick": U.UF.C.closure(function (obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_wankeAdminDesktopIconInfo[i]])
  1295. }, _frag); //
  1296. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1297. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1298. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1299. }
  1300. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1301. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1302. _content = $$("div", {
  1303. className: "U_MD_D_KO",
  1304. "onmousedown": U.UF.C.closure(function (obj) {
  1305. //防止拖动图标即打开了桌面应用
  1306. U.MD.D.click(this, obj);
  1307. }, [_teacherDesktopIconInfo2[i]]),
  1308. "onclick": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_teacherDesktopIconInfo2[i]])
  1312. }, _frag); //
  1313. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1314. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1315. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1316. }
  1317. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1318. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1319. _content = $$("div", {
  1320. className: "U_MD_D_KO",
  1321. "onmousedown": U.UF.C.closure(function (obj) {
  1322. //防止拖动图标即打开了桌面应用
  1323. U.MD.D.click(this, obj);
  1324. }, [_lotechTeacherDeskIconInfo[i]]),
  1325. "onclick": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_lotechTeacherDeskIconInfo[i]])
  1329. }, _frag); //
  1330. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1331. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1332. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1333. }//
  1334. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1335. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1336. _content = $$("div", {
  1337. className: "U_MD_D_KO",
  1338. "onmousedown": U.UF.C.closure(function (obj) {
  1339. //防止拖动图标即打开了桌面应用
  1340. U.MD.D.click(this, obj);
  1341. }, [_siesTeacherDeskIconInfo[i]]),
  1342. "onclick": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_siesTeacherDeskIconInfo[i]])
  1346. }, _frag); //
  1347. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1348. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1349. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1350. }
  1351. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1352. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1353. _content = $$("div", {
  1354. className: "U_MD_D_KO",
  1355. "onmousedown": U.UF.C.closure(function (obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_longhuaTeacherDeskIconInfo[i]]),
  1359. "onclick": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_longhuaTeacherDeskIconInfo[i]])
  1363. }, _frag); //
  1364. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1365. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1366. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1367. }
  1368. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1369. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1370. _content = $$("div", {
  1371. className: "U_MD_D_KO",
  1372. "onmousedown": U.UF.C.closure(function (obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1376. "onclick": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_yunhaiTeacherDeskIconInfo[i]])
  1380. }, _frag); //
  1381. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1382. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1383. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1384. } //_hkStudentDeskIconInfo
  1385. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1386. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1387. _content = $$("div", {
  1388. className: "U_MD_D_KO",
  1389. "onmousedown": U.UF.C.closure(function (obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1393. "onclick": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1397. }, _frag); //
  1398. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1399. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1400. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1401. }
  1402. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1403. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1404. _content = $$("div", {
  1405. className: "U_MD_D_KO",
  1406. "onmousedown": U.UF.C.closure(function (obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_hkTeacherDeskIconInfo[i]]),
  1410. "onclick": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_hkTeacherDeskIconInfo[i]])
  1414. }, _frag); //
  1415. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1416. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1417. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1418. }
  1419. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1420. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1421. _content = $$("div", {
  1422. className: "U_MD_D_KO",
  1423. "onmousedown": U.UF.C.closure(function (obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_gdjgAdminDeskIconInfo[i]]),
  1427. "onclick": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_gdjgAdminDeskIconInfo[i]])
  1431. }, _frag); //
  1432. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1433. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1434. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1435. }
  1436. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1437. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1438. _content = $$("div", {
  1439. className: "U_MD_D_KO",
  1440. "onmousedown": U.UF.C.closure(function (obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_gdjgTeacherDeskIconInfo[i]]),
  1444. "onclick": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_gdjgTeacherDeskIconInfo[i]])
  1448. }, _frag); //
  1449. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1450. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1451. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1452. }
  1453. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1454. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1455. _content = $$("div", {
  1456. className: "U_MD_D_KO",
  1457. "onmousedown": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_szherTeacherDeskIconInfo[i]]),
  1461. "onclick": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_szherTeacherDeskIconInfo[i]])
  1465. }, _frag); //
  1466. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1467. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1468. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1469. }
  1470. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1471. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1472. _content = $$("div", {
  1473. className: "U_MD_D_KO",
  1474. "onmousedown": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_heyuannAdminDeskIconInfo[i]]),
  1478. "onclick": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_heyuannAdminDeskIconInfo[i]])
  1482. }, _frag); //
  1483. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1484. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1485. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1486. }
  1487. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1488. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1489. _content = $$("div", {
  1490. className: "U_MD_D_KO",
  1491. "onmousedown": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_heyuanTeacherDeskIconInfo[i]]),
  1495. "onclick": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_heyuanTeacherDeskIconInfo[i]])
  1499. }, _frag); //
  1500. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1501. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1502. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1503. } //
  1504. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1505. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1506. _content = $$("div", {
  1507. className: "U_MD_D_KO",
  1508. "onmousedown": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_dseiAdminDeskIconInfo[i]]),
  1512. "onclick": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_dseiAdminDeskIconInfo[i]])
  1516. }, _frag); //
  1517. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1518. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1519. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1520. }
  1521. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1522. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1523. _content = $$("div", {
  1524. className: "U_MD_D_KO",
  1525. "onmousedown": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_dseiTeacherDeskIconInfo[i]]),
  1529. "onclick": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_dseiTeacherDeskIconInfo[i]])
  1533. }, _frag); //
  1534. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1535. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1536. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1537. } //
  1538. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1539. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1540. _content = $$("div", {
  1541. className: "U_MD_D_KO",
  1542. "onmousedown": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_chjyjAdminDeskIconInfo[i]]),
  1546. "onclick": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_chjyjAdminDeskIconInfo[i]])
  1550. }, _frag); //
  1551. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1554. }//
  1555. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1556. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1557. _content = $$("div", {
  1558. className: "U_MD_D_KO",
  1559. "onmousedown": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_chjyjTeacherDeskIconInfo[i]]),
  1563. "onclick": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_chjyjTeacherDeskIconInfo[i]])
  1567. }, _frag); //
  1568. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1569. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1570. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1571. }
  1572. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1573. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1574. _content = $$("div", {
  1575. className: "U_MD_D_KO",
  1576. "onmousedown": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szjkyAdminDeskIconInfo[i]]),
  1580. "onclick": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_szjkyAdminDeskIconInfo[i]])
  1584. }, _frag); //
  1585. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1586. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1587. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1588. }//
  1589. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1590. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1591. _content = $$("div", {
  1592. className: "U_MD_D_KO",
  1593. "onmousedown": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_szjkyTeacherDeskIconInfo[i]]),
  1597. "onclick": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_szjkyTeacherDeskIconInfo[i]])
  1601. }, _frag); //
  1602. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1603. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1604. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1605. }
  1606. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1607. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1608. _content = $$("div", {
  1609. className: "U_MD_D_KO",
  1610. "onmousedown": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_futianAdminDeskIconInfo[i]]),
  1614. "onclick": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_futianAdminDeskIconInfo[i]])
  1618. }, _frag); //
  1619. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1620. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1621. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1622. }
  1623. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1624. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1625. _content = $$("div", {
  1626. className: "U_MD_D_KO",
  1627. "onmousedown": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_futianTeacherDeskIconInfo[i]]),
  1631. "onclick": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_futianTeacherDeskIconInfo[i]])
  1635. }, _frag); //
  1636. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1637. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1638. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1639. }
  1640. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1641. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1642. _content = $$("div", {
  1643. className: "U_MD_D_KO",
  1644. "onmousedown": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_MingdeTeacherDeskIcon[i]]),
  1648. "onclick": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_MingdeTeacherDeskIcon[i]])
  1652. }, _frag); //
  1653. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1654. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1655. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1656. }
  1657. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1658. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1659. _content = $$("div", {
  1660. className: "U_MD_D_KO",
  1661. "onmousedown": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_lhsAdminDesktopIconInfo[i]]),
  1665. "onclick": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_lhsAdminDesktopIconInfo[i]])
  1669. }, _frag); //
  1670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1673. }
  1674. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1675. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1676. _content = $$("div", {
  1677. className: "U_MD_D_KO",
  1678. "onmousedown": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_lhsteacherDesktopIconInfo[i]]),
  1682. "onclick": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_lhsteacherDesktopIconInfo[i]])
  1686. }, _frag); //
  1687. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1688. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1689. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1690. }
  1691. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1692. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1693. _content = $$("div", {
  1694. className: "U_MD_D_KO",
  1695. "onmousedown": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1699. "onclick": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_zhoujiateacherDesktopIconInfo[i]])
  1703. }, _frag); //
  1704. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1705. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1706. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1707. }
  1708. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1709. for (i = 0; i < _hanDeskIcon.length; i++) {
  1710. _content = $$("div", {
  1711. className: "U_MD_D_KO",
  1712. "onmousedown": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_hanDeskIcon[i]]),
  1716. "onclick": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_hanDeskIcon[i]])
  1720. }, _frag); //
  1721. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1722. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1723. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1724. }
  1725. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1726. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1727. _content = $$("div", {
  1728. className: "U_MD_D_KO",
  1729. "onmousedown": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_orgStemDeskIcon[i]]),
  1733. "onclick": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_orgStemDeskIcon[i]])
  1737. }, _frag); //
  1738. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1739. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1740. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1741. }
  1742. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1743. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1744. _content = $$("div", {
  1745. className: "U_MD_D_KO",
  1746. "onmousedown": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_szulsDeskIcon[i]]),
  1750. "onclick": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_szulsDeskIcon[i]])
  1754. }, _frag); //
  1755. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1756. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1757. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1758. }
  1759. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1760. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1761. _content = $$("div", {
  1762. className: "U_MD_D_KO",
  1763. "onmousedown": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_orgDesktopIconInfo[i]]),
  1767. "onclick": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_orgDesktopIconInfo[i]])
  1771. }, _frag); //
  1772. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1773. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1774. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1775. }
  1776. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1777. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1778. _content = $$("div", {
  1779. className: "U_MD_D_KO",
  1780. "onmousedown": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_schoolDesktopIconInfo[i]]),
  1784. "onclick": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_schoolDesktopIconInfo[i]])
  1788. }, _frag); //
  1789. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1790. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1791. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1792. }
  1793. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1794. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1795. _content = $$("div", {
  1796. className: "U_MD_D_KO",
  1797. "onmousedown": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_GMteacherDesktopIconInfo[i]]),
  1801. "onclick": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_GMteacherDesktopIconInfo[i]])
  1805. }, _frag); //
  1806. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1807. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1808. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1809. }
  1810. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1811. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1812. _content = $$("div", {
  1813. className: "U_MD_D_KO",
  1814. "onmousedown": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_SONGteacherDesktopIconInfo[i]]),
  1818. "onclick": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_SONGteacherDesktopIconInfo[i]])
  1822. }, _frag); //
  1823. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1824. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1825. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1826. }
  1827. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1828. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1829. _content = $$("div", {
  1830. className: "U_MD_D_KO",
  1831. "onmousedown": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_GMstudentDesktopIconInfo[i]]),
  1835. "onclick": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_GMstudentDesktopIconInfo[i]])
  1839. }, _frag); //
  1840. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1841. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1842. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1843. }
  1844. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1845. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1846. _content = $$("div", {
  1847. className: "U_MD_D_KO",
  1848. "onmousedown": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_tcTeacherDeskIconInfo[i]]),
  1852. "onclick": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_tcTeacherDeskIconInfo[i]])
  1856. }, _frag); //
  1857. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1858. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1859. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1860. }
  1861. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1862. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1863. _content = $$("div", {
  1864. className: "U_MD_D_KO",
  1865. "onmousedown": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_tcOrganizerDeskIconInfo[i]]),
  1869. "onclick": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_tcOrganizerDeskIconInfo[i]])
  1873. }, _frag); //
  1874. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1875. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1876. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1877. }
  1878. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1879. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1880. _content = $$("div", {
  1881. className: "U_MD_D_KO",
  1882. "onmousedown": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_szscTeacherDeskIconInfo[i]]),
  1886. "onclick": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szscTeacherDeskIconInfo[i]])
  1890. }, _frag); //
  1891. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1892. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1893. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1894. }
  1895. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1896. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1897. _content = $$("div", {
  1898. className: "U_MD_D_KO",
  1899. "onmousedown": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_szscOrganizerDeskIconInfo[i]]),
  1903. "onclick": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szscOrganizerDeskIconInfo[i]])
  1907. }, _frag); //
  1908. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1909. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1910. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1911. }
  1912. } else {
  1913. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1914. _content = $$("div", {
  1915. className: "U_MD_D_KO",
  1916. "onmousedown": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_teacherDesktopIconInfo[i]]),
  1920. "onclick": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_teacherDesktopIconInfo[i]])
  1924. }, _frag); //
  1925. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1926. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1927. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1928. }
  1929. }
  1930. } else {
  1931. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. style: { 'width': '124px', 'height': '145px' },
  1935. "onmousedown": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_easyDesktopIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_easyDesktopIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1947. }
  1948. }
  1949. if (type == 1) {
  1950. //加载好后给图标定位
  1951. U.MD.D.iconPostion($(_frag).Child());
  1952. } else {
  1953. //加载好后给图标定位
  1954. U.MD.D.iconPostion2($(_frag).Child());
  1955. }
  1956. //把图标加载到页面
  1957. el.appendChild(_frag);
  1958. }
  1959. /**
  1960. * 显示任务栏
  1961. *
  1962. * @param {element} 桌面元素
  1963. */
  1964. U.MD.D.I.displayTaskbar = function (el) {
  1965. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1966. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1967. //任务栏位置变化
  1968. U.selectEl(el).css({ "bottom": "0px" });
  1969. //桌面位置变话
  1970. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1971. }
  1972. }
  1973. //#region 桌面图标拖动逻辑
  1974. /**
  1975. * 桌面排列图标
  1976. *
  1977. * @param {element} 桌面元素
  1978. * @param {object} 上下相距的距离
  1979. * @param {object} 左右相距的距离
  1980. * @return {object} 命名空间
  1981. */
  1982. U.MD.D.iconPostion = function (childs, top, left) {
  1983. var i; //用于循环处理
  1984. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1985. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1986. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1987. for (i = 0; i < childs.length; i++) {
  1988. //如果竖排top超过了范围处理
  1989. if (top + 95 > US.height - 10) {
  1990. //left超过了页面范围处理,则向上重叠打印处理
  1991. if ((left + 180) > US.width) {
  1992. top -= 110;
  1993. left -= 90;
  1994. }
  1995. //没有超过范围,那么left+90添加到下一个竖排打印
  1996. else {
  1997. left += 90;
  1998. top = 15;
  1999. };
  2000. }
  2001. //给图标的位置赋值
  2002. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2003. if (i < childs.length - 1) {
  2004. //页面图标每次向下加95
  2005. top += 95;
  2006. }
  2007. }
  2008. //返回最后调用的图标的位置
  2009. return [top, left];
  2010. }
  2011. /**
  2012. * 桌面排列图标
  2013. *
  2014. * @param {element} 桌面元素
  2015. * @param {object} 上下相距的距离
  2016. * @param {object} 左右相距的距离
  2017. * @return {object} 命名空间
  2018. */
  2019. U.MD.D.iconPostion2 = function (childs, top, left) {
  2020. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2021. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2022. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2023. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2024. for (i = 0; i < childs.length; i++) {
  2025. //如果竖排top超过了范围处理
  2026. if (left + 150 > US.width - 10) {
  2027. //left超过了页面范围处理,则向上重叠打印处理
  2028. if ((top + 180) > US.Height) {
  2029. top -= 150;
  2030. left -= 150;
  2031. }
  2032. //没有超过范围,那么left+90添加到下一个竖排打印
  2033. else {
  2034. top += 150;
  2035. left = ol;
  2036. };
  2037. }
  2038. //给图标的位置赋值
  2039. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2040. if (i < childs.length - 1) {
  2041. //页面图标每次向下加95
  2042. left += 150;
  2043. }
  2044. }
  2045. //返回最后调用的图标的位置
  2046. return [top, left];
  2047. }
  2048. /**
  2049. * 桌面点击事件逻辑
  2050. *
  2051. * @param {element} 桌面元素
  2052. * @param {object} 上下相距的距离
  2053. * @param {object} 左右相距的距离
  2054. * @return {object} 命名空间
  2055. */
  2056. U.MD.D.click = function (el, obj) {
  2057. var _buttonnumber = event.button; //点击的按钮的事件值
  2058. var _userinfo = US.userInfo;
  2059. U.UF.EV.stopBubble(); //阻止向上冒泡
  2060. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2061. if (_buttonnumber < 2) {
  2062. //如果是click事件的处理
  2063. if (event.type == "click") {
  2064. //如果元素在mousemove事件中没有移动则出发click事件
  2065. if (!U.MD.D.I.IsDrag) {
  2066. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2067. U.alert("请先登录您的账号!");
  2068. setTimeout(() => {
  2069. U.MD.U.L.login();
  2070. }, 2000);
  2071. } else {
  2072. //打开应用处理
  2073. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2074. }
  2075. }
  2076. }
  2077. //如果是mouse事件的处理
  2078. else {
  2079. if (US.Config.type == '1') {
  2080. //拖动处理,添加拖动和拖动结束事件
  2081. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2082. }
  2083. }
  2084. U.MD.D.I.IsDrag = false;
  2085. }
  2086. }
  2087. /**
  2088. * 拖动的处理
  2089. *
  2090. */
  2091. U.MD.D.iconMove = function () {
  2092. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2093. U.MD.D.I.IsDrag = true;
  2094. }
  2095. /**
  2096. * 拖动结束后,这里是定位处理,以网状的形式定位
  2097. *
  2098. * @param {element} 拖动的元素
  2099. * @return {object} 命名空间
  2100. */
  2101. U.MD.D.iconUp = function (el) {
  2102. var _top = 15,
  2103. _left = 20,
  2104. _margin,
  2105. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2106. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2107. if (_positioninfo["OT"] > 15) {
  2108. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2109. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2110. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2111. }
  2112. if (_positioninfo["OL"] > 20) {
  2113. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2114. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2115. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2116. }
  2117. //while循环判断么一个重叠的元素
  2118. do {
  2119. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2120. _top = _positioninfo[0] + 95; //得到定位后的top
  2121. _left = _positioninfo[1]; //得到定位后的left
  2122. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2123. }
  2124. /**
  2125. * 判断拖动后图标是否重叠
  2126. *
  2127. * @param {element} 拖动的元素
  2128. * @param {element} 桌面所有的元素
  2129. * @param {array} 拖动元素的位置
  2130. ----------[0] 上 top
  2131. ----------[1] 左 left
  2132. * @return {object} 命名空间
  2133. */
  2134. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2135. //循环所有的图标
  2136. for (var i = 0; i < childs.length; i++) {
  2137. //判断有没有和该图标诶子重叠的元素
  2138. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2139. return childs[i]; //如果有返回
  2140. }
  2141. }
  2142. }
  2143. //#endregion
  2144. //#endregion
  2145. //#region 桌面应用
  2146. /**
  2147. * 打开应用
  2148. *
  2149. * @param {string} 类型
  2150. -----------------Disk 网盘系统
  2151. -----------------PDisk 学习系统网盘
  2152. -----------------Poto 图片
  2153. -----------------Video 视频
  2154. -----------------Music 音乐
  2155. -----------------Word word
  2156. -----------------Excel excel
  2157. -----------------Txt 记事本
  2158. -----------------PB 学习系统
  2159. -----------------Blog 朋友圈系统
  2160. -----------------FTP ftp系统
  2161. -----------------Group 好友群
  2162. -----------------SY 首页系统
  2163. -----------------Set 个人设置
  2164. -----------------XSet 系统设置
  2165. -----------------App 我们所有的app
  2166. -----------------BC c.1473.cn 平台
  2167. -----------------CWeb d.1473.cn 变成平台
  2168. -----------------其他的外联系统 我们统一用iframe打开
  2169. * @param {array} 类型
  2170. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2171. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2172. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2173. 如果第一个参数为其他,则无第二个参数
  2174. * @returns {array}
  2175. */
  2176. window.addEventListener('message', function (e) { // 监听 message 事件
  2177. // alert(e.data.type);
  2178. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2179. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2180. //3是展示全部阶段 2学生 1老师 4专家
  2181. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2183. //3是展示全部阶段 2学生 1老师 4专家
  2184. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2185. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2186. //3是展示全部阶段 2学生 1老师 4专家
  2187. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2188. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2189. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2190. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2191. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2192. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2193. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2194. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2195. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2196. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2197. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2198. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2199. //3是展示全部阶段 2学生 1老师 4专家
  2200. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2201. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2202. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2203. U.MD.D.I.selectUser();
  2204. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2205. var _formel = document.getElementById("study");
  2206. U.UF.F.windowZooming(_formel);
  2207. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2208. var _formel = document.getElementById("studyDetail");
  2209. U.UF.F.windowZooming(_formel);
  2210. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2211. var _formel = document.getElementById("studyDetail");
  2212. U.UF.F.windowZooming(_formel);
  2213. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2214. var _formel = document.getElementById("studentStudy");
  2215. U.UF.F.windowZooming(_formel);
  2216. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2217. // var _formel = document.getElementById("study");
  2218. //如果最大化了,那么就把他缩小
  2219. // if (_formel.ismaximize) {
  2220. // return;
  2221. // }
  2222. // U.UF.F.windowZooming(_formel);
  2223. // U.UF.F.topWindow(_formel);
  2224. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2225. // var _formel = document.getElementById("studyDetail");
  2226. //如果最大化了,那么就把他缩小
  2227. // if (_formel.ismaximize) {
  2228. // return;
  2229. // }
  2230. // U.UF.F.windowZooming(_formel);
  2231. // U.UF.F.topWindow(_formel);
  2232. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2233. // var _formel = document.getElementById("studentStudy");
  2234. // if (_formel.ismaximize) {
  2235. // return;
  2236. // }
  2237. // U.UF.F.windowZooming(_formel);
  2238. // U.UF.F.topWindow(_formel);
  2239. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2240. var _formel = document.getElementById("study");
  2241. // if (_formel.ismaximize) {
  2242. // return;
  2243. // }
  2244. // U.UF.F.windowZooming(_formel);
  2245. U.UF.F.topWindow(_formel);
  2246. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2247. var _formel = document.getElementById("studentIndex");
  2248. U.UF.F.windowZooming(_formel);
  2249. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2250. var _formel = document.getElementById("studyDetailS");
  2251. U.UF.F.windowZooming(_formel);
  2252. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2253. var _formel = document.getElementById("studioIndex");
  2254. U.UF.F.windowZooming(_formel);
  2255. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2256. var _formel = document.getElementById("studyDetailStudio");
  2257. U.UF.F.windowZooming(_formel);
  2258. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2259. var _formel = document.getElementById("studyDetailStudio");
  2260. U.UF.F.windowZooming(_formel);
  2261. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2262. var _formel = document.getElementById("studyDetailNT");
  2263. U.UF.F.windowZooming(_formel);
  2264. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2265. var _formel = document.getElementById("studyDetailS");
  2266. U.UF.F.windowZooming(_formel);
  2267. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2268. var _formel = document.getElementById("studyDetailS");
  2269. U.UF.F.topWindow(_formel);
  2270. } else if (e.data.tools && e.data.tools == "1") {
  2271. // U.MD.D.I.openApplication("whiteboard")
  2272. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2273. } else if (e.data.tools && e.data.tools == "2") {
  2274. U.MD.D.I.openApplication("note")
  2275. } else if (e.data.tools && e.data.tools == "3") {
  2276. // U.MD.D.I.openApplication("mind")
  2277. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2278. } else if (e.data.tools && e.data.tools == "4") {
  2279. U.MD.D.I.openApplication("investigation")
  2280. } else if (e.data.tools && e.data.tools == "6") {
  2281. // U.MD.D.I.openApplication("doc")
  2282. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2283. } else if (e.data.tools && e.data.tools == "7") {
  2284. // U.MD.D.I.openApplication("mindNetwork")
  2285. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2286. } else if (e.data.tools && e.data.tools == "8") {
  2287. U.MD.D.I.openApplication("library")
  2288. } else if (e.data.tools && e.data.tools == "17") {
  2289. U.MD.D.I.openApplication("stuLibrary")
  2290. } else if (e.data.tools && e.data.tools == "18") {
  2291. U.MD.D.I.openApplication("train")
  2292. } else if (e.data.tools && e.data.tools == "21") {
  2293. U.MD.D.I.openApplication("program")
  2294. } else if (e.data.tools && e.data.tools == "22") {
  2295. U.MD.D.I.openApplication("AIprogram2")
  2296. } else if (e.data.tools && e.data.tools == "23") {
  2297. U.MD.D.I.openApplication("Pythonprogram")
  2298. } else if (e.data.tools && e.data.tools == "24") {
  2299. U.MD.D.I.openApplication("AIprogram")
  2300. } else if (e.data.tools && e.data.tools == "25") {
  2301. U.MD.D.I.openApplication("sys")
  2302. } else if (e.data.tools && e.data.tools == "26") {
  2303. // U.MD.D.I.openApplication("courseDesign")
  2304. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2305. } else if (e.data.tools && e.data.tools == "31") {
  2306. U.MD.D.I.openApplication("netWorkPanel")
  2307. } else if (e.data.tools && e.data.tools == "32") {
  2308. U.MD.D.I.openApplication("codeEdit")
  2309. } else if (e.data.tools && e.data.tools == "57") {
  2310. U.MD.D.I.openApplication("CocoPi")
  2311. } else if (e.data.tools && e.data.tools == "63") {
  2312. U.MD.D.I.openApplication("Wood")
  2313. } else if (e.data.tools && e.data.tools == "58") {
  2314. U.MD.D.I.openApplication("car")
  2315. } else if (e.data.tools && e.data.tools == "59") {
  2316. U.MD.D.I.openApplication("lineSearch")
  2317. } else if (e.data.tools && e.data.tools == "60") {
  2318. U.MD.D.I.openApplication("deepLearning")
  2319. } else if (e.data.tools && e.data.tools == "61") {
  2320. U.MD.D.I.openApplication("allHistory")
  2321. } else if (e.data.tools && e.data.tools == "28") {
  2322. U.MD.D.I.openApplication("translation")
  2323. } else if (e.data.tools && e.data.tools == "37") {
  2324. U.MD.D.I.openApplication("mohe")
  2325. } else if (e.data.tools && e.data.tools == "38") {
  2326. U.MD.D.I.openApplication("24game")
  2327. } else if (e.data.tools && e.data.tools == "39") {
  2328. U.MD.D.I.openApplication("GeoGebra")
  2329. } else if (e.data.tools && e.data.tools == "43") {
  2330. U.MD.D.I.openApplication("studentEvaluate")
  2331. } else if (e.data.tools && e.data.tools == "44") {
  2332. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2333. } else if (e.data.tools && e.data.tools == "46") {
  2334. U.MD.D.I.openApplication("project")
  2335. } else if (e.data.tools && e.data.tools == "1s") {
  2336. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2337. } else if (e.data.tools && e.data.tools == "3s") {
  2338. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "6s") {
  2340. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "1studio") {
  2342. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "3studio") {
  2344. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "6studio") {
  2346. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2347. } else if (e.data.tools && e.data.tools == "3y") {
  2348. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2349. } else if (e.data.tools && e.data.tools == "1y") {
  2350. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2351. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2352. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2353. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2354. U.MD.D.I.openApplication("AIAnalyse")
  2355. } else if (e.data.tools && e.data.tools == "1teacher") {
  2356. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2357. } else if (e.data.tools && e.data.tools == "3teacher") {
  2358. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2359. } else if (e.data.tools && e.data.tools == "7teacher") {
  2360. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2361. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2362. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2363. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2364. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2365. } else if (e.data.tools && e.data.tools == "1E") {
  2366. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2367. } else if (e.data.tools && e.data.tools == "3E") {
  2368. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2369. } else if (e.data.tools && e.data.tools == "57y") {
  2370. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2371. } else if (e.data.tools && e.data.tools == "57u") {
  2372. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2373. } else if (e.data.tools && e.data.tools == "57teacher") {
  2374. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2375. } else if (e.data.tools && e.data.tools == "64") {
  2376. U.MD.D.I.openApplication("AIChat")
  2377. } else if (e.data.tools && e.data.tools == "66") {
  2378. U.MD.D.I.openApplication("formulaEdi")
  2379. } else if (e.data.tools && e.data.tools == "67") {
  2380. U.MD.D.I.openApplication("molStr")
  2381. } else if (e.data.tools && e.data.tools == "68") {
  2382. U.MD.D.I.openApplication("timeAxis")
  2383. } else if (e.data.tools && e.data.tools == "openCourse") {
  2384. let _data = {
  2385. typea: e.data.typea || '',
  2386. typeb: e.data.typeb || '',
  2387. typed: e.data.typed || '',
  2388. }
  2389. U.MD.D.I.openInApplication("index", _data)
  2390. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2391. let _data = {
  2392. classid: e.data.classid || '',
  2393. }
  2394. U.MD.D.I.openInApplication("dataClass", _data)
  2395. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2396. let _data = {
  2397. cid: e.data.cid || '',
  2398. gid: e.data.gid || '',
  2399. }
  2400. U.MD.D.I.openInApplication("opencCscl", _data)
  2401. }
  2402. });
  2403. U.MD.D.I.selectUser = function () {
  2404. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2405. if (res.value[0].length > 0) {
  2406. US.userInfo = res.value[0][0];
  2407. $(".userName")[0].innerHTML = US.userInfo.username;
  2408. }
  2409. }, [], { "type": "GET", "withCredentials": true });
  2410. }
  2411. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2412. var _userinfo = US.userInfo, //登录用户信息
  2413. _userid = US.userInfo.userid, //登录用户id
  2414. _oid = _userinfo.organizeid,
  2415. _type = US.userInfo.type,
  2416. _org = US.userInfo.org,
  2417. _role = US.userInfo.role,
  2418. _classId = US.userInfo.classid;
  2419. if (_type == 4) {
  2420. tType = 4
  2421. }
  2422. switch (str) {
  2423. case "studyDetailNT": //无终端模式
  2424. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2425. setTimeout(() => {
  2426. U.MD.U.L.login();
  2427. }, 2000);
  2428. } else {
  2429. _formdiv = new U.UF.UI.form(
  2430. "课程详情",
  2431. $$("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 }), {
  2432. "id": "studyDetailNT",
  2433. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2434. "onresize": function () { }
  2435. }, {
  2436. closecallback: function () { }
  2437. }, { "style": { "height": "36px" } }).form; //创建窗体
  2438. _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); } }
  2439. break;
  2440. }
  2441. case "studyDetail":
  2442. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2443. setTimeout(() => {
  2444. U.MD.U.L.login();
  2445. }, 2000);
  2446. } else {
  2447. _formdiv = new U.UF.UI.form(
  2448. "课程详情",
  2449. $$("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 }), {
  2450. "id": "studyDetail",
  2451. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2452. "onresize": function () { }
  2453. }, {
  2454. closecallback: function () { }
  2455. }, { "style": { "height": "36px" } }).form; //创建窗体
  2456. _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); } }
  2457. break;
  2458. }
  2459. case "studyDetailS":
  2460. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2461. setTimeout(() => {
  2462. U.MD.U.L.login();
  2463. }, 2000);
  2464. } else {
  2465. _formdiv = new U.UF.UI.form(
  2466. "项目详情",
  2467. $$("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 }), {
  2468. "id": "studyDetailS",
  2469. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2470. "onresize": function () { }
  2471. }, {
  2472. closecallback: function () { }
  2473. }, { "style": { "height": "36px" } }).form; //创建窗体
  2474. _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); } }
  2475. break;
  2476. }
  2477. case "studyDetailStudio":
  2478. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2479. setTimeout(() => {
  2480. U.MD.U.L.login();
  2481. }, 2000);
  2482. } else {
  2483. _formdiv = new U.UF.UI.form(
  2484. "工作详情",
  2485. $$("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 }), {
  2486. "id": "studyDetailStudio",
  2487. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2488. "onresize": function () { }
  2489. }, {
  2490. closecallback: function () { }
  2491. }, { "style": { "height": "36px" } }).form; //创建窗体
  2492. _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); } }
  2493. break;
  2494. }
  2495. case "studyDetailS5":
  2496. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2497. setTimeout(() => {
  2498. U.MD.U.L.login();
  2499. }, 2000);
  2500. } else {
  2501. _formdiv = new U.UF.UI.form(
  2502. "项目详情",
  2503. $$("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 }), {
  2504. "id": "studyDetailS",
  2505. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2506. "onresize": function () { }
  2507. }, {
  2508. closecallback: function () { }
  2509. }, { "style": { "height": "36px" } }).form; //创建窗体
  2510. _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); } }
  2511. break;
  2512. }
  2513. case "studyDetailGM":
  2514. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2515. setTimeout(() => {
  2516. U.MD.U.L.login();
  2517. }, 2000);
  2518. } else {
  2519. _formdiv = new U.UF.UI.form(
  2520. "课程详情",
  2521. $$("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 }), {
  2522. "id": "studyDetail",
  2523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2524. "onresize": function () { }
  2525. }, {
  2526. closecallback: function () { }
  2527. }, { "style": { "height": "36px" } }).form; //创建窗体
  2528. _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); } }
  2529. break;
  2530. }
  2531. case "hanUrl":
  2532. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2533. setTimeout(() => {
  2534. U.MD.U.L.login();
  2535. }, 2000);
  2536. } else {
  2537. _formdiv = new U.UF.UI.form(
  2538. "汉字宫",
  2539. $$("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" }), {
  2540. "id": "hanUrl",
  2541. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2542. "onresize": function () { }
  2543. }, {
  2544. closecallback: function () { }
  2545. }, { "style": { "height": "36px" } }).form; //创建窗体
  2546. _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); } }
  2547. break;
  2548. }
  2549. case "index":
  2550. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2551. setTimeout(() => {
  2552. U.MD.U.L.login();
  2553. }, 2000);
  2554. } else {
  2555. _formdiv = new U.UF.UI.form(
  2556. "课程中心",
  2557. $$("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 }), {
  2558. "id": "study",
  2559. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2560. "onresize": function () { }
  2561. }, {
  2562. closecallback: function () { }
  2563. }, { "style": { "height": "36px" } }).form; //创建窗体
  2564. _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); } }
  2565. break;
  2566. }
  2567. case "dataClass":
  2568. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2569. setTimeout(() => {
  2570. U.MD.U.L.login();
  2571. }, 2000);
  2572. } else {
  2573. _formdiv = new U.UF.UI.form(
  2574. "数据报告",
  2575. $$("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 }), {
  2576. "id": "dataClass",
  2577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2578. "onresize": function () { }
  2579. }, {
  2580. closecallback: function () { }
  2581. }, { "style": { "height": "36px" } }).form; //创建窗体
  2582. _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); } }
  2583. break;
  2584. }
  2585. case "opencCscl":
  2586. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2587. setTimeout(() => {
  2588. U.MD.U.L.login();
  2589. }, 2000);
  2590. } else {
  2591. _formdiv = new U.UF.UI.form(
  2592. "协同建构",
  2593. $$("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 }), {
  2594. "id": "futureClass",
  2595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2596. "onresize": function () { }
  2597. }, {
  2598. closecallback: function () { }
  2599. }, { "style": { "height": "36px" } }).form; //创建窗体
  2600. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2601. break;
  2602. }
  2603. }
  2604. }
  2605. U.MD.D.I.openApplication = function (str, obj, info) {
  2606. obj = obj || {};
  2607. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2608. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2609. _userinfo = US.userInfo, //登录用户信息
  2610. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2611. _oid = obj.organizeid || _userinfo.organizeid,
  2612. _type = US.userInfo.type,
  2613. _org = US.userInfo.org,
  2614. _role = US.userInfo.role,
  2615. _classId = US.userInfo.classid,
  2616. _TscreenType = 1
  2617. _screenType = 2,
  2618. _SscreenType = 3;
  2619. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2620. return;
  2621. }
  2622. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2623. switch (str) {
  2624. case "studnetProject": //好友打开
  2625. _formdiv = new U.UF.UI.form(
  2626. "我的项目",
  2627. $$("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 }), {
  2628. "id": "studnetProject",
  2629. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2630. "onresize": function () { }
  2631. }, {
  2632. closecallback: function () { }
  2633. }, { "style": { "height": "36px" } }).form; //创建窗体
  2634. _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); } }
  2635. break;
  2636. case "studentEvaluate": //好友打开
  2637. _formdiv = new U.UF.UI.form(
  2638. "我的评价",
  2639. $$("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 }), {
  2640. "id": "studentEvaluate",
  2641. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2642. "onresize": function () { }
  2643. }, {
  2644. closecallback: function () { }
  2645. }, { "style": { "height": "36px" } }).form; //创建窗体
  2646. _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); } }
  2647. break;
  2648. case "my":
  2649. _formdiv = new U.UF.UI.form(
  2650. "我的资料",
  2651. $$("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 }), {
  2652. "id": "my",
  2653. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2654. "onresize": function () { }
  2655. }, {
  2656. closecallback: function () { }
  2657. }, { "style": { "height": "36px" } }).form; //创建窗体
  2658. _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); } }
  2659. break;
  2660. case "program":
  2661. _formdiv = new U.UF.UI.form(
  2662. "编程平台",
  2663. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2664. "id": "program",
  2665. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2666. "onresize": function () { }
  2667. }, {
  2668. closecallback: function () { }
  2669. }, { "style": { "height": "36px" } }).form; //创建窗体
  2670. _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); } }
  2671. break;
  2672. case "library":
  2673. _formdiv = new U.UF.UI.form(
  2674. "素材库",
  2675. $$("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 }), {
  2676. "id": "library",
  2677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2678. "onresize": function () { }
  2679. }, {
  2680. closecallback: function () { }
  2681. }, { "style": { "height": "36px" } }).form; //创建窗体
  2682. _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); } }
  2683. break;
  2684. case "whiteboard":
  2685. _formdiv = new U.UF.UI.form(
  2686. "电子白板",
  2687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2688. "id": "whiteboard",
  2689. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2690. "onresize": function () { }
  2691. }, {
  2692. closecallback: function () { }
  2693. }, { "style": { "height": "36px" } }).form; //创建窗体
  2694. _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); } }
  2695. break;
  2696. case "investigation":
  2697. _formdiv = new U.UF.UI.form(
  2698. "问卷调查",
  2699. $$("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 }), {
  2700. "id": "investigation",
  2701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2702. "onresize": function () { }
  2703. }, {
  2704. closecallback: function () { }
  2705. }, { "style": { "height": "36px" } }).form; //创建窗体
  2706. _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); } }
  2707. break;
  2708. case "note":
  2709. _formdiv = new U.UF.UI.form(
  2710. "便签分类",
  2711. $$("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 }), {
  2712. "id": "note",
  2713. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2714. "onresize": function () { }
  2715. }, {
  2716. closecallback: function () { }
  2717. }, { "style": { "height": "36px" } }).form; //创建窗体
  2718. _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); } }
  2719. break;
  2720. // case "score":
  2721. // _formdiv = new U.UF.UI.form(
  2722. // "量规评分",
  2723. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2724. // "id": "score",
  2725. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2726. // "onresize": function() {}
  2727. // }, {
  2728. // closecallback: function() {}
  2729. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2730. // _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); } }
  2731. // break;
  2732. case "mind":
  2733. _formdiv = new U.UF.UI.form(
  2734. "思维导图",
  2735. $$("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"
  2736. "id": "mind",
  2737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2738. "onresize": function () { }
  2739. }, {
  2740. closecallback: function () { }
  2741. }, { "style": { "height": "36px" } }).form; //创建窗体
  2742. _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); } }
  2743. break;
  2744. case "doc":
  2745. // U.MD.D.I.isRoom();
  2746. _formdiv = new U.UF.UI.form(
  2747. "协同文档",
  2748. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2749. "id": "doc",
  2750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2751. "onresize": function () { }
  2752. }, {
  2753. closecallback: function () { }
  2754. }, { "style": { "height": "36px" } }).form; //创建窗体
  2755. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2756. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2757. // })
  2758. _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); } }
  2759. break;
  2760. case "studentStudy":
  2761. _formdiv = new U.UF.UI.form(
  2762. "课程中心",
  2763. $$("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
  2764. "id": "studentStudy",
  2765. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2766. "onresize": function () { }
  2767. }, {
  2768. closecallback: function () { }
  2769. }, { "style": { "height": "36px" } }).form; //创建窗体
  2770. _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); } }
  2771. break;
  2772. case "train": //好友打开
  2773. _formdiv = new U.UF.UI.form(
  2774. "训练平台",
  2775. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2776. "id": "train",
  2777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2778. "onresize": function () { }
  2779. }, {
  2780. closecallback: function () { }
  2781. }, { "style": { "height": "36px" } }).form; //创建窗体
  2782. _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); } }
  2783. break;
  2784. case "mindNetwork": //好友打开
  2785. _formdiv = new U.UF.UI.form(
  2786. "思维网格",
  2787. $$("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 }), {
  2788. "id": "mindNetwork",
  2789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2790. "onresize": function () { }
  2791. }, {
  2792. closecallback: function () { }
  2793. }, { "style": { "height": "36px" } }).form; //创建窗体
  2794. _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); } }
  2795. break;
  2796. case "studentClassRoom": //好友打开
  2797. _formdiv = new U.UF.UI.form(
  2798. "实时课堂",
  2799. $$("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 }), {
  2800. "id": "studentClassRoom",
  2801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2802. "onresize": function () { }
  2803. }, {
  2804. closecallback: function () { }
  2805. }, { "style": { "height": "36px" } }).form; //创建窗体
  2806. _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); } }
  2807. setTimeout(() => {
  2808. U.UF.F.windowZooming(_formdiv)
  2809. }, 0);
  2810. break;
  2811. }
  2812. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2813. switch (str) {
  2814. case "studnetProject": //好友打开
  2815. _formdiv = new U.UF.UI.form(
  2816. "我的项目",
  2817. $$("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 }), {
  2818. "id": "studnetProject",
  2819. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2820. "onresize": function () { }
  2821. }, {
  2822. closecallback: function () { }
  2823. }, { "style": { "height": "36px" } }).form; //创建窗体
  2824. _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); } }
  2825. break;
  2826. case "studentEvaluate": //好友打开
  2827. _formdiv = new U.UF.UI.form(
  2828. "我的评价",
  2829. $$("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 }), {
  2830. "id": "studentEvaluate",
  2831. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2832. "onresize": function () { }
  2833. }, {
  2834. closecallback: function () { }
  2835. }, { "style": { "height": "36px" } }).form; //创建窗体
  2836. _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); } }
  2837. break;
  2838. case "my":
  2839. _formdiv = new U.UF.UI.form(
  2840. "我的资料",
  2841. $$("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 }), {
  2842. "id": "my",
  2843. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2844. "onresize": function () { }
  2845. }, {
  2846. closecallback: function () { }
  2847. }, { "style": { "height": "36px" } }).form; //创建窗体
  2848. _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); } }
  2849. break;
  2850. case "program":
  2851. _formdiv = new U.UF.UI.form(
  2852. "编程平台",
  2853. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2854. "id": "program",
  2855. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2856. "onresize": function () { }
  2857. }, {
  2858. closecallback: function () { }
  2859. }, { "style": { "height": "36px" } }).form; //创建窗体
  2860. _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); } }
  2861. break;
  2862. case "library":
  2863. _formdiv = new U.UF.UI.form(
  2864. "素材库",
  2865. $$("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 }), {
  2866. "id": "library",
  2867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2868. "onresize": function () { }
  2869. }, {
  2870. closecallback: function () { }
  2871. }, { "style": { "height": "36px" } }).form; //创建窗体
  2872. _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); } }
  2873. break;
  2874. case "whiteboard":
  2875. _formdiv = new U.UF.UI.form(
  2876. "电子白板",
  2877. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2878. "id": "whiteboard",
  2879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2880. "onresize": function () { }
  2881. }, {
  2882. closecallback: function () { }
  2883. }, { "style": { "height": "36px" } }).form; //创建窗体
  2884. _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); } }
  2885. break;
  2886. case "investigation":
  2887. _formdiv = new U.UF.UI.form(
  2888. "问卷调查",
  2889. $$("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 }), {
  2890. "id": "investigation",
  2891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2892. "onresize": function () { }
  2893. }, {
  2894. closecallback: function () { }
  2895. }, { "style": { "height": "36px" } }).form; //创建窗体
  2896. _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); } }
  2897. break;
  2898. case "note":
  2899. _formdiv = new U.UF.UI.form(
  2900. "便签分类",
  2901. $$("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 }), {
  2902. "id": "note",
  2903. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2904. "onresize": function () { }
  2905. }, {
  2906. closecallback: function () { }
  2907. }, { "style": { "height": "36px" } }).form; //创建窗体
  2908. _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); } }
  2909. break;
  2910. // case "score":
  2911. // _formdiv = new U.UF.UI.form(
  2912. // "量规评分",
  2913. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2914. // "id": "score",
  2915. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2916. // "onresize": function() {}
  2917. // }, {
  2918. // closecallback: function() {}
  2919. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2920. // _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); } }
  2921. // break;
  2922. case "mind":
  2923. _formdiv = new U.UF.UI.form(
  2924. "思维导图",
  2925. $$("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"
  2926. "id": "mind",
  2927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2928. "onresize": function () { }
  2929. }, {
  2930. closecallback: function () { }
  2931. }, { "style": { "height": "36px" } }).form; //创建窗体
  2932. _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); } }
  2933. break;
  2934. case "doc":
  2935. // U.MD.D.I.isRoom();
  2936. _formdiv = new U.UF.UI.form(
  2937. "协同文档",
  2938. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2939. "id": "doc",
  2940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2946. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2947. })
  2948. _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); } }
  2949. break;
  2950. case "train": //好友打开
  2951. _formdiv = new U.UF.UI.form(
  2952. "训练平台",
  2953. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2954. "id": "train",
  2955. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2956. "onresize": function () { }
  2957. }, {
  2958. closecallback: function () { }
  2959. }, { "style": { "height": "36px" } }).form; //创建窗体
  2960. _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); } }
  2961. break;
  2962. case "studentStudy":
  2963. _formdiv = new U.UF.UI.form(
  2964. "课程中心",
  2965. $$("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
  2966. "id": "studentStudy",
  2967. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2968. "onresize": function () { }
  2969. }, {
  2970. closecallback: function () { }
  2971. }, { "style": { "height": "36px" } }).form; //创建窗体
  2972. _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); } }
  2973. break;
  2974. case "mindNetwork": //好友打开
  2975. _formdiv = new U.UF.UI.form(
  2976. "思维网格",
  2977. $$("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 }), {
  2978. "id": "mindNetwork",
  2979. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2980. "onresize": function () { }
  2981. }, {
  2982. closecallback: function () { }
  2983. }, { "style": { "height": "36px" } }).form; //创建窗体
  2984. _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); } }
  2985. break;
  2986. case "studentClassRoom": //好友打开
  2987. _formdiv = new U.UF.UI.form(
  2988. "实时课堂",
  2989. $$("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 }), {
  2990. "id": "studentClassRoom",
  2991. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2992. "onresize": function () { }
  2993. }, {
  2994. closecallback: function () { }
  2995. }, { "style": { "height": "36px" } }).form; //创建窗体
  2996. _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); } }
  2997. setTimeout(() => {
  2998. U.UF.F.windowZooming(_formdiv)
  2999. }, 0);
  3000. break;
  3001. }
  3002. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3003. //选择应用处理
  3004. switch (str) {
  3005. case "project": //好友打开
  3006. _formdiv = new U.UF.UI.form(
  3007. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3008. $$("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 }), {
  3009. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "student":
  3018. _formdiv = new U.UF.UI.form(
  3019. "学生管理",
  3020. $$("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 }), {
  3021. "id": "student",
  3022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function () { }
  3024. }, {
  3025. closecallback: function () { }
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _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); } }
  3028. break;
  3029. case "evaluate":
  3030. _formdiv = new U.UF.UI.form(
  3031. "学生评价",
  3032. $$("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 }), {
  3033. "id": "evaluate",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. case "sys":
  3042. _formdiv = new U.UF.UI.form(
  3043. "目标管理",
  3044. $$("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 }), {
  3045. "id": "sys",
  3046. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3047. "onresize": function () { }
  3048. }, {
  3049. closecallback: function () { }
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. case "courseDesign":
  3054. _formdiv = new U.UF.UI.form(
  3055. "项目设计",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3057. "id": "courseDesign",
  3058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. case "program":
  3066. _formdiv = new U.UF.UI.form(
  3067. "编程平台",
  3068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3069. "id": "program",
  3070. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "class":
  3078. _formdiv = new U.UF.UI.form(
  3079. "班级管理",
  3080. $$("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 }), {
  3081. "id": "class",
  3082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "Grade":
  3090. _formdiv = new U.UF.UI.form(
  3091. "年级管理",
  3092. $$("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 }), {
  3093. "id": "Grade",
  3094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _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); } }
  3100. break;
  3101. case "teacherOffice":
  3102. _formdiv = new U.UF.UI.form(
  3103. "教研室",
  3104. $$("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 }), {
  3105. "id": "teacherOffice",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "my":
  3114. _formdiv = new U.UF.UI.form(
  3115. "我的资料",
  3116. $$("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 }), {
  3117. "id": "my",
  3118. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _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); } }
  3124. break;
  3125. case "notice":
  3126. _formdiv = new U.UF.UI.form(
  3127. "通知公告",
  3128. $$("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 }), {
  3129. "id": "notice",
  3130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "library":
  3138. _formdiv = new U.UF.UI.form(
  3139. "素材库",
  3140. $$("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 }), {
  3141. "id": "library",
  3142. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "whiteboard":
  3150. _formdiv = new U.UF.UI.form(
  3151. "电子白板",
  3152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3153. "id": "whiteboard",
  3154. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. case "investigation":
  3162. _formdiv = new U.UF.UI.form(
  3163. "问卷调查",
  3164. $$("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 }), {
  3165. "id": "investigation",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _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); } }
  3172. break;
  3173. case "note":
  3174. _formdiv = new U.UF.UI.form(
  3175. "便签分类",
  3176. $$("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 }), {
  3177. "id": "note",
  3178. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. // case "score":
  3186. // _formdiv = new U.UF.UI.form(
  3187. // "量规评分",
  3188. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3189. // "id": "score",
  3190. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. // "onresize": function() {}
  3192. // }, {
  3193. // closecallback: function() {}
  3194. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. // _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); } }
  3196. // break;
  3197. case "mind":
  3198. _formdiv = new U.UF.UI.form(
  3199. "思维导图",
  3200. $$("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"
  3201. "id": "mind",
  3202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _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); } }
  3208. break;
  3209. case "doc":
  3210. // U.MD.D.I.isRoom();
  3211. _formdiv = new U.UF.UI.form(
  3212. "协同文档",
  3213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3214. "id": "doc",
  3215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3221. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3222. })
  3223. _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); } }
  3224. break;
  3225. case "study":
  3226. _formdiv = new U.UF.UI.form(
  3227. "课程中心",
  3228. $$("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
  3229. "id": "study",
  3230. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "mindNetwork": //好友打开
  3238. _formdiv = new U.UF.UI.form(
  3239. "思维网格",
  3240. $$("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 }), {
  3241. "id": "mindNetwork",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. break;
  3249. case "train": //好友打开
  3250. _formdiv = new U.UF.UI.form(
  3251. "训练平台",
  3252. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3253. "id": "mindNetwork",
  3254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3255. "onresize": function () { }
  3256. }, {
  3257. closecallback: function () { }
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. case "teacherClassRoom": //好友打开
  3262. _formdiv = new U.UF.UI.form(
  3263. "实时课堂",
  3264. $$("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 }), {
  3265. "id": "teacherClassRoom",
  3266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. setTimeout(() => {
  3273. U.UF.F.windowZooming(_formdiv)
  3274. }, 0);
  3275. break;
  3276. }
  3277. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3278. switch (str) {
  3279. case "project": //好友打开
  3280. _formdiv = new U.UF.UI.form(
  3281. "课程管理",
  3282. $$("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 }), {
  3283. "id": "project",
  3284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _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); } }
  3290. break;
  3291. case "evaluate":
  3292. _formdiv = new U.UF.UI.form(
  3293. "学生评价",
  3294. $$("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 }), {
  3295. "id": "evaluate",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. case "notice":
  3304. _formdiv = new U.UF.UI.form(
  3305. "通知公告",
  3306. $$("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 }), {
  3307. "id": "notice",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _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); } }
  3314. break;
  3315. case "stuLibrary":
  3316. _formdiv = new U.UF.UI.form(
  3317. "学习资料",
  3318. $$("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 }), {
  3319. "id": "stuLibrary",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _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); } }
  3326. break;
  3327. case "program":
  3328. _formdiv = new U.UF.UI.form(
  3329. "编程平台",
  3330. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3331. "id": "program",
  3332. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. case "whiteboard":
  3340. _formdiv = new U.UF.UI.form(
  3341. "电子白板",
  3342. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3343. "id": "whiteboard",
  3344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function () { }
  3346. }, {
  3347. closecallback: function () { }
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. break;
  3351. case "investigation":
  3352. _formdiv = new U.UF.UI.form(
  3353. "问卷调查",
  3354. $$("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 }), {
  3355. "id": "investigation",
  3356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3357. "onresize": function () { }
  3358. }, {
  3359. closecallback: function () { }
  3360. }, { "style": { "height": "36px" } }).form; //创建窗体
  3361. _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); } }
  3362. break;
  3363. case "mind":
  3364. _formdiv = new U.UF.UI.form(
  3365. "思维导图",
  3366. $$("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"
  3367. "id": "mind",
  3368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3369. "onresize": function () { }
  3370. }, {
  3371. closecallback: function () { }
  3372. }, { "style": { "height": "36px" } }).form; //创建窗体
  3373. _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); } }
  3374. break;
  3375. case "doc":
  3376. // U.MD.D.I.isRoom();
  3377. _formdiv = new U.UF.UI.form(
  3378. "协同文档",
  3379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3380. "id": "doc",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3387. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3388. })
  3389. _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); } }
  3390. break;
  3391. case "study":
  3392. _formdiv = new U.UF.UI.form(
  3393. "课程中心",
  3394. $$("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
  3395. "id": "study",
  3396. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. case "mindNetwork": //好友打开
  3404. _formdiv = new U.UF.UI.form(
  3405. "思维网格",
  3406. $$("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 }), {
  3407. "id": "mindNetwork",
  3408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. case "train": //好友打开
  3416. _formdiv = new U.UF.UI.form(
  3417. "训练平台",
  3418. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3419. "id": "train",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _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); } }
  3426. break;
  3427. case "sys":
  3428. _formdiv = new U.UF.UI.form(
  3429. "目标管理",
  3430. $$("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 }), {
  3431. "id": "sys",
  3432. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3433. "onresize": function () { }
  3434. }, {
  3435. closecallback: function () { }
  3436. }, { "style": { "height": "36px" } }).form; //创建窗体
  3437. _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); } }
  3438. break;
  3439. case "courseDesign":
  3440. _formdiv = new U.UF.UI.form(
  3441. "项目设计",
  3442. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3443. "id": "courseDesign",
  3444. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3445. "onresize": function () { }
  3446. }, {
  3447. closecallback: function () { }
  3448. }, { "style": { "height": "36px" } }).form; //创建窗体
  3449. _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); } }
  3450. break;
  3451. }
  3452. } else if (!_type) {
  3453. switch (str) {
  3454. case "my":
  3455. _formdiv = new U.UF.UI.form(
  3456. "我的资料",
  3457. $$("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 }), {
  3458. "id": "my",
  3459. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. }
  3467. }
  3468. switch (str) {
  3469. // AIprogram2 AI体验 aihub.cocorobo.cn
  3470. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3471. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3472. case "formulaEdi": //公式编辑
  3473. _formdiv = new U.UF.UI.form(
  3474. "公式编辑",
  3475. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3476. "id": "formulaEdi",
  3477. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "molStr": //分子结构
  3485. _formdiv = new U.UF.UI.form(
  3486. "分子结构",
  3487. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3488. "id": "molStr",
  3489. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. case "timeAxis": //时间轴
  3497. _formdiv = new U.UF.UI.form(
  3498. "时间轴",
  3499. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3500. "id": "timeAxis",
  3501. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3502. "onresize": function () { }
  3503. }, {
  3504. closecallback: function () { }
  3505. }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. _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); } }
  3507. break;
  3508. case "AIprogram2": //AI体验
  3509. _formdiv = new U.UF.UI.form(
  3510. "AI体验",
  3511. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3512. "id": "AIprogram2",
  3513. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3514. "onresize": function () { }
  3515. }, {
  3516. closecallback: function () { }
  3517. }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. _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); } }
  3519. break;
  3520. case "Pythonprogram": //python编程
  3521. _formdiv = new U.UF.UI.form(
  3522. "Python编程",
  3523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3524. "id": "Pythonprogram",
  3525. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. case "AIprogram": //ai编程
  3533. _formdiv = new U.UF.UI.form(
  3534. "AI编程平台",
  3535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3536. "id": "AIprogram",
  3537. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3538. "onresize": function () { }
  3539. }, {
  3540. closecallback: function () { }
  3541. }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. _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); } }
  3543. break;
  3544. case "CocoPi": //CocoPi
  3545. _formdiv = new U.UF.UI.form(
  3546. "CocoPi",
  3547. $$("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" }), {
  3548. "id": "CocoPi",
  3549. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function () { }
  3551. }, {
  3552. closecallback: function () { }
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break;
  3556. case "Wood": //Wood
  3557. _formdiv = new U.UF.UI.form(
  3558. "海龟编程",
  3559. $$("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/" }), {
  3560. "id": "Wood",
  3561. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { }
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. case "car": //模拟驾驶
  3569. _formdiv = new U.UF.UI.form(
  3570. "模拟驾驶",
  3571. $$("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/" }), {
  3572. "id": "car",
  3573. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3574. "onresize": function () { }
  3575. }, {
  3576. closecallback: function () { }
  3577. }, { "style": { "height": "36px" } }).form; //创建窗体
  3578. _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); } }
  3579. break;
  3580. case "lineSearch": //路径搜索
  3581. _formdiv = new U.UF.UI.form(
  3582. "路径搜索",
  3583. $$("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/" }), {
  3584. "id": "lineSearch",
  3585. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "deepLearning": //深度学习
  3593. _formdiv = new U.UF.UI.form(
  3594. "深度学习",
  3595. $$("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/#" }), {
  3596. "id": "deepLearning",
  3597. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "allHistory": //深度学习
  3605. _formdiv = new U.UF.UI.form(
  3606. "全历史",
  3607. $$("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/" }), {
  3608. "id": "allHistory",
  3609. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function () { }
  3611. }, {
  3612. closecallback: function () { }
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "chatPDF": //ai编程
  3617. _formdiv = new U.UF.UI.form(
  3618. "chatPDF",
  3619. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3620. "id": "chatPDF",
  3621. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function () { }
  3623. }, {
  3624. closecallback: function () { }
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "resources": //国家教育
  3629. _formdiv = new U.UF.UI.form(
  3630. "国家教育",
  3631. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3632. "id": "resources",
  3633. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function () { }
  3635. }, {
  3636. closecallback: function () { }
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. case "codeEdit": //源码编辑
  3641. _formdiv = new U.UF.UI.form(
  3642. "源码编辑",
  3643. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3644. "id": "codeEdit",
  3645. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function () { }
  3647. }, {
  3648. closecallback: function () { }
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _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); } }
  3651. break; //
  3652. case "MindMap": //MindMap
  3653. _formdiv = new U.UF.UI.form(
  3654. "MindMap",
  3655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3656. "id": "MindMap",
  3657. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function () { }
  3659. }, {
  3660. closecallback: function () { }
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _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); } }
  3663. break;
  3664. case "netWorkPanel": //netWorkPanel
  3665. _formdiv = new U.UF.UI.form(
  3666. "netWorkPanel",
  3667. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3668. "id": "netWorkPanel",
  3669. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _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); } }
  3675. break;
  3676. case "GeoGebra": //GeoGebra
  3677. _formdiv = new U.UF.UI.form(
  3678. "GeoGebra",
  3679. $$("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" }), {
  3680. "id": "GeoGebra",
  3681. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function () { }
  3683. }, {
  3684. closecallback: function () { }
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _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); } }
  3687. break;
  3688. case "translation": //翻译
  3689. _formdiv = new U.UF.UI.form(
  3690. "翻译",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3692. "id": "translation",
  3693. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _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); } }
  3699. break;
  3700. case "mohe": //魔盒
  3701. _formdiv = new U.UF.UI.form(
  3702. "魔盒识字",
  3703. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3704. "id": "mohe",
  3705. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _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); } }
  3711. break;
  3712. case "24game": //24点
  3713. _formdiv = new U.UF.UI.form(
  3714. "24点",
  3715. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3716. "id": "24game",
  3717. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _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); } }
  3723. break;
  3724. case "case":
  3725. _formdiv = new U.UF.UI.form(
  3726. "课程进展",
  3727. $$("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 }), {
  3728. "id": "case",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _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); } }
  3735. break;
  3736. case "snf":
  3737. _formdiv = new U.UF.UI.form(
  3738. "赛诺梵",
  3739. $$("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" }), {
  3740. "id": "snf",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _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); } }
  3747. break;
  3748. case "hanFamily":
  3749. _formdiv = new U.UF.UI.form(
  3750. "汉字家族",
  3751. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3752. "id": "hanFamily",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _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); } }
  3759. break;
  3760. case "hanClassics":
  3761. _formdiv = new U.UF.UI.form(
  3762. "国学经典",
  3763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3764. "id": "hanClassics",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. case "hanTraining":
  3773. _formdiv = new U.UF.UI.form(
  3774. "笔画训练",
  3775. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3776. "id": "hanTraining",
  3777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _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); } }
  3783. break;
  3784. case "hanClass":
  3785. _formdiv = new U.UF.UI.form(
  3786. "书法课堂",
  3787. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3788. "id": "hanClass",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function () { }
  3791. }, {
  3792. closecallback: function () { }
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _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); } }
  3795. break;
  3796. case "han":
  3797. _formdiv = new U.UF.UI.form(
  3798. "汉字宫",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3800. "id": "han",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _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); } }
  3807. break;
  3808. case "projectGM": //课程管理
  3809. _formdiv = new U.UF.UI.form(
  3810. "课程管理",
  3811. $$("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 }), {
  3812. "id": "projectGM",
  3813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3814. "onresize": function () { }
  3815. }, {
  3816. closecallback: function () { }
  3817. }, { "style": { "height": "36px" } }).form; //创建窗体
  3818. _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); } }
  3819. break;
  3820. case "studyGM": //课程中心
  3821. _formdiv = new U.UF.UI.form(
  3822. "课程中心",
  3823. $$("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
  3824. "id": "study",
  3825. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _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); } }
  3831. break;
  3832. // studentGM
  3833. case "studentGM": //学生管理
  3834. _formdiv = new U.UF.UI.form(
  3835. "学生管理",
  3836. $$("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 }), {
  3837. "id": "studentGM",
  3838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3839. "onresize": function () { }
  3840. }, {
  3841. closecallback: function () { }
  3842. }, { "style": { "height": "36px" } }).form; //创建窗体
  3843. _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); } }
  3844. break;
  3845. case "evaluateGM": //学生评价
  3846. _formdiv = new U.UF.UI.form(
  3847. "学生评价",
  3848. $$("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 }), {
  3849. "id": "evaluateGM",
  3850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3851. "onresize": function () { }
  3852. }, {
  3853. closecallback: function () { }
  3854. }, { "style": { "height": "36px" } }).form; //创建窗体
  3855. _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); } }
  3856. break;
  3857. // classGM
  3858. case "classGM": //班级管理
  3859. _formdiv = new U.UF.UI.form(
  3860. "班级管理",
  3861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3862. "id": "classGM",
  3863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3869. break;
  3870. // dataGM
  3871. case "dataGM":
  3872. _formdiv = new U.UF.UI.form(
  3873. "我的资料",
  3874. $$("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 }), {
  3875. "id": "dataGM",
  3876. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. // caseGM
  3884. case "caseGM": //课程进展
  3885. _formdiv = new U.UF.UI.form(
  3886. "课程进展",
  3887. $$("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 }), {
  3888. "id": "caseGM",
  3889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3890. "onresize": function () { }
  3891. }, {
  3892. closecallback: function () { }
  3893. }, { "style": { "height": "36px" } }).form; //创建窗体
  3894. _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); } }
  3895. break;
  3896. // meterialGM
  3897. case "meterialGM": //素材库
  3898. _formdiv = new U.UF.UI.form(
  3899. "素材库",
  3900. $$("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 }), {
  3901. "id": "meterialGM",
  3902. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3903. "onresize": function () { }
  3904. }, {
  3905. closecallback: function () { }
  3906. }, { "style": { "height": "36px" } }).form; //创建窗体
  3907. _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); } }
  3908. break;
  3909. // evaluateSGM
  3910. case "evaluateSGM": //我的评价
  3911. _formdiv = new U.UF.UI.form(
  3912. "我的评价",
  3913. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3914. "id": "evaluateSGM",
  3915. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. case "jupyter": //jupyter
  3923. _formdiv = new U.UF.UI.form(
  3924. "jupyter",
  3925. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3926. "id": "jupyter",
  3927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function () { }
  3929. }, {
  3930. closecallback: function () { }
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _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); } }
  3933. break;
  3934. case "number": //数字实验室
  3935. _formdiv = new U.UF.UI.form(
  3936. "数字实验室",
  3937. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3938. "id": "number",
  3939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _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); } }
  3945. break;
  3946. case "studentCourse": //项目管理 学生
  3947. _formdiv = new U.UF.UI.form(
  3948. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3949. $$("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 }), {
  3950. "id": "studentCourse",
  3951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function () { }
  3953. }, {
  3954. closecallback: function () { }
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _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); } }
  3957. break;
  3958. case "studentCourseS": //项目管理 老师
  3959. _formdiv = new U.UF.UI.form(
  3960. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3961. $$("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 }), {
  3962. "id": "studentCourseS",
  3963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function () { }
  3965. }, {
  3966. closecallback: function () { }
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. case "studentIndex": //项目中心
  3971. _formdiv = new U.UF.UI.form(
  3972. "项目中心",
  3973. $$("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 }), {
  3974. "id": "studentIndex",
  3975. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3976. "onresize": function () { }
  3977. }, {
  3978. closecallback: function () { }
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "CaseDesignS":
  3983. _formdiv = new U.UF.UI.form(
  3984. "项目进展",
  3985. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3986. "id": "case",
  3987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3993. break;
  3994. case "tcStudent": //腾讯学生管理
  3995. _formdiv = new U.UF.UI.form(
  3996. "学生管理",
  3997. $$("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 }), {
  3998. "id": "tcStudent",
  3999. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function () { }
  4001. }, {
  4002. closecallback: function () { }
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. case "tcSchool": //腾讯学校管理
  4007. _formdiv = new U.UF.UI.form(
  4008. "学校管理",
  4009. $$("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 }), {
  4010. "id": "tcSchool",
  4011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function () { }
  4013. }, {
  4014. closecallback: function () { }
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _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); } }
  4017. break;
  4018. case "tcTeacher": //腾讯学校管理
  4019. _formdiv = new U.UF.UI.form(
  4020. "教师管理",
  4021. $$("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 }), {
  4022. "id": "tcTeacher",
  4023. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4024. "onresize": function () { }
  4025. }, {
  4026. closecallback: function () { }
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "tcData": //腾讯我的资料
  4031. _formdiv = new U.UF.UI.form(
  4032. "我的资料",
  4033. $$("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 }), {
  4034. "id": "tcData",
  4035. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4036. "onresize": function () { }
  4037. }, {
  4038. closecallback: function () { }
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "tcNotice": //腾讯消息通知
  4043. _formdiv = new U.UF.UI.form(
  4044. "消息通知",
  4045. $$("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 }), {
  4046. "id": "tcNotice",
  4047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function () { }
  4049. }, {
  4050. closecallback: function () { }
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "myReport": //好友打开
  4055. _formdiv = new U.UF.UI.form(
  4056. "我的评价",
  4057. $$("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 }), {
  4058. "id": "myReport",
  4059. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4060. "onresize": function () { }
  4061. }, {
  4062. closecallback: function () { }
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "learnAna": //好友打开
  4067. _formdiv = new U.UF.UI.form(
  4068. "学习分析",
  4069. $$("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 }), {
  4070. "id": "learnAna",
  4071. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4072. "onresize": function () { }
  4073. }, {
  4074. closecallback: function () { }
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "AIChat": //AI共创
  4079. _formdiv = new U.UF.UI.form(
  4080. "AI共创",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4082. "id": "AIChat",
  4083. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4084. "onresize": function () { }
  4085. }, {
  4086. istop: true,
  4087. closecallback: function () { $("#aichat_icon").remove(); },
  4088. narrowcallback: function () {
  4089. if (!$("#aichat_icon")[0]) {
  4090. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4091. }
  4092. },
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. _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); } }
  4095. break;
  4096. case "ainew": //AI共创
  4097. _formdiv = new U.UF.UI.form(
  4098. "AI协同",
  4099. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4100. "id": "ainew",
  4101. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4102. "onresize": function () { }
  4103. }, {
  4104. closecallback: function () { }
  4105. }, { "style": { "height": "36px" } }).form; //创建窗体
  4106. _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); } }
  4107. break;
  4108. case "futureClass": //AI共创
  4109. _formdiv = new U.UF.UI.form(
  4110. "协同建构",
  4111. $$("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
  4112. "id": "synergyCourse",
  4113. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4114. "onresize": function () { }
  4115. }, {
  4116. closecallback: function () { }
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. _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); } }
  4119. break;
  4120. case "dataBoard": //数据看板
  4121. _formdiv = new U.UF.UI.form(
  4122. "数据看板",
  4123. $$("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 }), {
  4124. "id": "dataBoard",
  4125. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4126. "onresize": function () { }
  4127. }, {
  4128. closecallback: function () { }
  4129. }, { "style": { "height": "36px" } }).form; //创建窗体
  4130. _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); } }
  4131. break;
  4132. case "AIAnalyse": //AI共创
  4133. _formdiv = new U.UF.UI.form(
  4134. "AI分析",
  4135. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4136. "id": "AIAnalyse",
  4137. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4138. "onresize": function () { }
  4139. }, {
  4140. closecallback: function () { }
  4141. }, { "style": { "height": "36px" } }).form; //创建窗体
  4142. _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); } }
  4143. break;
  4144. case "studioCourse": //AI共创
  4145. _formdiv = new U.UF.UI.form(
  4146. "工作管理",
  4147. $$("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 }), {
  4148. "id": "studioCourse",
  4149. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4150. "onresize": function () { }
  4151. }, {
  4152. closecallback: function () { }
  4153. }, { "style": { "height": "36px" } }).form; //创建窗体
  4154. _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); } }
  4155. break;
  4156. case "studioIndex": //AI共创
  4157. _formdiv = new U.UF.UI.form(
  4158. "工作中心",
  4159. $$("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 }), {
  4160. "id": "studioIndex",
  4161. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4162. "onresize": function () { }
  4163. }, {
  4164. closecallback: function () { }
  4165. }, { "style": { "height": "36px" } }).form; //创建窗体
  4166. _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); } }
  4167. break;
  4168. case "source":
  4169. _formdiv = new U.UF.UI.form(
  4170. "教学资源",
  4171. $$("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 }), {
  4172. "id": "source",
  4173. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4174. "onresize": function () { }
  4175. }, {
  4176. closecallback: function () { }
  4177. }, { "style": { "height": "36px" } }).form; //创建窗体
  4178. _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); } }
  4179. break;
  4180. }
  4181. //U.MD.D.I.openClick(str);
  4182. //如果有任务栏信息
  4183. if (_taskbar) {
  4184. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4185. }
  4186. }
  4187. // U.MD.D.I.openClick = function(str){
  4188. // var click = '';
  4189. // switch(str){
  4190. // case 'friend':
  4191. // click = '我的好友';
  4192. // break;
  4193. // case 'domain':
  4194. // click = '域名管理';
  4195. // break;
  4196. // case 'disk':
  4197. // click = '我的云盘';
  4198. // break;
  4199. // case 'word':
  4200. // click = 'Word';
  4201. // break;
  4202. // case 'excel':
  4203. // click = 'Execl';
  4204. // break;
  4205. // case 'txt':
  4206. // click = '文本文件';
  4207. // break;
  4208. // case 'lookupFriend':
  4209. // click = '查找好友';
  4210. // break;
  4211. // case 'ftp':
  4212. // click = 'FTP';
  4213. // break;
  4214. // case 'group':
  4215. // click = '群组';
  4216. // break;
  4217. // case 'set':
  4218. // click = '我的设置';
  4219. // break;
  4220. // case 'systemSet':
  4221. // click = '系统设置';
  4222. // break;
  4223. // case 'boomYun':
  4224. // click = '互联办公';
  4225. // break;
  4226. // case 'xz':
  4227. // click = '云端下载';
  4228. // break;
  4229. // case 'client':
  4230. // click = '有思浏览器';
  4231. // break;
  4232. // case 'backEndProgramming':
  4233. // click = '在线后台编程';
  4234. // break;
  4235. // case 'frontEndProgramming':
  4236. // click = '在线前端编程';
  4237. // break;
  4238. // default: break;
  4239. // }
  4240. // if(U.MD.D.I.Ip && click){
  4241. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4242. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4243. // })
  4244. // }
  4245. // }
  4246. /**
  4247. *函数作用:ajax简易函数,使用post格式
  4248. *@param url {data} 后台地址
  4249. *@param data {data} 参数json
  4250. *@param fn {data} 回调函数
  4251. *
  4252. */
  4253. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4254. // var xhr = new XMLHttpRequest();
  4255. // xhr.open("GET",url,true);
  4256. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4257. // xhr.onreadystatechange = function(){
  4258. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4259. // fn.call(this,xhr.responseText);
  4260. // }
  4261. // };
  4262. // xhr.send();
  4263. // }
  4264. /*判断是否是内网IP*/
  4265. // U.MD.D.I.isInnerIPFn = function(str){
  4266. // var curPageUrl = str;
  4267. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4268. // curPageUrl =curPageUrl.replace(reg1,'');
  4269. // // console.log('curPageUrl-1 '+curPageUrl);
  4270. // var reg2 = /\:+/g;//替换冒号为一点
  4271. // curPageUrl =curPageUrl.replace(reg2,'.');
  4272. // // console.log('curPageUrl-2 '+curPageUrl);
  4273. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4274. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4275. // if(curPageUrl[2] != '16'){
  4276. // return ipAddress;
  4277. // }else{
  4278. // return false;
  4279. // }
  4280. // }
  4281. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4282. // //compatibility for firefox and chrome
  4283. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4284. // var pc = new myPeerConnection({
  4285. // iceServers: []
  4286. // }),
  4287. // noop = function() {},
  4288. // localIPs = {},
  4289. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4290. // key;
  4291. // function iterateIP(ip) {
  4292. // if (!localIPs[ip]) onNewIP(ip);
  4293. // localIPs[ip] = true;
  4294. // }
  4295. // //create a bogus data channel
  4296. // pc.createDataChannel("");
  4297. // // create offer and set local description
  4298. // pc.createOffer().then(function(sdp) {
  4299. // sdp.sdp.split('\n').forEach(function(line) {
  4300. // if (line.indexOf('candidate') < 0) return;
  4301. // line.match(ipRegex).forEach(iterateIP);
  4302. // });
  4303. // pc.setLocalDescription(sdp, noop, noop);
  4304. // }).catch(function(reason) {
  4305. // // An error occurred, so handle the failure to connect
  4306. // });
  4307. // //sten for candidate events
  4308. // pc.onicecandidate = function(ice) {
  4309. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4310. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4311. // };
  4312. // }
  4313. // U.MD.D.I.getUserIpBool = function(callback){
  4314. // U.MD.D.I.getUserIP(function(ip){
  4315. // alert("Got IP! :" + ip);
  4316. // });
  4317. //}
  4318. //#endregion
  4319. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4320. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4321. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4322. _userinfo = US.userInfo, //登录用户信息
  4323. _userid = US.userInfo.userid //登录用户id
  4324. let _iframe;
  4325. let _cid = cid,
  4326. _stage = stage,
  4327. _task = task,
  4328. _tool = tool;
  4329. var _jie = $$("div", {
  4330. "style": {
  4331. "position": "absolute",
  4332. "bottom": "50px",
  4333. "right": "50px",
  4334. "zIndex": "9999",
  4335. "backgroundColor": "#2268bc",
  4336. "color": "#fff",
  4337. "padding": "12px 20px",
  4338. "cursor": "pointer",
  4339. "borderRadius": "4px",
  4340. },
  4341. "innerHTML": "提交作业"
  4342. })
  4343. let aTool = ''
  4344. let _loading = document.createElement('div')
  4345. _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;"
  4346. // _loading.id = "";
  4347. let _lchild = document.createElement('div')
  4348. let _limg = document.createElement('img')
  4349. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4350. _limg.style = "width: 26px;margin-right: 10px;"
  4351. _lchild.appendChild(_limg)
  4352. let _lspan = document.createElement('span')
  4353. _lspan.innerHTML = "上传中..."
  4354. _lchild.appendChild(_lspan)
  4355. _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%);"
  4356. _loading.appendChild(_lchild)
  4357. var _box = $$('div', {
  4358. "style": {
  4359. "position": "relative",
  4360. "width": "100%",
  4361. "height": "100%",
  4362. },
  4363. })
  4364. _box.appendChild(_loading)
  4365. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4366. switch (str) {
  4367. case "whiteboard":
  4368. aTool = 1;
  4369. _iframe = $$("iframe", {
  4370. "frameborder": "no",
  4371. "border": "0",
  4372. "scrolling ": "no",
  4373. "style": {
  4374. "cssText": "border:0;width:100%;height:100%"
  4375. },
  4376. "src": "https://iwb.cocorobo.cn/"
  4377. })
  4378. _box.appendChild(_iframe);
  4379. _box.appendChild(_jie);
  4380. _formdiv = new U.UF.UI.form(
  4381. "电子白板",
  4382. _box, {
  4383. "id": "whiteboard" + cid + stage + task + tool,
  4384. "style": {
  4385. "width": "90%",
  4386. "height": "90%",
  4387. "overflow": 'hidden'
  4388. },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () { }
  4392. }, {
  4393. "style": {
  4394. "height": "36px"
  4395. }
  4396. }).form; //创建窗体
  4397. _taskbar = {
  4398. "id": str + _formdiv.id,
  4399. "style": {
  4400. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4401. },
  4402. "name": "电子白板",
  4403. "forms": _formdiv,
  4404. "click": function () {
  4405. U.MD.D.I.openApplication(str, obj, info);
  4406. }
  4407. }
  4408. break;
  4409. case "mind":
  4410. aTool = 3;
  4411. _iframe = $$("iframe", {
  4412. "frameborder": "no",
  4413. "border": "0",
  4414. "scrolling ": "no",
  4415. "style": {
  4416. "cssText": "border:0;width:100%;height:100%"
  4417. },
  4418. "src": "/kityminder-editor/dist/index.html"
  4419. })
  4420. _box.appendChild(_iframe);
  4421. _box.appendChild(_jie);
  4422. _formdiv = new U.UF.UI.form(
  4423. "思维导图",
  4424. _box, { //"/jsmind/example/demo.html"
  4425. "id": "mind" + cid + stage + task + tool,
  4426. "style": {
  4427. "width": "90%",
  4428. "height": "90%",
  4429. "overflow": 'hidden'
  4430. },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, {
  4435. "style": {
  4436. "height": "36px"
  4437. }
  4438. }).form; //创建窗体
  4439. _taskbar = {
  4440. "id": str + _formdiv.id,
  4441. "style": {
  4442. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4443. },
  4444. "name": "思维导图",
  4445. "forms": _formdiv,
  4446. "click": function () {
  4447. U.MD.D.I.openApplication(str, obj, info);
  4448. }
  4449. }
  4450. break;
  4451. case "MindMap":
  4452. aTool = 3;
  4453. _iframe = $$("iframe", {
  4454. "frameborder": "no",
  4455. "border": "0",
  4456. "scrolling ": "no",
  4457. "style": {
  4458. "cssText": "border:0;width:100%;height:100%"
  4459. },
  4460. "src": "//cloud.cocorobo.cn/mind/"
  4461. })
  4462. _box.appendChild(_iframe);
  4463. _box.appendChild(_jie);
  4464. _formdiv = new U.UF.UI.form(
  4465. "思维导图",
  4466. _box, { //"/jsmind/example/demo.html"
  4467. "id": "mind" + cid + stage + task + tool,
  4468. "style": {
  4469. "width": "90%",
  4470. "height": "90%",
  4471. "overflow": 'hidden'
  4472. },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, {
  4477. "style": {
  4478. "height": "36px"
  4479. }
  4480. }).form; //创建窗体
  4481. _taskbar = {
  4482. "id": str + _formdiv.id,
  4483. "style": {
  4484. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4485. },
  4486. "name": "思维导图",
  4487. "forms": _formdiv,
  4488. "click": function () {
  4489. U.MD.D.I.openApplication(str, obj, info);
  4490. }
  4491. }
  4492. break;
  4493. case "doc":
  4494. aTool = 6;
  4495. _iframe = $$("iframe", {
  4496. "frameborder": "no",
  4497. "border": "0",
  4498. "scrolling ": "no",
  4499. "style": {
  4500. "cssText": "border:0;width:100%;height:100%"
  4501. },
  4502. "src": "/Office/Word/WordEditArea.htm"
  4503. })
  4504. _box.appendChild(_iframe);
  4505. _box.appendChild(_jie);
  4506. _formdiv = new U.UF.UI.form(
  4507. "协同文档",
  4508. _box, {
  4509. "id": "doc" + cid + stage + task + tool,
  4510. "style": {
  4511. "width": "90%",
  4512. "height": "90%",
  4513. "overflow": 'hidden'
  4514. },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, {
  4519. "style": {
  4520. "height": "36px"
  4521. }
  4522. }).form; //创建窗体
  4523. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4524. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4525. })
  4526. _taskbar = {
  4527. "id": str + _formdiv.id,
  4528. "style": {
  4529. "backgroundImage": "url(/img/icon/doc.png)"
  4530. },
  4531. "name": "协同文档",
  4532. "forms": _formdiv,
  4533. "click": function () {
  4534. U.MD.D.I.openApplication(str, obj, info);
  4535. }
  4536. }
  4537. break;
  4538. case "mindNetwork": //好友打开
  4539. aTool = 7;
  4540. _iframe = $$("iframe", {
  4541. "webkitallowfullscreen": "",
  4542. "mozallowfullscreen": "",
  4543. "allowfullscreen": "",
  4544. "frameborder": "no",
  4545. "border": "0",
  4546. "scrolling ": "no",
  4547. "style": {
  4548. "cssText": "border:0; width:100%; height:100%;"
  4549. },
  4550. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4551. })
  4552. _box.appendChild(_iframe);
  4553. _box.appendChild(_jie);
  4554. _formdiv = new U.UF.UI.form(
  4555. "思维网格",
  4556. _box, {
  4557. "id": "mindNetwork" + cid + stage + task + tool,
  4558. "style": {
  4559. "width": "90%",
  4560. "height": "90%",
  4561. "overflow": 'hidden'
  4562. },
  4563. "onresize": function () { }
  4564. }, {
  4565. closecallback: function () { }
  4566. }, {
  4567. "style": {
  4568. "height": "36px"
  4569. }
  4570. }).form; //创建窗体
  4571. _taskbar = {
  4572. "id": str + _formdiv.id,
  4573. "style": {
  4574. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4575. },
  4576. "name": "思维网格",
  4577. "forms": _formdiv,
  4578. "click": function () {
  4579. U.MD.D.I.openApplication(str, obj, info);
  4580. }
  4581. }
  4582. break;
  4583. case "courseDesign":
  4584. _iframe = $$("iframe", {
  4585. "webkitallowfullscreen": "",
  4586. "mozallowfullscreen": "",
  4587. "allowfullscreen": "",
  4588. "frameborder": "no",
  4589. "border": "0",
  4590. "scrolling ": "no",
  4591. "style": {
  4592. "cssText": "border:0; width:100%; height:100%;"
  4593. },
  4594. "src": "/course-design-vue"
  4595. })
  4596. _box.appendChild(_iframe);
  4597. _box.appendChild(_jie);
  4598. _formdiv = new U.UF.UI.form(
  4599. "项目设计",
  4600. _box, {
  4601. "id": "courseDesign" + cid + stage + task + tool,
  4602. "style": {
  4603. "width": "90%",
  4604. "height": "90%",
  4605. "overflow": 'hidden'
  4606. },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, {
  4611. "style": {
  4612. "height": "36px"
  4613. }
  4614. }).form; //创建窗体
  4615. _taskbar = {
  4616. "id": str + _formdiv.id,
  4617. "style": {
  4618. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4619. },
  4620. "name": "项目设计",
  4621. "forms": _formdiv,
  4622. "click": function () {
  4623. U.MD.D.I.openApplication(str, obj, info);
  4624. }
  4625. }
  4626. break;
  4627. }
  4628. const script1 = document.createElement("script");
  4629. script1.type = "text/javascript";
  4630. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4631. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4632. const script2 = document.createElement("script");
  4633. script2.type = "text/javascript";
  4634. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4635. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4636. const script3 = document.createElement("script");
  4637. script3.type = "text/javascript";
  4638. script3.charset = "UTF-8";
  4639. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4640. const script4 = document.createElement("script");
  4641. script4.type = "text/javascript";
  4642. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4643. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4644. if (_iframe) {
  4645. if (str == 'doc') {
  4646. _iframe = _formdiv.querySelector('iframe')
  4647. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4648. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4649. _iframe.contentWindow.document.body.appendChild(script1);
  4650. _iframe.contentWindow.document.body.appendChild(script2);
  4651. // _iframe.contentWindow.document.body.appendChild(script3);
  4652. _iframe.contentWindow.document.body.appendChild(script4);
  4653. })
  4654. if (onloadListener) {
  4655. _iframe.contentDocument.location.reload()
  4656. } else {
  4657. _iframe.contentDocument.location.reload()
  4658. }
  4659. } else if (str == 'courseDesign') {
  4660. U.UF.DL.iframeLoad(_iframe, function () {
  4661. // _iframe.contentWindow.U.MD.O.W.load();
  4662. // _iframe.contentWindow.document.body.appendChild(script1);
  4663. _iframe.contentWindow.document.body.appendChild(script2);
  4664. _iframe.contentWindow.document.body.appendChild(script4);
  4665. })
  4666. } else if (str == 'mind') {
  4667. _iframe = _formdiv.querySelector('iframe')
  4668. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4669. //
  4670. _iframe.contentWindow.document.body.appendChild(script1);
  4671. _iframe.contentWindow.document.body.appendChild(script2);
  4672. _iframe.contentWindow.document.body.appendChild(script4);
  4673. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4674. })
  4675. if (onloadListener) {
  4676. _iframe.contentDocument.location.reload()
  4677. } else {
  4678. _iframe.contentDocument.location.reload()
  4679. }
  4680. } else if (str == 'whiteboard') {
  4681. _iframe = _formdiv.querySelector('iframe')
  4682. let onloadListener = _iframe.onload = () => {
  4683. _iframe.contentWindow.document.body.appendChild(script1);
  4684. _iframe.contentWindow.document.body.appendChild(script2);
  4685. _iframe.contentWindow.document.body.appendChild(script4);
  4686. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4687. };
  4688. if (onloadListener) {
  4689. _iframe.contentDocument.location.reload()
  4690. } else {
  4691. _iframe.contentDocument.location.reload()
  4692. }
  4693. } else {
  4694. _iframe.onload = () => {
  4695. _iframe.contentWindow.document.body.appendChild(script1);
  4696. _iframe.contentWindow.document.body.appendChild(script2);
  4697. // _iframe.contentWindow.document.body.appendChild(script3);
  4698. _iframe.contentWindow.document.body.appendChild(script4);
  4699. };
  4700. }
  4701. _jie.onclick = async () => {
  4702. let text = ''
  4703. if (aTool == 1) {
  4704. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4705. } else if (aTool == 6) {
  4706. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4707. } else if (aTool == 3) {
  4708. text = await U.MD.D.I.getEditorContent(_iframe);
  4709. }
  4710. _loading.style.display = 'flex'
  4711. console.log(_loading);
  4712. var _ajs = _iframe.contentWindow.document.createElement("script");
  4713. _ajs.type = "text/javascript";
  4714. _ajs.innerHTML =
  4715. // 'console.log(' + _loading + ');\n' +
  4716. 'var _js = document.createElement("script");\n' +
  4717. '_js.type="text/javascript";\n' +
  4718. '_js.charset="UTF-8";\n' +
  4719. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4720. "_js.onload = function(){\n" +
  4721. ' var a = document.getElementsByTagName("img")\n' +
  4722. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4723. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4724. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4725. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4726. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4727. "beforeUpload_shishi(file," +
  4728. "'" +
  4729. _userid +
  4730. "'" +
  4731. ", " +
  4732. "'" +
  4733. _cid +
  4734. "'" +
  4735. ", " +
  4736. "'" +
  4737. _stage +
  4738. "'" +
  4739. ", " +
  4740. "'" +
  4741. _task +
  4742. "'" +
  4743. ", " +
  4744. "'" +
  4745. _tool +
  4746. "'" +
  4747. ", " +
  4748. "'" +
  4749. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4750. "'" +
  4751. ", " +
  4752. "'" +
  4753. aTool +
  4754. "'" +
  4755. ", " +
  4756. "`" +
  4757. text +
  4758. "`" +
  4759. ")\n" +
  4760. " });\n" +
  4761. "}\n" +
  4762. "document.head.appendChild(_js);\n";
  4763. _iframe.contentWindow.document.head.appendChild(_ajs);
  4764. }
  4765. }
  4766. //U.MD.D.I.openClick(str);
  4767. //如果有任务栏信息
  4768. // if (_taskbar) {
  4769. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4770. // }
  4771. }
  4772. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4773. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4774. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4775. _userinfo = US.userInfo, //登录用户信息
  4776. _userid = US.userInfo.userid //登录用户id
  4777. let _iframe;
  4778. let _cid = cid,
  4779. _stage = stage,
  4780. _task = task,
  4781. _tool = tool;
  4782. var _jie = $$("div", {
  4783. "style": {
  4784. "position": "absolute",
  4785. "bottom": "50px",
  4786. "right": "50px",
  4787. "zIndex": "9999",
  4788. "backgroundColor": "#2268bc",
  4789. "color": "#fff",
  4790. "padding": "12px 20px",
  4791. "cursor": "pointer",
  4792. "borderRadius": "4px",
  4793. },
  4794. "innerHTML": "提交作业"
  4795. })
  4796. let aTool = ''
  4797. let _loading = document.createElement('div')
  4798. _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;"
  4799. // _loading.id = "";
  4800. let _lchild = document.createElement('div')
  4801. let _limg = document.createElement('img')
  4802. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4803. _limg.style = "width: 26px;margin-right: 10px;"
  4804. _lchild.appendChild(_limg)
  4805. let _lspan = document.createElement('span')
  4806. _lspan.innerHTML = "上传中..."
  4807. _lchild.appendChild(_lspan)
  4808. _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%);"
  4809. _loading.appendChild(_lchild)
  4810. var _box = $$('div', {
  4811. "style": {
  4812. "position": "relative",
  4813. "width": "100%",
  4814. "height": "100%",
  4815. },
  4816. })
  4817. _box.appendChild(_loading)
  4818. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4819. switch (str) {
  4820. case "whiteboard":
  4821. aTool = 1;
  4822. _iframe = $$("iframe", {
  4823. "frameborder": "no",
  4824. "border": "0",
  4825. "scrolling ": "no",
  4826. "style": {
  4827. "cssText": "border:0;width:100%;height:100%"
  4828. },
  4829. "src": "https://iwb.cocorobo.cn/"
  4830. })
  4831. _box.appendChild(_iframe);
  4832. _box.appendChild(_jie);
  4833. _formdiv = new U.UF.UI.form(
  4834. "电子白板",
  4835. _box, {
  4836. "id": "whiteboard" + cid + stage + task + tool,
  4837. "style": {
  4838. "width": "90%",
  4839. "height": "90%",
  4840. "overflow": 'hidden'
  4841. },
  4842. "onresize": function () { }
  4843. }, {
  4844. closecallback: function () { }
  4845. }, {
  4846. "style": {
  4847. "height": "36px"
  4848. }
  4849. }).form; //创建窗体
  4850. _taskbar = {
  4851. "id": str + _formdiv.id,
  4852. "style": {
  4853. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4854. },
  4855. "name": "电子白板",
  4856. "forms": _formdiv,
  4857. "click": function () {
  4858. U.MD.D.I.openApplication(str, obj, info);
  4859. }
  4860. }
  4861. break;
  4862. case "mind":
  4863. aTool = 3;
  4864. _iframe = $$("iframe", {
  4865. "frameborder": "no",
  4866. "border": "0",
  4867. "scrolling ": "no",
  4868. "style": {
  4869. "cssText": "border:0;width:100%;height:100%"
  4870. },
  4871. "src": "/kityminder-editor/dist/index.html"
  4872. })
  4873. _box.appendChild(_iframe);
  4874. _box.appendChild(_jie);
  4875. _formdiv = new U.UF.UI.form(
  4876. "思维导图",
  4877. _box, { //"/jsmind/example/demo.html"
  4878. "id": "mind" + cid + stage + task + tool,
  4879. "style": {
  4880. "width": "90%",
  4881. "height": "90%",
  4882. "overflow": 'hidden'
  4883. },
  4884. "onresize": function () { }
  4885. }, {
  4886. closecallback: function () { }
  4887. }, {
  4888. "style": {
  4889. "height": "36px"
  4890. }
  4891. }).form; //创建窗体
  4892. _taskbar = {
  4893. "id": str + _formdiv.id,
  4894. "style": {
  4895. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4896. },
  4897. "name": "思维导图",
  4898. "forms": _formdiv,
  4899. "click": function () {
  4900. U.MD.D.I.openApplication(str, obj, info);
  4901. }
  4902. }
  4903. break;
  4904. case "MindMap":
  4905. aTool = 3;
  4906. _iframe = $$("iframe", {
  4907. "frameborder": "no",
  4908. "border": "0",
  4909. "scrolling ": "no",
  4910. "style": {
  4911. "cssText": "border:0;width:100%;height:100%"
  4912. },
  4913. "src": "//cloud.cocorobo.cn/mind/"
  4914. })
  4915. _box.appendChild(_iframe);
  4916. _box.appendChild(_jie);
  4917. _formdiv = new U.UF.UI.form(
  4918. "思维导图",
  4919. _box, { //"/jsmind/example/demo.html"
  4920. "id": "mind" + cid + stage + task + tool,
  4921. "style": {
  4922. "width": "90%",
  4923. "height": "90%",
  4924. "overflow": 'hidden'
  4925. },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, {
  4930. "style": {
  4931. "height": "36px"
  4932. }
  4933. }).form; //创建窗体
  4934. _taskbar = {
  4935. "id": str + _formdiv.id,
  4936. "style": {
  4937. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4938. },
  4939. "name": "思维导图",
  4940. "forms": _formdiv,
  4941. "click": function () {
  4942. U.MD.D.I.openApplication(str, obj, info);
  4943. }
  4944. }
  4945. break;
  4946. case "doc":
  4947. aTool = 6;
  4948. _iframe = $$("iframe", {
  4949. "frameborder": "no",
  4950. "border": "0",
  4951. "scrolling ": "no",
  4952. "style": {
  4953. "cssText": "border:0;width:100%;height:100%"
  4954. },
  4955. "src": "/Office/Word/WordEditArea.htm"
  4956. })
  4957. _box.appendChild(_iframe);
  4958. _box.appendChild(_jie);
  4959. _formdiv = new U.UF.UI.form(
  4960. "协同文档",
  4961. _box, {
  4962. "id": "doc" + cid + stage + task + tool,
  4963. "style": {
  4964. "width": "90%",
  4965. "height": "90%",
  4966. "overflow": 'hidden'
  4967. },
  4968. "onresize": function () { }
  4969. }, {
  4970. closecallback: function () { }
  4971. }, {
  4972. "style": {
  4973. "height": "36px"
  4974. }
  4975. }).form; //创建窗体
  4976. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4977. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4978. })
  4979. _taskbar = {
  4980. "id": str + _formdiv.id,
  4981. "style": {
  4982. "backgroundImage": "url(/img/icon/doc.png)"
  4983. },
  4984. "name": "协同文档",
  4985. "forms": _formdiv,
  4986. "click": function () {
  4987. U.MD.D.I.openApplication(str, obj, info);
  4988. }
  4989. }
  4990. break;
  4991. case "mindNetwork": //好友打开
  4992. aTool = 7;
  4993. _iframe = $$("iframe", {
  4994. "webkitallowfullscreen": "",
  4995. "mozallowfullscreen": "",
  4996. "allowfullscreen": "",
  4997. "frameborder": "no",
  4998. "border": "0",
  4999. "scrolling ": "no",
  5000. "style": {
  5001. "cssText": "border:0; width:100%; height:100%;"
  5002. },
  5003. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5004. })
  5005. _box.appendChild(_iframe);
  5006. _box.appendChild(_jie);
  5007. _formdiv = new U.UF.UI.form(
  5008. "思维网格",
  5009. _box, {
  5010. "id": "mindNetwork" + cid + stage + task + tool,
  5011. "style": {
  5012. "width": "90%",
  5013. "height": "90%",
  5014. "overflow": 'hidden'
  5015. },
  5016. "onresize": function () { }
  5017. }, {
  5018. closecallback: function () { }
  5019. }, {
  5020. "style": {
  5021. "height": "36px"
  5022. }
  5023. }).form; //创建窗体
  5024. _taskbar = {
  5025. "id": str + _formdiv.id,
  5026. "style": {
  5027. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5028. },
  5029. "name": "思维网格",
  5030. "forms": _formdiv,
  5031. "click": function () {
  5032. U.MD.D.I.openApplication(str, obj, info);
  5033. }
  5034. }
  5035. break;
  5036. case "courseDesign":
  5037. _iframe = $$("iframe", {
  5038. "webkitallowfullscreen": "",
  5039. "mozallowfullscreen": "",
  5040. "allowfullscreen": "",
  5041. "frameborder": "no",
  5042. "border": "0",
  5043. "scrolling ": "no",
  5044. "style": {
  5045. "cssText": "border:0; width:100%; height:100%;"
  5046. },
  5047. "src": "/course-design-vue"
  5048. })
  5049. _box.appendChild(_iframe);
  5050. _box.appendChild(_jie);
  5051. _formdiv = new U.UF.UI.form(
  5052. "项目设计",
  5053. _box, {
  5054. "id": "courseDesign" + cid + stage + task + tool,
  5055. "style": {
  5056. "width": "90%",
  5057. "height": "90%",
  5058. "overflow": 'hidden'
  5059. },
  5060. "onresize": function () { }
  5061. }, {
  5062. closecallback: function () { }
  5063. }, {
  5064. "style": {
  5065. "height": "36px"
  5066. }
  5067. }).form; //创建窗体
  5068. _taskbar = {
  5069. "id": str + _formdiv.id,
  5070. "style": {
  5071. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5072. },
  5073. "name": "项目设计",
  5074. "forms": _formdiv,
  5075. "click": function () {
  5076. U.MD.D.I.openApplication(str, obj, info);
  5077. }
  5078. }
  5079. break;
  5080. }
  5081. const script1 = document.createElement("script");
  5082. script1.type = "text/javascript";
  5083. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5084. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5085. const script2 = document.createElement("script");
  5086. script2.type = "text/javascript";
  5087. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5088. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5089. const script3 = document.createElement("script");
  5090. script3.type = "text/javascript";
  5091. script3.charset = "UTF-8";
  5092. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5093. const script4 = document.createElement("script");
  5094. script4.type = "text/javascript";
  5095. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5096. script4.src = window.origin + "/js/Common/jietu2E.js";
  5097. if (_iframe) {
  5098. if (str == 'doc') {
  5099. _iframe = _formdiv.querySelector('iframe')
  5100. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5101. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5102. _iframe.contentWindow.document.body.appendChild(script1);
  5103. _iframe.contentWindow.document.body.appendChild(script2);
  5104. // _iframe.contentWindow.document.body.appendChild(script3);
  5105. _iframe.contentWindow.document.body.appendChild(script4);
  5106. })
  5107. if (onloadListener) {
  5108. _iframe.contentDocument.location.reload()
  5109. } else {
  5110. _iframe.contentDocument.location.reload()
  5111. }
  5112. } else if (str == 'courseDesign') {
  5113. U.UF.DL.iframeLoad(_iframe, function () {
  5114. // _iframe.contentWindow.U.MD.O.W.load();
  5115. // _iframe.contentWindow.document.body.appendChild(script1);
  5116. _iframe.contentWindow.document.body.appendChild(script2);
  5117. _iframe.contentWindow.document.body.appendChild(script4);
  5118. })
  5119. } else if (str == 'mind') {
  5120. _iframe = _formdiv.querySelector('iframe')
  5121. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5122. //
  5123. _iframe.contentWindow.document.body.appendChild(script1);
  5124. _iframe.contentWindow.document.body.appendChild(script2);
  5125. _iframe.contentWindow.document.body.appendChild(script4);
  5126. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5127. })
  5128. if (onloadListener) {
  5129. _iframe.contentDocument.location.reload()
  5130. } else {
  5131. _iframe.contentDocument.location.reload()
  5132. }
  5133. } else if (str == 'whiteboard') {
  5134. _iframe = _formdiv.querySelector('iframe')
  5135. let onloadListener = _iframe.onload = () => {
  5136. _iframe.contentWindow.document.body.appendChild(script1);
  5137. _iframe.contentWindow.document.body.appendChild(script2);
  5138. _iframe.contentWindow.document.body.appendChild(script4);
  5139. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5140. };
  5141. if (onloadListener) {
  5142. _iframe.contentDocument.location.reload()
  5143. } else {
  5144. _iframe.contentDocument.location.reload()
  5145. }
  5146. } else {
  5147. _iframe.onload = () => {
  5148. _iframe.contentWindow.document.body.appendChild(script1);
  5149. _iframe.contentWindow.document.body.appendChild(script2);
  5150. // _iframe.contentWindow.document.body.appendChild(script3);
  5151. _iframe.contentWindow.document.body.appendChild(script4);
  5152. };
  5153. }
  5154. _jie.onclick = async () => {
  5155. let text = ''
  5156. if (aTool == 1) {
  5157. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5158. } else if (aTool == 6) {
  5159. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5160. } else if (aTool == 3) {
  5161. text = await U.MD.D.I.getEditorContent(_iframe);
  5162. }
  5163. _loading.style.display = 'flex'
  5164. console.log(_loading);
  5165. var _ajs = _iframe.contentWindow.document.createElement("script");
  5166. _ajs.type = "text/javascript";
  5167. _ajs.innerHTML =
  5168. // 'console.log(' + _loading + ');\n' +
  5169. 'var _js = document.createElement("script");\n' +
  5170. '_js.type="text/javascript";\n' +
  5171. '_js.charset="UTF-8";\n' +
  5172. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5173. "_js.onload = function(){\n" +
  5174. ' var a = document.getElementsByTagName("img")\n' +
  5175. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5176. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5177. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5178. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5179. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5180. "beforeUpload_shishi(file," +
  5181. "'" +
  5182. _userid +
  5183. "'" +
  5184. ", " +
  5185. "'" +
  5186. _cid +
  5187. "'" +
  5188. ", " +
  5189. "'" +
  5190. _stage +
  5191. "'" +
  5192. ", " +
  5193. "'" +
  5194. _task +
  5195. "'" +
  5196. ", " +
  5197. "'" +
  5198. _tool +
  5199. "'" +
  5200. ", " +
  5201. "'" +
  5202. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5203. "'" +
  5204. ", " +
  5205. "'" +
  5206. aTool +
  5207. "'" +
  5208. ", " +
  5209. "`" +
  5210. text +
  5211. "`" +
  5212. ")\n" +
  5213. " });\n" +
  5214. "}\n" +
  5215. "document.head.appendChild(_js);\n";
  5216. _iframe.contentWindow.document.head.appendChild(_ajs);
  5217. }
  5218. }
  5219. //U.MD.D.I.openClick(str);
  5220. //如果有任务栏信息
  5221. // if (_taskbar) {
  5222. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5223. // }
  5224. }
  5225. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5226. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5227. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5228. _userid = student.userid, //登录用户id
  5229. _username = student.student //用户名字
  5230. let _iframe;
  5231. let _cid = cid,
  5232. _stage = stage,
  5233. _task = task,
  5234. _tool = tool;
  5235. var _jie = $$("div", {
  5236. "style": {
  5237. "position": "absolute",
  5238. "bottom": "50px",
  5239. "right": "50px",
  5240. "zIndex": "9999",
  5241. "backgroundColor": "#2268bc",
  5242. "color": "#fff",
  5243. "padding": "12px 20px",
  5244. "cursor": "pointer",
  5245. "borderRadius": "4px",
  5246. },
  5247. "innerHTML": "提交作业"
  5248. })
  5249. let aTool = ''
  5250. let _loading = document.createElement('div')
  5251. _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;"
  5252. // _loading.id = "";
  5253. let _lchild = document.createElement('div')
  5254. let _limg = document.createElement('img')
  5255. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5256. _limg.style = "width: 26px;margin-right: 10px;"
  5257. _lchild.appendChild(_limg)
  5258. let _lspan = document.createElement('span')
  5259. _lspan.innerHTML = "上传中..."
  5260. _lchild.appendChild(_lspan)
  5261. _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%);"
  5262. _loading.appendChild(_lchild)
  5263. var _box = $$('div', {
  5264. "style": {
  5265. "position": "relative",
  5266. "width": "100%",
  5267. "height": "100%",
  5268. },
  5269. })
  5270. _box.appendChild(_loading)
  5271. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5272. switch (str) {
  5273. case "whiteboard":
  5274. aTool = 1;
  5275. _iframe = $$("iframe", {
  5276. "frameborder": "no",
  5277. "border": "0",
  5278. "scrolling ": "no",
  5279. "style": {
  5280. "cssText": "border:0;width:100%;height:100%"
  5281. },
  5282. "src": "https://iwb.cocorobo.cn/"
  5283. })
  5284. _box.appendChild(_iframe);
  5285. _box.appendChild(_jie);
  5286. _formdiv = new U.UF.UI.form(
  5287. "电子白板-" + _username,
  5288. _box, {
  5289. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5290. "style": {
  5291. "width": "90%",
  5292. "height": "90%",
  5293. "overflow": 'hidden'
  5294. },
  5295. "onresize": function () { }
  5296. }, {
  5297. closecallback: function () { }
  5298. }, {
  5299. "style": {
  5300. "height": "36px"
  5301. }
  5302. }).form; //创建窗体
  5303. _taskbar = {
  5304. "id": str + _formdiv.id,
  5305. "style": {
  5306. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5307. },
  5308. "name": "电子白板",
  5309. "forms": _formdiv,
  5310. "click": function () {
  5311. U.MD.D.I.openApplication(str, obj, info);
  5312. }
  5313. }
  5314. break;
  5315. case "mind":
  5316. aTool = 3;
  5317. _iframe = $$("iframe", {
  5318. "frameborder": "no",
  5319. "border": "0",
  5320. "scrolling ": "no",
  5321. "style": {
  5322. "cssText": "border:0;width:100%;height:100%"
  5323. },
  5324. "src": "/kityminder-editor/dist/index.html"
  5325. })
  5326. _box.appendChild(_iframe);
  5327. _box.appendChild(_jie);
  5328. _formdiv = new U.UF.UI.form(
  5329. "思维导图-" + _username,
  5330. _box, { //"/jsmind/example/demo.html"
  5331. "id": "mind" + cid + stage + task + tool + _userid,
  5332. "style": {
  5333. "width": "90%",
  5334. "height": "90%",
  5335. "overflow": 'hidden'
  5336. },
  5337. "onresize": function () { }
  5338. }, {
  5339. closecallback: function () { }
  5340. }, {
  5341. "style": {
  5342. "height": "36px"
  5343. }
  5344. }).form; //创建窗体
  5345. _taskbar = {
  5346. "id": str + _formdiv.id,
  5347. "style": {
  5348. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5349. },
  5350. "name": "思维导图",
  5351. "forms": _formdiv,
  5352. "click": function () {
  5353. U.MD.D.I.openApplication(str, obj, info);
  5354. }
  5355. }
  5356. break;
  5357. case "MindMap":
  5358. aTool = 3;
  5359. _iframe = $$("iframe", {
  5360. "frameborder": "no",
  5361. "border": "0",
  5362. "scrolling ": "no",
  5363. "style": {
  5364. "cssText": "border:0;width:100%;height:100%"
  5365. },
  5366. "src": "//cloud.cocorobo.cn/mind/"
  5367. })
  5368. _box.appendChild(_iframe);
  5369. _box.appendChild(_jie);
  5370. _formdiv = new U.UF.UI.form(
  5371. "思维导图-" + _username,
  5372. _box, { //"/jsmind/example/demo.html"
  5373. "id": "mind" + cid + stage + task + tool + _userid,
  5374. "style": {
  5375. "width": "90%",
  5376. "height": "90%",
  5377. "overflow": 'hidden'
  5378. },
  5379. "onresize": function () { }
  5380. }, {
  5381. closecallback: function () { }
  5382. }, {
  5383. "style": {
  5384. "height": "36px"
  5385. }
  5386. }).form; //创建窗体
  5387. _taskbar = {
  5388. "id": str + _formdiv.id,
  5389. "style": {
  5390. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5391. },
  5392. "name": "思维导图",
  5393. "forms": _formdiv,
  5394. "click": function () {
  5395. U.MD.D.I.openApplication(str, obj, info);
  5396. }
  5397. }
  5398. break;
  5399. case "doc":
  5400. aTool = 6;
  5401. _iframe = $$("iframe", {
  5402. "frameborder": "no",
  5403. "border": "0",
  5404. "scrolling ": "no",
  5405. "style": {
  5406. "cssText": "border:0;width:100%;height:100%"
  5407. },
  5408. "src": "/Office/Word/WordEditArea.htm"
  5409. })
  5410. _box.appendChild(_iframe);
  5411. _box.appendChild(_jie);
  5412. _formdiv = new U.UF.UI.form(
  5413. "协同文档-" + _username,
  5414. _box, {
  5415. "id": "doc" + cid + stage + task + tool + _userid,
  5416. "style": {
  5417. "width": "90%",
  5418. "height": "90%",
  5419. "overflow": 'hidden'
  5420. },
  5421. "onresize": function () { }
  5422. }, {
  5423. closecallback: function () { }
  5424. }, {
  5425. "style": {
  5426. "height": "36px"
  5427. }
  5428. }).form; //创建窗体
  5429. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5430. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5431. })
  5432. _taskbar = {
  5433. "id": str + _formdiv.id,
  5434. "style": {
  5435. "backgroundImage": "url(/img/icon/doc.png)"
  5436. },
  5437. "name": "协同文档",
  5438. "forms": _formdiv,
  5439. "click": function () {
  5440. U.MD.D.I.openApplication(str, obj, info);
  5441. }
  5442. }
  5443. break;
  5444. case "mindNetwork": //好友打开
  5445. aTool = 7;
  5446. _iframe = $$("iframe", {
  5447. "webkitallowfullscreen": "",
  5448. "mozallowfullscreen": "",
  5449. "allowfullscreen": "",
  5450. "frameborder": "no",
  5451. "border": "0",
  5452. "scrolling ": "no",
  5453. "style": {
  5454. "cssText": "border:0; width:100%; height:100%;"
  5455. },
  5456. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5457. })
  5458. _box.appendChild(_iframe);
  5459. _box.appendChild(_jie);
  5460. _formdiv = new U.UF.UI.form(
  5461. "思维网格-" + _username,
  5462. _box, {
  5463. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5464. "style": {
  5465. "width": "90%",
  5466. "height": "90%",
  5467. "overflow": 'hidden'
  5468. },
  5469. "onresize": function () { }
  5470. }, {
  5471. closecallback: function () { }
  5472. }, {
  5473. "style": {
  5474. "height": "36px"
  5475. }
  5476. }).form; //创建窗体
  5477. _taskbar = {
  5478. "id": str + _formdiv.id,
  5479. "style": {
  5480. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5481. },
  5482. "name": "思维网格",
  5483. "forms": _formdiv,
  5484. "click": function () {
  5485. U.MD.D.I.openApplication(str, obj, info);
  5486. }
  5487. }
  5488. break;
  5489. case "courseDesign":
  5490. _iframe = $$("iframe", {
  5491. "webkitallowfullscreen": "",
  5492. "mozallowfullscreen": "",
  5493. "allowfullscreen": "",
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0; width:100%; height:100%;"
  5499. },
  5500. "src": "/course-design-vue"
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "项目设计-" + _username,
  5506. _box, {
  5507. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function () { }
  5514. }, {
  5515. closecallback: function () { }
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //创建窗体
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5525. },
  5526. "name": "项目设计",
  5527. "forms": _formdiv,
  5528. "click": function () {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. }
  5534. const script1 = document.createElement("script");
  5535. script1.type = "text/javascript";
  5536. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5537. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5538. const script2 = document.createElement("script");
  5539. script2.type = "text/javascript";
  5540. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5541. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5542. const script3 = document.createElement("script");
  5543. script3.type = "text/javascript";
  5544. script3.charset = "UTF-8";
  5545. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5546. const script4 = document.createElement("script");
  5547. script4.type = "text/javascript";
  5548. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5549. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5550. if (_iframe) {
  5551. if (str == 'doc') {
  5552. _iframe = _formdiv.querySelector('iframe')
  5553. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5554. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5555. _iframe.contentWindow.document.body.appendChild(script1);
  5556. _iframe.contentWindow.document.body.appendChild(script2);
  5557. // _iframe.contentWindow.document.body.appendChild(script3);
  5558. _iframe.contentWindow.document.body.appendChild(script4);
  5559. })
  5560. if (onloadListener) {
  5561. _iframe.contentDocument.location.reload()
  5562. } else {
  5563. _iframe.contentDocument.location.reload()
  5564. }
  5565. } else if (str == 'courseDesign') {
  5566. U.UF.DL.iframeLoad(_iframe, function () {
  5567. // _iframe.contentWindow.U.MD.O.W.load();
  5568. // _iframe.contentWindow.document.body.appendChild(script1);
  5569. _iframe.contentWindow.document.body.appendChild(script2);
  5570. _iframe.contentWindow.document.body.appendChild(script4);
  5571. })
  5572. } else if (str == 'mind') {
  5573. _iframe = _formdiv.querySelector('iframe')
  5574. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5575. //
  5576. _iframe.contentWindow.document.body.appendChild(script1);
  5577. _iframe.contentWindow.document.body.appendChild(script2);
  5578. _iframe.contentWindow.document.body.appendChild(script4);
  5579. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5580. })
  5581. if (onloadListener) {
  5582. _iframe.contentDocument.location.reload()
  5583. } else {
  5584. _iframe.contentDocument.location.reload()
  5585. }
  5586. } else if (str == 'whiteboard') {
  5587. _iframe = _formdiv.querySelector('iframe')
  5588. let onloadListener = _iframe.onload = () => {
  5589. _iframe.contentWindow.document.body.appendChild(script1);
  5590. _iframe.contentWindow.document.body.appendChild(script2);
  5591. _iframe.contentWindow.document.body.appendChild(script4);
  5592. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5593. };
  5594. if (onloadListener) {
  5595. _iframe.contentDocument.location.reload()
  5596. } else {
  5597. _iframe.contentDocument.location.reload()
  5598. }
  5599. } else {
  5600. _iframe.onload = () => {
  5601. _iframe.contentWindow.document.body.appendChild(script1);
  5602. _iframe.contentWindow.document.body.appendChild(script2);
  5603. // _iframe.contentWindow.document.body.appendChild(script3);
  5604. _iframe.contentWindow.document.body.appendChild(script4);
  5605. };
  5606. }
  5607. _jie.onclick = async () => {
  5608. let text = ''
  5609. if (aTool == 1) {
  5610. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5611. } else if (aTool == 6) {
  5612. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5613. } else if (aTool == 3) {
  5614. text = await U.MD.D.I.getEditorContent(_iframe);
  5615. }
  5616. _loading.style.display = 'flex'
  5617. console.log(_loading);
  5618. var _ajs = _iframe.contentWindow.document.createElement("script");
  5619. _ajs.type = "text/javascript";
  5620. _ajs.innerHTML =
  5621. // 'console.log(' + _loading + ');\n' +
  5622. 'var _js = document.createElement("script");\n' +
  5623. '_js.type="text/javascript";\n' +
  5624. '_js.charset="UTF-8";\n' +
  5625. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5626. "_js.onload = function(){\n" +
  5627. ' var a = document.getElementsByTagName("img")\n' +
  5628. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5629. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5630. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5631. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5632. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5633. "beforeUpload_shishi(file," +
  5634. "'" +
  5635. _userid +
  5636. "'" +
  5637. ", " +
  5638. "'" +
  5639. _cid +
  5640. "'" +
  5641. ", " +
  5642. "'" +
  5643. _stage +
  5644. "'" +
  5645. ", " +
  5646. "'" +
  5647. _task +
  5648. "'" +
  5649. ", " +
  5650. "'" +
  5651. _tool +
  5652. "'" +
  5653. ", " +
  5654. "'" +
  5655. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5656. "'" +
  5657. ", " +
  5658. "'" +
  5659. aTool +
  5660. "'" +
  5661. ", " +
  5662. "`" +
  5663. text +
  5664. "`" +
  5665. ")\n" +
  5666. " });\n" +
  5667. "}\n" +
  5668. "document.head.appendChild(_js);\n";
  5669. _iframe.contentWindow.document.head.appendChild(_ajs);
  5670. }
  5671. }
  5672. }
  5673. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5674. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5675. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5676. _userid = student.userid, //登录用户id
  5677. _username = student.student //用户名字
  5678. let _iframe;
  5679. let _cid = cid,
  5680. _stage = stage,
  5681. _task = task,
  5682. _tool = tool;
  5683. var _jie = $$("div", {
  5684. "style": {
  5685. "position": "absolute",
  5686. "bottom": "50px",
  5687. "right": "50px",
  5688. "zIndex": "9999",
  5689. "backgroundColor": "#2268bc",
  5690. "color": "#fff",
  5691. "padding": "12px 20px",
  5692. "cursor": "pointer",
  5693. "borderRadius": "4px",
  5694. },
  5695. "innerHTML": "提交作业"
  5696. })
  5697. let aTool = ''
  5698. let _loading = document.createElement('div')
  5699. _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;"
  5700. // _loading.id = "";
  5701. let _lchild = document.createElement('div')
  5702. let _limg = document.createElement('img')
  5703. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5704. _limg.style = "width: 26px;margin-right: 10px;"
  5705. _lchild.appendChild(_limg)
  5706. let _lspan = document.createElement('span')
  5707. _lspan.innerHTML = "上传中..."
  5708. _lchild.appendChild(_lspan)
  5709. _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%);"
  5710. _loading.appendChild(_lchild)
  5711. var _box = $$('div', {
  5712. "style": {
  5713. "position": "relative",
  5714. "width": "100%",
  5715. "height": "100%",
  5716. },
  5717. })
  5718. _box.appendChild(_loading)
  5719. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5720. switch (str) {
  5721. case "whiteboard":
  5722. aTool = 1;
  5723. _iframe = $$("iframe", {
  5724. "frameborder": "no",
  5725. "border": "0",
  5726. "scrolling ": "no",
  5727. "style": {
  5728. "cssText": "border:0;width:100%;height:100%"
  5729. },
  5730. "src": "https://iwb.cocorobo.cn/"
  5731. })
  5732. _box.appendChild(_iframe);
  5733. _box.appendChild(_jie);
  5734. _formdiv = new U.UF.UI.form(
  5735. "电子白板-" + _username,
  5736. _box, {
  5737. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5738. "style": {
  5739. "width": "90%",
  5740. "height": "90%",
  5741. "overflow": 'hidden'
  5742. },
  5743. "onresize": function () { }
  5744. }, {
  5745. closecallback: function () { }
  5746. }, {
  5747. "style": {
  5748. "height": "36px"
  5749. }
  5750. }).form; //创建窗体
  5751. _taskbar = {
  5752. "id": str + _formdiv.id,
  5753. "style": {
  5754. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5755. },
  5756. "name": "电子白板",
  5757. "forms": _formdiv,
  5758. "click": function () {
  5759. U.MD.D.I.openApplication(str, obj, info);
  5760. }
  5761. }
  5762. break;
  5763. case "mind":
  5764. aTool = 3;
  5765. _iframe = $$("iframe", {
  5766. "frameborder": "no",
  5767. "border": "0",
  5768. "scrolling ": "no",
  5769. "style": {
  5770. "cssText": "border:0;width:100%;height:100%"
  5771. },
  5772. "src": "/kityminder-editor/dist/index.html"
  5773. })
  5774. _box.appendChild(_iframe);
  5775. _box.appendChild(_jie);
  5776. _formdiv = new U.UF.UI.form(
  5777. "思维导图-" + _username,
  5778. _box, { //"/jsmind/example/demo.html"
  5779. "id": "mind" + cid + stage + task + tool + _userid,
  5780. "style": {
  5781. "width": "90%",
  5782. "height": "90%",
  5783. "overflow": 'hidden'
  5784. },
  5785. "onresize": function () { }
  5786. }, {
  5787. closecallback: function () { }
  5788. }, {
  5789. "style": {
  5790. "height": "36px"
  5791. }
  5792. }).form; //创建窗体
  5793. _taskbar = {
  5794. "id": str + _formdiv.id,
  5795. "style": {
  5796. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5797. },
  5798. "name": "思维导图",
  5799. "forms": _formdiv,
  5800. "click": function () {
  5801. U.MD.D.I.openApplication(str, obj, info);
  5802. }
  5803. }
  5804. break;
  5805. case "MindMap":
  5806. aTool = 3;
  5807. _iframe = $$("iframe", {
  5808. "frameborder": "no",
  5809. "border": "0",
  5810. "scrolling ": "no",
  5811. "style": {
  5812. "cssText": "border:0;width:100%;height:100%"
  5813. },
  5814. "src": "//cloud.cocorobo.cn/mind/"
  5815. })
  5816. _box.appendChild(_iframe);
  5817. _box.appendChild(_jie);
  5818. _formdiv = new U.UF.UI.form(
  5819. "思维导图-" + _username,
  5820. _box, { //"/jsmind/example/demo.html"
  5821. "id": "mind" + cid + stage + task + tool + _userid,
  5822. "style": {
  5823. "width": "90%",
  5824. "height": "90%",
  5825. "overflow": 'hidden'
  5826. },
  5827. "onresize": function () { }
  5828. }, {
  5829. closecallback: function () { }
  5830. }, {
  5831. "style": {
  5832. "height": "36px"
  5833. }
  5834. }).form; //创建窗体
  5835. _taskbar = {
  5836. "id": str + _formdiv.id,
  5837. "style": {
  5838. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5839. },
  5840. "name": "思维导图",
  5841. "forms": _formdiv,
  5842. "click": function () {
  5843. U.MD.D.I.openApplication(str, obj, info);
  5844. }
  5845. }
  5846. break;
  5847. case "doc":
  5848. aTool = 6;
  5849. _iframe = $$("iframe", {
  5850. "frameborder": "no",
  5851. "border": "0",
  5852. "scrolling ": "no",
  5853. "style": {
  5854. "cssText": "border:0;width:100%;height:100%"
  5855. },
  5856. "src": "/Office/Word/WordEditArea.htm"
  5857. })
  5858. _box.appendChild(_iframe);
  5859. _box.appendChild(_jie);
  5860. _formdiv = new U.UF.UI.form(
  5861. "协同文档-" + _username,
  5862. _box, {
  5863. "id": "doc" + cid + stage + task + tool + _userid,
  5864. "style": {
  5865. "width": "90%",
  5866. "height": "90%",
  5867. "overflow": 'hidden'
  5868. },
  5869. "onresize": function () { }
  5870. }, {
  5871. closecallback: function () { }
  5872. }, {
  5873. "style": {
  5874. "height": "36px"
  5875. }
  5876. }).form; //创建窗体
  5877. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5878. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5879. })
  5880. _taskbar = {
  5881. "id": str + _formdiv.id,
  5882. "style": {
  5883. "backgroundImage": "url(/img/icon/doc.png)"
  5884. },
  5885. "name": "协同文档",
  5886. "forms": _formdiv,
  5887. "click": function () {
  5888. U.MD.D.I.openApplication(str, obj, info);
  5889. }
  5890. }
  5891. break;
  5892. case "mindNetwork": //好友打开
  5893. aTool = 7;
  5894. _iframe = $$("iframe", {
  5895. "webkitallowfullscreen": "",
  5896. "mozallowfullscreen": "",
  5897. "allowfullscreen": "",
  5898. "frameborder": "no",
  5899. "border": "0",
  5900. "scrolling ": "no",
  5901. "style": {
  5902. "cssText": "border:0; width:100%; height:100%;"
  5903. },
  5904. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5905. })
  5906. _box.appendChild(_iframe);
  5907. _box.appendChild(_jie);
  5908. _formdiv = new U.UF.UI.form(
  5909. "思维网格-" + _username,
  5910. _box, {
  5911. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5912. "style": {
  5913. "width": "90%",
  5914. "height": "90%",
  5915. "overflow": 'hidden'
  5916. },
  5917. "onresize": function () { }
  5918. }, {
  5919. closecallback: function () { }
  5920. }, {
  5921. "style": {
  5922. "height": "36px"
  5923. }
  5924. }).form; //创建窗体
  5925. _taskbar = {
  5926. "id": str + _formdiv.id,
  5927. "style": {
  5928. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5929. },
  5930. "name": "思维网格",
  5931. "forms": _formdiv,
  5932. "click": function () {
  5933. U.MD.D.I.openApplication(str, obj, info);
  5934. }
  5935. }
  5936. break;
  5937. case "courseDesign":
  5938. _iframe = $$("iframe", {
  5939. "webkitallowfullscreen": "",
  5940. "mozallowfullscreen": "",
  5941. "allowfullscreen": "",
  5942. "frameborder": "no",
  5943. "border": "0",
  5944. "scrolling ": "no",
  5945. "style": {
  5946. "cssText": "border:0; width:100%; height:100%;"
  5947. },
  5948. "src": "/course-design-vue"
  5949. })
  5950. _box.appendChild(_iframe);
  5951. _box.appendChild(_jie);
  5952. _formdiv = new U.UF.UI.form(
  5953. "项目设计-" + _username,
  5954. _box, {
  5955. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5956. "style": {
  5957. "width": "90%",
  5958. "height": "90%",
  5959. "overflow": 'hidden'
  5960. },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, {
  5965. "style": {
  5966. "height": "36px"
  5967. }
  5968. }).form; //创建窗体
  5969. _taskbar = {
  5970. "id": str + _formdiv.id,
  5971. "style": {
  5972. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5973. },
  5974. "name": "项目设计",
  5975. "forms": _formdiv,
  5976. "click": function () {
  5977. U.MD.D.I.openApplication(str, obj, info);
  5978. }
  5979. }
  5980. break;
  5981. }
  5982. const script1 = document.createElement("script");
  5983. script1.type = "text/javascript";
  5984. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5985. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5986. const script2 = document.createElement("script");
  5987. script2.type = "text/javascript";
  5988. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5989. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5990. const script3 = document.createElement("script");
  5991. script3.type = "text/javascript";
  5992. script3.charset = "UTF-8";
  5993. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5994. const script4 = document.createElement("script");
  5995. script4.type = "text/javascript";
  5996. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5997. script4.src = window.origin + "/js/Common/jietu2E.js";
  5998. if (_iframe) {
  5999. if (str == 'doc') {
  6000. _iframe = _formdiv.querySelector('iframe')
  6001. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6002. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6003. _iframe.contentWindow.document.body.appendChild(script1);
  6004. _iframe.contentWindow.document.body.appendChild(script2);
  6005. // _iframe.contentWindow.document.body.appendChild(script3);
  6006. _iframe.contentWindow.document.body.appendChild(script4);
  6007. })
  6008. if (onloadListener) {
  6009. _iframe.contentDocument.location.reload()
  6010. } else {
  6011. _iframe.contentDocument.location.reload()
  6012. }
  6013. } else if (str == 'courseDesign') {
  6014. U.UF.DL.iframeLoad(_iframe, function () {
  6015. // _iframe.contentWindow.U.MD.O.W.load();
  6016. // _iframe.contentWindow.document.body.appendChild(script1);
  6017. _iframe.contentWindow.document.body.appendChild(script2);
  6018. _iframe.contentWindow.document.body.appendChild(script4);
  6019. })
  6020. } else if (str == 'mind') {
  6021. _iframe = _formdiv.querySelector('iframe')
  6022. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6023. //
  6024. _iframe.contentWindow.document.body.appendChild(script1);
  6025. _iframe.contentWindow.document.body.appendChild(script2);
  6026. _iframe.contentWindow.document.body.appendChild(script4);
  6027. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6028. })
  6029. if (onloadListener) {
  6030. _iframe.contentDocument.location.reload()
  6031. } else {
  6032. _iframe.contentDocument.location.reload()
  6033. }
  6034. } else if (str == 'whiteboard') {
  6035. _iframe = _formdiv.querySelector('iframe')
  6036. let onloadListener = _iframe.onload = () => {
  6037. _iframe.contentWindow.document.body.appendChild(script1);
  6038. _iframe.contentWindow.document.body.appendChild(script2);
  6039. _iframe.contentWindow.document.body.appendChild(script4);
  6040. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6041. };
  6042. if (onloadListener) {
  6043. _iframe.contentDocument.location.reload()
  6044. } else {
  6045. _iframe.contentDocument.location.reload()
  6046. }
  6047. } else {
  6048. _iframe.onload = () => {
  6049. _iframe.contentWindow.document.body.appendChild(script1);
  6050. _iframe.contentWindow.document.body.appendChild(script2);
  6051. // _iframe.contentWindow.document.body.appendChild(script3);
  6052. _iframe.contentWindow.document.body.appendChild(script4);
  6053. };
  6054. }
  6055. _jie.onclick = async () => {
  6056. let text = ''
  6057. if (aTool == 1) {
  6058. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6059. } else if (aTool == 6) {
  6060. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6061. } else if (aTool == 3) {
  6062. text = await U.MD.D.I.getEditorContent(_iframe);
  6063. }
  6064. _loading.style.display = 'flex'
  6065. console.log(_loading);
  6066. var _ajs = _iframe.contentWindow.document.createElement("script");
  6067. _ajs.type = "text/javascript";
  6068. _ajs.innerHTML =
  6069. // 'console.log(' + _loading + ');\n' +
  6070. 'var _js = document.createElement("script");\n' +
  6071. '_js.type="text/javascript";\n' +
  6072. '_js.charset="UTF-8";\n' +
  6073. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6074. "_js.onload = function(){\n" +
  6075. ' var a = document.getElementsByTagName("img")\n' +
  6076. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6077. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6078. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6079. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6080. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6081. "beforeUpload_shishi(file," +
  6082. "'" +
  6083. _userid +
  6084. "'" +
  6085. ", " +
  6086. "'" +
  6087. _cid +
  6088. "'" +
  6089. ", " +
  6090. "'" +
  6091. _stage +
  6092. "'" +
  6093. ", " +
  6094. "'" +
  6095. _task +
  6096. "'" +
  6097. ", " +
  6098. "'" +
  6099. _tool +
  6100. "'" +
  6101. ", " +
  6102. "'" +
  6103. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6104. "'" +
  6105. ", " +
  6106. "'" +
  6107. aTool +
  6108. "'" +
  6109. ", " +
  6110. "`" +
  6111. text +
  6112. "`" +
  6113. ")\n" +
  6114. " });\n" +
  6115. "}\n" +
  6116. "document.head.appendChild(_js);\n";
  6117. _iframe.contentWindow.document.head.appendChild(_ajs);
  6118. }
  6119. }
  6120. }
  6121. U.MD.D.I.getEditorContent = function (iframe) {
  6122. return new Promise((resolve, reject) => {
  6123. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6124. console.log(content);
  6125. resolve(content)
  6126. });
  6127. });
  6128. }
  6129. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6130. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6131. // if (res.value[0].length > 0) {
  6132. // // resolve(res.value[0][0].text);
  6133. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6134. // $(fileInput).val('');
  6135. // });
  6136. // }
  6137. // }, [], { "type": "GET", "withCredentials": true });
  6138. var xmlhttp;
  6139. var Mac, Sn, DeviceId
  6140. if (window.XMLHttpRequest) {
  6141. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6142. xmlhttp = new XMLHttpRequest();
  6143. } else {
  6144. // IE6, IE5 浏览器执行代码
  6145. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6146. }
  6147. xmlhttp.onreadystatechange = function () {
  6148. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6149. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6150. // resolve(res.value[0][0].text);
  6151. if (type == '2') {
  6152. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6153. } else if (type == '3') {
  6154. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6155. }
  6156. } else {
  6157. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6158. }
  6159. }
  6160. }
  6161. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6162. xmlhttp.send();
  6163. }
  6164. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6165. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6166. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6167. _userinfo = US.userInfo, //登录用户信息
  6168. _userid = US.userInfo.userid //登录用户id
  6169. let _iframe;
  6170. let _cid = cid,
  6171. _stage = stage,
  6172. _task = task,
  6173. _tool = tool;
  6174. var _jie = $$("div", {
  6175. "style": {
  6176. "position": "absolute",
  6177. "bottom": "50px",
  6178. "right": "50px",
  6179. "zIndex": "9999",
  6180. "backgroundColor": "#2268bc",
  6181. "color": "#fff",
  6182. "padding": "12px 20px",
  6183. "cursor": "pointer",
  6184. "borderRadius": "4px",
  6185. },
  6186. "innerHTML": "确认并提交"
  6187. })
  6188. let aTool = ''
  6189. let _loading = document.createElement('div')
  6190. _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;"
  6191. // _loading.id = "";
  6192. let _lchild = document.createElement('div')
  6193. let _limg = document.createElement('img')
  6194. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6195. _limg.style = "width: 26px;margin-right: 10px;"
  6196. _lchild.appendChild(_limg)
  6197. let _lspan = document.createElement('span')
  6198. _lspan.innerHTML = "上传中..."
  6199. _lchild.appendChild(_lspan)
  6200. _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%);"
  6201. _loading.appendChild(_lchild)
  6202. var _box = $$('div', {
  6203. "style": {
  6204. "position": "relative",
  6205. "width": "100%",
  6206. "height": "100%",
  6207. },
  6208. })
  6209. _box.appendChild(_loading)
  6210. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6211. switch (str) {
  6212. case "whiteboard":
  6213. aTool = 1;
  6214. _iframe = $$("iframe", {
  6215. "frameborder": "no",
  6216. "border": "0",
  6217. "scrolling ": "no",
  6218. "style": {
  6219. "cssText": "border:0;width:100%;height:100%"
  6220. },
  6221. "src": "https://iwb.cocorobo.cn/"
  6222. })
  6223. _box.appendChild(_iframe);
  6224. _box.appendChild(_jie);
  6225. _formdiv = new U.UF.UI.form(
  6226. "电子白板",
  6227. _box, {
  6228. "id": "whiteboards" + cid + stage + task + tool,
  6229. "style": {
  6230. "width": "90%",
  6231. "height": "90%",
  6232. "overflow": 'hidden'
  6233. },
  6234. "onresize": function () { }
  6235. }, {
  6236. closecallback: function () { }
  6237. }, {
  6238. "style": {
  6239. "height": "36px"
  6240. }
  6241. }).form; //创建窗体
  6242. _taskbar = {
  6243. "id": str + _formdiv.id,
  6244. "style": {
  6245. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6246. },
  6247. "name": "电子白板",
  6248. "forms": _formdiv,
  6249. "click": function () {
  6250. U.MD.D.I.openApplication(str, obj, info);
  6251. }
  6252. }
  6253. break;
  6254. case "mind":
  6255. aTool = 3;
  6256. _iframe = $$("iframe", {
  6257. "frameborder": "no",
  6258. "border": "0",
  6259. "scrolling ": "no",
  6260. "style": {
  6261. "cssText": "border:0;width:100%;height:100%"
  6262. },
  6263. "src": "/kityminder-editor/dist/index.html"
  6264. });
  6265. _box.appendChild(_iframe);
  6266. _box.appendChild(_jie);
  6267. _formdiv = new U.UF.UI.form(
  6268. "思维导图",
  6269. _box, { //"/jsmind/example/demo.html"
  6270. "id": "minds" + cid + stage + task + tool,
  6271. "style": {
  6272. "width": "90%",
  6273. "height": "90%",
  6274. "overflow": 'hidden'
  6275. },
  6276. "onresize": function () { }
  6277. }, {
  6278. closecallback: function () { }
  6279. }, {
  6280. "style": {
  6281. "height": "36px"
  6282. }
  6283. }).form; //创建窗体
  6284. _taskbar = {
  6285. "id": str + _formdiv.id,
  6286. "style": {
  6287. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6288. },
  6289. "name": "思维导图",
  6290. "forms": _formdiv,
  6291. "click": function () {
  6292. U.MD.D.I.openApplication(str, obj, info);
  6293. }
  6294. }
  6295. break;
  6296. case "doc":
  6297. aTool = 6;
  6298. _iframe = $$("iframe", {
  6299. "frameborder": "no",
  6300. "border": "0",
  6301. "scrolling ": "no",
  6302. "style": {
  6303. "cssText": "border:0;width:100%;height:100%"
  6304. },
  6305. "src": "/Office/Word/WordEditArea.htm"
  6306. })
  6307. _box.appendChild(_iframe);
  6308. _box.appendChild(_jie);
  6309. _formdiv = new U.UF.UI.form(
  6310. "协同文档",
  6311. _box, {
  6312. "id": "docs" + cid + stage + task + tool,
  6313. "style": {
  6314. "width": "90%",
  6315. "height": "90%",
  6316. "overflow": 'hidden'
  6317. },
  6318. "onresize": function () { }
  6319. }, {
  6320. closecallback: function () { }
  6321. }, {
  6322. "style": {
  6323. "height": "36px"
  6324. }
  6325. }).form; //创建窗体
  6326. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6327. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6328. })
  6329. _taskbar = {
  6330. "id": str + _formdiv.id,
  6331. "style": {
  6332. "backgroundImage": "url(/img/icon/doc.png)"
  6333. },
  6334. "name": "协同文档",
  6335. "forms": _formdiv,
  6336. "click": function () {
  6337. U.MD.D.I.openApplication(str, obj, info);
  6338. }
  6339. }
  6340. break;
  6341. }
  6342. const script1 = document.createElement("script");
  6343. script1.type = "text/javascript";
  6344. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6345. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6346. const script2 = document.createElement("script");
  6347. script2.type = "text/javascript";
  6348. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6349. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6350. const script3 = document.createElement("script");
  6351. script3.type = "text/javascript";
  6352. script3.charset = "UTF-8";
  6353. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6354. const script4 = document.createElement("script");
  6355. script4.type = "text/javascript";
  6356. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6357. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6358. if (_iframe) {
  6359. if (str == 'doc') {
  6360. _iframe = _formdiv.querySelector('iframe')
  6361. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6362. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6363. _iframe.contentWindow.document.body.appendChild(script1);
  6364. _iframe.contentWindow.document.body.appendChild(script2);
  6365. // _iframe.contentWindow.document.body.appendChild(script3);
  6366. _iframe.contentWindow.document.body.appendChild(script4);
  6367. })
  6368. if (onloadListener) {
  6369. _iframe.contentDocument.location.reload()
  6370. } else {
  6371. _iframe.contentDocument.location.reload()
  6372. }
  6373. } else if (str == 'mind') {
  6374. _iframe = _formdiv.querySelector('iframe')
  6375. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6376. _iframe.contentWindow.document.body.appendChild(script1);
  6377. _iframe.contentWindow.document.body.appendChild(script2);
  6378. _iframe.contentWindow.document.body.appendChild(script4);
  6379. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6380. })
  6381. if (onloadListener) {
  6382. _iframe.contentDocument.location.reload()
  6383. } else {
  6384. _iframe.contentDocument.location.reload()
  6385. }
  6386. } else {
  6387. _iframe.onload = () => {
  6388. _iframe.contentWindow.document.body.appendChild(script1);
  6389. _iframe.contentWindow.document.body.appendChild(script2);
  6390. // _iframe.contentWindow.document.body.appendChild(script3);
  6391. _iframe.contentWindow.document.body.appendChild(script4);
  6392. };
  6393. }
  6394. _jie.onclick = async () => {
  6395. let text = ''
  6396. if (aTool == 6) {
  6397. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6398. } else if (aTool == 3) {
  6399. text = await U.MD.D.I.getEditorContent(_iframe);
  6400. }
  6401. _loading.style.display = 'flex'
  6402. console.log(_loading);
  6403. var _ajs = _iframe.contentWindow.document.createElement("script");
  6404. _ajs.type = "text/javascript";
  6405. _ajs.innerHTML =
  6406. // 'console.log(' + _loading + ');\n' +
  6407. 'var _js = document.createElement("script");\n' +
  6408. '_js.type="text/javascript";\n' +
  6409. '_js.charset="UTF-8";\n' +
  6410. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6411. "_js.onload = function(){\n" +
  6412. ' var a = document.getElementsByTagName("img")\n' +
  6413. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6414. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6415. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6416. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6417. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6418. "beforeUpload_shishi(file," +
  6419. "'" +
  6420. _userid +
  6421. "'" +
  6422. ", " +
  6423. "'" +
  6424. _cid +
  6425. "'" +
  6426. ", " +
  6427. "'" +
  6428. _stage +
  6429. "'" +
  6430. ", " +
  6431. "'" +
  6432. _task +
  6433. "'" +
  6434. ", " +
  6435. "'" +
  6436. _tool +
  6437. "'" +
  6438. ", " +
  6439. "'" +
  6440. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6441. "'" +
  6442. ", " +
  6443. "'" +
  6444. aTool +
  6445. "'" +
  6446. ", " +
  6447. "`" +
  6448. text +
  6449. "`" +
  6450. ")\n" +
  6451. " });\n" +
  6452. "}\n" +
  6453. "document.head.appendChild(_js);\n";
  6454. _iframe.contentWindow.document.head.appendChild(_ajs);
  6455. }
  6456. }
  6457. //U.MD.D.I.openClick(str);
  6458. //如果有任务栏信息
  6459. // if (_taskbar) {
  6460. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6461. // }
  6462. }
  6463. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6464. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6465. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6466. _userinfo = US.userInfo, //登录用户信息
  6467. _userid = US.userInfo.userid //登录用户id
  6468. let _iframe;
  6469. let _cid = cid,
  6470. _stage = stage,
  6471. _task = task,
  6472. _tool = tool;
  6473. var _jie = $$("div", {
  6474. "style": {
  6475. "position": "absolute",
  6476. "bottom": "50px",
  6477. "right": "50px",
  6478. "zIndex": "9999",
  6479. "backgroundColor": "#2268bc",
  6480. "color": "#fff",
  6481. "padding": "12px 20px",
  6482. "cursor": "pointer",
  6483. "borderRadius": "4px",
  6484. },
  6485. "innerHTML": "确认并提交"
  6486. })
  6487. let aTool = ''
  6488. let _loading = document.createElement('div')
  6489. _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;"
  6490. // _loading.id = "";
  6491. let _lchild = document.createElement('div')
  6492. let _limg = document.createElement('img')
  6493. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6494. _limg.style = "width: 26px;margin-right: 10px;"
  6495. _lchild.appendChild(_limg)
  6496. let _lspan = document.createElement('span')
  6497. _lspan.innerHTML = "上传中..."
  6498. _lchild.appendChild(_lspan)
  6499. _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%);"
  6500. _loading.appendChild(_lchild)
  6501. var _box = $$('div', {
  6502. "style": {
  6503. "position": "relative",
  6504. "width": "100%",
  6505. "height": "100%",
  6506. },
  6507. })
  6508. _box.appendChild(_loading)
  6509. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6510. switch (str) {
  6511. case "whiteboard":
  6512. aTool = 1;
  6513. _iframe = $$("iframe", {
  6514. "frameborder": "no",
  6515. "border": "0",
  6516. "scrolling ": "no",
  6517. "style": {
  6518. "cssText": "border:0;width:100%;height:100%"
  6519. },
  6520. "src": "https://iwb.cocorobo.cn/"
  6521. })
  6522. _box.appendChild(_iframe);
  6523. _box.appendChild(_jie);
  6524. _formdiv = new U.UF.UI.form(
  6525. "电子白板",
  6526. _box, {
  6527. "id": "whiteboards" + cid + stage + task + tool,
  6528. "style": {
  6529. "width": "90%",
  6530. "height": "90%",
  6531. "overflow": 'hidden'
  6532. },
  6533. "onresize": function () { }
  6534. }, {
  6535. closecallback: function () { }
  6536. }, {
  6537. "style": {
  6538. "height": "36px"
  6539. }
  6540. }).form; //创建窗体
  6541. _taskbar = {
  6542. "id": str + _formdiv.id,
  6543. "style": {
  6544. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6545. },
  6546. "name": "电子白板",
  6547. "forms": _formdiv,
  6548. "click": function () {
  6549. U.MD.D.I.openApplication(str, obj, info);
  6550. }
  6551. }
  6552. break;
  6553. case "mind":
  6554. aTool = 3;
  6555. _iframe = $$("iframe", {
  6556. "frameborder": "no",
  6557. "border": "0",
  6558. "scrolling ": "no",
  6559. "style": {
  6560. "cssText": "border:0;width:100%;height:100%"
  6561. },
  6562. "src": "/kityminder-editor/dist/index.html"
  6563. });
  6564. _box.appendChild(_iframe);
  6565. _box.appendChild(_jie);
  6566. _formdiv = new U.UF.UI.form(
  6567. "思维导图",
  6568. _box, { //"/jsmind/example/demo.html"
  6569. "id": "minds" + cid + stage + task + tool,
  6570. "style": {
  6571. "width": "90%",
  6572. "height": "90%",
  6573. "overflow": 'hidden'
  6574. },
  6575. "onresize": function () { }
  6576. }, {
  6577. closecallback: function () { }
  6578. }, {
  6579. "style": {
  6580. "height": "36px"
  6581. }
  6582. }).form; //创建窗体
  6583. _taskbar = {
  6584. "id": str + _formdiv.id,
  6585. "style": {
  6586. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6587. },
  6588. "name": "思维导图",
  6589. "forms": _formdiv,
  6590. "click": function () {
  6591. U.MD.D.I.openApplication(str, obj, info);
  6592. }
  6593. }
  6594. break;
  6595. case "doc":
  6596. aTool = 6;
  6597. _iframe = $$("iframe", {
  6598. "frameborder": "no",
  6599. "border": "0",
  6600. "scrolling ": "no",
  6601. "style": {
  6602. "cssText": "border:0;width:100%;height:100%"
  6603. },
  6604. "src": "/Office/Word/WordEditArea.htm"
  6605. })
  6606. _box.appendChild(_iframe);
  6607. _box.appendChild(_jie);
  6608. _formdiv = new U.UF.UI.form(
  6609. "协同文档",
  6610. _box, {
  6611. "id": "docs" + cid + stage + task + tool,
  6612. "style": {
  6613. "width": "90%",
  6614. "height": "90%",
  6615. "overflow": 'hidden'
  6616. },
  6617. "onresize": function () { }
  6618. }, {
  6619. closecallback: function () { }
  6620. }, {
  6621. "style": {
  6622. "height": "36px"
  6623. }
  6624. }).form; //创建窗体
  6625. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6626. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6627. })
  6628. _taskbar = {
  6629. "id": str + _formdiv.id,
  6630. "style": {
  6631. "backgroundImage": "url(/img/icon/doc.png)"
  6632. },
  6633. "name": "协同文档",
  6634. "forms": _formdiv,
  6635. "click": function () {
  6636. U.MD.D.I.openApplication(str, obj, info);
  6637. }
  6638. }
  6639. break;
  6640. }
  6641. const script1 = document.createElement("script");
  6642. script1.type = "text/javascript";
  6643. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6644. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6645. const script2 = document.createElement("script");
  6646. script2.type = "text/javascript";
  6647. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6648. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6649. const script3 = document.createElement("script");
  6650. script3.type = "text/javascript";
  6651. script3.charset = "UTF-8";
  6652. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6653. const script4 = document.createElement("script");
  6654. script4.type = "text/javascript";
  6655. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6656. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6657. if (_iframe) {
  6658. if (str == 'doc') {
  6659. _iframe = _formdiv.querySelector('iframe')
  6660. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6661. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6662. _iframe.contentWindow.document.body.appendChild(script1);
  6663. _iframe.contentWindow.document.body.appendChild(script2);
  6664. // _iframe.contentWindow.document.body.appendChild(script3);
  6665. _iframe.contentWindow.document.body.appendChild(script4);
  6666. })
  6667. if (onloadListener) {
  6668. _iframe.contentDocument.location.reload()
  6669. } else {
  6670. _iframe.contentDocument.location.reload()
  6671. }
  6672. } else if (str == 'mind') {
  6673. _iframe = _formdiv.querySelector('iframe')
  6674. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6675. _iframe.contentWindow.document.body.appendChild(script1);
  6676. _iframe.contentWindow.document.body.appendChild(script2);
  6677. _iframe.contentWindow.document.body.appendChild(script4);
  6678. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6679. })
  6680. if (onloadListener) {
  6681. _iframe.contentDocument.location.reload()
  6682. } else {
  6683. _iframe.contentDocument.location.reload()
  6684. }
  6685. } else {
  6686. _iframe.onload = () => {
  6687. _iframe.contentWindow.document.body.appendChild(script1);
  6688. _iframe.contentWindow.document.body.appendChild(script2);
  6689. // _iframe.contentWindow.document.body.appendChild(script3);
  6690. _iframe.contentWindow.document.body.appendChild(script4);
  6691. };
  6692. }
  6693. _jie.onclick = async () => {
  6694. let text = ''
  6695. if (aTool == 6) {
  6696. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6697. } else if (aTool == 3) {
  6698. text = await U.MD.D.I.getEditorContent(_iframe);
  6699. }
  6700. _loading.style.display = 'flex'
  6701. console.log(_loading);
  6702. var _ajs = _iframe.contentWindow.document.createElement("script");
  6703. _ajs.type = "text/javascript";
  6704. _ajs.innerHTML =
  6705. // 'console.log(' + _loading + ');\n' +
  6706. 'var _js = document.createElement("script");\n' +
  6707. '_js.type="text/javascript";\n' +
  6708. '_js.charset="UTF-8";\n' +
  6709. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6710. "_js.onload = function(){\n" +
  6711. ' var a = document.getElementsByTagName("img")\n' +
  6712. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6713. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6714. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6715. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6716. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6717. "beforeUpload_shishi(file," +
  6718. "'" +
  6719. _userid +
  6720. "'" +
  6721. ", " +
  6722. "'" +
  6723. _cid +
  6724. "'" +
  6725. ", " +
  6726. "'" +
  6727. _stage +
  6728. "'" +
  6729. ", " +
  6730. "'" +
  6731. _task +
  6732. "'" +
  6733. ", " +
  6734. "'" +
  6735. _tool +
  6736. "'" +
  6737. ", " +
  6738. "'" +
  6739. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6740. "'" +
  6741. ", " +
  6742. "'" +
  6743. aTool +
  6744. "'" +
  6745. ", " +
  6746. "`" +
  6747. text +
  6748. "`" +
  6749. ")\n" +
  6750. " });\n" +
  6751. "}\n" +
  6752. "document.head.appendChild(_js);\n";
  6753. _iframe.contentWindow.document.head.appendChild(_ajs);
  6754. }
  6755. }
  6756. //U.MD.D.I.openClick(str);
  6757. //如果有任务栏信息
  6758. // if (_taskbar) {
  6759. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6760. // }
  6761. }
  6762. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6763. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6764. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6765. _userinfo = US.userInfo, //登录用户信息
  6766. _userid = US.userInfo.userid //登录用户id
  6767. let _iframe;
  6768. let _cid = cid,
  6769. _stage = stage,
  6770. _task = task,
  6771. _tool = tool;
  6772. var _jie = $$("div", {
  6773. "style": {
  6774. "position": "absolute",
  6775. "bottom": "50px",
  6776. "right": "50px",
  6777. "zIndex": "9999",
  6778. "backgroundColor": "#2268bc",
  6779. "color": "#fff",
  6780. "padding": "12px 20px",
  6781. "cursor": "pointer",
  6782. "borderRadius": "4px",
  6783. },
  6784. "innerHTML": "上传模板"
  6785. })
  6786. let aTool = ''
  6787. let _loading = document.createElement('div')
  6788. _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;"
  6789. // _loading.id = "";
  6790. let _lchild = document.createElement('div')
  6791. let _limg = document.createElement('img')
  6792. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6793. _limg.style = "width: 26px;margin-right: 10px;"
  6794. _lchild.appendChild(_limg)
  6795. let _lspan = document.createElement('span')
  6796. _lspan.innerHTML = "上传中..."
  6797. _lchild.appendChild(_lspan)
  6798. _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%);"
  6799. _loading.appendChild(_lchild)
  6800. var _box = $$('div', {
  6801. "style": {
  6802. "position": "relative",
  6803. "width": "100%",
  6804. "height": "100%",
  6805. },
  6806. })
  6807. _box.appendChild(_loading)
  6808. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6809. switch (str) {
  6810. case "whiteboard":
  6811. aTool = 1;
  6812. _iframe = $$("iframe", {
  6813. "frameborder": "no",
  6814. "border": "0",
  6815. "scrolling ": "no",
  6816. "style": {
  6817. "cssText": "border:0;width:100%;height:100%"
  6818. },
  6819. "src": "https://iwb.cocorobo.cn/"
  6820. })
  6821. _box.appendChild(_iframe);
  6822. _box.appendChild(_jie);
  6823. _formdiv = new U.UF.UI.form(
  6824. "电子白板",
  6825. _box, {
  6826. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6827. "style": {
  6828. "width": "90%",
  6829. "height": "90%",
  6830. "overflow": 'hidden'
  6831. },
  6832. "onresize": function () { }
  6833. }, {
  6834. closecallback: function () { }
  6835. }, {
  6836. "style": {
  6837. "height": "36px"
  6838. }
  6839. }).form; //创建窗体
  6840. _taskbar = {
  6841. "id": str + _formdiv.id,
  6842. "style": {
  6843. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6844. },
  6845. "name": "电子白板",
  6846. "forms": _formdiv,
  6847. "click": function () {
  6848. U.MD.D.I.openApplication(str, obj, info);
  6849. }
  6850. }
  6851. break;
  6852. case "mind":
  6853. aTool = 3;
  6854. _iframe = $$("iframe", {
  6855. "frameborder": "no",
  6856. "border": "0",
  6857. "scrolling ": "no",
  6858. "style": {
  6859. "cssText": "border:0;width:100%;height:100%"
  6860. },
  6861. "src": "/kityminder-editor/dist/index.html"
  6862. });
  6863. _box.appendChild(_iframe);
  6864. _box.appendChild(_jie);
  6865. _formdiv = new U.UF.UI.form(
  6866. "思维导图",
  6867. _box, { //"/jsmind/example/demo.html"
  6868. "id": "minds_Yu" + cid + stage + task + tool,
  6869. "style": {
  6870. "width": "90%",
  6871. "height": "90%",
  6872. "overflow": 'hidden'
  6873. },
  6874. "onresize": function () { }
  6875. }, {
  6876. closecallback: function () { }
  6877. }, {
  6878. "style": {
  6879. "height": "36px"
  6880. }
  6881. }).form; //创建窗体
  6882. _taskbar = {
  6883. "id": str + _formdiv.id,
  6884. "style": {
  6885. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6886. },
  6887. "name": "思维导图",
  6888. "forms": _formdiv,
  6889. "click": function () {
  6890. U.MD.D.I.openApplication(str, obj, info);
  6891. }
  6892. }
  6893. break;
  6894. case "doc":
  6895. aTool = 6;
  6896. _iframe = $$("iframe", {
  6897. "frameborder": "no",
  6898. "border": "0",
  6899. "scrolling ": "no",
  6900. "style": {
  6901. "cssText": "border:0;width:100%;height:100%"
  6902. },
  6903. "src": "/Office/Word/WordEditArea.htm"
  6904. })
  6905. _box.appendChild(_iframe);
  6906. _box.appendChild(_jie);
  6907. _formdiv = new U.UF.UI.form(
  6908. "协同文档",
  6909. _box, {
  6910. "id": "docs_Yu" + cid + stage + task + tool,
  6911. "style": {
  6912. "width": "90%",
  6913. "height": "90%",
  6914. "overflow": 'hidden'
  6915. },
  6916. "onresize": function () { }
  6917. }, {
  6918. closecallback: function () { }
  6919. }, {
  6920. "style": {
  6921. "height": "36px"
  6922. }
  6923. }).form; //创建窗体
  6924. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6925. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6926. })
  6927. _taskbar = {
  6928. "id": str + _formdiv.id,
  6929. "style": {
  6930. "backgroundImage": "url(/img/icon/doc.png)"
  6931. },
  6932. "name": "协同文档",
  6933. "forms": _formdiv,
  6934. "click": function () {
  6935. U.MD.D.I.openApplication(str, obj, info);
  6936. }
  6937. }
  6938. break;
  6939. case "CocoPi":
  6940. aTool = 57;
  6941. _iframe = $$("iframe", {
  6942. "allowpaymentrequest": "allowpaymentrequest",
  6943. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6944. "webkitallowfullscreen": "",
  6945. "mozallowfullscreen": "",
  6946. "frameborder": "no",
  6947. "border": "0",
  6948. "scrolling ": "no",
  6949. "style": {
  6950. "cssText": "border:0;width:100%;height:100%"
  6951. },
  6952. "src": "https://pi.cocorobo.cn/"
  6953. })
  6954. _box.appendChild(_iframe);
  6955. _box.appendChild(_jie);
  6956. _formdiv = new U.UF.UI.form(
  6957. "CocoPi",
  6958. _box, {
  6959. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6960. "style": {
  6961. "width": "90%",
  6962. "height": "90%",
  6963. "overflow": 'hidden'
  6964. },
  6965. "onresize": function () { }
  6966. }, {
  6967. closecallback: function () { }
  6968. }, {
  6969. "style": {
  6970. "height": "36px"
  6971. }
  6972. }).form; //创建窗体
  6973. _taskbar = {
  6974. "id": str + _formdiv.id,
  6975. "style": {
  6976. "backgroundImage": "url(/img/icon/cocopi.png)"
  6977. },
  6978. "name": "CocoPi",
  6979. "forms": _formdiv,
  6980. "click": function () {
  6981. U.MD.D.I.openApplication(str, obj, info);
  6982. }
  6983. }
  6984. break;
  6985. }
  6986. if (_iframe) {
  6987. if (str == 'doc') {
  6988. _iframe = _formdiv.querySelector('iframe')
  6989. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6990. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6991. })
  6992. if (onloadListener) {
  6993. _iframe.contentDocument.location.reload()
  6994. } else {
  6995. _iframe.contentDocument.location.reload()
  6996. }
  6997. } else if (str == 'mind') {
  6998. _iframe = _formdiv.querySelector('iframe')
  6999. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7000. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7001. })
  7002. if (onloadListener) {
  7003. _iframe.contentDocument.location.reload()
  7004. } else {
  7005. _iframe.contentDocument.location.reload()
  7006. }
  7007. } else if (str == 'whiteboard') {
  7008. _iframe = _formdiv.querySelector('iframe')
  7009. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7010. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7011. })
  7012. if (onloadListener) {
  7013. _iframe.contentDocument.location.reload()
  7014. } else {
  7015. _iframe.contentDocument.location.reload()
  7016. }
  7017. } else if (str == 'CocoPi') {
  7018. _iframe = _formdiv.querySelector('iframe')
  7019. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7020. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7021. })
  7022. if (onloadListener) {
  7023. _iframe.contentDocument.location.reload()
  7024. } else {
  7025. _iframe.contentDocument.location.reload()
  7026. }
  7027. } else {
  7028. _iframe.onload = () => { };
  7029. }
  7030. _jie.onclick = async () => {
  7031. let text = ''
  7032. let type = '2'
  7033. if (aTool == 1) {
  7034. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7035. type = '3'
  7036. } else if (aTool == 6) {
  7037. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7038. type = '1'
  7039. } else if (aTool == 3) {
  7040. text = await U.MD.D.I.getEditorContent(_iframe);
  7041. type = '2'
  7042. } else if (aTool == 57) {
  7043. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7044. type = '4'
  7045. }
  7046. _loading.style.display = 'flex'
  7047. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7048. }
  7049. }
  7050. //U.MD.D.I.openClick(str);
  7051. //如果有任务栏信息
  7052. // if (_taskbar) {
  7053. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7054. // }
  7055. }
  7056. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7057. var xmlhttp;
  7058. var Mac, Sn, DeviceId
  7059. if (window.XMLHttpRequest) {
  7060. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7061. xmlhttp = new XMLHttpRequest();
  7062. } else {
  7063. // IE6, IE5 浏览器执行代码
  7064. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7065. }
  7066. xmlhttp.onreadystatechange = function () {
  7067. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7068. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7069. // resolve(res.value[0][0].text);
  7070. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7071. }
  7072. }
  7073. }
  7074. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7075. xmlhttp.send();
  7076. }
  7077. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7078. var xmlhttp;
  7079. var Mac, Sn, DeviceId
  7080. if (window.XMLHttpRequest) {
  7081. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7082. xmlhttp = new XMLHttpRequest();
  7083. } else {
  7084. // IE6, IE5 浏览器执行代码
  7085. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7086. }
  7087. xmlhttp.onreadystatechange = function () {
  7088. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7089. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7090. // resolve(res.value[0][0].text);
  7091. if (type == '2') {
  7092. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7093. } else if (type == '3') {
  7094. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7095. } else if (type == '4') {
  7096. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7097. }
  7098. } else {
  7099. if (type == '2') {
  7100. iframe.contentWindow.editor.minder.importData('json', '')
  7101. } else if (type == '3') {
  7102. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7103. } else if (type == '4') {
  7104. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7105. }
  7106. }
  7107. }
  7108. }
  7109. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7110. xmlhttp.send();
  7111. }
  7112. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7113. var xmlhttp;
  7114. var Mac, Sn, DeviceId
  7115. if (window.XMLHttpRequest) {
  7116. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7117. xmlhttp = new XMLHttpRequest();
  7118. } else {
  7119. // IE6, IE5 浏览器执行代码
  7120. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7121. }
  7122. xmlhttp.onreadystatechange = function () {
  7123. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7124. if (xmlhttp.response) {
  7125. // resolve(res.value[0][0].text);
  7126. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7127. // $(fileInput).val('');
  7128. // });
  7129. span.innerHTML = '上传成功'
  7130. setTimeout(() => {
  7131. loading.style.display = 'none'
  7132. }, 1000);
  7133. }
  7134. }
  7135. }
  7136. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7137. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7138. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7139. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7140. // 设置请求头,表示请求体的编码格式
  7141. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7142. // 设置请求体,使用url-encoded格式的数据
  7143. }
  7144. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7145. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7146. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7147. _userinfo = US.userInfo, //登录用户信息
  7148. _userid = US.userInfo.userid //登录用户id
  7149. let _iframe;
  7150. let _cid = cid,
  7151. _stage = stage,
  7152. _task = task,
  7153. _tool = tool;
  7154. var _jie = $$("div", {
  7155. "style": {
  7156. "position": "absolute",
  7157. "bottom": "50px",
  7158. "right": "50px",
  7159. "zIndex": "9999",
  7160. "backgroundColor": "#2268bc",
  7161. "color": "#fff",
  7162. "padding": "12px 20px",
  7163. "cursor": "pointer",
  7164. "borderRadius": "4px",
  7165. },
  7166. "innerHTML": "提交作业"
  7167. })
  7168. let aTool = ''
  7169. let _loading = document.createElement('div')
  7170. _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;"
  7171. // _loading.id = "";
  7172. let _lchild = document.createElement('div')
  7173. let _limg = document.createElement('img')
  7174. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7175. _limg.style = "width: 26px;margin-right: 10px;"
  7176. _lchild.appendChild(_limg)
  7177. let _lspan = document.createElement('span')
  7178. _lspan.innerHTML = "上传中..."
  7179. _lchild.appendChild(_lspan)
  7180. _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%);"
  7181. _loading.appendChild(_lchild)
  7182. var _box = $$('div', {
  7183. "style": {
  7184. "position": "relative",
  7185. "width": "100%",
  7186. "height": "100%",
  7187. },
  7188. })
  7189. _box.appendChild(_loading)
  7190. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7191. switch (str) {
  7192. case "CocoPi":
  7193. aTool = 57;
  7194. _iframe = $$("iframe", {
  7195. "allowpaymentrequest": "allowpaymentrequest",
  7196. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7197. "webkitallowfullscreen": "",
  7198. "mozallowfullscreen": "",
  7199. "frameborder": "no",
  7200. "border": "0",
  7201. "scrolling ": "no",
  7202. "style": {
  7203. "cssText": "border:0;width:100%;height:100%"
  7204. },
  7205. "src": "https://pi.cocorobo.cn/"
  7206. })
  7207. _box.appendChild(_iframe);
  7208. _box.appendChild(_jie);
  7209. _formdiv = new U.UF.UI.form(
  7210. "CocoPi",
  7211. _box, {
  7212. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7213. "style": {
  7214. "width": "90%",
  7215. "height": "90%",
  7216. "overflow": 'hidden'
  7217. },
  7218. "onresize": function () { }
  7219. }, {
  7220. closecallback: function () { }
  7221. }, {
  7222. "style": {
  7223. "height": "36px"
  7224. }
  7225. }).form; //创建窗体
  7226. _taskbar = {
  7227. "id": str + _formdiv.id,
  7228. "style": {
  7229. "backgroundImage": "url(/img/icon/cocopi.png)"
  7230. },
  7231. "name": "CocoPi",
  7232. "forms": _formdiv,
  7233. "click": function () {
  7234. U.MD.D.I.openApplication(str, obj, info);
  7235. }
  7236. }
  7237. break;
  7238. }
  7239. if (_iframe) {
  7240. if (str == 'CocoPi') {
  7241. _iframe = _formdiv.querySelector('iframe')
  7242. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7243. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7244. })
  7245. if (onloadListener) {
  7246. _iframe.contentDocument.location.reload()
  7247. } else {
  7248. _iframe.contentDocument.location.reload()
  7249. }
  7250. }
  7251. _jie.onclick = async () => {
  7252. let text = ''
  7253. if (aTool == 57) {
  7254. text = _iframe.contentWindow.getLoadXmlStr()
  7255. }
  7256. _loading.style.display = 'flex'
  7257. console.log(_loading);
  7258. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7259. _loading.style.display = 'none'
  7260. let _div = document.createElement('div')
  7261. _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;"
  7262. let _inner = document.createElement('div')
  7263. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7264. _inner.innerHTML = "上传成功"
  7265. _div.appendChild(_inner)
  7266. _iframe.contentWindow.window.document.body.appendChild(_div)
  7267. _div.onclick = () => {
  7268. _iframe.contentWindow.window.document.body.removeChild(_div)
  7269. }
  7270. setTimeout(() => {
  7271. _iframe.contentWindow.window.document.body.removeChild(_div)
  7272. }, 1000);
  7273. }, [], { "type": "POST", "withCredentials": true });
  7274. }
  7275. }
  7276. }
  7277. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7278. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7279. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7280. _userid = student.userid, //登录用户id
  7281. _username = student.student //用户名字
  7282. let _iframe;
  7283. let _cid = cid,
  7284. _stage = stage,
  7285. _task = task,
  7286. _tool = tool;
  7287. var _jie = $$("div", {
  7288. "style": {
  7289. "position": "absolute",
  7290. "bottom": "50px",
  7291. "right": "50px",
  7292. "zIndex": "9999",
  7293. "backgroundColor": "#2268bc",
  7294. "color": "#fff",
  7295. "padding": "12px 20px",
  7296. "cursor": "pointer",
  7297. "borderRadius": "4px",
  7298. },
  7299. "innerHTML": "提交作业"
  7300. })
  7301. let aTool = ''
  7302. let _loading = document.createElement('div')
  7303. _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;"
  7304. // _loading.id = "";
  7305. let _lchild = document.createElement('div')
  7306. let _limg = document.createElement('img')
  7307. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7308. _limg.style = "width: 26px;margin-right: 10px;"
  7309. _lchild.appendChild(_limg)
  7310. let _lspan = document.createElement('span')
  7311. _lspan.innerHTML = "上传中..."
  7312. _lchild.appendChild(_lspan)
  7313. _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%);"
  7314. _loading.appendChild(_lchild)
  7315. var _box = $$('div', {
  7316. "style": {
  7317. "position": "relative",
  7318. "width": "100%",
  7319. "height": "100%",
  7320. },
  7321. })
  7322. _box.appendChild(_loading)
  7323. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7324. switch (str) {
  7325. case "CocoPi":
  7326. aTool = 57;
  7327. _iframe = $$("iframe", {
  7328. "allowpaymentrequest": "allowpaymentrequest",
  7329. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7330. "webkitallowfullscreen": "",
  7331. "mozallowfullscreen": "",
  7332. "frameborder": "no",
  7333. "border": "0",
  7334. "scrolling ": "no",
  7335. "style": {
  7336. "cssText": "border:0;width:100%;height:100%"
  7337. },
  7338. "src": "https://pi.cocorobo.cn/"
  7339. })
  7340. _box.appendChild(_iframe);
  7341. _box.appendChild(_jie);
  7342. _formdiv = new U.UF.UI.form(
  7343. "CocoPi-" + _username,
  7344. _box, {
  7345. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7346. "style": {
  7347. "width": "90%",
  7348. "height": "90%",
  7349. "overflow": 'hidden'
  7350. },
  7351. "onresize": function () { }
  7352. }, {
  7353. closecallback: function () { }
  7354. }, {
  7355. "style": {
  7356. "height": "36px"
  7357. }
  7358. }).form; //创建窗体
  7359. _taskbar = {
  7360. "id": str + _formdiv.id,
  7361. "style": {
  7362. "backgroundImage": "url(/img/icon/cocopi.png)"
  7363. },
  7364. "name": "CocoPi",
  7365. "forms": _formdiv,
  7366. "click": function () {
  7367. U.MD.D.I.openApplication(str, obj, info);
  7368. }
  7369. }
  7370. break;
  7371. }
  7372. if (_iframe) {
  7373. if (str == 'CocoPi') {
  7374. _iframe = _formdiv.querySelector('iframe')
  7375. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7376. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7377. })
  7378. if (onloadListener) {
  7379. _iframe.contentDocument.location.reload()
  7380. } else {
  7381. _iframe.contentDocument.location.reload()
  7382. }
  7383. }
  7384. _jie.onclick = async () => {
  7385. let text = ''
  7386. if (aTool == 57) {
  7387. text = _iframe.contentWindow.getLoadXmlStr()
  7388. }
  7389. _loading.style.display = 'flex'
  7390. console.log(_loading);
  7391. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7392. _loading.style.display = 'none'
  7393. let _div = document.createElement('div')
  7394. _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;"
  7395. let _inner = document.createElement('div')
  7396. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7397. _inner.innerHTML = "上传成功"
  7398. _div.appendChild(_inner)
  7399. _iframe.contentWindow.window.document.body.appendChild(_div)
  7400. _div.onclick = () => {
  7401. _iframe.contentWindow.window.document.body.removeChild(_div)
  7402. }
  7403. setTimeout(() => {
  7404. _iframe.contentWindow.window.document.body.removeChild(_div)
  7405. }, 1000);
  7406. }, [], { "type": "POST", "withCredentials": true });
  7407. }
  7408. }
  7409. }
  7410. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7411. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7412. if (res.value[0].length > 0) {
  7413. if (atool == 57) {
  7414. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7415. }
  7416. } else {
  7417. if (atool == 57) {
  7418. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7419. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7420. }
  7421. }
  7422. }, [], { "type": "POST", "withCredentials": true });
  7423. }