DeskTop.js 442 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  518. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  519. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  520. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. ];
  524. //龙华中心小学教师桌面图标的全局变量
  525. U.MD.D.I.longhuateacherDeskIcon = [
  526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. ];
  539. //教科院实小教师桌面图标的全局变量
  540. U.MD.D.I.siesteacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. ];
  556. //教科院实小教师桌面图标的全局变量
  557. U.MD.D.I.siesStudentDeskIcon = [
  558. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. ];
  562. //福田
  563. U.MD.D.I.gdjgTeacherDeskIcon = [
  564. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  565. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  571. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. ];
  575. //gdjg
  576. U.MD.D.I.gdjgAdminDeskIcon = [
  577. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  578. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  579. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  581. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  582. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  583. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  584. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //hk
  588. U.MD.D.I.hkteacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  596. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  604. ];
  605. //hk
  606. U.MD.D.I.hkStudentDeskIcon = [
  607. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. ];
  611. //香海正覺蓮社佛教正覺中學
  612. U.MD.D.I.hkZJLSteacherDeskIcon = [
  613. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  614. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  616. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  622. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  623. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  624. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  625. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  626. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. ];
  628. //香海正覺蓮社佛教正覺中學
  629. U.MD.D.I.hkZJLSStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. ];
  634. //云海
  635. U.MD.D.I.yunhaiTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  639. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  646. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  647. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  648. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  649. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. ];
  652. //福田
  653. U.MD.D.I.heyuanTeacherDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  662. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  663. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //福田
  666. U.MD.D.I.heyuanAdminDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  675. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  678. U.MD.D.I.szherTeacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. ];
  689. //dsei
  690. U.MD.D.I.dseiTeacherDeskIcon = [
  691. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  692. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  693. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  694. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  700. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  701. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  702. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  703. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  704. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  705. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  706. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  707. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  708. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  709. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  710. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  711. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  712. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  713. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  714. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  715. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  717. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  718. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  719. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  720. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  721. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  722. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  723. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  724. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  725. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  726. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  727. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  732. ];
  733. //dsei
  734. U.MD.D.I.dseiAdminDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  747. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  748. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  749. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  750. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  751. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  752. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  753. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  754. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  755. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  756. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  757. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  758. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  759. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  760. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  761. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  762. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  763. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  764. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  765. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  766. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  767. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  768. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  769. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  773. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. ];
  777. //dsei
  778. U.MD.D.I.dseiStudentDeskIcon = [
  779. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  784. ];
  785. //未来教育基地
  786. U.MD.D.I.szjkyTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  802. ];
  803. //未来教育基地
  804. U.MD.D.I.szjkyAdminDeskIcon = [
  805. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  806. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  810. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  811. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  812. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  813. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  814. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  815. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  820. ];
  821. //未来教育基地
  822. U.MD.D.I.szjkyStudentDeskIcon = [
  823. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. ];
  827. //成华教育局
  828. U.MD.D.I.chjyjTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  832. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  833. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  834. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  835. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  836. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  837. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  838. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  839. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  840. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  841. ];
  842. //成华教育局chjyj
  843. U.MD.D.I.chjyjAdminDeskIcon = [
  844. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  845. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  849. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  850. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  851. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  852. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  853. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  854. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  855. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. ];
  858. //成华教育局chjyj
  859. U.MD.D.I.chjyjStudentDeskIcon = [
  860. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  861. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  862. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  863. ];
  864. //#region 桌面初始化a
  865. /**
  866. * 初始化桌面的起始函数
  867. *
  868. */
  869. U.MD.D.I.init = function() {
  870. if ($("#U_MD_D_K")[0]) {
  871. //初始化桌面图标
  872. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  873. // var clickUrl = ':12588/requestIp.php';
  874. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  875. // U.MD.D.I.Ip = data;
  876. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  877. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  878. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  879. // })
  880. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  881. // })
  882. }
  883. }
  884. /**
  885. * 模式切换
  886. *
  887. */
  888. U.MD.D.I.ModeCheck = function(type) {
  889. if (US.Config.type == type) {
  890. return
  891. }
  892. US.Config.type = type
  893. $('.U_PBL_Check .active')[0].className = ''
  894. if (type == 1) {
  895. $('.U_PBL_Check div')[0].className = 'active'
  896. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  897. } else {
  898. $('.U_PBL_Check div')[1].className = 'active'
  899. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  900. }
  901. //初始化桌面图标
  902. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  903. if (type == 2) {
  904. U.MD.D.I.openApplication("project")
  905. }
  906. }
  907. /**
  908. * 隐藏任务栏
  909. *
  910. * @param {element} 桌面元素
  911. */
  912. U.MD.D.I.hiddenTaskbar = function(el) {
  913. //任务栏位置变小
  914. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  915. //桌面的位置变大
  916. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  917. }
  918. /**
  919. * 隐藏任务栏
  920. *
  921. * @param {element} 桌面元素
  922. */
  923. U.MD.D.I.hiddenTaskbarout = function(el) {
  924. //任务栏位置变小
  925. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  926. //任务栏位置变化
  927. U.selectEl(el).css({ "bottom": "-60px" });
  928. //桌面的位置变大
  929. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  930. }
  931. }
  932. /**
  933. * 初始化打印桌面图标
  934. *
  935. * @param {element} 桌面元素
  936. */
  937. U.MD.D.I.initDesktopIcons = function(el, type) {
  938. var i, //用于循环
  939. _content, //桌面图标元素
  940. _iconcontent, //桌面图标元素
  941. _frag = $$("frag"), //定义一个碎片元素
  942. _type = US.userInfo.type,
  943. _org = US.userInfo.org,
  944. _oid = US.userInfo.organizeid,
  945. _role = US.userInfo.role,
  946. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  947. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  948. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  949. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  950. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  951. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  952. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  953. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  954. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  955. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  956. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  957. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  958. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  959. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  960. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  961. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  962. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  963. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  964. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  965. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  966. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  967. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  968. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  969. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  970. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  971. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  972. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  973. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  974. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  975. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  976. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  977. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  978. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  979. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  980. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  981. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  982. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  983. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  984. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  985. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  986. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  987. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  988. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  989. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  990. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  991. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  992. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  993. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  994. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  995. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  996. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  997. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  998. 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'];
  999. 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'];
  1000. //清楚桌面图标
  1001. el.innerHTML = "";
  1002. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1003. _teacherDesktopIconInfo.push(
  1004. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1005. { "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)" } },
  1006. )
  1007. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1008. }
  1009. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1010. _teacherDesktopIconInfo.push(
  1011. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1012. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1013. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1015. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1016. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1017. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1019. )
  1020. }
  1021. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1022. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1023. if (el.Name == '项目管理') {
  1024. el.Name = 'PBL项目'
  1025. }
  1026. return el
  1027. })
  1028. }
  1029. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1030. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1031. return el.Name != '魔盒识字' && el.Name != '24点'
  1032. })
  1033. }
  1034. 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) {
  1035. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1036. }
  1037. //循环创建桌面图标
  1038. if (type == 1) {
  1039. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1040. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1041. _content = $$("div", {
  1042. className: "U_MD_D_KO",
  1043. "onmousedown": U.UF.C.closure(function(obj) {
  1044. //防止拖动图标即打开了桌面应用
  1045. U.MD.D.click(this, obj);
  1046. }, [_studentDesktopIconInfo[i]]),
  1047. "onclick": U.UF.C.closure(function(obj) {
  1048. //防止拖动图标即打开了桌面应用
  1049. U.MD.D.click(this, obj);
  1050. }, [_studentDesktopIconInfo[i]])
  1051. }, _frag); //
  1052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1055. }
  1056. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1057. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1058. _content = $$("div", {
  1059. className: "U_MD_D_KO",
  1060. "onmousedown": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1064. "onclick": U.UF.C.closure(function(obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_hkZJLSStudentDeskIconInfo[i]])
  1068. }, _frag); //
  1069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1072. } //
  1073. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1074. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1075. _content = $$("div", {
  1076. className: "U_MD_D_KO",
  1077. "onmousedown": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_chjyjStudentDeskIconInfo[i]]),
  1081. "onclick": U.UF.C.closure(function(obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_chjyjStudentDeskIconInfo[i]])
  1085. }, _frag); //
  1086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1089. }
  1090. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1091. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1092. _content = $$("div", {
  1093. className: "U_MD_D_KO",
  1094. "onmousedown": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_szjkyStudentDeskIconInfo[i]]),
  1098. "onclick": U.UF.C.closure(function(obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_szjkyStudentDeskIconInfo[i]])
  1102. }, _frag); //
  1103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1106. }
  1107. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1108. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1109. _content = $$("div", {
  1110. className: "U_MD_D_KO",
  1111. "onmousedown": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_dseiStudentDeskIconInfo[i]]),
  1115. "onclick": U.UF.C.closure(function(obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_dseiStudentDeskIconInfo[i]])
  1119. }, _frag); //
  1120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1123. }
  1124. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1125. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1126. _content = $$("div", {
  1127. className: "U_MD_D_KO",
  1128. "onmousedown": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_siesStudentDeskIconInfo[i]]),
  1132. "onclick": U.UF.C.closure(function(obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_siesStudentDeskIconInfo[i]])
  1136. }, _frag); //
  1137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1140. }
  1141. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1142. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1143. _content = $$("div", {
  1144. className: "U_MD_D_KO",
  1145. "onmousedown": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_hkStudentDeskIconInfo[i]]),
  1149. "onclick": U.UF.C.closure(function(obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_hkStudentDeskIconInfo[i]])
  1153. }, _frag); //
  1154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1157. }
  1158. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1159. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1160. _content = $$("div", {
  1161. className: "U_MD_D_KO",
  1162. "onmousedown": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_studentDesktopIconInfo[i]]),
  1166. "onclick": U.UF.C.closure(function(obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_studentDesktopIconInfo[i]])
  1170. }, _frag); //
  1171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1174. }
  1175. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1176. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1177. _content = $$("div", {
  1178. className: "U_MD_D_KO",
  1179. "onmousedown": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_tcStudentDeskIconInfo[i]]),
  1183. "onclick": U.UF.C.closure(function(obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_tcStudentDeskIconInfo[i]])
  1187. }, _frag); //
  1188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1191. }
  1192. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1193. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1194. _content = $$("div", {
  1195. className: "U_MD_D_KO",
  1196. "onmousedown": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_szscStudentDeskIconInfo[i]]),
  1200. "onclick": U.UF.C.closure(function(obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_szscStudentDeskIconInfo[i]])
  1204. }, _frag); //
  1205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1208. }
  1209. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1210. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1211. _content = $$("div", {
  1212. className: "U_MD_D_KO",
  1213. "onmousedown": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_studentDesktopIconInfo3[i]]),
  1217. "onclick": U.UF.C.closure(function(obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_studentDesktopIconInfo3[i]])
  1221. }, _frag); //
  1222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1225. }
  1226. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1227. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1228. _content = $$("div", {
  1229. className: "U_MD_D_KO",
  1230. "onmousedown": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo2[i]]),
  1234. "onclick": U.UF.C.closure(function(obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo2[i]])
  1238. }, _frag); //
  1239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1242. }
  1243. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1244. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1245. _content = $$("div", {
  1246. className: "U_MD_D_KO",
  1247. "onmousedown": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_wanketeacherDesktopIconInfo[i]]),
  1251. "onclick": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_wanketeacherDesktopIconInfo[i]])
  1255. }, _frag); //
  1256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1259. }
  1260. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1261. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1262. _content = $$("div", {
  1263. className: "U_MD_D_KO",
  1264. "onmousedown": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wankeAdminDesktopIconInfo[i]]),
  1268. "onclick": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_wankeAdminDesktopIconInfo[i]])
  1272. }, _frag); //
  1273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1276. }
  1277. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1278. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1279. _content = $$("div", {
  1280. className: "U_MD_D_KO",
  1281. "onmousedown": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_teacherDesktopIconInfo2[i]]),
  1285. "onclick": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_teacherDesktopIconInfo2[i]])
  1289. }, _frag); //
  1290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1293. }
  1294. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1295. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1296. _content = $$("div", {
  1297. className: "U_MD_D_KO",
  1298. "onmousedown": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_lotechTeacherDeskIconInfo[i]]),
  1302. "onclick": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_lotechTeacherDeskIconInfo[i]])
  1306. }, _frag); //
  1307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1310. }//
  1311. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1312. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1313. _content = $$("div", {
  1314. className: "U_MD_D_KO",
  1315. "onmousedown": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_siesTeacherDeskIconInfo[i]]),
  1319. "onclick": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_siesTeacherDeskIconInfo[i]])
  1323. }, _frag); //
  1324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1327. }
  1328. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1329. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1330. _content = $$("div", {
  1331. className: "U_MD_D_KO",
  1332. "onmousedown": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_longhuaTeacherDeskIconInfo[i]]),
  1336. "onclick": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_longhuaTeacherDeskIconInfo[i]])
  1340. }, _frag); //
  1341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1344. }
  1345. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1346. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_yunhaiTeacherDeskIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1361. } //_hkStudentDeskIconInfo
  1362. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1363. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1378. }
  1379. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkTeacherDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkTeacherDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1397. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_gdjgAdminDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_gdjgAdminDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1414. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgTeacherDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_gdjgTeacherDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1431. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_szherTeacherDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_szherTeacherDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1448. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_heyuannAdminDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_heyuannAdminDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1465. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuanTeacherDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_heyuanTeacherDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1480. } //
  1481. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1482. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiAdminDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_dseiAdminDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1499. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiTeacherDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_dseiTeacherDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1514. } //
  1515. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1516. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_chjyjAdminDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_chjyjAdminDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1531. }//
  1532. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1533. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjTeacherDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_chjyjTeacherDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1550. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_szjkyAdminDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_szjkyAdminDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1565. }//
  1566. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1567. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyTeacherDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyTeacherDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1584. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_futianAdminDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_futianAdminDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1601. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianTeacherDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_futianTeacherDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1618. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_MingdeTeacherDeskIcon[i]]),
  1625. "onclick": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_MingdeTeacherDeskIcon[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1635. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_lhsAdminDesktopIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_lhsAdminDesktopIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1652. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsteacherDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lhsteacherDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1669. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_zhoujiateacherDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1686. for (i = 0; i < _hanDeskIcon.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_hanDeskIcon[i]]),
  1693. "onclick": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_hanDeskIcon[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1703. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_orgStemDeskIcon[i]]),
  1710. "onclick": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_orgStemDeskIcon[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1720. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_szulsDeskIcon[i]]),
  1727. "onclick": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_szulsDeskIcon[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1737. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_orgDesktopIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_orgDesktopIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1754. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_schoolDesktopIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_schoolDesktopIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1771. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_GMteacherDesktopIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_GMteacherDesktopIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1788. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_SONGteacherDesktopIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_SONGteacherDesktopIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1805. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_GMstudentDesktopIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_GMstudentDesktopIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1822. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_tcTeacherDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_tcTeacherDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1839. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcOrganizerDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tcOrganizerDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1856. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_szscTeacherDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_szscTeacherDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1873. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscOrganizerDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_szscOrganizerDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else {
  1890. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_teacherDesktopIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_teacherDesktopIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. }
  1907. } else {
  1908. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. style: { 'width': '124px', 'height': '145px' },
  1912. "onmousedown": U.UF.C.closure(function(obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_easyDesktopIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function(obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_easyDesktopIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1924. }
  1925. }
  1926. if (type == 1) {
  1927. //加载好后给图标定位
  1928. U.MD.D.iconPostion($(_frag).Child());
  1929. } else {
  1930. //加载好后给图标定位
  1931. U.MD.D.iconPostion2($(_frag).Child());
  1932. }
  1933. //把图标加载到页面
  1934. el.appendChild(_frag);
  1935. }
  1936. /**
  1937. * 显示任务栏
  1938. *
  1939. * @param {element} 桌面元素
  1940. */
  1941. U.MD.D.I.displayTaskbar = function(el) {
  1942. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1943. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1944. //任务栏位置变化
  1945. U.selectEl(el).css({ "bottom": "0px" });
  1946. //桌面位置变话
  1947. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1948. }
  1949. }
  1950. //#region 桌面图标拖动逻辑
  1951. /**
  1952. * 桌面排列图标
  1953. *
  1954. * @param {element} 桌面元素
  1955. * @param {object} 上下相距的距离
  1956. * @param {object} 左右相距的距离
  1957. * @return {object} 命名空间
  1958. */
  1959. U.MD.D.iconPostion = function(childs, top, left) {
  1960. var i; //用于循环处理
  1961. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1962. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1963. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1964. for (i = 0; i < childs.length; i++) {
  1965. //如果竖排top超过了范围处理
  1966. if (top + 95 > US.height - 10) {
  1967. //left超过了页面范围处理,则向上重叠打印处理
  1968. if ((left + 180) > US.width) {
  1969. top -= 110;
  1970. left -= 90;
  1971. }
  1972. //没有超过范围,那么left+90添加到下一个竖排打印
  1973. else {
  1974. left += 90;
  1975. top = 15;
  1976. };
  1977. }
  1978. //给图标的位置赋值
  1979. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1980. if (i < childs.length - 1) {
  1981. //页面图标每次向下加95
  1982. top += 95;
  1983. }
  1984. }
  1985. //返回最后调用的图标的位置
  1986. return [top, left];
  1987. }
  1988. /**
  1989. * 桌面排列图标
  1990. *
  1991. * @param {element} 桌面元素
  1992. * @param {object} 上下相距的距离
  1993. * @param {object} 左右相距的距离
  1994. * @return {object} 命名空间
  1995. */
  1996. U.MD.D.iconPostion2 = function(childs, top, left) {
  1997. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1998. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1999. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2000. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2001. for (i = 0; i < childs.length; i++) {
  2002. //如果竖排top超过了范围处理
  2003. if (left + 150 > US.width - 10) {
  2004. //left超过了页面范围处理,则向上重叠打印处理
  2005. if ((top + 180) > US.Height) {
  2006. top -= 150;
  2007. left -= 150;
  2008. }
  2009. //没有超过范围,那么left+90添加到下一个竖排打印
  2010. else {
  2011. top += 150;
  2012. left = ol;
  2013. };
  2014. }
  2015. //给图标的位置赋值
  2016. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2017. if (i < childs.length - 1) {
  2018. //页面图标每次向下加95
  2019. left += 150;
  2020. }
  2021. }
  2022. //返回最后调用的图标的位置
  2023. return [top, left];
  2024. }
  2025. /**
  2026. * 桌面点击事件逻辑
  2027. *
  2028. * @param {element} 桌面元素
  2029. * @param {object} 上下相距的距离
  2030. * @param {object} 左右相距的距离
  2031. * @return {object} 命名空间
  2032. */
  2033. U.MD.D.click = function(el, obj) {
  2034. var _buttonnumber = event.button; //点击的按钮的事件值
  2035. var _userinfo = US.userInfo;
  2036. U.UF.EV.stopBubble(); //阻止向上冒泡
  2037. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2038. if (_buttonnumber < 2) {
  2039. //如果是click事件的处理
  2040. if (event.type == "click") {
  2041. //如果元素在mousemove事件中没有移动则出发click事件
  2042. if (!U.MD.D.I.IsDrag) {
  2043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2044. U.alert("请先登录您的账号!");
  2045. setTimeout(() => {
  2046. U.MD.U.L.login();
  2047. }, 2000);
  2048. } else {
  2049. //打开应用处理
  2050. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2051. }
  2052. }
  2053. }
  2054. //如果是mouse事件的处理
  2055. else {
  2056. if (US.Config.type == '1') {
  2057. //拖动处理,添加拖动和拖动结束事件
  2058. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2059. }
  2060. }
  2061. U.MD.D.I.IsDrag = false;
  2062. }
  2063. }
  2064. /**
  2065. * 拖动的处理
  2066. *
  2067. */
  2068. U.MD.D.iconMove = function() {
  2069. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2070. U.MD.D.I.IsDrag = true;
  2071. }
  2072. /**
  2073. * 拖动结束后,这里是定位处理,以网状的形式定位
  2074. *
  2075. * @param {element} 拖动的元素
  2076. * @return {object} 命名空间
  2077. */
  2078. U.MD.D.iconUp = function(el) {
  2079. var _top = 15,
  2080. _left = 20,
  2081. _margin,
  2082. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2083. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2084. if (_positioninfo["OT"] > 15) {
  2085. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2086. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2087. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2088. }
  2089. if (_positioninfo["OL"] > 20) {
  2090. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2091. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2092. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2093. }
  2094. //while循环判断么一个重叠的元素
  2095. do {
  2096. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2097. _top = _positioninfo[0] + 95; //得到定位后的top
  2098. _left = _positioninfo[1]; //得到定位后的left
  2099. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2100. }
  2101. /**
  2102. * 判断拖动后图标是否重叠
  2103. *
  2104. * @param {element} 拖动的元素
  2105. * @param {element} 桌面所有的元素
  2106. * @param {array} 拖动元素的位置
  2107. ----------[0] 上 top
  2108. ----------[1] 左 left
  2109. * @return {object} 命名空间
  2110. */
  2111. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2112. //循环所有的图标
  2113. for (var i = 0; i < childs.length; i++) {
  2114. //判断有没有和该图标诶子重叠的元素
  2115. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2116. return childs[i]; //如果有返回
  2117. }
  2118. }
  2119. }
  2120. //#endregion
  2121. //#endregion
  2122. //#region 桌面应用
  2123. /**
  2124. * 打开应用
  2125. *
  2126. * @param {string} 类型
  2127. -----------------Disk 网盘系统
  2128. -----------------PDisk 学习系统网盘
  2129. -----------------Poto 图片
  2130. -----------------Video 视频
  2131. -----------------Music 音乐
  2132. -----------------Word word
  2133. -----------------Excel excel
  2134. -----------------Txt 记事本
  2135. -----------------PB 学习系统
  2136. -----------------Blog 朋友圈系统
  2137. -----------------FTP ftp系统
  2138. -----------------Group 好友群
  2139. -----------------SY 首页系统
  2140. -----------------Set 个人设置
  2141. -----------------XSet 系统设置
  2142. -----------------App 我们所有的app
  2143. -----------------BC c.1473.cn 平台
  2144. -----------------CWeb d.1473.cn 变成平台
  2145. -----------------其他的外联系统 我们统一用iframe打开
  2146. * @param {array} 类型
  2147. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2148. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2149. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2150. 如果第一个参数为其他,则无第二个参数
  2151. * @returns {array}
  2152. */
  2153. window.addEventListener('message', function(e) { // 监听 message 事件
  2154. // alert(e.data.type);
  2155. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2156. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2157. //3是展示全部阶段 2学生 1老师 4专家
  2158. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2159. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2160. //3是展示全部阶段 2学生 1老师 4专家
  2161. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2162. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2163. //3是展示全部阶段 2学生 1老师 4专家
  2164. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2165. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2166. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2167. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2168. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2170. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2171. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2172. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2174. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2176. //3是展示全部阶段 2学生 1老师 4专家
  2177. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2178. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2179. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2180. U.MD.D.I.selectUser();
  2181. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2182. var _formel = document.getElementById("study");
  2183. U.UF.F.windowZooming(_formel);
  2184. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2185. var _formel = document.getElementById("studyDetail");
  2186. U.UF.F.windowZooming(_formel);
  2187. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2188. var _formel = document.getElementById("studyDetail");
  2189. U.UF.F.windowZooming(_formel);
  2190. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2191. var _formel = document.getElementById("studentStudy");
  2192. U.UF.F.windowZooming(_formel);
  2193. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2194. // var _formel = document.getElementById("study");
  2195. //如果最大化了,那么就把他缩小
  2196. // if (_formel.ismaximize) {
  2197. // return;
  2198. // }
  2199. // U.UF.F.windowZooming(_formel);
  2200. // U.UF.F.topWindow(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2202. // var _formel = document.getElementById("studyDetail");
  2203. //如果最大化了,那么就把他缩小
  2204. // if (_formel.ismaximize) {
  2205. // return;
  2206. // }
  2207. // U.UF.F.windowZooming(_formel);
  2208. // U.UF.F.topWindow(_formel);
  2209. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2210. // var _formel = document.getElementById("studentStudy");
  2211. // if (_formel.ismaximize) {
  2212. // return;
  2213. // }
  2214. // U.UF.F.windowZooming(_formel);
  2215. // U.UF.F.topWindow(_formel);
  2216. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2217. var _formel = document.getElementById("study");
  2218. // if (_formel.ismaximize) {
  2219. // return;
  2220. // }
  2221. // U.UF.F.windowZooming(_formel);
  2222. U.UF.F.topWindow(_formel);
  2223. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2224. var _formel = document.getElementById("studentIndex");
  2225. U.UF.F.windowZooming(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2227. var _formel = document.getElementById("studyDetailS");
  2228. U.UF.F.windowZooming(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2230. var _formel = document.getElementById("studioIndex");
  2231. U.UF.F.windowZooming(_formel);
  2232. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2233. var _formel = document.getElementById("studyDetailStudio");
  2234. U.UF.F.windowZooming(_formel);
  2235. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2236. var _formel = document.getElementById("studyDetailStudio");
  2237. U.UF.F.windowZooming(_formel);
  2238. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2239. var _formel = document.getElementById("studyDetailNT");
  2240. U.UF.F.windowZooming(_formel);
  2241. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2242. var _formel = document.getElementById("studyDetailS");
  2243. U.UF.F.windowZooming(_formel);
  2244. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2245. var _formel = document.getElementById("studyDetailS");
  2246. U.UF.F.topWindow(_formel);
  2247. } else if (e.data.tools && e.data.tools == "1") {
  2248. // U.MD.D.I.openApplication("whiteboard")
  2249. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2250. } else if (e.data.tools && e.data.tools == "2") {
  2251. U.MD.D.I.openApplication("note")
  2252. } else if (e.data.tools && e.data.tools == "3") {
  2253. // U.MD.D.I.openApplication("mind")
  2254. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2255. } else if (e.data.tools && e.data.tools == "4") {
  2256. U.MD.D.I.openApplication("investigation")
  2257. } else if (e.data.tools && e.data.tools == "6") {
  2258. // U.MD.D.I.openApplication("doc")
  2259. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2260. } else if (e.data.tools && e.data.tools == "7") {
  2261. // U.MD.D.I.openApplication("mindNetwork")
  2262. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "8") {
  2264. U.MD.D.I.openApplication("library")
  2265. } else if (e.data.tools && e.data.tools == "17") {
  2266. U.MD.D.I.openApplication("stuLibrary")
  2267. } else if (e.data.tools && e.data.tools == "18") {
  2268. U.MD.D.I.openApplication("train")
  2269. } else if (e.data.tools && e.data.tools == "21") {
  2270. U.MD.D.I.openApplication("program")
  2271. } else if (e.data.tools && e.data.tools == "22") {
  2272. U.MD.D.I.openApplication("AIprogram2")
  2273. } else if (e.data.tools && e.data.tools == "23") {
  2274. U.MD.D.I.openApplication("Pythonprogram")
  2275. } else if (e.data.tools && e.data.tools == "24") {
  2276. U.MD.D.I.openApplication("AIprogram")
  2277. } else if (e.data.tools && e.data.tools == "25") {
  2278. U.MD.D.I.openApplication("sys")
  2279. } else if (e.data.tools && e.data.tools == "26") {
  2280. // U.MD.D.I.openApplication("courseDesign")
  2281. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2282. } else if (e.data.tools && e.data.tools == "31") {
  2283. U.MD.D.I.openApplication("netWorkPanel")
  2284. } else if (e.data.tools && e.data.tools == "32") {
  2285. U.MD.D.I.openApplication("codeEdit")
  2286. } else if (e.data.tools && e.data.tools == "57") {
  2287. U.MD.D.I.openApplication("CocoPi")
  2288. } else if (e.data.tools && e.data.tools == "63") {
  2289. U.MD.D.I.openApplication("Wood")
  2290. } else if (e.data.tools && e.data.tools == "58") {
  2291. U.MD.D.I.openApplication("car")
  2292. } else if (e.data.tools && e.data.tools == "59") {
  2293. U.MD.D.I.openApplication("lineSearch")
  2294. } else if (e.data.tools && e.data.tools == "60") {
  2295. U.MD.D.I.openApplication("deepLearning")
  2296. } else if (e.data.tools && e.data.tools == "61") {
  2297. U.MD.D.I.openApplication("allHistory")
  2298. } else if (e.data.tools && e.data.tools == "28") {
  2299. U.MD.D.I.openApplication("translation")
  2300. } else if (e.data.tools && e.data.tools == "37") {
  2301. U.MD.D.I.openApplication("mohe")
  2302. } else if (e.data.tools && e.data.tools == "38") {
  2303. U.MD.D.I.openApplication("24game")
  2304. } else if (e.data.tools && e.data.tools == "39") {
  2305. U.MD.D.I.openApplication("GeoGebra")
  2306. } else if (e.data.tools && e.data.tools == "43") {
  2307. U.MD.D.I.openApplication("studentEvaluate")
  2308. } else if (e.data.tools && e.data.tools == "44") {
  2309. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2310. } else if (e.data.tools && e.data.tools == "46") {
  2311. U.MD.D.I.openApplication("project")
  2312. } else if (e.data.tools && e.data.tools == "1s") {
  2313. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2314. } else if (e.data.tools && e.data.tools == "3s") {
  2315. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2316. } else if (e.data.tools && e.data.tools == "6s") {
  2317. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2318. } else if (e.data.tools && e.data.tools == "1studio") {
  2319. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2320. } else if (e.data.tools && e.data.tools == "3studio") {
  2321. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "6studio") {
  2323. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "3y") {
  2325. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "1y") {
  2327. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2329. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2330. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2331. U.MD.D.I.openApplication("AIAnalyse")
  2332. } else if (e.data.tools && e.data.tools == "1teacher") {
  2333. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2334. } else if (e.data.tools && e.data.tools == "3teacher") {
  2335. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2336. } else if (e.data.tools && e.data.tools == "7teacher") {
  2337. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2338. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2339. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2340. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2341. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2342. } else if (e.data.tools && e.data.tools == "1E") {
  2343. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2344. } else if (e.data.tools && e.data.tools == "3E") {
  2345. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2346. } else if (e.data.tools && e.data.tools == "57y") {
  2347. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2348. } else if (e.data.tools && e.data.tools == "57u") {
  2349. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2350. } else if (e.data.tools && e.data.tools == "57teacher") {
  2351. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2352. } else if (e.data.tools && e.data.tools == "64") {
  2353. U.MD.D.I.openApplication("AIChat")
  2354. } else if (e.data.tools && e.data.tools == "66") {
  2355. U.MD.D.I.openApplication("formulaEdi")
  2356. } else if (e.data.tools && e.data.tools == "67") {
  2357. U.MD.D.I.openApplication("molStr")
  2358. } else if (e.data.tools && e.data.tools == "68") {
  2359. U.MD.D.I.openApplication("timeAxis")
  2360. }
  2361. });
  2362. U.MD.D.I.selectUser = function() {
  2363. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2364. if (res.value[0].length > 0) {
  2365. US.userInfo = res.value[0][0];
  2366. $(".userName")[0].innerHTML = US.userInfo.username;
  2367. }
  2368. }, [], { "type": "GET", "withCredentials": true });
  2369. }
  2370. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2371. var _userinfo = US.userInfo, //登录用户信息
  2372. _userid = US.userInfo.userid, //登录用户id
  2373. _oid = _userinfo.organizeid,
  2374. _type = US.userInfo.type,
  2375. _org = US.userInfo.org,
  2376. _role = US.userInfo.role,
  2377. _classId = US.userInfo.classid;
  2378. if (_type == 4) {
  2379. tType = 4
  2380. }
  2381. switch (str) {
  2382. case "studyDetailNT": //无终端模式
  2383. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2384. setTimeout(() => {
  2385. U.MD.U.L.login();
  2386. }, 2000);
  2387. } else {
  2388. _formdiv = new U.UF.UI.form(
  2389. "课程详情",
  2390. $$("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 }), {
  2391. "id": "studyDetailNT",
  2392. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2393. "onresize": function() {}
  2394. }, {
  2395. closecallback: function() {}
  2396. }, { "style": { "height": "36px" } }).form; //创建窗体
  2397. _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); } }
  2398. break;
  2399. }
  2400. case "studyDetail":
  2401. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2402. setTimeout(() => {
  2403. U.MD.U.L.login();
  2404. }, 2000);
  2405. } else {
  2406. _formdiv = new U.UF.UI.form(
  2407. "课程详情",
  2408. $$("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 }), {
  2409. "id": "studyDetail",
  2410. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2411. "onresize": function() {}
  2412. }, {
  2413. closecallback: function() {}
  2414. }, { "style": { "height": "36px" } }).form; //创建窗体
  2415. _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); } }
  2416. break;
  2417. }
  2418. case "studyDetailS":
  2419. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2420. setTimeout(() => {
  2421. U.MD.U.L.login();
  2422. }, 2000);
  2423. } else {
  2424. _formdiv = new U.UF.UI.form(
  2425. "项目详情",
  2426. $$("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 }), {
  2427. "id": "studyDetailS",
  2428. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2429. "onresize": function() {}
  2430. }, {
  2431. closecallback: function() {}
  2432. }, { "style": { "height": "36px" } }).form; //创建窗体
  2433. _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); } }
  2434. break;
  2435. }
  2436. case "studyDetailStudio":
  2437. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2438. setTimeout(() => {
  2439. U.MD.U.L.login();
  2440. }, 2000);
  2441. } else {
  2442. _formdiv = new U.UF.UI.form(
  2443. "工作详情",
  2444. $$("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 }), {
  2445. "id": "studyDetailStudio",
  2446. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2447. "onresize": function() {}
  2448. }, {
  2449. closecallback: function() {}
  2450. }, { "style": { "height": "36px" } }).form; //创建窗体
  2451. _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); } }
  2452. break;
  2453. }
  2454. case "studyDetailS5":
  2455. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2456. setTimeout(() => {
  2457. U.MD.U.L.login();
  2458. }, 2000);
  2459. } else {
  2460. _formdiv = new U.UF.UI.form(
  2461. "项目详情",
  2462. $$("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 }), {
  2463. "id": "studyDetailS",
  2464. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2465. "onresize": function() {}
  2466. }, {
  2467. closecallback: function() {}
  2468. }, { "style": { "height": "36px" } }).form; //创建窗体
  2469. _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); } }
  2470. break;
  2471. }
  2472. case "studyDetailGM":
  2473. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2474. setTimeout(() => {
  2475. U.MD.U.L.login();
  2476. }, 2000);
  2477. } else {
  2478. _formdiv = new U.UF.UI.form(
  2479. "课程详情",
  2480. $$("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 }), {
  2481. "id": "studyDetail",
  2482. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2483. "onresize": function() {}
  2484. }, {
  2485. closecallback: function() {}
  2486. }, { "style": { "height": "36px" } }).form; //创建窗体
  2487. _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); } }
  2488. break;
  2489. }
  2490. case "hanUrl":
  2491. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2492. setTimeout(() => {
  2493. U.MD.U.L.login();
  2494. }, 2000);
  2495. } else {
  2496. _formdiv = new U.UF.UI.form(
  2497. "汉字宫",
  2498. $$("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" }), {
  2499. "id": "hanUrl",
  2500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2501. "onresize": function() {}
  2502. }, {
  2503. closecallback: function() {}
  2504. }, { "style": { "height": "36px" } }).form; //创建窗体
  2505. _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); } }
  2506. break;
  2507. }
  2508. }
  2509. }
  2510. U.MD.D.I.openApplication = function(str, obj, info) {
  2511. obj = obj || {};
  2512. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2513. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2514. _userinfo = US.userInfo, //登录用户信息
  2515. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2516. _oid = obj.organizeid || _userinfo.organizeid,
  2517. _type = US.userInfo.type,
  2518. _org = US.userInfo.org,
  2519. _role = US.userInfo.role,
  2520. _classId = US.userInfo.classid,
  2521. _TscreenType = 1
  2522. _screenType = 2,
  2523. _SscreenType = 3;
  2524. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2525. return;
  2526. }
  2527. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2528. switch (str) {
  2529. case "studnetProject": //好友打开
  2530. _formdiv = new U.UF.UI.form(
  2531. "我的项目",
  2532. $$("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 }), {
  2533. "id": "studnetProject",
  2534. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2535. "onresize": function() {}
  2536. }, {
  2537. closecallback: function() {}
  2538. }, { "style": { "height": "36px" } }).form; //创建窗体
  2539. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2540. break;
  2541. case "studentEvaluate": //好友打开
  2542. _formdiv = new U.UF.UI.form(
  2543. "我的评价",
  2544. $$("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 }), {
  2545. "id": "studentEvaluate",
  2546. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2547. "onresize": function() {}
  2548. }, {
  2549. closecallback: function() {}
  2550. }, { "style": { "height": "36px" } }).form; //创建窗体
  2551. _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); } }
  2552. break;
  2553. case "my":
  2554. _formdiv = new U.UF.UI.form(
  2555. "我的资料",
  2556. $$("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 }), {
  2557. "id": "my",
  2558. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2559. "onresize": function() {}
  2560. }, {
  2561. closecallback: function() {}
  2562. }, { "style": { "height": "36px" } }).form; //创建窗体
  2563. _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); } }
  2564. break;
  2565. case "program":
  2566. _formdiv = new U.UF.UI.form(
  2567. "编程平台",
  2568. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2569. "id": "program",
  2570. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2571. "onresize": function() {}
  2572. }, {
  2573. closecallback: function() {}
  2574. }, { "style": { "height": "36px" } }).form; //创建窗体
  2575. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2576. break;
  2577. case "library":
  2578. _formdiv = new U.UF.UI.form(
  2579. "素材库",
  2580. $$("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 }), {
  2581. "id": "library",
  2582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2583. "onresize": function() {}
  2584. }, {
  2585. closecallback: function() {}
  2586. }, { "style": { "height": "36px" } }).form; //创建窗体
  2587. _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); } }
  2588. break;
  2589. case "whiteboard":
  2590. _formdiv = new U.UF.UI.form(
  2591. "电子白板",
  2592. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2593. "id": "whiteboard",
  2594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2595. "onresize": function() {}
  2596. }, {
  2597. closecallback: function() {}
  2598. }, { "style": { "height": "36px" } }).form; //创建窗体
  2599. _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); } }
  2600. break;
  2601. case "investigation":
  2602. _formdiv = new U.UF.UI.form(
  2603. "问卷调查",
  2604. $$("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 }), {
  2605. "id": "investigation",
  2606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2607. "onresize": function() {}
  2608. }, {
  2609. closecallback: function() {}
  2610. }, { "style": { "height": "36px" } }).form; //创建窗体
  2611. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2612. break;
  2613. case "note":
  2614. _formdiv = new U.UF.UI.form(
  2615. "便签分类",
  2616. $$("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 }), {
  2617. "id": "note",
  2618. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2619. "onresize": function() {}
  2620. }, {
  2621. closecallback: function() {}
  2622. }, { "style": { "height": "36px" } }).form; //创建窗体
  2623. _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); } }
  2624. break;
  2625. // case "score":
  2626. // _formdiv = new U.UF.UI.form(
  2627. // "量规评分",
  2628. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2629. // "id": "score",
  2630. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2631. // "onresize": function() {}
  2632. // }, {
  2633. // closecallback: function() {}
  2634. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2635. // _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); } }
  2636. // break;
  2637. case "mind":
  2638. _formdiv = new U.UF.UI.form(
  2639. "思维导图",
  2640. $$("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"
  2641. "id": "mind",
  2642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2643. "onresize": function() {}
  2644. }, {
  2645. closecallback: function() {}
  2646. }, { "style": { "height": "36px" } }).form; //创建窗体
  2647. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2648. break;
  2649. case "doc":
  2650. // U.MD.D.I.isRoom();
  2651. _formdiv = new U.UF.UI.form(
  2652. "协同文档",
  2653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2654. "id": "doc",
  2655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2656. "onresize": function() {}
  2657. }, {
  2658. closecallback: function() {}
  2659. }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2661. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2662. // })
  2663. _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); } }
  2664. break;
  2665. case "studentStudy":
  2666. _formdiv = new U.UF.UI.form(
  2667. "课程中心",
  2668. $$("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
  2669. "id": "studentStudy",
  2670. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2671. "onresize": function() {}
  2672. }, {
  2673. closecallback: function() {}
  2674. }, { "style": { "height": "36px" } }).form; //创建窗体
  2675. _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); } }
  2676. break;
  2677. case "train": //好友打开
  2678. _formdiv = new U.UF.UI.form(
  2679. "训练平台",
  2680. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2681. "id": "train",
  2682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2683. "onresize": function() {}
  2684. }, {
  2685. closecallback: function() {}
  2686. }, { "style": { "height": "36px" } }).form; //创建窗体
  2687. _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); } }
  2688. break;
  2689. case "mindNetwork": //好友打开
  2690. _formdiv = new U.UF.UI.form(
  2691. "思维网格",
  2692. $$("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 }), {
  2693. "id": "mindNetwork",
  2694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2695. "onresize": function() {}
  2696. }, {
  2697. closecallback: function() {}
  2698. }, { "style": { "height": "36px" } }).form; //创建窗体
  2699. _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); } }
  2700. break;
  2701. case "studentClassRoom": //好友打开
  2702. _formdiv = new U.UF.UI.form(
  2703. "实时课堂",
  2704. $$("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 }), {
  2705. "id": "studentClassRoom",
  2706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2707. "onresize": function() {}
  2708. }, {
  2709. closecallback: function() {}
  2710. }, { "style": { "height": "36px" } }).form; //创建窗体
  2711. _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); } }
  2712. setTimeout(() => {
  2713. U.UF.F.windowZooming(_formdiv)
  2714. }, 0);
  2715. break;
  2716. }
  2717. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2718. switch (str) {
  2719. case "studnetProject": //好友打开
  2720. _formdiv = new U.UF.UI.form(
  2721. "我的项目",
  2722. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2723. "id": "studnetProject",
  2724. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2725. "onresize": function() {}
  2726. }, {
  2727. closecallback: function() {}
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2730. break;
  2731. case "studentEvaluate": //好友打开
  2732. _formdiv = new U.UF.UI.form(
  2733. "我的评价",
  2734. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2735. "id": "studentEvaluate",
  2736. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2737. "onresize": function() {}
  2738. }, {
  2739. closecallback: function() {}
  2740. }, { "style": { "height": "36px" } }).form; //创建窗体
  2741. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2742. break;
  2743. case "my":
  2744. _formdiv = new U.UF.UI.form(
  2745. "我的资料",
  2746. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2747. "id": "my",
  2748. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2749. "onresize": function() {}
  2750. }, {
  2751. closecallback: function() {}
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2754. break;
  2755. case "program":
  2756. _formdiv = new U.UF.UI.form(
  2757. "编程平台",
  2758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2759. "id": "program",
  2760. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2761. "onresize": function() {}
  2762. }, {
  2763. closecallback: function() {}
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2766. break;
  2767. case "library":
  2768. _formdiv = new U.UF.UI.form(
  2769. "素材库",
  2770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2771. "id": "library",
  2772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2773. "onresize": function() {}
  2774. }, {
  2775. closecallback: function() {}
  2776. }, { "style": { "height": "36px" } }).form; //创建窗体
  2777. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2778. break;
  2779. case "whiteboard":
  2780. _formdiv = new U.UF.UI.form(
  2781. "电子白板",
  2782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2783. "id": "whiteboard",
  2784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2785. "onresize": function() {}
  2786. }, {
  2787. closecallback: function() {}
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2790. break;
  2791. case "investigation":
  2792. _formdiv = new U.UF.UI.form(
  2793. "问卷调查",
  2794. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2795. "id": "investigation",
  2796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2797. "onresize": function() {}
  2798. }, {
  2799. closecallback: function() {}
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2802. break;
  2803. case "note":
  2804. _formdiv = new U.UF.UI.form(
  2805. "便签分类",
  2806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2807. "id": "note",
  2808. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2809. "onresize": function() {}
  2810. }, {
  2811. closecallback: function() {}
  2812. }, { "style": { "height": "36px" } }).form; //创建窗体
  2813. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2814. break;
  2815. // case "score":
  2816. // _formdiv = new U.UF.UI.form(
  2817. // "量规评分",
  2818. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2819. // "id": "score",
  2820. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2821. // "onresize": function() {}
  2822. // }, {
  2823. // closecallback: function() {}
  2824. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2826. // break;
  2827. case "mind":
  2828. _formdiv = new U.UF.UI.form(
  2829. "思维导图",
  2830. $$("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"
  2831. "id": "mind",
  2832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2833. "onresize": function() {}
  2834. }, {
  2835. closecallback: function() {}
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _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); } }
  2838. break;
  2839. case "doc":
  2840. // U.MD.D.I.isRoom();
  2841. _formdiv = new U.UF.UI.form(
  2842. "协同文档",
  2843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2844. "id": "doc",
  2845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. "onresize": function() {}
  2847. }, {
  2848. closecallback: function() {}
  2849. }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2851. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2852. })
  2853. _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); } }
  2854. break;
  2855. case "train": //好友打开
  2856. _formdiv = new U.UF.UI.form(
  2857. "训练平台",
  2858. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2859. "id": "train",
  2860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2861. "onresize": function() {}
  2862. }, {
  2863. closecallback: function() {}
  2864. }, { "style": { "height": "36px" } }).form; //创建窗体
  2865. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2866. break;
  2867. case "studentStudy":
  2868. _formdiv = new U.UF.UI.form(
  2869. "课程中心",
  2870. $$("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
  2871. "id": "studentStudy",
  2872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2873. "onresize": function() {}
  2874. }, {
  2875. closecallback: function() {}
  2876. }, { "style": { "height": "36px" } }).form; //创建窗体
  2877. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2878. break;
  2879. case "mindNetwork": //好友打开
  2880. _formdiv = new U.UF.UI.form(
  2881. "思维网格",
  2882. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  2883. "id": "mindNetwork",
  2884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2885. "onresize": function() {}
  2886. }, {
  2887. closecallback: function() {}
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2890. break;
  2891. case "studentClassRoom": //好友打开
  2892. _formdiv = new U.UF.UI.form(
  2893. "实时课堂",
  2894. $$("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 }), {
  2895. "id": "studentClassRoom",
  2896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2897. "onresize": function() {}
  2898. }, {
  2899. closecallback: function() {}
  2900. }, { "style": { "height": "36px" } }).form; //创建窗体
  2901. _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); } }
  2902. setTimeout(() => {
  2903. U.UF.F.windowZooming(_formdiv)
  2904. }, 0);
  2905. break;
  2906. }
  2907. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2908. //选择应用处理
  2909. switch (str) {
  2910. case "project": //好友打开
  2911. _formdiv = new U.UF.UI.form(
  2912. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2913. $$("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 }), {
  2914. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2921. break;
  2922. case "student":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  2926. "id": "student",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2933. break;
  2934. case "evaluate":
  2935. _formdiv = new U.UF.UI.form(
  2936. "学生评价",
  2937. $$("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 }), {
  2938. "id": "evaluate",
  2939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2940. "onresize": function() {}
  2941. }, {
  2942. closecallback: function() {}
  2943. }, { "style": { "height": "36px" } }).form; //创建窗体
  2944. _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); } }
  2945. break;
  2946. case "sys":
  2947. _formdiv = new U.UF.UI.form(
  2948. "目标管理",
  2949. $$("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 }), {
  2950. "id": "sys",
  2951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2952. "onresize": function() {}
  2953. }, {
  2954. closecallback: function() {}
  2955. }, { "style": { "height": "36px" } }).form; //创建窗体
  2956. _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); } }
  2957. break;
  2958. case "courseDesign":
  2959. _formdiv = new U.UF.UI.form(
  2960. "项目设计",
  2961. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2962. "id": "courseDesign",
  2963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2964. "onresize": function() {}
  2965. }, {
  2966. closecallback: function() {}
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. case "program":
  2971. _formdiv = new U.UF.UI.form(
  2972. "编程平台",
  2973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2974. "id": "program",
  2975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2976. "onresize": function() {}
  2977. }, {
  2978. closecallback: function() {}
  2979. }, { "style": { "height": "36px" } }).form; //创建窗体
  2980. _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); } }
  2981. break;
  2982. case "class":
  2983. _formdiv = new U.UF.UI.form(
  2984. "班级管理",
  2985. $$("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 }), {
  2986. "id": "class",
  2987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2988. "onresize": function() {}
  2989. }, {
  2990. closecallback: function() {}
  2991. }, { "style": { "height": "36px" } }).form; //创建窗体
  2992. _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); } }
  2993. break;
  2994. case "Grade":
  2995. _formdiv = new U.UF.UI.form(
  2996. "年级管理",
  2997. $$("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 }), {
  2998. "id": "Grade",
  2999. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3000. "onresize": function() {}
  3001. }, {
  3002. closecallback: function() {}
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. case "teacherOffice":
  3007. _formdiv = new U.UF.UI.form(
  3008. "教研室",
  3009. $$("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 }), {
  3010. "id": "teacherOffice",
  3011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3012. "onresize": function() {}
  3013. }, {
  3014. closecallback: function() {}
  3015. }, { "style": { "height": "36px" } }).form; //创建窗体
  3016. _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); } }
  3017. break;
  3018. case "my":
  3019. _formdiv = new U.UF.UI.form(
  3020. "我的资料",
  3021. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3022. "id": "my",
  3023. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function() {}
  3025. }, {
  3026. closecallback: function() {}
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. _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); } }
  3029. break;
  3030. case "notice":
  3031. _formdiv = new U.UF.UI.form(
  3032. "通知公告",
  3033. $$("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 }), {
  3034. "id": "notice",
  3035. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. "onresize": function() {}
  3037. }, {
  3038. closecallback: function() {}
  3039. }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3041. break;
  3042. case "library":
  3043. _formdiv = new U.UF.UI.form(
  3044. "素材库",
  3045. $$("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 }), {
  3046. "id": "library",
  3047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3048. "onresize": function() {}
  3049. }, {
  3050. closecallback: function() {}
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3053. break;
  3054. case "whiteboard":
  3055. _formdiv = new U.UF.UI.form(
  3056. "电子白板",
  3057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3058. "id": "whiteboard",
  3059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function() {}
  3061. }, {
  3062. closecallback: function() {}
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3065. break;
  3066. case "investigation":
  3067. _formdiv = new U.UF.UI.form(
  3068. "问卷调查",
  3069. $$("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 }), {
  3070. "id": "investigation",
  3071. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3072. "onresize": function() {}
  3073. }, {
  3074. closecallback: function() {}
  3075. }, { "style": { "height": "36px" } }).form; //创建窗体
  3076. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3077. break;
  3078. case "note":
  3079. _formdiv = new U.UF.UI.form(
  3080. "便签分类",
  3081. $$("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 }), {
  3082. "id": "note",
  3083. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3084. "onresize": function() {}
  3085. }, {
  3086. closecallback: function() {}
  3087. }, { "style": { "height": "36px" } }).form; //创建窗体
  3088. _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); } }
  3089. break;
  3090. // case "score":
  3091. // _formdiv = new U.UF.UI.form(
  3092. // "量规评分",
  3093. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3094. // "id": "score",
  3095. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3096. // "onresize": function() {}
  3097. // }, {
  3098. // closecallback: function() {}
  3099. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. // _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); } }
  3101. // break;
  3102. case "mind":
  3103. _formdiv = new U.UF.UI.form(
  3104. "思维导图",
  3105. $$("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"
  3106. "id": "mind",
  3107. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3108. "onresize": function() {}
  3109. }, {
  3110. closecallback: function() {}
  3111. }, { "style": { "height": "36px" } }).form; //创建窗体
  3112. _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); } }
  3113. break;
  3114. case "doc":
  3115. // U.MD.D.I.isRoom();
  3116. _formdiv = new U.UF.UI.form(
  3117. "协同文档",
  3118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3119. "id": "doc",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function() {}
  3122. }, {
  3123. closecallback: function() {}
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3126. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3127. })
  3128. _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); } }
  3129. break;
  3130. case "study":
  3131. _formdiv = new U.UF.UI.form(
  3132. "课程中心",
  3133. $$("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
  3134. "id": "study",
  3135. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3136. "onresize": function() {}
  3137. }, {
  3138. closecallback: function() {}
  3139. }, { "style": { "height": "36px" } }).form; //创建窗体
  3140. _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); } }
  3141. break;
  3142. case "mindNetwork": //好友打开
  3143. _formdiv = new U.UF.UI.form(
  3144. "思维网格",
  3145. $$("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 }), {
  3146. "id": "mindNetwork",
  3147. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3148. "onresize": function() {}
  3149. }, {
  3150. closecallback: function() {}
  3151. }, { "style": { "height": "36px" } }).form; //创建窗体
  3152. _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); } }
  3153. break;
  3154. case "train": //好友打开
  3155. _formdiv = new U.UF.UI.form(
  3156. "训练平台",
  3157. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3158. "id": "mindNetwork",
  3159. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3160. "onresize": function() {}
  3161. }, {
  3162. closecallback: function() {}
  3163. }, { "style": { "height": "36px" } }).form; //创建窗体
  3164. _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); } }
  3165. break;
  3166. case "teacherClassRoom": //好友打开
  3167. _formdiv = new U.UF.UI.form(
  3168. "实时课堂",
  3169. $$("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 }), {
  3170. "id": "teacherClassRoom",
  3171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3172. "onresize": function() {}
  3173. }, {
  3174. closecallback: function() {}
  3175. }, { "style": { "height": "36px" } }).form; //创建窗体
  3176. _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); } }
  3177. setTimeout(() => {
  3178. U.UF.F.windowZooming(_formdiv)
  3179. }, 0);
  3180. break;
  3181. }
  3182. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3183. switch (str) {
  3184. case "project": //好友打开
  3185. _formdiv = new U.UF.UI.form(
  3186. "课程管理",
  3187. $$("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 }), {
  3188. "id": "project",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function() {}
  3191. }, {
  3192. closecallback: function() {}
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3195. break;
  3196. case "evaluate":
  3197. _formdiv = new U.UF.UI.form(
  3198. "学生评价",
  3199. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3200. "id": "evaluate",
  3201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function() {}
  3203. }, {
  3204. closecallback: function() {}
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3207. break;
  3208. case "notice":
  3209. _formdiv = new U.UF.UI.form(
  3210. "通知公告",
  3211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3212. "id": "notice",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function() {}
  3215. }, {
  3216. closecallback: function() {}
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3219. break;
  3220. case "stuLibrary":
  3221. _formdiv = new U.UF.UI.form(
  3222. "学习资料",
  3223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3224. "id": "stuLibrary",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function() {}
  3227. }, {
  3228. closecallback: function() {}
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3231. break;
  3232. case "program":
  3233. _formdiv = new U.UF.UI.form(
  3234. "编程平台",
  3235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3236. "id": "program",
  3237. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function() {}
  3239. }, {
  3240. closecallback: function() {}
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3243. break;
  3244. case "whiteboard":
  3245. _formdiv = new U.UF.UI.form(
  3246. "电子白板",
  3247. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3248. "id": "whiteboard",
  3249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3250. "onresize": function() {}
  3251. }, {
  3252. closecallback: function() {}
  3253. }, { "style": { "height": "36px" } }).form; //创建窗体
  3254. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3255. break;
  3256. case "investigation":
  3257. _formdiv = new U.UF.UI.form(
  3258. "问卷调查",
  3259. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3260. "id": "investigation",
  3261. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3262. "onresize": function() {}
  3263. }, {
  3264. closecallback: function() {}
  3265. }, { "style": { "height": "36px" } }).form; //创建窗体
  3266. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3267. break;
  3268. case "mind":
  3269. _formdiv = new U.UF.UI.form(
  3270. "思维导图",
  3271. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3272. "id": "mind",
  3273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3274. "onresize": function() {}
  3275. }, {
  3276. closecallback: function() {}
  3277. }, { "style": { "height": "36px" } }).form; //创建窗体
  3278. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3279. break;
  3280. case "doc":
  3281. // U.MD.D.I.isRoom();
  3282. _formdiv = new U.UF.UI.form(
  3283. "协同文档",
  3284. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3285. "id": "doc",
  3286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3292. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3293. })
  3294. _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); } }
  3295. break;
  3296. case "study":
  3297. _formdiv = new U.UF.UI.form(
  3298. "课程中心",
  3299. $$("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
  3300. "id": "study",
  3301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3302. "onresize": function() {}
  3303. }, {
  3304. closecallback: function() {}
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _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); } }
  3307. break;
  3308. case "mindNetwork": //好友打开
  3309. _formdiv = new U.UF.UI.form(
  3310. "思维网格",
  3311. $$("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 }), {
  3312. "id": "mindNetwork",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function() {}
  3315. }, {
  3316. closecallback: function() {}
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3319. break;
  3320. case "train": //好友打开
  3321. _formdiv = new U.UF.UI.form(
  3322. "训练平台",
  3323. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3324. "id": "train",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function() {}
  3327. }, {
  3328. closecallback: function() {}
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3331. break;
  3332. case "sys":
  3333. _formdiv = new U.UF.UI.form(
  3334. "目标管理",
  3335. $$("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 }), {
  3336. "id": "sys",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function() {}
  3339. }, {
  3340. closecallback: function() {}
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3343. break;
  3344. case "courseDesign":
  3345. _formdiv = new U.UF.UI.form(
  3346. "项目设计",
  3347. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3348. "id": "courseDesign",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function() {}
  3351. }, {
  3352. closecallback: function() {}
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3355. break;
  3356. }
  3357. } else if (!_type) {
  3358. switch (str) {
  3359. case "my":
  3360. _formdiv = new U.UF.UI.form(
  3361. "我的资料",
  3362. $$("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 }), {
  3363. "id": "my",
  3364. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function() {}
  3366. }, {
  3367. closecallback: function() {}
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3370. break;
  3371. }
  3372. }
  3373. switch (str) {
  3374. // AIprogram2 AI体验 aihub.cocorobo.cn
  3375. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3376. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3377. case "formulaEdi": //公式编辑
  3378. _formdiv = new U.UF.UI.form(
  3379. "公式编辑",
  3380. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3381. "id": "formulaEdi",
  3382. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. case "molStr": //分子结构
  3390. _formdiv = new U.UF.UI.form(
  3391. "分子结构",
  3392. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3393. "id": "molStr",
  3394. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function() {}
  3396. }, {
  3397. closecallback: function() {}
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "timeAxis": //时间轴
  3402. _formdiv = new U.UF.UI.form(
  3403. "时间轴",
  3404. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3405. "id": "timeAxis",
  3406. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function() {}
  3408. }, {
  3409. closecallback: function() {}
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "AIprogram2": //AI体验
  3414. _formdiv = new U.UF.UI.form(
  3415. "AI体验",
  3416. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3417. "id": "AIprogram2",
  3418. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function() {}
  3420. }, {
  3421. closecallback: function() {}
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "Pythonprogram": //python编程
  3426. _formdiv = new U.UF.UI.form(
  3427. "Python编程",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3429. "id": "Pythonprogram",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "AIprogram": //ai编程
  3438. _formdiv = new U.UF.UI.form(
  3439. "AI编程平台",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3441. "id": "AIprogram",
  3442. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function() {}
  3444. }, {
  3445. closecallback: function() {}
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "CocoPi": //CocoPi
  3450. _formdiv = new U.UF.UI.form(
  3451. "CocoPi",
  3452. $$("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" }), {
  3453. "id": "CocoPi",
  3454. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3460. break;
  3461. case "Wood": //Wood
  3462. _formdiv = new U.UF.UI.form(
  3463. "海龟编程",
  3464. $$("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/" }), {
  3465. "id": "Wood",
  3466. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function() {}
  3468. }, {
  3469. closecallback: function() {}
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3472. break;
  3473. case "car": //模拟驾驶
  3474. _formdiv = new U.UF.UI.form(
  3475. "模拟驾驶",
  3476. $$("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/" }), {
  3477. "id": "car",
  3478. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function() {}
  3480. }, {
  3481. closecallback: function() {}
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "lineSearch": //路径搜索
  3486. _formdiv = new U.UF.UI.form(
  3487. "路径搜索",
  3488. $$("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/" }), {
  3489. "id": "lineSearch",
  3490. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function() {}
  3492. }, {
  3493. closecallback: function() {}
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "deepLearning": //深度学习
  3498. _formdiv = new U.UF.UI.form(
  3499. "深度学习",
  3500. $$("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/#" }), {
  3501. "id": "deepLearning",
  3502. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function() {}
  3504. }, {
  3505. closecallback: function() {}
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. case "allHistory": //深度学习
  3510. _formdiv = new U.UF.UI.form(
  3511. "全历史",
  3512. $$("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/" }), {
  3513. "id": "allHistory",
  3514. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function() {}
  3516. }, {
  3517. closecallback: function() {}
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. case "chatPDF": //ai编程
  3522. _formdiv = new U.UF.UI.form(
  3523. "chatPDF",
  3524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3525. "id": "chatPDF",
  3526. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function() {}
  3528. }, {
  3529. closecallback: function() {}
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _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); } }
  3532. break;
  3533. case "resources": //国家教育
  3534. _formdiv = new U.UF.UI.form(
  3535. "国家教育",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3537. "id": "resources",
  3538. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function() {}
  3540. }, {
  3541. closecallback: function() {}
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _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); } }
  3544. break;
  3545. case "codeEdit": //源码编辑
  3546. _formdiv = new U.UF.UI.form(
  3547. "源码编辑",
  3548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3549. "id": "codeEdit",
  3550. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3551. "onresize": function() {}
  3552. }, {
  3553. closecallback: function() {}
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _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); } }
  3556. break; //
  3557. case "MindMap": //MindMap
  3558. _formdiv = new U.UF.UI.form(
  3559. "MindMap",
  3560. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3561. "id": "MindMap",
  3562. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function() {}
  3564. }, {
  3565. closecallback: function() {}
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _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); } }
  3568. break;
  3569. case "netWorkPanel": //netWorkPanel
  3570. _formdiv = new U.UF.UI.form(
  3571. "netWorkPanel",
  3572. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3573. "id": "netWorkPanel",
  3574. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3575. "onresize": function() {}
  3576. }, {
  3577. closecallback: function() {}
  3578. }, { "style": { "height": "36px" } }).form; //创建窗体
  3579. _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); } }
  3580. break;
  3581. case "GeoGebra": //GeoGebra
  3582. _formdiv = new U.UF.UI.form(
  3583. "GeoGebra",
  3584. $$("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" }), {
  3585. "id": "GeoGebra",
  3586. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function() {}
  3588. }, {
  3589. closecallback: function() {}
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. case "translation": //翻译
  3594. _formdiv = new U.UF.UI.form(
  3595. "翻译",
  3596. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3597. "id": "translation",
  3598. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3599. "onresize": function() {}
  3600. }, {
  3601. closecallback: function() {}
  3602. }, { "style": { "height": "36px" } }).form; //创建窗体
  3603. _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); } }
  3604. break;
  3605. case "mohe": //魔盒
  3606. _formdiv = new U.UF.UI.form(
  3607. "魔盒识字",
  3608. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3609. "id": "mohe",
  3610. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3611. "onresize": function() {}
  3612. }, {
  3613. closecallback: function() {}
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. _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); } }
  3616. break;
  3617. case "24game": //24点
  3618. _formdiv = new U.UF.UI.form(
  3619. "24点",
  3620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3621. "id": "24game",
  3622. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3623. "onresize": function() {}
  3624. }, {
  3625. closecallback: function() {}
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. _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); } }
  3628. break;
  3629. case "case":
  3630. _formdiv = new U.UF.UI.form(
  3631. "课程进展",
  3632. $$("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 }), {
  3633. "id": "case",
  3634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3635. "onresize": function() {}
  3636. }, {
  3637. closecallback: function() {}
  3638. }, { "style": { "height": "36px" } }).form; //创建窗体
  3639. _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); } }
  3640. break;
  3641. case "snf":
  3642. _formdiv = new U.UF.UI.form(
  3643. "赛诺梵",
  3644. $$("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" }), {
  3645. "id": "snf",
  3646. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3647. "onresize": function() {}
  3648. }, {
  3649. closecallback: function() {}
  3650. }, { "style": { "height": "36px" } }).form; //创建窗体
  3651. _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); } }
  3652. break;
  3653. case "hanFamily":
  3654. _formdiv = new U.UF.UI.form(
  3655. "汉字家族",
  3656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3657. "id": "hanFamily",
  3658. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3659. "onresize": function() {}
  3660. }, {
  3661. closecallback: function() {}
  3662. }, { "style": { "height": "36px" } }).form; //创建窗体
  3663. _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); } }
  3664. break;
  3665. case "hanClassics":
  3666. _formdiv = new U.UF.UI.form(
  3667. "国学经典",
  3668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3669. "id": "hanClassics",
  3670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function() {}
  3672. }, {
  3673. closecallback: function() {}
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. case "hanTraining":
  3678. _formdiv = new U.UF.UI.form(
  3679. "笔画训练",
  3680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3681. "id": "hanTraining",
  3682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. "onresize": function() {}
  3684. }, {
  3685. closecallback: function() {}
  3686. }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. _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); } }
  3688. break;
  3689. case "hanClass":
  3690. _formdiv = new U.UF.UI.form(
  3691. "书法课堂",
  3692. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3693. "id": "hanClass",
  3694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function() {}
  3696. }, {
  3697. closecallback: function() {}
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "han":
  3702. _formdiv = new U.UF.UI.form(
  3703. "汉字宫",
  3704. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3705. "id": "han",
  3706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function() {}
  3708. }, {
  3709. closecallback: function() {}
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. break;
  3713. case "projectGM": //课程管理
  3714. _formdiv = new U.UF.UI.form(
  3715. "课程管理",
  3716. $$("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 }), {
  3717. "id": "projectGM",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function() {}
  3720. }, {
  3721. closecallback: function() {}
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "studyGM": //课程中心
  3726. _formdiv = new U.UF.UI.form(
  3727. "课程中心",
  3728. $$("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
  3729. "id": "study",
  3730. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3731. "onresize": function() {}
  3732. }, {
  3733. closecallback: function() {}
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. // studentGM
  3738. case "studentGM": //学生管理
  3739. _formdiv = new U.UF.UI.form(
  3740. "学生管理",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3742. "id": "studentGM",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function() {}
  3745. }, {
  3746. closecallback: function() {}
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break;
  3750. case "evaluateGM": //学生评价
  3751. _formdiv = new U.UF.UI.form(
  3752. "学生评价",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3754. "id": "evaluateGM",
  3755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function() {}
  3757. }, {
  3758. closecallback: function() {}
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. // classGM
  3763. case "classGM": //班级管理
  3764. _formdiv = new U.UF.UI.form(
  3765. "班级管理",
  3766. $$("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 }), {
  3767. "id": "classGM",
  3768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. // dataGM
  3776. case "dataGM":
  3777. _formdiv = new U.UF.UI.form(
  3778. "我的资料",
  3779. $$("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 }), {
  3780. "id": "dataGM",
  3781. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3782. "onresize": function() {}
  3783. }, {
  3784. closecallback: function() {}
  3785. }, { "style": { "height": "36px" } }).form; //创建窗体
  3786. _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); } }
  3787. break;
  3788. // caseGM
  3789. case "caseGM": //课程进展
  3790. _formdiv = new U.UF.UI.form(
  3791. "课程进展",
  3792. $$("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 }), {
  3793. "id": "caseGM",
  3794. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function() {}
  3796. }, {
  3797. closecallback: function() {}
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. // meterialGM
  3802. case "meterialGM": //素材库
  3803. _formdiv = new U.UF.UI.form(
  3804. "素材库",
  3805. $$("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 }), {
  3806. "id": "meterialGM",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function() {}
  3809. }, {
  3810. closecallback: function() {}
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _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); } }
  3813. break;
  3814. // evaluateSGM
  3815. case "evaluateSGM": //我的评价
  3816. _formdiv = new U.UF.UI.form(
  3817. "我的评价",
  3818. $$("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 }), {
  3819. "id": "evaluateSGM",
  3820. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function() {}
  3822. }, {
  3823. closecallback: function() {}
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. case "jupyter": //jupyter
  3828. _formdiv = new U.UF.UI.form(
  3829. "jupyter",
  3830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3831. "id": "jupyter",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "number": //数字实验室
  3840. _formdiv = new U.UF.UI.form(
  3841. "数字实验室",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3843. "id": "number",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function() {}
  3846. }, {
  3847. closecallback: function() {}
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "studentCourse": //项目管理 学生
  3852. _formdiv = new U.UF.UI.form(
  3853. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3854. $$("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 }), {
  3855. "id": "studentCourse",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function() {}
  3858. }, {
  3859. closecallback: function() {}
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break;
  3863. case "studentCourseS": //项目管理 老师
  3864. _formdiv = new U.UF.UI.form(
  3865. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3866. $$("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 }), {
  3867. "id": "studentCourseS",
  3868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function() {}
  3870. }, {
  3871. closecallback: function() {}
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3874. break;
  3875. case "studentIndex": //项目中心
  3876. _formdiv = new U.UF.UI.form(
  3877. "项目中心",
  3878. $$("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 }), {
  3879. "id": "studentIndex",
  3880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function() {}
  3882. }, {
  3883. closecallback: function() {}
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. case "CaseDesignS":
  3888. _formdiv = new U.UF.UI.form(
  3889. "项目进展",
  3890. $$("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 }), {
  3891. "id": "case",
  3892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function() {}
  3894. }, {
  3895. closecallback: function() {}
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. case "tcStudent": //腾讯学生管理
  3900. _formdiv = new U.UF.UI.form(
  3901. "学生管理",
  3902. $$("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 }), {
  3903. "id": "tcStudent",
  3904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function() {}
  3906. }, {
  3907. closecallback: function() {}
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. _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); } }
  3910. break;
  3911. case "tcSchool": //腾讯学校管理
  3912. _formdiv = new U.UF.UI.form(
  3913. "学校管理",
  3914. $$("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 }), {
  3915. "id": "tcSchool",
  3916. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function() {}
  3918. }, {
  3919. closecallback: function() {}
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "tcTeacher": //腾讯学校管理
  3924. _formdiv = new U.UF.UI.form(
  3925. "教师管理",
  3926. $$("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 }), {
  3927. "id": "tcTeacher",
  3928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function() {}
  3930. }, {
  3931. closecallback: function() {}
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. case "tcData": //腾讯我的资料
  3936. _formdiv = new U.UF.UI.form(
  3937. "我的资料",
  3938. $$("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 }), {
  3939. "id": "tcData",
  3940. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3941. "onresize": function() {}
  3942. }, {
  3943. closecallback: function() {}
  3944. }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. _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); } }
  3946. break;
  3947. case "tcNotice": //腾讯消息通知
  3948. _formdiv = new U.UF.UI.form(
  3949. "消息通知",
  3950. $$("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 }), {
  3951. "id": "tcNotice",
  3952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function() {}
  3954. }, {
  3955. closecallback: function() {}
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. case "myReport": //好友打开
  3960. _formdiv = new U.UF.UI.form(
  3961. "我的评价",
  3962. $$("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 }), {
  3963. "id": "myReport",
  3964. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3965. "onresize": function() {}
  3966. }, {
  3967. closecallback: function() {}
  3968. }, { "style": { "height": "36px" } }).form; //创建窗体
  3969. _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); } }
  3970. break;
  3971. case "learnAna": //好友打开
  3972. _formdiv = new U.UF.UI.form(
  3973. "学习分析",
  3974. $$("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 }), {
  3975. "id": "learnAna",
  3976. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3977. "onresize": function() {}
  3978. }, {
  3979. closecallback: function() {}
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. case "AIChat": //AI共创
  3984. _formdiv = new U.UF.UI.form(
  3985. "AI共创",
  3986. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3987. "id": "AIChat",
  3988. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3989. "onresize": function() {}
  3990. }, {
  3991. istop: true,
  3992. closecallback: function() { $("#aichat_icon").remove(); },
  3993. narrowcallback: function() {
  3994. if (!$("#aichat_icon")[0]) {
  3995. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3996. }
  3997. },
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. break;
  4001. case "ainew": //AI共创
  4002. _formdiv = new U.UF.UI.form(
  4003. "AI协同",
  4004. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4005. "id": "ainew",
  4006. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4007. "onresize": function() {}
  4008. }, {
  4009. closecallback: function() {}
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _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); } }
  4012. break;
  4013. case "futureClass": //AI共创
  4014. _formdiv = new U.UF.UI.form(
  4015. "知识建构",
  4016. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4017. "id": "futureClass",
  4018. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4019. "onresize": function() {}
  4020. }, {
  4021. closecallback: function() {}
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _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); } }
  4024. break;
  4025. case "dataBoard": //数据看板
  4026. _formdiv = new U.UF.UI.form(
  4027. "数据看板",
  4028. $$("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 }), {
  4029. "id": "dataBoard",
  4030. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4031. "onresize": function() {}
  4032. }, {
  4033. closecallback: function() {}
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. case "AIAnalyse": //AI共创
  4038. _formdiv = new U.UF.UI.form(
  4039. "AI分析",
  4040. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4041. "id": "AIAnalyse",
  4042. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4043. "onresize": function() {}
  4044. }, {
  4045. closecallback: function() {}
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "studioCourse": //AI共创
  4050. _formdiv = new U.UF.UI.form(
  4051. "工作管理",
  4052. $$("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 }), {
  4053. "id": "studioCourse",
  4054. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4055. "onresize": function() {}
  4056. }, {
  4057. closecallback: function() {}
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "studioIndex": //AI共创
  4062. _formdiv = new U.UF.UI.form(
  4063. "工作中心",
  4064. $$("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 }), {
  4065. "id": "studioIndex",
  4066. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4067. "onresize": function() {}
  4068. }, {
  4069. closecallback: function() {}
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "source":
  4074. _formdiv = new U.UF.UI.form(
  4075. "教学资源",
  4076. $$("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 }), {
  4077. "id": "source",
  4078. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4079. "onresize": function() {}
  4080. }, {
  4081. closecallback: function() {}
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break;
  4085. }
  4086. //U.MD.D.I.openClick(str);
  4087. //如果有任务栏信息
  4088. if (_taskbar) {
  4089. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4090. }
  4091. }
  4092. // U.MD.D.I.openClick = function(str){
  4093. // var click = '';
  4094. // switch(str){
  4095. // case 'friend':
  4096. // click = '我的好友';
  4097. // break;
  4098. // case 'domain':
  4099. // click = '域名管理';
  4100. // break;
  4101. // case 'disk':
  4102. // click = '我的云盘';
  4103. // break;
  4104. // case 'word':
  4105. // click = 'Word';
  4106. // break;
  4107. // case 'excel':
  4108. // click = 'Execl';
  4109. // break;
  4110. // case 'txt':
  4111. // click = '文本文件';
  4112. // break;
  4113. // case 'lookupFriend':
  4114. // click = '查找好友';
  4115. // break;
  4116. // case 'ftp':
  4117. // click = 'FTP';
  4118. // break;
  4119. // case 'group':
  4120. // click = '群组';
  4121. // break;
  4122. // case 'set':
  4123. // click = '我的设置';
  4124. // break;
  4125. // case 'systemSet':
  4126. // click = '系统设置';
  4127. // break;
  4128. // case 'boomYun':
  4129. // click = '互联办公';
  4130. // break;
  4131. // case 'xz':
  4132. // click = '云端下载';
  4133. // break;
  4134. // case 'client':
  4135. // click = '有思浏览器';
  4136. // break;
  4137. // case 'backEndProgramming':
  4138. // click = '在线后台编程';
  4139. // break;
  4140. // case 'frontEndProgramming':
  4141. // click = '在线前端编程';
  4142. // break;
  4143. // default: break;
  4144. // }
  4145. // if(U.MD.D.I.Ip && click){
  4146. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4147. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4148. // })
  4149. // }
  4150. // }
  4151. /**
  4152. *函数作用:ajax简易函数,使用post格式
  4153. *@param url {data} 后台地址
  4154. *@param data {data} 参数json
  4155. *@param fn {data} 回调函数
  4156. *
  4157. */
  4158. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4159. // var xhr = new XMLHttpRequest();
  4160. // xhr.open("GET",url,true);
  4161. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4162. // xhr.onreadystatechange = function(){
  4163. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4164. // fn.call(this,xhr.responseText);
  4165. // }
  4166. // };
  4167. // xhr.send();
  4168. // }
  4169. /*判断是否是内网IP*/
  4170. // U.MD.D.I.isInnerIPFn = function(str){
  4171. // var curPageUrl = str;
  4172. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4173. // curPageUrl =curPageUrl.replace(reg1,'');
  4174. // // console.log('curPageUrl-1 '+curPageUrl);
  4175. // var reg2 = /\:+/g;//替换冒号为一点
  4176. // curPageUrl =curPageUrl.replace(reg2,'.');
  4177. // // console.log('curPageUrl-2 '+curPageUrl);
  4178. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4179. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4180. // if(curPageUrl[2] != '16'){
  4181. // return ipAddress;
  4182. // }else{
  4183. // return false;
  4184. // }
  4185. // }
  4186. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4187. // //compatibility for firefox and chrome
  4188. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4189. // var pc = new myPeerConnection({
  4190. // iceServers: []
  4191. // }),
  4192. // noop = function() {},
  4193. // localIPs = {},
  4194. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4195. // key;
  4196. // function iterateIP(ip) {
  4197. // if (!localIPs[ip]) onNewIP(ip);
  4198. // localIPs[ip] = true;
  4199. // }
  4200. // //create a bogus data channel
  4201. // pc.createDataChannel("");
  4202. // // create offer and set local description
  4203. // pc.createOffer().then(function(sdp) {
  4204. // sdp.sdp.split('\n').forEach(function(line) {
  4205. // if (line.indexOf('candidate') < 0) return;
  4206. // line.match(ipRegex).forEach(iterateIP);
  4207. // });
  4208. // pc.setLocalDescription(sdp, noop, noop);
  4209. // }).catch(function(reason) {
  4210. // // An error occurred, so handle the failure to connect
  4211. // });
  4212. // //sten for candidate events
  4213. // pc.onicecandidate = function(ice) {
  4214. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4215. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4216. // };
  4217. // }
  4218. // U.MD.D.I.getUserIpBool = function(callback){
  4219. // U.MD.D.I.getUserIP(function(ip){
  4220. // alert("Got IP! :" + ip);
  4221. // });
  4222. //}
  4223. //#endregion
  4224. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4225. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4226. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4227. _userinfo = US.userInfo, //登录用户信息
  4228. _userid = US.userInfo.userid //登录用户id
  4229. let _iframe;
  4230. let _cid = cid,
  4231. _stage = stage,
  4232. _task = task,
  4233. _tool = tool;
  4234. var _jie = $$("div", {
  4235. "style": {
  4236. "position": "absolute",
  4237. "bottom": "50px",
  4238. "right": "50px",
  4239. "zIndex": "9999",
  4240. "backgroundColor": "#2268bc",
  4241. "color": "#fff",
  4242. "padding": "12px 20px",
  4243. "cursor": "pointer",
  4244. "borderRadius": "4px",
  4245. },
  4246. "innerHTML": "提交作业"
  4247. })
  4248. let aTool = ''
  4249. let _loading = document.createElement('div')
  4250. _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;"
  4251. // _loading.id = "";
  4252. let _lchild = document.createElement('div')
  4253. let _limg = document.createElement('img')
  4254. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4255. _limg.style = "width: 26px;margin-right: 10px;"
  4256. _lchild.appendChild(_limg)
  4257. let _lspan = document.createElement('span')
  4258. _lspan.innerHTML = "上传中..."
  4259. _lchild.appendChild(_lspan)
  4260. _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%);"
  4261. _loading.appendChild(_lchild)
  4262. var _box = $$('div', {
  4263. "style": {
  4264. "position": "relative",
  4265. "width": "100%",
  4266. "height": "100%",
  4267. },
  4268. })
  4269. _box.appendChild(_loading)
  4270. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4271. switch (str) {
  4272. case "whiteboard":
  4273. aTool = 1;
  4274. _iframe = $$("iframe", {
  4275. "frameborder": "no",
  4276. "border": "0",
  4277. "scrolling ": "no",
  4278. "style": {
  4279. "cssText": "border:0;width:100%;height:100%"
  4280. },
  4281. "src": "https://iwb.cocorobo.cn/"
  4282. })
  4283. _box.appendChild(_iframe);
  4284. _box.appendChild(_jie);
  4285. _formdiv = new U.UF.UI.form(
  4286. "电子白板",
  4287. _box, {
  4288. "id": "whiteboard" + cid + stage + task + tool,
  4289. "style": {
  4290. "width": "90%",
  4291. "height": "90%",
  4292. "overflow": 'hidden'
  4293. },
  4294. "onresize": function() {}
  4295. }, {
  4296. closecallback: function() {}
  4297. }, {
  4298. "style": {
  4299. "height": "36px"
  4300. }
  4301. }).form; //创建窗体
  4302. _taskbar = {
  4303. "id": str + _formdiv.id,
  4304. "style": {
  4305. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4306. },
  4307. "name": "电子白板",
  4308. "forms": _formdiv,
  4309. "click": function() {
  4310. U.MD.D.I.openApplication(str, obj, info);
  4311. }
  4312. }
  4313. break;
  4314. case "mind":
  4315. aTool = 3;
  4316. _iframe = $$("iframe", {
  4317. "frameborder": "no",
  4318. "border": "0",
  4319. "scrolling ": "no",
  4320. "style": {
  4321. "cssText": "border:0;width:100%;height:100%"
  4322. },
  4323. "src": "/kityminder-editor/dist/index.html"
  4324. })
  4325. _box.appendChild(_iframe);
  4326. _box.appendChild(_jie);
  4327. _formdiv = new U.UF.UI.form(
  4328. "思维导图",
  4329. _box, { //"/jsmind/example/demo.html"
  4330. "id": "mind" + cid + stage + task + tool,
  4331. "style": {
  4332. "width": "90%",
  4333. "height": "90%",
  4334. "overflow": 'hidden'
  4335. },
  4336. "onresize": function() {}
  4337. }, {
  4338. closecallback: function() {}
  4339. }, {
  4340. "style": {
  4341. "height": "36px"
  4342. }
  4343. }).form; //创建窗体
  4344. _taskbar = {
  4345. "id": str + _formdiv.id,
  4346. "style": {
  4347. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4348. },
  4349. "name": "思维导图",
  4350. "forms": _formdiv,
  4351. "click": function() {
  4352. U.MD.D.I.openApplication(str, obj, info);
  4353. }
  4354. }
  4355. break;
  4356. case "MindMap":
  4357. aTool = 3;
  4358. _iframe = $$("iframe", {
  4359. "frameborder": "no",
  4360. "border": "0",
  4361. "scrolling ": "no",
  4362. "style": {
  4363. "cssText": "border:0;width:100%;height:100%"
  4364. },
  4365. "src": "//cloud.cocorobo.cn/mind/"
  4366. })
  4367. _box.appendChild(_iframe);
  4368. _box.appendChild(_jie);
  4369. _formdiv = new U.UF.UI.form(
  4370. "思维导图",
  4371. _box, { //"/jsmind/example/demo.html"
  4372. "id": "mind" + cid + stage + task + tool,
  4373. "style": {
  4374. "width": "90%",
  4375. "height": "90%",
  4376. "overflow": 'hidden'
  4377. },
  4378. "onresize": function() {}
  4379. }, {
  4380. closecallback: function() {}
  4381. }, {
  4382. "style": {
  4383. "height": "36px"
  4384. }
  4385. }).form; //创建窗体
  4386. _taskbar = {
  4387. "id": str + _formdiv.id,
  4388. "style": {
  4389. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4390. },
  4391. "name": "思维导图",
  4392. "forms": _formdiv,
  4393. "click": function() {
  4394. U.MD.D.I.openApplication(str, obj, info);
  4395. }
  4396. }
  4397. break;
  4398. case "doc":
  4399. aTool = 6;
  4400. _iframe = $$("iframe", {
  4401. "frameborder": "no",
  4402. "border": "0",
  4403. "scrolling ": "no",
  4404. "style": {
  4405. "cssText": "border:0;width:100%;height:100%"
  4406. },
  4407. "src": "/Office/Word/WordEditArea.htm"
  4408. })
  4409. _box.appendChild(_iframe);
  4410. _box.appendChild(_jie);
  4411. _formdiv = new U.UF.UI.form(
  4412. "协同文档",
  4413. _box, {
  4414. "id": "doc" + cid + stage + task + tool,
  4415. "style": {
  4416. "width": "90%",
  4417. "height": "90%",
  4418. "overflow": 'hidden'
  4419. },
  4420. "onresize": function() {}
  4421. }, {
  4422. closecallback: function() {}
  4423. }, {
  4424. "style": {
  4425. "height": "36px"
  4426. }
  4427. }).form; //创建窗体
  4428. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4429. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4430. })
  4431. _taskbar = {
  4432. "id": str + _formdiv.id,
  4433. "style": {
  4434. "backgroundImage": "url(/img/icon/doc.png)"
  4435. },
  4436. "name": "协同文档",
  4437. "forms": _formdiv,
  4438. "click": function() {
  4439. U.MD.D.I.openApplication(str, obj, info);
  4440. }
  4441. }
  4442. break;
  4443. case "mindNetwork": //好友打开
  4444. aTool = 7;
  4445. _iframe = $$("iframe", {
  4446. "webkitallowfullscreen": "",
  4447. "mozallowfullscreen": "",
  4448. "allowfullscreen": "",
  4449. "frameborder": "no",
  4450. "border": "0",
  4451. "scrolling ": "no",
  4452. "style": {
  4453. "cssText": "border:0; width:100%; height:100%;"
  4454. },
  4455. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4456. })
  4457. _box.appendChild(_iframe);
  4458. _box.appendChild(_jie);
  4459. _formdiv = new U.UF.UI.form(
  4460. "思维网格",
  4461. _box, {
  4462. "id": "mindNetwork" + cid + stage + task + tool,
  4463. "style": {
  4464. "width": "90%",
  4465. "height": "90%",
  4466. "overflow": 'hidden'
  4467. },
  4468. "onresize": function() {}
  4469. }, {
  4470. closecallback: function() {}
  4471. }, {
  4472. "style": {
  4473. "height": "36px"
  4474. }
  4475. }).form; //创建窗体
  4476. _taskbar = {
  4477. "id": str + _formdiv.id,
  4478. "style": {
  4479. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4480. },
  4481. "name": "思维网格",
  4482. "forms": _formdiv,
  4483. "click": function() {
  4484. U.MD.D.I.openApplication(str, obj, info);
  4485. }
  4486. }
  4487. break;
  4488. case "courseDesign":
  4489. _iframe = $$("iframe", {
  4490. "webkitallowfullscreen": "",
  4491. "mozallowfullscreen": "",
  4492. "allowfullscreen": "",
  4493. "frameborder": "no",
  4494. "border": "0",
  4495. "scrolling ": "no",
  4496. "style": {
  4497. "cssText": "border:0; width:100%; height:100%;"
  4498. },
  4499. "src": "/course-design-vue"
  4500. })
  4501. _box.appendChild(_iframe);
  4502. _box.appendChild(_jie);
  4503. _formdiv = new U.UF.UI.form(
  4504. "项目设计",
  4505. _box, {
  4506. "id": "courseDesign" + cid + stage + task + tool,
  4507. "style": {
  4508. "width": "90%",
  4509. "height": "90%",
  4510. "overflow": 'hidden'
  4511. },
  4512. "onresize": function() {}
  4513. }, {
  4514. closecallback: function() {}
  4515. }, {
  4516. "style": {
  4517. "height": "36px"
  4518. }
  4519. }).form; //创建窗体
  4520. _taskbar = {
  4521. "id": str + _formdiv.id,
  4522. "style": {
  4523. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4524. },
  4525. "name": "项目设计",
  4526. "forms": _formdiv,
  4527. "click": function() {
  4528. U.MD.D.I.openApplication(str, obj, info);
  4529. }
  4530. }
  4531. break;
  4532. }
  4533. const script1 = document.createElement("script");
  4534. script1.type = "text/javascript";
  4535. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4536. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4537. const script2 = document.createElement("script");
  4538. script2.type = "text/javascript";
  4539. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4540. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4541. const script3 = document.createElement("script");
  4542. script3.type = "text/javascript";
  4543. script3.charset = "UTF-8";
  4544. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4545. const script4 = document.createElement("script");
  4546. script4.type = "text/javascript";
  4547. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4548. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4549. if (_iframe) {
  4550. if (str == 'doc') {
  4551. _iframe = _formdiv.querySelector('iframe')
  4552. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4553. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4554. _iframe.contentWindow.document.body.appendChild(script1);
  4555. _iframe.contentWindow.document.body.appendChild(script2);
  4556. // _iframe.contentWindow.document.body.appendChild(script3);
  4557. _iframe.contentWindow.document.body.appendChild(script4);
  4558. })
  4559. if (onloadListener) {
  4560. _iframe.contentDocument.location.reload()
  4561. } else {
  4562. _iframe.contentDocument.location.reload()
  4563. }
  4564. } else if (str == 'courseDesign') {
  4565. U.UF.DL.iframeLoad(_iframe, function() {
  4566. // _iframe.contentWindow.U.MD.O.W.load();
  4567. // _iframe.contentWindow.document.body.appendChild(script1);
  4568. _iframe.contentWindow.document.body.appendChild(script2);
  4569. _iframe.contentWindow.document.body.appendChild(script4);
  4570. })
  4571. } else if (str == 'mind') {
  4572. _iframe = _formdiv.querySelector('iframe')
  4573. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4574. //
  4575. _iframe.contentWindow.document.body.appendChild(script1);
  4576. _iframe.contentWindow.document.body.appendChild(script2);
  4577. _iframe.contentWindow.document.body.appendChild(script4);
  4578. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4579. })
  4580. if (onloadListener) {
  4581. _iframe.contentDocument.location.reload()
  4582. } else {
  4583. _iframe.contentDocument.location.reload()
  4584. }
  4585. } else if (str == 'whiteboard') {
  4586. _iframe = _formdiv.querySelector('iframe')
  4587. let onloadListener = _iframe.onload = () => {
  4588. _iframe.contentWindow.document.body.appendChild(script1);
  4589. _iframe.contentWindow.document.body.appendChild(script2);
  4590. _iframe.contentWindow.document.body.appendChild(script4);
  4591. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4592. };
  4593. if (onloadListener) {
  4594. _iframe.contentDocument.location.reload()
  4595. } else {
  4596. _iframe.contentDocument.location.reload()
  4597. }
  4598. } else {
  4599. _iframe.onload = () => {
  4600. _iframe.contentWindow.document.body.appendChild(script1);
  4601. _iframe.contentWindow.document.body.appendChild(script2);
  4602. // _iframe.contentWindow.document.body.appendChild(script3);
  4603. _iframe.contentWindow.document.body.appendChild(script4);
  4604. };
  4605. }
  4606. _jie.onclick = async() => {
  4607. let text = ''
  4608. if (aTool == 1) {
  4609. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4610. } else if (aTool == 6) {
  4611. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4612. } else if (aTool == 3) {
  4613. text = await U.MD.D.I.getEditorContent(_iframe);
  4614. }
  4615. _loading.style.display = 'flex'
  4616. console.log(_loading);
  4617. var _ajs = _iframe.contentWindow.document.createElement("script");
  4618. _ajs.type = "text/javascript";
  4619. _ajs.innerHTML =
  4620. // 'console.log(' + _loading + ');\n' +
  4621. 'var _js = document.createElement("script");\n' +
  4622. '_js.type="text/javascript";\n' +
  4623. '_js.charset="UTF-8";\n' +
  4624. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4625. "_js.onload = function(){\n" +
  4626. ' var a = document.getElementsByTagName("img")\n' +
  4627. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4628. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4629. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4630. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4631. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4632. "beforeUpload_shishi(file," +
  4633. "'" +
  4634. _userid +
  4635. "'" +
  4636. ", " +
  4637. "'" +
  4638. _cid +
  4639. "'" +
  4640. ", " +
  4641. "'" +
  4642. _stage +
  4643. "'" +
  4644. ", " +
  4645. "'" +
  4646. _task +
  4647. "'" +
  4648. ", " +
  4649. "'" +
  4650. _tool +
  4651. "'" +
  4652. ", " +
  4653. "'" +
  4654. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4655. "'" +
  4656. ", " +
  4657. "'" +
  4658. aTool +
  4659. "'" +
  4660. ", " +
  4661. "`" +
  4662. text +
  4663. "`" +
  4664. ")\n" +
  4665. " });\n" +
  4666. "}\n" +
  4667. "document.head.appendChild(_js);\n";
  4668. _iframe.contentWindow.document.head.appendChild(_ajs);
  4669. }
  4670. }
  4671. //U.MD.D.I.openClick(str);
  4672. //如果有任务栏信息
  4673. // if (_taskbar) {
  4674. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4675. // }
  4676. }
  4677. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4678. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4679. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4680. _userinfo = US.userInfo, //登录用户信息
  4681. _userid = US.userInfo.userid //登录用户id
  4682. let _iframe;
  4683. let _cid = cid,
  4684. _stage = stage,
  4685. _task = task,
  4686. _tool = tool;
  4687. var _jie = $$("div", {
  4688. "style": {
  4689. "position": "absolute",
  4690. "bottom": "50px",
  4691. "right": "50px",
  4692. "zIndex": "9999",
  4693. "backgroundColor": "#2268bc",
  4694. "color": "#fff",
  4695. "padding": "12px 20px",
  4696. "cursor": "pointer",
  4697. "borderRadius": "4px",
  4698. },
  4699. "innerHTML": "提交作业"
  4700. })
  4701. let aTool = ''
  4702. let _loading = document.createElement('div')
  4703. _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;"
  4704. // _loading.id = "";
  4705. let _lchild = document.createElement('div')
  4706. let _limg = document.createElement('img')
  4707. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4708. _limg.style = "width: 26px;margin-right: 10px;"
  4709. _lchild.appendChild(_limg)
  4710. let _lspan = document.createElement('span')
  4711. _lspan.innerHTML = "上传中..."
  4712. _lchild.appendChild(_lspan)
  4713. _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%);"
  4714. _loading.appendChild(_lchild)
  4715. var _box = $$('div', {
  4716. "style": {
  4717. "position": "relative",
  4718. "width": "100%",
  4719. "height": "100%",
  4720. },
  4721. })
  4722. _box.appendChild(_loading)
  4723. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4724. switch (str) {
  4725. case "whiteboard":
  4726. aTool = 1;
  4727. _iframe = $$("iframe", {
  4728. "frameborder": "no",
  4729. "border": "0",
  4730. "scrolling ": "no",
  4731. "style": {
  4732. "cssText": "border:0;width:100%;height:100%"
  4733. },
  4734. "src": "https://iwb.cocorobo.cn/"
  4735. })
  4736. _box.appendChild(_iframe);
  4737. _box.appendChild(_jie);
  4738. _formdiv = new U.UF.UI.form(
  4739. "电子白板",
  4740. _box, {
  4741. "id": "whiteboard" + cid + stage + task + tool,
  4742. "style": {
  4743. "width": "90%",
  4744. "height": "90%",
  4745. "overflow": 'hidden'
  4746. },
  4747. "onresize": function() {}
  4748. }, {
  4749. closecallback: function() {}
  4750. }, {
  4751. "style": {
  4752. "height": "36px"
  4753. }
  4754. }).form; //创建窗体
  4755. _taskbar = {
  4756. "id": str + _formdiv.id,
  4757. "style": {
  4758. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4759. },
  4760. "name": "电子白板",
  4761. "forms": _formdiv,
  4762. "click": function() {
  4763. U.MD.D.I.openApplication(str, obj, info);
  4764. }
  4765. }
  4766. break;
  4767. case "mind":
  4768. aTool = 3;
  4769. _iframe = $$("iframe", {
  4770. "frameborder": "no",
  4771. "border": "0",
  4772. "scrolling ": "no",
  4773. "style": {
  4774. "cssText": "border:0;width:100%;height:100%"
  4775. },
  4776. "src": "/kityminder-editor/dist/index.html"
  4777. })
  4778. _box.appendChild(_iframe);
  4779. _box.appendChild(_jie);
  4780. _formdiv = new U.UF.UI.form(
  4781. "思维导图",
  4782. _box, { //"/jsmind/example/demo.html"
  4783. "id": "mind" + cid + stage + task + tool,
  4784. "style": {
  4785. "width": "90%",
  4786. "height": "90%",
  4787. "overflow": 'hidden'
  4788. },
  4789. "onresize": function() {}
  4790. }, {
  4791. closecallback: function() {}
  4792. }, {
  4793. "style": {
  4794. "height": "36px"
  4795. }
  4796. }).form; //创建窗体
  4797. _taskbar = {
  4798. "id": str + _formdiv.id,
  4799. "style": {
  4800. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4801. },
  4802. "name": "思维导图",
  4803. "forms": _formdiv,
  4804. "click": function() {
  4805. U.MD.D.I.openApplication(str, obj, info);
  4806. }
  4807. }
  4808. break;
  4809. case "MindMap":
  4810. aTool = 3;
  4811. _iframe = $$("iframe", {
  4812. "frameborder": "no",
  4813. "border": "0",
  4814. "scrolling ": "no",
  4815. "style": {
  4816. "cssText": "border:0;width:100%;height:100%"
  4817. },
  4818. "src": "//cloud.cocorobo.cn/mind/"
  4819. })
  4820. _box.appendChild(_iframe);
  4821. _box.appendChild(_jie);
  4822. _formdiv = new U.UF.UI.form(
  4823. "思维导图",
  4824. _box, { //"/jsmind/example/demo.html"
  4825. "id": "mind" + cid + stage + task + tool,
  4826. "style": {
  4827. "width": "90%",
  4828. "height": "90%",
  4829. "overflow": 'hidden'
  4830. },
  4831. "onresize": function() {}
  4832. }, {
  4833. closecallback: function() {}
  4834. }, {
  4835. "style": {
  4836. "height": "36px"
  4837. }
  4838. }).form; //创建窗体
  4839. _taskbar = {
  4840. "id": str + _formdiv.id,
  4841. "style": {
  4842. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4843. },
  4844. "name": "思维导图",
  4845. "forms": _formdiv,
  4846. "click": function() {
  4847. U.MD.D.I.openApplication(str, obj, info);
  4848. }
  4849. }
  4850. break;
  4851. case "doc":
  4852. aTool = 6;
  4853. _iframe = $$("iframe", {
  4854. "frameborder": "no",
  4855. "border": "0",
  4856. "scrolling ": "no",
  4857. "style": {
  4858. "cssText": "border:0;width:100%;height:100%"
  4859. },
  4860. "src": "/Office/Word/WordEditArea.htm"
  4861. })
  4862. _box.appendChild(_iframe);
  4863. _box.appendChild(_jie);
  4864. _formdiv = new U.UF.UI.form(
  4865. "协同文档",
  4866. _box, {
  4867. "id": "doc" + cid + stage + task + tool,
  4868. "style": {
  4869. "width": "90%",
  4870. "height": "90%",
  4871. "overflow": 'hidden'
  4872. },
  4873. "onresize": function() {}
  4874. }, {
  4875. closecallback: function() {}
  4876. }, {
  4877. "style": {
  4878. "height": "36px"
  4879. }
  4880. }).form; //创建窗体
  4881. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4882. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4883. })
  4884. _taskbar = {
  4885. "id": str + _formdiv.id,
  4886. "style": {
  4887. "backgroundImage": "url(/img/icon/doc.png)"
  4888. },
  4889. "name": "协同文档",
  4890. "forms": _formdiv,
  4891. "click": function() {
  4892. U.MD.D.I.openApplication(str, obj, info);
  4893. }
  4894. }
  4895. break;
  4896. case "mindNetwork": //好友打开
  4897. aTool = 7;
  4898. _iframe = $$("iframe", {
  4899. "webkitallowfullscreen": "",
  4900. "mozallowfullscreen": "",
  4901. "allowfullscreen": "",
  4902. "frameborder": "no",
  4903. "border": "0",
  4904. "scrolling ": "no",
  4905. "style": {
  4906. "cssText": "border:0; width:100%; height:100%;"
  4907. },
  4908. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4909. })
  4910. _box.appendChild(_iframe);
  4911. _box.appendChild(_jie);
  4912. _formdiv = new U.UF.UI.form(
  4913. "思维网格",
  4914. _box, {
  4915. "id": "mindNetwork" + cid + stage + task + tool,
  4916. "style": {
  4917. "width": "90%",
  4918. "height": "90%",
  4919. "overflow": 'hidden'
  4920. },
  4921. "onresize": function() {}
  4922. }, {
  4923. closecallback: function() {}
  4924. }, {
  4925. "style": {
  4926. "height": "36px"
  4927. }
  4928. }).form; //创建窗体
  4929. _taskbar = {
  4930. "id": str + _formdiv.id,
  4931. "style": {
  4932. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4933. },
  4934. "name": "思维网格",
  4935. "forms": _formdiv,
  4936. "click": function() {
  4937. U.MD.D.I.openApplication(str, obj, info);
  4938. }
  4939. }
  4940. break;
  4941. case "courseDesign":
  4942. _iframe = $$("iframe", {
  4943. "webkitallowfullscreen": "",
  4944. "mozallowfullscreen": "",
  4945. "allowfullscreen": "",
  4946. "frameborder": "no",
  4947. "border": "0",
  4948. "scrolling ": "no",
  4949. "style": {
  4950. "cssText": "border:0; width:100%; height:100%;"
  4951. },
  4952. "src": "/course-design-vue"
  4953. })
  4954. _box.appendChild(_iframe);
  4955. _box.appendChild(_jie);
  4956. _formdiv = new U.UF.UI.form(
  4957. "项目设计",
  4958. _box, {
  4959. "id": "courseDesign" + cid + stage + task + tool,
  4960. "style": {
  4961. "width": "90%",
  4962. "height": "90%",
  4963. "overflow": 'hidden'
  4964. },
  4965. "onresize": function() {}
  4966. }, {
  4967. closecallback: function() {}
  4968. }, {
  4969. "style": {
  4970. "height": "36px"
  4971. }
  4972. }).form; //创建窗体
  4973. _taskbar = {
  4974. "id": str + _formdiv.id,
  4975. "style": {
  4976. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4977. },
  4978. "name": "项目设计",
  4979. "forms": _formdiv,
  4980. "click": function() {
  4981. U.MD.D.I.openApplication(str, obj, info);
  4982. }
  4983. }
  4984. break;
  4985. }
  4986. const script1 = document.createElement("script");
  4987. script1.type = "text/javascript";
  4988. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4989. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4990. const script2 = document.createElement("script");
  4991. script2.type = "text/javascript";
  4992. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4993. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4994. const script3 = document.createElement("script");
  4995. script3.type = "text/javascript";
  4996. script3.charset = "UTF-8";
  4997. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4998. const script4 = document.createElement("script");
  4999. script4.type = "text/javascript";
  5000. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5001. script4.src = window.origin + "/js/Common/jietu2E.js";
  5002. if (_iframe) {
  5003. if (str == 'doc') {
  5004. _iframe = _formdiv.querySelector('iframe')
  5005. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5006. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5007. _iframe.contentWindow.document.body.appendChild(script1);
  5008. _iframe.contentWindow.document.body.appendChild(script2);
  5009. // _iframe.contentWindow.document.body.appendChild(script3);
  5010. _iframe.contentWindow.document.body.appendChild(script4);
  5011. })
  5012. if (onloadListener) {
  5013. _iframe.contentDocument.location.reload()
  5014. } else {
  5015. _iframe.contentDocument.location.reload()
  5016. }
  5017. } else if (str == 'courseDesign') {
  5018. U.UF.DL.iframeLoad(_iframe, function() {
  5019. // _iframe.contentWindow.U.MD.O.W.load();
  5020. // _iframe.contentWindow.document.body.appendChild(script1);
  5021. _iframe.contentWindow.document.body.appendChild(script2);
  5022. _iframe.contentWindow.document.body.appendChild(script4);
  5023. })
  5024. } else if (str == 'mind') {
  5025. _iframe = _formdiv.querySelector('iframe')
  5026. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5027. //
  5028. _iframe.contentWindow.document.body.appendChild(script1);
  5029. _iframe.contentWindow.document.body.appendChild(script2);
  5030. _iframe.contentWindow.document.body.appendChild(script4);
  5031. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5032. })
  5033. if (onloadListener) {
  5034. _iframe.contentDocument.location.reload()
  5035. } else {
  5036. _iframe.contentDocument.location.reload()
  5037. }
  5038. } else if (str == 'whiteboard') {
  5039. _iframe = _formdiv.querySelector('iframe')
  5040. let onloadListener = _iframe.onload = () => {
  5041. _iframe.contentWindow.document.body.appendChild(script1);
  5042. _iframe.contentWindow.document.body.appendChild(script2);
  5043. _iframe.contentWindow.document.body.appendChild(script4);
  5044. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5045. };
  5046. if (onloadListener) {
  5047. _iframe.contentDocument.location.reload()
  5048. } else {
  5049. _iframe.contentDocument.location.reload()
  5050. }
  5051. } else {
  5052. _iframe.onload = () => {
  5053. _iframe.contentWindow.document.body.appendChild(script1);
  5054. _iframe.contentWindow.document.body.appendChild(script2);
  5055. // _iframe.contentWindow.document.body.appendChild(script3);
  5056. _iframe.contentWindow.document.body.appendChild(script4);
  5057. };
  5058. }
  5059. _jie.onclick = async() => {
  5060. let text = ''
  5061. if (aTool == 1) {
  5062. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5063. } else if (aTool == 6) {
  5064. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5065. } else if (aTool == 3) {
  5066. text = await U.MD.D.I.getEditorContent(_iframe);
  5067. }
  5068. _loading.style.display = 'flex'
  5069. console.log(_loading);
  5070. var _ajs = _iframe.contentWindow.document.createElement("script");
  5071. _ajs.type = "text/javascript";
  5072. _ajs.innerHTML =
  5073. // 'console.log(' + _loading + ');\n' +
  5074. 'var _js = document.createElement("script");\n' +
  5075. '_js.type="text/javascript";\n' +
  5076. '_js.charset="UTF-8";\n' +
  5077. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5078. "_js.onload = function(){\n" +
  5079. ' var a = document.getElementsByTagName("img")\n' +
  5080. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5081. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5082. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5083. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5084. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5085. "beforeUpload_shishi(file," +
  5086. "'" +
  5087. _userid +
  5088. "'" +
  5089. ", " +
  5090. "'" +
  5091. _cid +
  5092. "'" +
  5093. ", " +
  5094. "'" +
  5095. _stage +
  5096. "'" +
  5097. ", " +
  5098. "'" +
  5099. _task +
  5100. "'" +
  5101. ", " +
  5102. "'" +
  5103. _tool +
  5104. "'" +
  5105. ", " +
  5106. "'" +
  5107. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5108. "'" +
  5109. ", " +
  5110. "'" +
  5111. aTool +
  5112. "'" +
  5113. ", " +
  5114. "`" +
  5115. text +
  5116. "`" +
  5117. ")\n" +
  5118. " });\n" +
  5119. "}\n" +
  5120. "document.head.appendChild(_js);\n";
  5121. _iframe.contentWindow.document.head.appendChild(_ajs);
  5122. }
  5123. }
  5124. //U.MD.D.I.openClick(str);
  5125. //如果有任务栏信息
  5126. // if (_taskbar) {
  5127. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5128. // }
  5129. }
  5130. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5131. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5132. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5133. _userid = student.userid, //登录用户id
  5134. _username = student.student //用户名字
  5135. let _iframe;
  5136. let _cid = cid,
  5137. _stage = stage,
  5138. _task = task,
  5139. _tool = tool;
  5140. var _jie = $$("div", {
  5141. "style": {
  5142. "position": "absolute",
  5143. "bottom": "50px",
  5144. "right": "50px",
  5145. "zIndex": "9999",
  5146. "backgroundColor": "#2268bc",
  5147. "color": "#fff",
  5148. "padding": "12px 20px",
  5149. "cursor": "pointer",
  5150. "borderRadius": "4px",
  5151. },
  5152. "innerHTML": "提交作业"
  5153. })
  5154. let aTool = ''
  5155. let _loading = document.createElement('div')
  5156. _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;"
  5157. // _loading.id = "";
  5158. let _lchild = document.createElement('div')
  5159. let _limg = document.createElement('img')
  5160. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5161. _limg.style = "width: 26px;margin-right: 10px;"
  5162. _lchild.appendChild(_limg)
  5163. let _lspan = document.createElement('span')
  5164. _lspan.innerHTML = "上传中..."
  5165. _lchild.appendChild(_lspan)
  5166. _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%);"
  5167. _loading.appendChild(_lchild)
  5168. var _box = $$('div', {
  5169. "style": {
  5170. "position": "relative",
  5171. "width": "100%",
  5172. "height": "100%",
  5173. },
  5174. })
  5175. _box.appendChild(_loading)
  5176. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5177. switch (str) {
  5178. case "whiteboard":
  5179. aTool = 1;
  5180. _iframe = $$("iframe", {
  5181. "frameborder": "no",
  5182. "border": "0",
  5183. "scrolling ": "no",
  5184. "style": {
  5185. "cssText": "border:0;width:100%;height:100%"
  5186. },
  5187. "src": "https://iwb.cocorobo.cn/"
  5188. })
  5189. _box.appendChild(_iframe);
  5190. _box.appendChild(_jie);
  5191. _formdiv = new U.UF.UI.form(
  5192. "电子白板-" + _username,
  5193. _box, {
  5194. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5195. "style": {
  5196. "width": "90%",
  5197. "height": "90%",
  5198. "overflow": 'hidden'
  5199. },
  5200. "onresize": function() {}
  5201. }, {
  5202. closecallback: function() {}
  5203. }, {
  5204. "style": {
  5205. "height": "36px"
  5206. }
  5207. }).form; //创建窗体
  5208. _taskbar = {
  5209. "id": str + _formdiv.id,
  5210. "style": {
  5211. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5212. },
  5213. "name": "电子白板",
  5214. "forms": _formdiv,
  5215. "click": function() {
  5216. U.MD.D.I.openApplication(str, obj, info);
  5217. }
  5218. }
  5219. break;
  5220. case "mind":
  5221. aTool = 3;
  5222. _iframe = $$("iframe", {
  5223. "frameborder": "no",
  5224. "border": "0",
  5225. "scrolling ": "no",
  5226. "style": {
  5227. "cssText": "border:0;width:100%;height:100%"
  5228. },
  5229. "src": "/kityminder-editor/dist/index.html"
  5230. })
  5231. _box.appendChild(_iframe);
  5232. _box.appendChild(_jie);
  5233. _formdiv = new U.UF.UI.form(
  5234. "思维导图-" + _username,
  5235. _box, { //"/jsmind/example/demo.html"
  5236. "id": "mind" + cid + stage + task + tool + _userid,
  5237. "style": {
  5238. "width": "90%",
  5239. "height": "90%",
  5240. "overflow": 'hidden'
  5241. },
  5242. "onresize": function() {}
  5243. }, {
  5244. closecallback: function() {}
  5245. }, {
  5246. "style": {
  5247. "height": "36px"
  5248. }
  5249. }).form; //创建窗体
  5250. _taskbar = {
  5251. "id": str + _formdiv.id,
  5252. "style": {
  5253. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5254. },
  5255. "name": "思维导图",
  5256. "forms": _formdiv,
  5257. "click": function() {
  5258. U.MD.D.I.openApplication(str, obj, info);
  5259. }
  5260. }
  5261. break;
  5262. case "MindMap":
  5263. aTool = 3;
  5264. _iframe = $$("iframe", {
  5265. "frameborder": "no",
  5266. "border": "0",
  5267. "scrolling ": "no",
  5268. "style": {
  5269. "cssText": "border:0;width:100%;height:100%"
  5270. },
  5271. "src": "//cloud.cocorobo.cn/mind/"
  5272. })
  5273. _box.appendChild(_iframe);
  5274. _box.appendChild(_jie);
  5275. _formdiv = new U.UF.UI.form(
  5276. "思维导图-" + _username,
  5277. _box, { //"/jsmind/example/demo.html"
  5278. "id": "mind" + cid + stage + task + tool + _userid,
  5279. "style": {
  5280. "width": "90%",
  5281. "height": "90%",
  5282. "overflow": 'hidden'
  5283. },
  5284. "onresize": function() {}
  5285. }, {
  5286. closecallback: function() {}
  5287. }, {
  5288. "style": {
  5289. "height": "36px"
  5290. }
  5291. }).form; //创建窗体
  5292. _taskbar = {
  5293. "id": str + _formdiv.id,
  5294. "style": {
  5295. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5296. },
  5297. "name": "思维导图",
  5298. "forms": _formdiv,
  5299. "click": function() {
  5300. U.MD.D.I.openApplication(str, obj, info);
  5301. }
  5302. }
  5303. break;
  5304. case "doc":
  5305. aTool = 6;
  5306. _iframe = $$("iframe", {
  5307. "frameborder": "no",
  5308. "border": "0",
  5309. "scrolling ": "no",
  5310. "style": {
  5311. "cssText": "border:0;width:100%;height:100%"
  5312. },
  5313. "src": "/Office/Word/WordEditArea.htm"
  5314. })
  5315. _box.appendChild(_iframe);
  5316. _box.appendChild(_jie);
  5317. _formdiv = new U.UF.UI.form(
  5318. "协同文档-" + _username,
  5319. _box, {
  5320. "id": "doc" + cid + stage + task + tool + _userid,
  5321. "style": {
  5322. "width": "90%",
  5323. "height": "90%",
  5324. "overflow": 'hidden'
  5325. },
  5326. "onresize": function() {}
  5327. }, {
  5328. closecallback: function() {}
  5329. }, {
  5330. "style": {
  5331. "height": "36px"
  5332. }
  5333. }).form; //创建窗体
  5334. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5335. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5336. })
  5337. _taskbar = {
  5338. "id": str + _formdiv.id,
  5339. "style": {
  5340. "backgroundImage": "url(/img/icon/doc.png)"
  5341. },
  5342. "name": "协同文档",
  5343. "forms": _formdiv,
  5344. "click": function() {
  5345. U.MD.D.I.openApplication(str, obj, info);
  5346. }
  5347. }
  5348. break;
  5349. case "mindNetwork": //好友打开
  5350. aTool = 7;
  5351. _iframe = $$("iframe", {
  5352. "webkitallowfullscreen": "",
  5353. "mozallowfullscreen": "",
  5354. "allowfullscreen": "",
  5355. "frameborder": "no",
  5356. "border": "0",
  5357. "scrolling ": "no",
  5358. "style": {
  5359. "cssText": "border:0; width:100%; height:100%;"
  5360. },
  5361. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5362. })
  5363. _box.appendChild(_iframe);
  5364. _box.appendChild(_jie);
  5365. _formdiv = new U.UF.UI.form(
  5366. "思维网格-" + _username,
  5367. _box, {
  5368. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5369. "style": {
  5370. "width": "90%",
  5371. "height": "90%",
  5372. "overflow": 'hidden'
  5373. },
  5374. "onresize": function() {}
  5375. }, {
  5376. closecallback: function() {}
  5377. }, {
  5378. "style": {
  5379. "height": "36px"
  5380. }
  5381. }).form; //创建窗体
  5382. _taskbar = {
  5383. "id": str + _formdiv.id,
  5384. "style": {
  5385. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5386. },
  5387. "name": "思维网格",
  5388. "forms": _formdiv,
  5389. "click": function() {
  5390. U.MD.D.I.openApplication(str, obj, info);
  5391. }
  5392. }
  5393. break;
  5394. case "courseDesign":
  5395. _iframe = $$("iframe", {
  5396. "webkitallowfullscreen": "",
  5397. "mozallowfullscreen": "",
  5398. "allowfullscreen": "",
  5399. "frameborder": "no",
  5400. "border": "0",
  5401. "scrolling ": "no",
  5402. "style": {
  5403. "cssText": "border:0; width:100%; height:100%;"
  5404. },
  5405. "src": "/course-design-vue"
  5406. })
  5407. _box.appendChild(_iframe);
  5408. _box.appendChild(_jie);
  5409. _formdiv = new U.UF.UI.form(
  5410. "项目设计-" + _username,
  5411. _box, {
  5412. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5413. "style": {
  5414. "width": "90%",
  5415. "height": "90%",
  5416. "overflow": 'hidden'
  5417. },
  5418. "onresize": function() {}
  5419. }, {
  5420. closecallback: function() {}
  5421. }, {
  5422. "style": {
  5423. "height": "36px"
  5424. }
  5425. }).form; //创建窗体
  5426. _taskbar = {
  5427. "id": str + _formdiv.id,
  5428. "style": {
  5429. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5430. },
  5431. "name": "项目设计",
  5432. "forms": _formdiv,
  5433. "click": function() {
  5434. U.MD.D.I.openApplication(str, obj, info);
  5435. }
  5436. }
  5437. break;
  5438. }
  5439. const script1 = document.createElement("script");
  5440. script1.type = "text/javascript";
  5441. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5442. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5443. const script2 = document.createElement("script");
  5444. script2.type = "text/javascript";
  5445. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5446. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5447. const script3 = document.createElement("script");
  5448. script3.type = "text/javascript";
  5449. script3.charset = "UTF-8";
  5450. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5451. const script4 = document.createElement("script");
  5452. script4.type = "text/javascript";
  5453. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5454. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5455. if (_iframe) {
  5456. if (str == 'doc') {
  5457. _iframe = _formdiv.querySelector('iframe')
  5458. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5459. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5460. _iframe.contentWindow.document.body.appendChild(script1);
  5461. _iframe.contentWindow.document.body.appendChild(script2);
  5462. // _iframe.contentWindow.document.body.appendChild(script3);
  5463. _iframe.contentWindow.document.body.appendChild(script4);
  5464. })
  5465. if (onloadListener) {
  5466. _iframe.contentDocument.location.reload()
  5467. } else {
  5468. _iframe.contentDocument.location.reload()
  5469. }
  5470. } else if (str == 'courseDesign') {
  5471. U.UF.DL.iframeLoad(_iframe, function() {
  5472. // _iframe.contentWindow.U.MD.O.W.load();
  5473. // _iframe.contentWindow.document.body.appendChild(script1);
  5474. _iframe.contentWindow.document.body.appendChild(script2);
  5475. _iframe.contentWindow.document.body.appendChild(script4);
  5476. })
  5477. } else if (str == 'mind') {
  5478. _iframe = _formdiv.querySelector('iframe')
  5479. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5480. //
  5481. _iframe.contentWindow.document.body.appendChild(script1);
  5482. _iframe.contentWindow.document.body.appendChild(script2);
  5483. _iframe.contentWindow.document.body.appendChild(script4);
  5484. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5485. })
  5486. if (onloadListener) {
  5487. _iframe.contentDocument.location.reload()
  5488. } else {
  5489. _iframe.contentDocument.location.reload()
  5490. }
  5491. } else if (str == 'whiteboard') {
  5492. _iframe = _formdiv.querySelector('iframe')
  5493. let onloadListener = _iframe.onload = () => {
  5494. _iframe.contentWindow.document.body.appendChild(script1);
  5495. _iframe.contentWindow.document.body.appendChild(script2);
  5496. _iframe.contentWindow.document.body.appendChild(script4);
  5497. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5498. };
  5499. if (onloadListener) {
  5500. _iframe.contentDocument.location.reload()
  5501. } else {
  5502. _iframe.contentDocument.location.reload()
  5503. }
  5504. } else {
  5505. _iframe.onload = () => {
  5506. _iframe.contentWindow.document.body.appendChild(script1);
  5507. _iframe.contentWindow.document.body.appendChild(script2);
  5508. // _iframe.contentWindow.document.body.appendChild(script3);
  5509. _iframe.contentWindow.document.body.appendChild(script4);
  5510. };
  5511. }
  5512. _jie.onclick = async() => {
  5513. let text = ''
  5514. if (aTool == 1) {
  5515. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5516. } else if (aTool == 6) {
  5517. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5518. } else if (aTool == 3) {
  5519. text = await U.MD.D.I.getEditorContent(_iframe);
  5520. }
  5521. _loading.style.display = 'flex'
  5522. console.log(_loading);
  5523. var _ajs = _iframe.contentWindow.document.createElement("script");
  5524. _ajs.type = "text/javascript";
  5525. _ajs.innerHTML =
  5526. // 'console.log(' + _loading + ');\n' +
  5527. 'var _js = document.createElement("script");\n' +
  5528. '_js.type="text/javascript";\n' +
  5529. '_js.charset="UTF-8";\n' +
  5530. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5531. "_js.onload = function(){\n" +
  5532. ' var a = document.getElementsByTagName("img")\n' +
  5533. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5534. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5535. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5536. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5537. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5538. "beforeUpload_shishi(file," +
  5539. "'" +
  5540. _userid +
  5541. "'" +
  5542. ", " +
  5543. "'" +
  5544. _cid +
  5545. "'" +
  5546. ", " +
  5547. "'" +
  5548. _stage +
  5549. "'" +
  5550. ", " +
  5551. "'" +
  5552. _task +
  5553. "'" +
  5554. ", " +
  5555. "'" +
  5556. _tool +
  5557. "'" +
  5558. ", " +
  5559. "'" +
  5560. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5561. "'" +
  5562. ", " +
  5563. "'" +
  5564. aTool +
  5565. "'" +
  5566. ", " +
  5567. "`" +
  5568. text +
  5569. "`" +
  5570. ")\n" +
  5571. " });\n" +
  5572. "}\n" +
  5573. "document.head.appendChild(_js);\n";
  5574. _iframe.contentWindow.document.head.appendChild(_ajs);
  5575. }
  5576. }
  5577. }
  5578. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5579. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5580. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5581. _userid = student.userid, //登录用户id
  5582. _username = student.student //用户名字
  5583. let _iframe;
  5584. let _cid = cid,
  5585. _stage = stage,
  5586. _task = task,
  5587. _tool = tool;
  5588. var _jie = $$("div", {
  5589. "style": {
  5590. "position": "absolute",
  5591. "bottom": "50px",
  5592. "right": "50px",
  5593. "zIndex": "9999",
  5594. "backgroundColor": "#2268bc",
  5595. "color": "#fff",
  5596. "padding": "12px 20px",
  5597. "cursor": "pointer",
  5598. "borderRadius": "4px",
  5599. },
  5600. "innerHTML": "提交作业"
  5601. })
  5602. let aTool = ''
  5603. let _loading = document.createElement('div')
  5604. _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;"
  5605. // _loading.id = "";
  5606. let _lchild = document.createElement('div')
  5607. let _limg = document.createElement('img')
  5608. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5609. _limg.style = "width: 26px;margin-right: 10px;"
  5610. _lchild.appendChild(_limg)
  5611. let _lspan = document.createElement('span')
  5612. _lspan.innerHTML = "上传中..."
  5613. _lchild.appendChild(_lspan)
  5614. _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%);"
  5615. _loading.appendChild(_lchild)
  5616. var _box = $$('div', {
  5617. "style": {
  5618. "position": "relative",
  5619. "width": "100%",
  5620. "height": "100%",
  5621. },
  5622. })
  5623. _box.appendChild(_loading)
  5624. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5625. switch (str) {
  5626. case "whiteboard":
  5627. aTool = 1;
  5628. _iframe = $$("iframe", {
  5629. "frameborder": "no",
  5630. "border": "0",
  5631. "scrolling ": "no",
  5632. "style": {
  5633. "cssText": "border:0;width:100%;height:100%"
  5634. },
  5635. "src": "https://iwb.cocorobo.cn/"
  5636. })
  5637. _box.appendChild(_iframe);
  5638. _box.appendChild(_jie);
  5639. _formdiv = new U.UF.UI.form(
  5640. "电子白板-" + _username,
  5641. _box, {
  5642. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5643. "style": {
  5644. "width": "90%",
  5645. "height": "90%",
  5646. "overflow": 'hidden'
  5647. },
  5648. "onresize": function() {}
  5649. }, {
  5650. closecallback: function() {}
  5651. }, {
  5652. "style": {
  5653. "height": "36px"
  5654. }
  5655. }).form; //创建窗体
  5656. _taskbar = {
  5657. "id": str + _formdiv.id,
  5658. "style": {
  5659. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5660. },
  5661. "name": "电子白板",
  5662. "forms": _formdiv,
  5663. "click": function() {
  5664. U.MD.D.I.openApplication(str, obj, info);
  5665. }
  5666. }
  5667. break;
  5668. case "mind":
  5669. aTool = 3;
  5670. _iframe = $$("iframe", {
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0;width:100%;height:100%"
  5676. },
  5677. "src": "/kityminder-editor/dist/index.html"
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "思维导图-" + _username,
  5683. _box, { //"/jsmind/example/demo.html"
  5684. "id": "mind" + cid + stage + task + tool + _userid,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function() {}
  5691. }, {
  5692. closecallback: function() {}
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //创建窗体
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5702. },
  5703. "name": "思维导图",
  5704. "forms": _formdiv,
  5705. "click": function() {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. case "MindMap":
  5711. aTool = 3;
  5712. _iframe = $$("iframe", {
  5713. "frameborder": "no",
  5714. "border": "0",
  5715. "scrolling ": "no",
  5716. "style": {
  5717. "cssText": "border:0;width:100%;height:100%"
  5718. },
  5719. "src": "//cloud.cocorobo.cn/mind/"
  5720. })
  5721. _box.appendChild(_iframe);
  5722. _box.appendChild(_jie);
  5723. _formdiv = new U.UF.UI.form(
  5724. "思维导图-" + _username,
  5725. _box, { //"/jsmind/example/demo.html"
  5726. "id": "mind" + cid + stage + task + tool + _userid,
  5727. "style": {
  5728. "width": "90%",
  5729. "height": "90%",
  5730. "overflow": 'hidden'
  5731. },
  5732. "onresize": function() {}
  5733. }, {
  5734. closecallback: function() {}
  5735. }, {
  5736. "style": {
  5737. "height": "36px"
  5738. }
  5739. }).form; //创建窗体
  5740. _taskbar = {
  5741. "id": str + _formdiv.id,
  5742. "style": {
  5743. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5744. },
  5745. "name": "思维导图",
  5746. "forms": _formdiv,
  5747. "click": function() {
  5748. U.MD.D.I.openApplication(str, obj, info);
  5749. }
  5750. }
  5751. break;
  5752. case "doc":
  5753. aTool = 6;
  5754. _iframe = $$("iframe", {
  5755. "frameborder": "no",
  5756. "border": "0",
  5757. "scrolling ": "no",
  5758. "style": {
  5759. "cssText": "border:0;width:100%;height:100%"
  5760. },
  5761. "src": "/Office/Word/WordEditArea.htm"
  5762. })
  5763. _box.appendChild(_iframe);
  5764. _box.appendChild(_jie);
  5765. _formdiv = new U.UF.UI.form(
  5766. "协同文档-" + _username,
  5767. _box, {
  5768. "id": "doc" + cid + stage + task + tool + _userid,
  5769. "style": {
  5770. "width": "90%",
  5771. "height": "90%",
  5772. "overflow": 'hidden'
  5773. },
  5774. "onresize": function() {}
  5775. }, {
  5776. closecallback: function() {}
  5777. }, {
  5778. "style": {
  5779. "height": "36px"
  5780. }
  5781. }).form; //创建窗体
  5782. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5783. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5784. })
  5785. _taskbar = {
  5786. "id": str + _formdiv.id,
  5787. "style": {
  5788. "backgroundImage": "url(/img/icon/doc.png)"
  5789. },
  5790. "name": "协同文档",
  5791. "forms": _formdiv,
  5792. "click": function() {
  5793. U.MD.D.I.openApplication(str, obj, info);
  5794. }
  5795. }
  5796. break;
  5797. case "mindNetwork": //好友打开
  5798. aTool = 7;
  5799. _iframe = $$("iframe", {
  5800. "webkitallowfullscreen": "",
  5801. "mozallowfullscreen": "",
  5802. "allowfullscreen": "",
  5803. "frameborder": "no",
  5804. "border": "0",
  5805. "scrolling ": "no",
  5806. "style": {
  5807. "cssText": "border:0; width:100%; height:100%;"
  5808. },
  5809. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5810. })
  5811. _box.appendChild(_iframe);
  5812. _box.appendChild(_jie);
  5813. _formdiv = new U.UF.UI.form(
  5814. "思维网格-" + _username,
  5815. _box, {
  5816. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5817. "style": {
  5818. "width": "90%",
  5819. "height": "90%",
  5820. "overflow": 'hidden'
  5821. },
  5822. "onresize": function() {}
  5823. }, {
  5824. closecallback: function() {}
  5825. }, {
  5826. "style": {
  5827. "height": "36px"
  5828. }
  5829. }).form; //创建窗体
  5830. _taskbar = {
  5831. "id": str + _formdiv.id,
  5832. "style": {
  5833. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5834. },
  5835. "name": "思维网格",
  5836. "forms": _formdiv,
  5837. "click": function() {
  5838. U.MD.D.I.openApplication(str, obj, info);
  5839. }
  5840. }
  5841. break;
  5842. case "courseDesign":
  5843. _iframe = $$("iframe", {
  5844. "webkitallowfullscreen": "",
  5845. "mozallowfullscreen": "",
  5846. "allowfullscreen": "",
  5847. "frameborder": "no",
  5848. "border": "0",
  5849. "scrolling ": "no",
  5850. "style": {
  5851. "cssText": "border:0; width:100%; height:100%;"
  5852. },
  5853. "src": "/course-design-vue"
  5854. })
  5855. _box.appendChild(_iframe);
  5856. _box.appendChild(_jie);
  5857. _formdiv = new U.UF.UI.form(
  5858. "项目设计-" + _username,
  5859. _box, {
  5860. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5861. "style": {
  5862. "width": "90%",
  5863. "height": "90%",
  5864. "overflow": 'hidden'
  5865. },
  5866. "onresize": function() {}
  5867. }, {
  5868. closecallback: function() {}
  5869. }, {
  5870. "style": {
  5871. "height": "36px"
  5872. }
  5873. }).form; //创建窗体
  5874. _taskbar = {
  5875. "id": str + _formdiv.id,
  5876. "style": {
  5877. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5878. },
  5879. "name": "项目设计",
  5880. "forms": _formdiv,
  5881. "click": function() {
  5882. U.MD.D.I.openApplication(str, obj, info);
  5883. }
  5884. }
  5885. break;
  5886. }
  5887. const script1 = document.createElement("script");
  5888. script1.type = "text/javascript";
  5889. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5890. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5891. const script2 = document.createElement("script");
  5892. script2.type = "text/javascript";
  5893. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5894. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5895. const script3 = document.createElement("script");
  5896. script3.type = "text/javascript";
  5897. script3.charset = "UTF-8";
  5898. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5899. const script4 = document.createElement("script");
  5900. script4.type = "text/javascript";
  5901. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5902. script4.src = window.origin + "/js/Common/jietu2E.js";
  5903. if (_iframe) {
  5904. if (str == 'doc') {
  5905. _iframe = _formdiv.querySelector('iframe')
  5906. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5907. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5908. _iframe.contentWindow.document.body.appendChild(script1);
  5909. _iframe.contentWindow.document.body.appendChild(script2);
  5910. // _iframe.contentWindow.document.body.appendChild(script3);
  5911. _iframe.contentWindow.document.body.appendChild(script4);
  5912. })
  5913. if (onloadListener) {
  5914. _iframe.contentDocument.location.reload()
  5915. } else {
  5916. _iframe.contentDocument.location.reload()
  5917. }
  5918. } else if (str == 'courseDesign') {
  5919. U.UF.DL.iframeLoad(_iframe, function() {
  5920. // _iframe.contentWindow.U.MD.O.W.load();
  5921. // _iframe.contentWindow.document.body.appendChild(script1);
  5922. _iframe.contentWindow.document.body.appendChild(script2);
  5923. _iframe.contentWindow.document.body.appendChild(script4);
  5924. })
  5925. } else if (str == 'mind') {
  5926. _iframe = _formdiv.querySelector('iframe')
  5927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5928. //
  5929. _iframe.contentWindow.document.body.appendChild(script1);
  5930. _iframe.contentWindow.document.body.appendChild(script2);
  5931. _iframe.contentWindow.document.body.appendChild(script4);
  5932. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5933. })
  5934. if (onloadListener) {
  5935. _iframe.contentDocument.location.reload()
  5936. } else {
  5937. _iframe.contentDocument.location.reload()
  5938. }
  5939. } else if (str == 'whiteboard') {
  5940. _iframe = _formdiv.querySelector('iframe')
  5941. let onloadListener = _iframe.onload = () => {
  5942. _iframe.contentWindow.document.body.appendChild(script1);
  5943. _iframe.contentWindow.document.body.appendChild(script2);
  5944. _iframe.contentWindow.document.body.appendChild(script4);
  5945. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5946. };
  5947. if (onloadListener) {
  5948. _iframe.contentDocument.location.reload()
  5949. } else {
  5950. _iframe.contentDocument.location.reload()
  5951. }
  5952. } else {
  5953. _iframe.onload = () => {
  5954. _iframe.contentWindow.document.body.appendChild(script1);
  5955. _iframe.contentWindow.document.body.appendChild(script2);
  5956. // _iframe.contentWindow.document.body.appendChild(script3);
  5957. _iframe.contentWindow.document.body.appendChild(script4);
  5958. };
  5959. }
  5960. _jie.onclick = async() => {
  5961. let text = ''
  5962. if (aTool == 1) {
  5963. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5964. } else if (aTool == 6) {
  5965. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5966. } else if (aTool == 3) {
  5967. text = await U.MD.D.I.getEditorContent(_iframe);
  5968. }
  5969. _loading.style.display = 'flex'
  5970. console.log(_loading);
  5971. var _ajs = _iframe.contentWindow.document.createElement("script");
  5972. _ajs.type = "text/javascript";
  5973. _ajs.innerHTML =
  5974. // 'console.log(' + _loading + ');\n' +
  5975. 'var _js = document.createElement("script");\n' +
  5976. '_js.type="text/javascript";\n' +
  5977. '_js.charset="UTF-8";\n' +
  5978. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5979. "_js.onload = function(){\n" +
  5980. ' var a = document.getElementsByTagName("img")\n' +
  5981. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5982. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5983. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5984. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5985. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5986. "beforeUpload_shishi(file," +
  5987. "'" +
  5988. _userid +
  5989. "'" +
  5990. ", " +
  5991. "'" +
  5992. _cid +
  5993. "'" +
  5994. ", " +
  5995. "'" +
  5996. _stage +
  5997. "'" +
  5998. ", " +
  5999. "'" +
  6000. _task +
  6001. "'" +
  6002. ", " +
  6003. "'" +
  6004. _tool +
  6005. "'" +
  6006. ", " +
  6007. "'" +
  6008. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6009. "'" +
  6010. ", " +
  6011. "'" +
  6012. aTool +
  6013. "'" +
  6014. ", " +
  6015. "`" +
  6016. text +
  6017. "`" +
  6018. ")\n" +
  6019. " });\n" +
  6020. "}\n" +
  6021. "document.head.appendChild(_js);\n";
  6022. _iframe.contentWindow.document.head.appendChild(_ajs);
  6023. }
  6024. }
  6025. }
  6026. U.MD.D.I.getEditorContent = function(iframe) {
  6027. return new Promise((resolve, reject) => {
  6028. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6029. console.log(content);
  6030. resolve(content)
  6031. });
  6032. });
  6033. }
  6034. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6035. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6036. // if (res.value[0].length > 0) {
  6037. // // resolve(res.value[0][0].text);
  6038. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6039. // $(fileInput).val('');
  6040. // });
  6041. // }
  6042. // }, [], { "type": "GET", "withCredentials": true });
  6043. var xmlhttp;
  6044. var Mac, Sn, DeviceId
  6045. if (window.XMLHttpRequest) {
  6046. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6047. xmlhttp = new XMLHttpRequest();
  6048. } else {
  6049. // IE6, IE5 浏览器执行代码
  6050. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6051. }
  6052. xmlhttp.onreadystatechange = function() {
  6053. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6054. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6055. // resolve(res.value[0][0].text);
  6056. if (type == '2') {
  6057. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6058. } else if (type == '3') {
  6059. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6060. }
  6061. } else {
  6062. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6063. }
  6064. }
  6065. }
  6066. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6067. xmlhttp.send();
  6068. }
  6069. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6070. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6071. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6072. _userinfo = US.userInfo, //登录用户信息
  6073. _userid = US.userInfo.userid //登录用户id
  6074. let _iframe;
  6075. let _cid = cid,
  6076. _stage = stage,
  6077. _task = task,
  6078. _tool = tool;
  6079. var _jie = $$("div", {
  6080. "style": {
  6081. "position": "absolute",
  6082. "bottom": "50px",
  6083. "right": "50px",
  6084. "zIndex": "9999",
  6085. "backgroundColor": "#2268bc",
  6086. "color": "#fff",
  6087. "padding": "12px 20px",
  6088. "cursor": "pointer",
  6089. "borderRadius": "4px",
  6090. },
  6091. "innerHTML": "确认并提交"
  6092. })
  6093. let aTool = ''
  6094. let _loading = document.createElement('div')
  6095. _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;"
  6096. // _loading.id = "";
  6097. let _lchild = document.createElement('div')
  6098. let _limg = document.createElement('img')
  6099. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6100. _limg.style = "width: 26px;margin-right: 10px;"
  6101. _lchild.appendChild(_limg)
  6102. let _lspan = document.createElement('span')
  6103. _lspan.innerHTML = "上传中..."
  6104. _lchild.appendChild(_lspan)
  6105. _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%);"
  6106. _loading.appendChild(_lchild)
  6107. var _box = $$('div', {
  6108. "style": {
  6109. "position": "relative",
  6110. "width": "100%",
  6111. "height": "100%",
  6112. },
  6113. })
  6114. _box.appendChild(_loading)
  6115. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6116. switch (str) {
  6117. case "whiteboard":
  6118. aTool = 1;
  6119. _iframe = $$("iframe", {
  6120. "frameborder": "no",
  6121. "border": "0",
  6122. "scrolling ": "no",
  6123. "style": {
  6124. "cssText": "border:0;width:100%;height:100%"
  6125. },
  6126. "src": "https://iwb.cocorobo.cn/"
  6127. })
  6128. _box.appendChild(_iframe);
  6129. _box.appendChild(_jie);
  6130. _formdiv = new U.UF.UI.form(
  6131. "电子白板",
  6132. _box, {
  6133. "id": "whiteboards" + cid + stage + task + tool,
  6134. "style": {
  6135. "width": "90%",
  6136. "height": "90%",
  6137. "overflow": 'hidden'
  6138. },
  6139. "onresize": function() {}
  6140. }, {
  6141. closecallback: function() {}
  6142. }, {
  6143. "style": {
  6144. "height": "36px"
  6145. }
  6146. }).form; //创建窗体
  6147. _taskbar = {
  6148. "id": str + _formdiv.id,
  6149. "style": {
  6150. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6151. },
  6152. "name": "电子白板",
  6153. "forms": _formdiv,
  6154. "click": function() {
  6155. U.MD.D.I.openApplication(str, obj, info);
  6156. }
  6157. }
  6158. break;
  6159. case "mind":
  6160. aTool = 3;
  6161. _iframe = $$("iframe", {
  6162. "frameborder": "no",
  6163. "border": "0",
  6164. "scrolling ": "no",
  6165. "style": {
  6166. "cssText": "border:0;width:100%;height:100%"
  6167. },
  6168. "src": "/kityminder-editor/dist/index.html"
  6169. });
  6170. _box.appendChild(_iframe);
  6171. _box.appendChild(_jie);
  6172. _formdiv = new U.UF.UI.form(
  6173. "思维导图",
  6174. _box, { //"/jsmind/example/demo.html"
  6175. "id": "minds" + cid + stage + task + tool,
  6176. "style": {
  6177. "width": "90%",
  6178. "height": "90%",
  6179. "overflow": 'hidden'
  6180. },
  6181. "onresize": function() {}
  6182. }, {
  6183. closecallback: function() {}
  6184. }, {
  6185. "style": {
  6186. "height": "36px"
  6187. }
  6188. }).form; //创建窗体
  6189. _taskbar = {
  6190. "id": str + _formdiv.id,
  6191. "style": {
  6192. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6193. },
  6194. "name": "思维导图",
  6195. "forms": _formdiv,
  6196. "click": function() {
  6197. U.MD.D.I.openApplication(str, obj, info);
  6198. }
  6199. }
  6200. break;
  6201. case "doc":
  6202. aTool = 6;
  6203. _iframe = $$("iframe", {
  6204. "frameborder": "no",
  6205. "border": "0",
  6206. "scrolling ": "no",
  6207. "style": {
  6208. "cssText": "border:0;width:100%;height:100%"
  6209. },
  6210. "src": "/Office/Word/WordEditArea.htm"
  6211. })
  6212. _box.appendChild(_iframe);
  6213. _box.appendChild(_jie);
  6214. _formdiv = new U.UF.UI.form(
  6215. "协同文档",
  6216. _box, {
  6217. "id": "docs" + cid + stage + task + tool,
  6218. "style": {
  6219. "width": "90%",
  6220. "height": "90%",
  6221. "overflow": 'hidden'
  6222. },
  6223. "onresize": function() {}
  6224. }, {
  6225. closecallback: function() {}
  6226. }, {
  6227. "style": {
  6228. "height": "36px"
  6229. }
  6230. }).form; //创建窗体
  6231. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6232. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6233. })
  6234. _taskbar = {
  6235. "id": str + _formdiv.id,
  6236. "style": {
  6237. "backgroundImage": "url(/img/icon/doc.png)"
  6238. },
  6239. "name": "协同文档",
  6240. "forms": _formdiv,
  6241. "click": function() {
  6242. U.MD.D.I.openApplication(str, obj, info);
  6243. }
  6244. }
  6245. break;
  6246. }
  6247. const script1 = document.createElement("script");
  6248. script1.type = "text/javascript";
  6249. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6250. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6251. const script2 = document.createElement("script");
  6252. script2.type = "text/javascript";
  6253. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6254. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6255. const script3 = document.createElement("script");
  6256. script3.type = "text/javascript";
  6257. script3.charset = "UTF-8";
  6258. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6259. const script4 = document.createElement("script");
  6260. script4.type = "text/javascript";
  6261. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6262. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6263. if (_iframe) {
  6264. if (str == 'doc') {
  6265. _iframe = _formdiv.querySelector('iframe')
  6266. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6267. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6268. _iframe.contentWindow.document.body.appendChild(script1);
  6269. _iframe.contentWindow.document.body.appendChild(script2);
  6270. // _iframe.contentWindow.document.body.appendChild(script3);
  6271. _iframe.contentWindow.document.body.appendChild(script4);
  6272. })
  6273. if (onloadListener) {
  6274. _iframe.contentDocument.location.reload()
  6275. } else {
  6276. _iframe.contentDocument.location.reload()
  6277. }
  6278. } else if (str == 'mind') {
  6279. _iframe = _formdiv.querySelector('iframe')
  6280. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6281. _iframe.contentWindow.document.body.appendChild(script1);
  6282. _iframe.contentWindow.document.body.appendChild(script2);
  6283. _iframe.contentWindow.document.body.appendChild(script4);
  6284. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6285. })
  6286. if (onloadListener) {
  6287. _iframe.contentDocument.location.reload()
  6288. } else {
  6289. _iframe.contentDocument.location.reload()
  6290. }
  6291. } else {
  6292. _iframe.onload = () => {
  6293. _iframe.contentWindow.document.body.appendChild(script1);
  6294. _iframe.contentWindow.document.body.appendChild(script2);
  6295. // _iframe.contentWindow.document.body.appendChild(script3);
  6296. _iframe.contentWindow.document.body.appendChild(script4);
  6297. };
  6298. }
  6299. _jie.onclick = async() => {
  6300. let text = ''
  6301. if (aTool == 6) {
  6302. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6303. } else if (aTool == 3) {
  6304. text = await U.MD.D.I.getEditorContent(_iframe);
  6305. }
  6306. _loading.style.display = 'flex'
  6307. console.log(_loading);
  6308. var _ajs = _iframe.contentWindow.document.createElement("script");
  6309. _ajs.type = "text/javascript";
  6310. _ajs.innerHTML =
  6311. // 'console.log(' + _loading + ');\n' +
  6312. 'var _js = document.createElement("script");\n' +
  6313. '_js.type="text/javascript";\n' +
  6314. '_js.charset="UTF-8";\n' +
  6315. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6316. "_js.onload = function(){\n" +
  6317. ' var a = document.getElementsByTagName("img")\n' +
  6318. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6319. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6320. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6321. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6322. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6323. "beforeUpload_shishi(file," +
  6324. "'" +
  6325. _userid +
  6326. "'" +
  6327. ", " +
  6328. "'" +
  6329. _cid +
  6330. "'" +
  6331. ", " +
  6332. "'" +
  6333. _stage +
  6334. "'" +
  6335. ", " +
  6336. "'" +
  6337. _task +
  6338. "'" +
  6339. ", " +
  6340. "'" +
  6341. _tool +
  6342. "'" +
  6343. ", " +
  6344. "'" +
  6345. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6346. "'" +
  6347. ", " +
  6348. "'" +
  6349. aTool +
  6350. "'" +
  6351. ", " +
  6352. "`" +
  6353. text +
  6354. "`" +
  6355. ")\n" +
  6356. " });\n" +
  6357. "}\n" +
  6358. "document.head.appendChild(_js);\n";
  6359. _iframe.contentWindow.document.head.appendChild(_ajs);
  6360. }
  6361. }
  6362. //U.MD.D.I.openClick(str);
  6363. //如果有任务栏信息
  6364. // if (_taskbar) {
  6365. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6366. // }
  6367. }
  6368. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6369. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6370. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6371. _userinfo = US.userInfo, //登录用户信息
  6372. _userid = US.userInfo.userid //登录用户id
  6373. let _iframe;
  6374. let _cid = cid,
  6375. _stage = stage,
  6376. _task = task,
  6377. _tool = tool;
  6378. var _jie = $$("div", {
  6379. "style": {
  6380. "position": "absolute",
  6381. "bottom": "50px",
  6382. "right": "50px",
  6383. "zIndex": "9999",
  6384. "backgroundColor": "#2268bc",
  6385. "color": "#fff",
  6386. "padding": "12px 20px",
  6387. "cursor": "pointer",
  6388. "borderRadius": "4px",
  6389. },
  6390. "innerHTML": "确认并提交"
  6391. })
  6392. let aTool = ''
  6393. let _loading = document.createElement('div')
  6394. _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;"
  6395. // _loading.id = "";
  6396. let _lchild = document.createElement('div')
  6397. let _limg = document.createElement('img')
  6398. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6399. _limg.style = "width: 26px;margin-right: 10px;"
  6400. _lchild.appendChild(_limg)
  6401. let _lspan = document.createElement('span')
  6402. _lspan.innerHTML = "上传中..."
  6403. _lchild.appendChild(_lspan)
  6404. _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%);"
  6405. _loading.appendChild(_lchild)
  6406. var _box = $$('div', {
  6407. "style": {
  6408. "position": "relative",
  6409. "width": "100%",
  6410. "height": "100%",
  6411. },
  6412. })
  6413. _box.appendChild(_loading)
  6414. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6415. switch (str) {
  6416. case "whiteboard":
  6417. aTool = 1;
  6418. _iframe = $$("iframe", {
  6419. "frameborder": "no",
  6420. "border": "0",
  6421. "scrolling ": "no",
  6422. "style": {
  6423. "cssText": "border:0;width:100%;height:100%"
  6424. },
  6425. "src": "https://iwb.cocorobo.cn/"
  6426. })
  6427. _box.appendChild(_iframe);
  6428. _box.appendChild(_jie);
  6429. _formdiv = new U.UF.UI.form(
  6430. "电子白板",
  6431. _box, {
  6432. "id": "whiteboards" + cid + stage + task + tool,
  6433. "style": {
  6434. "width": "90%",
  6435. "height": "90%",
  6436. "overflow": 'hidden'
  6437. },
  6438. "onresize": function() {}
  6439. }, {
  6440. closecallback: function() {}
  6441. }, {
  6442. "style": {
  6443. "height": "36px"
  6444. }
  6445. }).form; //创建窗体
  6446. _taskbar = {
  6447. "id": str + _formdiv.id,
  6448. "style": {
  6449. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6450. },
  6451. "name": "电子白板",
  6452. "forms": _formdiv,
  6453. "click": function() {
  6454. U.MD.D.I.openApplication(str, obj, info);
  6455. }
  6456. }
  6457. break;
  6458. case "mind":
  6459. aTool = 3;
  6460. _iframe = $$("iframe", {
  6461. "frameborder": "no",
  6462. "border": "0",
  6463. "scrolling ": "no",
  6464. "style": {
  6465. "cssText": "border:0;width:100%;height:100%"
  6466. },
  6467. "src": "/kityminder-editor/dist/index.html"
  6468. });
  6469. _box.appendChild(_iframe);
  6470. _box.appendChild(_jie);
  6471. _formdiv = new U.UF.UI.form(
  6472. "思维导图",
  6473. _box, { //"/jsmind/example/demo.html"
  6474. "id": "minds" + cid + stage + task + tool,
  6475. "style": {
  6476. "width": "90%",
  6477. "height": "90%",
  6478. "overflow": 'hidden'
  6479. },
  6480. "onresize": function() {}
  6481. }, {
  6482. closecallback: function() {}
  6483. }, {
  6484. "style": {
  6485. "height": "36px"
  6486. }
  6487. }).form; //创建窗体
  6488. _taskbar = {
  6489. "id": str + _formdiv.id,
  6490. "style": {
  6491. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6492. },
  6493. "name": "思维导图",
  6494. "forms": _formdiv,
  6495. "click": function() {
  6496. U.MD.D.I.openApplication(str, obj, info);
  6497. }
  6498. }
  6499. break;
  6500. case "doc":
  6501. aTool = 6;
  6502. _iframe = $$("iframe", {
  6503. "frameborder": "no",
  6504. "border": "0",
  6505. "scrolling ": "no",
  6506. "style": {
  6507. "cssText": "border:0;width:100%;height:100%"
  6508. },
  6509. "src": "/Office/Word/WordEditArea.htm"
  6510. })
  6511. _box.appendChild(_iframe);
  6512. _box.appendChild(_jie);
  6513. _formdiv = new U.UF.UI.form(
  6514. "协同文档",
  6515. _box, {
  6516. "id": "docs" + cid + stage + task + tool,
  6517. "style": {
  6518. "width": "90%",
  6519. "height": "90%",
  6520. "overflow": 'hidden'
  6521. },
  6522. "onresize": function() {}
  6523. }, {
  6524. closecallback: function() {}
  6525. }, {
  6526. "style": {
  6527. "height": "36px"
  6528. }
  6529. }).form; //创建窗体
  6530. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6531. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6532. })
  6533. _taskbar = {
  6534. "id": str + _formdiv.id,
  6535. "style": {
  6536. "backgroundImage": "url(/img/icon/doc.png)"
  6537. },
  6538. "name": "协同文档",
  6539. "forms": _formdiv,
  6540. "click": function() {
  6541. U.MD.D.I.openApplication(str, obj, info);
  6542. }
  6543. }
  6544. break;
  6545. }
  6546. const script1 = document.createElement("script");
  6547. script1.type = "text/javascript";
  6548. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6549. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6550. const script2 = document.createElement("script");
  6551. script2.type = "text/javascript";
  6552. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6553. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6554. const script3 = document.createElement("script");
  6555. script3.type = "text/javascript";
  6556. script3.charset = "UTF-8";
  6557. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6558. const script4 = document.createElement("script");
  6559. script4.type = "text/javascript";
  6560. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6561. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6562. if (_iframe) {
  6563. if (str == 'doc') {
  6564. _iframe = _formdiv.querySelector('iframe')
  6565. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6566. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6567. _iframe.contentWindow.document.body.appendChild(script1);
  6568. _iframe.contentWindow.document.body.appendChild(script2);
  6569. // _iframe.contentWindow.document.body.appendChild(script3);
  6570. _iframe.contentWindow.document.body.appendChild(script4);
  6571. })
  6572. if (onloadListener) {
  6573. _iframe.contentDocument.location.reload()
  6574. } else {
  6575. _iframe.contentDocument.location.reload()
  6576. }
  6577. } else if (str == 'mind') {
  6578. _iframe = _formdiv.querySelector('iframe')
  6579. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6580. _iframe.contentWindow.document.body.appendChild(script1);
  6581. _iframe.contentWindow.document.body.appendChild(script2);
  6582. _iframe.contentWindow.document.body.appendChild(script4);
  6583. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6584. })
  6585. if (onloadListener) {
  6586. _iframe.contentDocument.location.reload()
  6587. } else {
  6588. _iframe.contentDocument.location.reload()
  6589. }
  6590. } else {
  6591. _iframe.onload = () => {
  6592. _iframe.contentWindow.document.body.appendChild(script1);
  6593. _iframe.contentWindow.document.body.appendChild(script2);
  6594. // _iframe.contentWindow.document.body.appendChild(script3);
  6595. _iframe.contentWindow.document.body.appendChild(script4);
  6596. };
  6597. }
  6598. _jie.onclick = async() => {
  6599. let text = ''
  6600. if (aTool == 6) {
  6601. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6602. } else if (aTool == 3) {
  6603. text = await U.MD.D.I.getEditorContent(_iframe);
  6604. }
  6605. _loading.style.display = 'flex'
  6606. console.log(_loading);
  6607. var _ajs = _iframe.contentWindow.document.createElement("script");
  6608. _ajs.type = "text/javascript";
  6609. _ajs.innerHTML =
  6610. // 'console.log(' + _loading + ');\n' +
  6611. 'var _js = document.createElement("script");\n' +
  6612. '_js.type="text/javascript";\n' +
  6613. '_js.charset="UTF-8";\n' +
  6614. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6615. "_js.onload = function(){\n" +
  6616. ' var a = document.getElementsByTagName("img")\n' +
  6617. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6618. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6619. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6620. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6621. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6622. "beforeUpload_shishi(file," +
  6623. "'" +
  6624. _userid +
  6625. "'" +
  6626. ", " +
  6627. "'" +
  6628. _cid +
  6629. "'" +
  6630. ", " +
  6631. "'" +
  6632. _stage +
  6633. "'" +
  6634. ", " +
  6635. "'" +
  6636. _task +
  6637. "'" +
  6638. ", " +
  6639. "'" +
  6640. _tool +
  6641. "'" +
  6642. ", " +
  6643. "'" +
  6644. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6645. "'" +
  6646. ", " +
  6647. "'" +
  6648. aTool +
  6649. "'" +
  6650. ", " +
  6651. "`" +
  6652. text +
  6653. "`" +
  6654. ")\n" +
  6655. " });\n" +
  6656. "}\n" +
  6657. "document.head.appendChild(_js);\n";
  6658. _iframe.contentWindow.document.head.appendChild(_ajs);
  6659. }
  6660. }
  6661. //U.MD.D.I.openClick(str);
  6662. //如果有任务栏信息
  6663. // if (_taskbar) {
  6664. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6665. // }
  6666. }
  6667. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6668. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6669. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6670. _userinfo = US.userInfo, //登录用户信息
  6671. _userid = US.userInfo.userid //登录用户id
  6672. let _iframe;
  6673. let _cid = cid,
  6674. _stage = stage,
  6675. _task = task,
  6676. _tool = tool;
  6677. var _jie = $$("div", {
  6678. "style": {
  6679. "position": "absolute",
  6680. "bottom": "50px",
  6681. "right": "50px",
  6682. "zIndex": "9999",
  6683. "backgroundColor": "#2268bc",
  6684. "color": "#fff",
  6685. "padding": "12px 20px",
  6686. "cursor": "pointer",
  6687. "borderRadius": "4px",
  6688. },
  6689. "innerHTML": "上传模板"
  6690. })
  6691. let aTool = ''
  6692. let _loading = document.createElement('div')
  6693. _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;"
  6694. // _loading.id = "";
  6695. let _lchild = document.createElement('div')
  6696. let _limg = document.createElement('img')
  6697. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6698. _limg.style = "width: 26px;margin-right: 10px;"
  6699. _lchild.appendChild(_limg)
  6700. let _lspan = document.createElement('span')
  6701. _lspan.innerHTML = "上传中..."
  6702. _lchild.appendChild(_lspan)
  6703. _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%);"
  6704. _loading.appendChild(_lchild)
  6705. var _box = $$('div', {
  6706. "style": {
  6707. "position": "relative",
  6708. "width": "100%",
  6709. "height": "100%",
  6710. },
  6711. })
  6712. _box.appendChild(_loading)
  6713. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6714. switch (str) {
  6715. case "whiteboard":
  6716. aTool = 1;
  6717. _iframe = $$("iframe", {
  6718. "frameborder": "no",
  6719. "border": "0",
  6720. "scrolling ": "no",
  6721. "style": {
  6722. "cssText": "border:0;width:100%;height:100%"
  6723. },
  6724. "src": "https://iwb.cocorobo.cn/"
  6725. })
  6726. _box.appendChild(_iframe);
  6727. _box.appendChild(_jie);
  6728. _formdiv = new U.UF.UI.form(
  6729. "电子白板",
  6730. _box, {
  6731. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6732. "style": {
  6733. "width": "90%",
  6734. "height": "90%",
  6735. "overflow": 'hidden'
  6736. },
  6737. "onresize": function() {}
  6738. }, {
  6739. closecallback: function() {}
  6740. }, {
  6741. "style": {
  6742. "height": "36px"
  6743. }
  6744. }).form; //创建窗体
  6745. _taskbar = {
  6746. "id": str + _formdiv.id,
  6747. "style": {
  6748. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6749. },
  6750. "name": "电子白板",
  6751. "forms": _formdiv,
  6752. "click": function() {
  6753. U.MD.D.I.openApplication(str, obj, info);
  6754. }
  6755. }
  6756. break;
  6757. case "mind":
  6758. aTool = 3;
  6759. _iframe = $$("iframe", {
  6760. "frameborder": "no",
  6761. "border": "0",
  6762. "scrolling ": "no",
  6763. "style": {
  6764. "cssText": "border:0;width:100%;height:100%"
  6765. },
  6766. "src": "/kityminder-editor/dist/index.html"
  6767. });
  6768. _box.appendChild(_iframe);
  6769. _box.appendChild(_jie);
  6770. _formdiv = new U.UF.UI.form(
  6771. "思维导图",
  6772. _box, { //"/jsmind/example/demo.html"
  6773. "id": "minds_Yu" + cid + stage + task + tool,
  6774. "style": {
  6775. "width": "90%",
  6776. "height": "90%",
  6777. "overflow": 'hidden'
  6778. },
  6779. "onresize": function() {}
  6780. }, {
  6781. closecallback: function() {}
  6782. }, {
  6783. "style": {
  6784. "height": "36px"
  6785. }
  6786. }).form; //创建窗体
  6787. _taskbar = {
  6788. "id": str + _formdiv.id,
  6789. "style": {
  6790. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6791. },
  6792. "name": "思维导图",
  6793. "forms": _formdiv,
  6794. "click": function() {
  6795. U.MD.D.I.openApplication(str, obj, info);
  6796. }
  6797. }
  6798. break;
  6799. case "doc":
  6800. aTool = 6;
  6801. _iframe = $$("iframe", {
  6802. "frameborder": "no",
  6803. "border": "0",
  6804. "scrolling ": "no",
  6805. "style": {
  6806. "cssText": "border:0;width:100%;height:100%"
  6807. },
  6808. "src": "/Office/Word/WordEditArea.htm"
  6809. })
  6810. _box.appendChild(_iframe);
  6811. _box.appendChild(_jie);
  6812. _formdiv = new U.UF.UI.form(
  6813. "协同文档",
  6814. _box, {
  6815. "id": "docs_Yu" + cid + stage + task + tool,
  6816. "style": {
  6817. "width": "90%",
  6818. "height": "90%",
  6819. "overflow": 'hidden'
  6820. },
  6821. "onresize": function() {}
  6822. }, {
  6823. closecallback: function() {}
  6824. }, {
  6825. "style": {
  6826. "height": "36px"
  6827. }
  6828. }).form; //创建窗体
  6829. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6830. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6831. })
  6832. _taskbar = {
  6833. "id": str + _formdiv.id,
  6834. "style": {
  6835. "backgroundImage": "url(/img/icon/doc.png)"
  6836. },
  6837. "name": "协同文档",
  6838. "forms": _formdiv,
  6839. "click": function() {
  6840. U.MD.D.I.openApplication(str, obj, info);
  6841. }
  6842. }
  6843. break;
  6844. case "CocoPi":
  6845. aTool = 57;
  6846. _iframe = $$("iframe", {
  6847. "allowpaymentrequest": "allowpaymentrequest",
  6848. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6849. "webkitallowfullscreen": "",
  6850. "mozallowfullscreen": "",
  6851. "frameborder": "no",
  6852. "border": "0",
  6853. "scrolling ": "no",
  6854. "style": {
  6855. "cssText": "border:0;width:100%;height:100%"
  6856. },
  6857. "src": "https://pi.cocorobo.cn/"
  6858. })
  6859. _box.appendChild(_iframe);
  6860. _box.appendChild(_jie);
  6861. _formdiv = new U.UF.UI.form(
  6862. "CocoPi",
  6863. _box, {
  6864. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6865. "style": {
  6866. "width": "90%",
  6867. "height": "90%",
  6868. "overflow": 'hidden'
  6869. },
  6870. "onresize": function() {}
  6871. }, {
  6872. closecallback: function() {}
  6873. }, {
  6874. "style": {
  6875. "height": "36px"
  6876. }
  6877. }).form; //创建窗体
  6878. _taskbar = {
  6879. "id": str + _formdiv.id,
  6880. "style": {
  6881. "backgroundImage": "url(/img/icon/cocopi.png)"
  6882. },
  6883. "name": "CocoPi",
  6884. "forms": _formdiv,
  6885. "click": function() {
  6886. U.MD.D.I.openApplication(str, obj, info);
  6887. }
  6888. }
  6889. break;
  6890. }
  6891. if (_iframe) {
  6892. if (str == 'doc') {
  6893. _iframe = _formdiv.querySelector('iframe')
  6894. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6895. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6896. })
  6897. if (onloadListener) {
  6898. _iframe.contentDocument.location.reload()
  6899. } else {
  6900. _iframe.contentDocument.location.reload()
  6901. }
  6902. } else if (str == 'mind') {
  6903. _iframe = _formdiv.querySelector('iframe')
  6904. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6905. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6906. })
  6907. if (onloadListener) {
  6908. _iframe.contentDocument.location.reload()
  6909. } else {
  6910. _iframe.contentDocument.location.reload()
  6911. }
  6912. } else if (str == 'whiteboard') {
  6913. _iframe = _formdiv.querySelector('iframe')
  6914. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6915. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6916. })
  6917. if (onloadListener) {
  6918. _iframe.contentDocument.location.reload()
  6919. } else {
  6920. _iframe.contentDocument.location.reload()
  6921. }
  6922. } else if (str == 'CocoPi') {
  6923. _iframe = _formdiv.querySelector('iframe')
  6924. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6925. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6926. })
  6927. if (onloadListener) {
  6928. _iframe.contentDocument.location.reload()
  6929. } else {
  6930. _iframe.contentDocument.location.reload()
  6931. }
  6932. } else {
  6933. _iframe.onload = () => {};
  6934. }
  6935. _jie.onclick = async() => {
  6936. let text = ''
  6937. let type = '2'
  6938. if (aTool == 1) {
  6939. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6940. type = '3'
  6941. } else if (aTool == 6) {
  6942. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6943. type = '1'
  6944. } else if (aTool == 3) {
  6945. text = await U.MD.D.I.getEditorContent(_iframe);
  6946. type = '2'
  6947. } else if (aTool == 57) {
  6948. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6949. type = '4'
  6950. }
  6951. _loading.style.display = 'flex'
  6952. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6953. }
  6954. }
  6955. //U.MD.D.I.openClick(str);
  6956. //如果有任务栏信息
  6957. // if (_taskbar) {
  6958. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6959. // }
  6960. }
  6961. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6962. var xmlhttp;
  6963. var Mac, Sn, DeviceId
  6964. if (window.XMLHttpRequest) {
  6965. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6966. xmlhttp = new XMLHttpRequest();
  6967. } else {
  6968. // IE6, IE5 浏览器执行代码
  6969. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6970. }
  6971. xmlhttp.onreadystatechange = function() {
  6972. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6973. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6974. // resolve(res.value[0][0].text);
  6975. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6976. }
  6977. }
  6978. }
  6979. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6980. xmlhttp.send();
  6981. }
  6982. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6983. var xmlhttp;
  6984. var Mac, Sn, DeviceId
  6985. if (window.XMLHttpRequest) {
  6986. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6987. xmlhttp = new XMLHttpRequest();
  6988. } else {
  6989. // IE6, IE5 浏览器执行代码
  6990. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6991. }
  6992. xmlhttp.onreadystatechange = function() {
  6993. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6994. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6995. // resolve(res.value[0][0].text);
  6996. if (type == '2') {
  6997. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6998. } else if (type == '3') {
  6999. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7000. } else if (type == '4') {
  7001. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7002. }
  7003. } else {
  7004. if (type == '2') {
  7005. iframe.contentWindow.editor.minder.importData('json', '')
  7006. } else if (type == '3') {
  7007. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7008. } else if (type == '4') {
  7009. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7010. }
  7011. }
  7012. }
  7013. }
  7014. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7015. xmlhttp.send();
  7016. }
  7017. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7018. var xmlhttp;
  7019. var Mac, Sn, DeviceId
  7020. if (window.XMLHttpRequest) {
  7021. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7022. xmlhttp = new XMLHttpRequest();
  7023. } else {
  7024. // IE6, IE5 浏览器执行代码
  7025. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7026. }
  7027. xmlhttp.onreadystatechange = function() {
  7028. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7029. if (xmlhttp.response) {
  7030. // resolve(res.value[0][0].text);
  7031. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7032. // $(fileInput).val('');
  7033. // });
  7034. span.innerHTML = '上传成功'
  7035. setTimeout(() => {
  7036. loading.style.display = 'none'
  7037. }, 1000);
  7038. }
  7039. }
  7040. }
  7041. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7042. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7043. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7044. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7045. // 设置请求头,表示请求体的编码格式
  7046. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7047. // 设置请求体,使用url-encoded格式的数据
  7048. }
  7049. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7050. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7051. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7052. _userinfo = US.userInfo, //登录用户信息
  7053. _userid = US.userInfo.userid //登录用户id
  7054. let _iframe;
  7055. let _cid = cid,
  7056. _stage = stage,
  7057. _task = task,
  7058. _tool = tool;
  7059. var _jie = $$("div", {
  7060. "style": {
  7061. "position": "absolute",
  7062. "bottom": "50px",
  7063. "right": "50px",
  7064. "zIndex": "9999",
  7065. "backgroundColor": "#2268bc",
  7066. "color": "#fff",
  7067. "padding": "12px 20px",
  7068. "cursor": "pointer",
  7069. "borderRadius": "4px",
  7070. },
  7071. "innerHTML": "提交作业"
  7072. })
  7073. let aTool = ''
  7074. let _loading = document.createElement('div')
  7075. _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;"
  7076. // _loading.id = "";
  7077. let _lchild = document.createElement('div')
  7078. let _limg = document.createElement('img')
  7079. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7080. _limg.style = "width: 26px;margin-right: 10px;"
  7081. _lchild.appendChild(_limg)
  7082. let _lspan = document.createElement('span')
  7083. _lspan.innerHTML = "上传中..."
  7084. _lchild.appendChild(_lspan)
  7085. _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%);"
  7086. _loading.appendChild(_lchild)
  7087. var _box = $$('div', {
  7088. "style": {
  7089. "position": "relative",
  7090. "width": "100%",
  7091. "height": "100%",
  7092. },
  7093. })
  7094. _box.appendChild(_loading)
  7095. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7096. switch (str) {
  7097. case "CocoPi":
  7098. aTool = 57;
  7099. _iframe = $$("iframe", {
  7100. "allowpaymentrequest": "allowpaymentrequest",
  7101. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7102. "webkitallowfullscreen": "",
  7103. "mozallowfullscreen": "",
  7104. "frameborder": "no",
  7105. "border": "0",
  7106. "scrolling ": "no",
  7107. "style": {
  7108. "cssText": "border:0;width:100%;height:100%"
  7109. },
  7110. "src": "https://pi.cocorobo.cn/"
  7111. })
  7112. _box.appendChild(_iframe);
  7113. _box.appendChild(_jie);
  7114. _formdiv = new U.UF.UI.form(
  7115. "CocoPi",
  7116. _box, {
  7117. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7118. "style": {
  7119. "width": "90%",
  7120. "height": "90%",
  7121. "overflow": 'hidden'
  7122. },
  7123. "onresize": function() {}
  7124. }, {
  7125. closecallback: function() {}
  7126. }, {
  7127. "style": {
  7128. "height": "36px"
  7129. }
  7130. }).form; //创建窗体
  7131. _taskbar = {
  7132. "id": str + _formdiv.id,
  7133. "style": {
  7134. "backgroundImage": "url(/img/icon/cocopi.png)"
  7135. },
  7136. "name": "CocoPi",
  7137. "forms": _formdiv,
  7138. "click": function() {
  7139. U.MD.D.I.openApplication(str, obj, info);
  7140. }
  7141. }
  7142. break;
  7143. }
  7144. if (_iframe) {
  7145. if (str == 'CocoPi') {
  7146. _iframe = _formdiv.querySelector('iframe')
  7147. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7148. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7149. })
  7150. if (onloadListener) {
  7151. _iframe.contentDocument.location.reload()
  7152. } else {
  7153. _iframe.contentDocument.location.reload()
  7154. }
  7155. }
  7156. _jie.onclick = async() => {
  7157. let text = ''
  7158. if (aTool == 57) {
  7159. text = _iframe.contentWindow.getLoadXmlStr()
  7160. }
  7161. _loading.style.display = 'flex'
  7162. console.log(_loading);
  7163. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7164. _loading.style.display = 'none'
  7165. let _div = document.createElement('div')
  7166. _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;"
  7167. let _inner = document.createElement('div')
  7168. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7169. _inner.innerHTML = "上传成功"
  7170. _div.appendChild(_inner)
  7171. _iframe.contentWindow.window.document.body.appendChild(_div)
  7172. _div.onclick = () => {
  7173. _iframe.contentWindow.window.document.body.removeChild(_div)
  7174. }
  7175. setTimeout(() => {
  7176. _iframe.contentWindow.window.document.body.removeChild(_div)
  7177. }, 1000);
  7178. }, [], { "type": "POST", "withCredentials": true });
  7179. }
  7180. }
  7181. }
  7182. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7183. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7184. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7185. _userid = student.userid, //登录用户id
  7186. _username = student.student //用户名字
  7187. let _iframe;
  7188. let _cid = cid,
  7189. _stage = stage,
  7190. _task = task,
  7191. _tool = tool;
  7192. var _jie = $$("div", {
  7193. "style": {
  7194. "position": "absolute",
  7195. "bottom": "50px",
  7196. "right": "50px",
  7197. "zIndex": "9999",
  7198. "backgroundColor": "#2268bc",
  7199. "color": "#fff",
  7200. "padding": "12px 20px",
  7201. "cursor": "pointer",
  7202. "borderRadius": "4px",
  7203. },
  7204. "innerHTML": "提交作业"
  7205. })
  7206. let aTool = ''
  7207. let _loading = document.createElement('div')
  7208. _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;"
  7209. // _loading.id = "";
  7210. let _lchild = document.createElement('div')
  7211. let _limg = document.createElement('img')
  7212. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7213. _limg.style = "width: 26px;margin-right: 10px;"
  7214. _lchild.appendChild(_limg)
  7215. let _lspan = document.createElement('span')
  7216. _lspan.innerHTML = "上传中..."
  7217. _lchild.appendChild(_lspan)
  7218. _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%);"
  7219. _loading.appendChild(_lchild)
  7220. var _box = $$('div', {
  7221. "style": {
  7222. "position": "relative",
  7223. "width": "100%",
  7224. "height": "100%",
  7225. },
  7226. })
  7227. _box.appendChild(_loading)
  7228. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7229. switch (str) {
  7230. case "CocoPi":
  7231. aTool = 57;
  7232. _iframe = $$("iframe", {
  7233. "allowpaymentrequest": "allowpaymentrequest",
  7234. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7235. "webkitallowfullscreen": "",
  7236. "mozallowfullscreen": "",
  7237. "frameborder": "no",
  7238. "border": "0",
  7239. "scrolling ": "no",
  7240. "style": {
  7241. "cssText": "border:0;width:100%;height:100%"
  7242. },
  7243. "src": "https://pi.cocorobo.cn/"
  7244. })
  7245. _box.appendChild(_iframe);
  7246. _box.appendChild(_jie);
  7247. _formdiv = new U.UF.UI.form(
  7248. "CocoPi-" + _username,
  7249. _box, {
  7250. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7251. "style": {
  7252. "width": "90%",
  7253. "height": "90%",
  7254. "overflow": 'hidden'
  7255. },
  7256. "onresize": function() {}
  7257. }, {
  7258. closecallback: function() {}
  7259. }, {
  7260. "style": {
  7261. "height": "36px"
  7262. }
  7263. }).form; //创建窗体
  7264. _taskbar = {
  7265. "id": str + _formdiv.id,
  7266. "style": {
  7267. "backgroundImage": "url(/img/icon/cocopi.png)"
  7268. },
  7269. "name": "CocoPi",
  7270. "forms": _formdiv,
  7271. "click": function() {
  7272. U.MD.D.I.openApplication(str, obj, info);
  7273. }
  7274. }
  7275. break;
  7276. }
  7277. if (_iframe) {
  7278. if (str == 'CocoPi') {
  7279. _iframe = _formdiv.querySelector('iframe')
  7280. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7281. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7282. })
  7283. if (onloadListener) {
  7284. _iframe.contentDocument.location.reload()
  7285. } else {
  7286. _iframe.contentDocument.location.reload()
  7287. }
  7288. }
  7289. _jie.onclick = async() => {
  7290. let text = ''
  7291. if (aTool == 57) {
  7292. text = _iframe.contentWindow.getLoadXmlStr()
  7293. }
  7294. _loading.style.display = 'flex'
  7295. console.log(_loading);
  7296. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7297. _loading.style.display = 'none'
  7298. let _div = document.createElement('div')
  7299. _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;"
  7300. let _inner = document.createElement('div')
  7301. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7302. _inner.innerHTML = "上传成功"
  7303. _div.appendChild(_inner)
  7304. _iframe.contentWindow.window.document.body.appendChild(_div)
  7305. _div.onclick = () => {
  7306. _iframe.contentWindow.window.document.body.removeChild(_div)
  7307. }
  7308. setTimeout(() => {
  7309. _iframe.contentWindow.window.document.body.removeChild(_div)
  7310. }, 1000);
  7311. }, [], { "type": "POST", "withCredentials": true });
  7312. }
  7313. }
  7314. }
  7315. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7316. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7317. if (res.value[0].length > 0) {
  7318. if (atool == 57) {
  7319. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7320. }
  7321. } else {
  7322. if (atool == 57) {
  7323. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7324. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7325. }
  7326. }
  7327. }, [], { "type": "POST", "withCredentials": true });
  7328. }