DeskTop.js 444 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626
  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. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  611. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  612. ];
  613. //香海正覺蓮社佛教正覺中學
  614. U.MD.D.I.hkZJLSteacherDeskIcon = [
  615. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  616. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  617. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  618. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  619. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  620. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  621. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  624. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  625. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  626. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  627. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  628. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  629. ];
  630. //香海正覺蓮社佛教正覺中學
  631. U.MD.D.I.hkZJLSStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. ];
  636. //云海
  637. U.MD.D.I.yunhaiTeacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  645. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  646. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  647. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  648. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  649. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  650. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  651. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  652. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  653. ];
  654. //福田
  655. U.MD.D.I.heyuanTeacherDeskIcon = [
  656. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  657. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  658. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  659. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  660. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  661. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  662. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  663. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  664. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. ];
  667. //福田
  668. U.MD.D.I.heyuanAdminDeskIcon = [
  669. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  670. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  677. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. ];
  679. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  680. U.MD.D.I.szherTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. ];
  691. //dsei
  692. U.MD.D.I.dseiTeacherDeskIcon = [
  693. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  694. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  696. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  697. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  698. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  699. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  700. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  701. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  702. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  703. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  704. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  705. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  706. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  707. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  708. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  709. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  710. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  711. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  712. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  713. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  714. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  715. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  716. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  717. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  718. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  719. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  720. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  721. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  722. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  723. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  724. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  725. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  726. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  727. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  728. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  729. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  730. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  734. ];
  735. //dsei
  736. U.MD.D.I.dseiAdminDeskIcon = [
  737. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  738. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  739. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  740. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  746. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  747. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  748. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  749. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  750. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  751. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  752. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  753. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  754. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  755. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  756. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  757. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  758. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  759. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  760. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  761. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  762. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  763. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  764. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  765. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  766. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  767. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  768. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  769. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  770. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  771. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  772. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  773. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  774. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  775. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  776. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  777. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. ];
  779. //dsei
  780. U.MD.D.I.dseiStudentDeskIcon = [
  781. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  785. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. ];
  787. //未来教育基地
  788. U.MD.D.I.szjkyTeacherDeskIcon = [
  789. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  790. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  794. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  795. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  796. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  797. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  803. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  804. ];
  805. //未来教育基地
  806. U.MD.D.I.szjkyAdminDeskIcon = [
  807. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  808. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  812. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  813. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  814. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  815. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  816. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  817. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  818. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  819. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  821. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  822. ];
  823. //未来教育基地
  824. U.MD.D.I.szjkyStudentDeskIcon = [
  825. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  826. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  827. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  828. ];
  829. //成华教育局
  830. U.MD.D.I.chjyjTeacherDeskIcon = [
  831. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  832. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  838. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  841. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  842. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  843. ];
  844. //成华教育局chjyj
  845. U.MD.D.I.chjyjAdminDeskIcon = [
  846. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  847. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  848. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  849. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  850. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  851. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  852. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  853. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  854. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  855. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  857. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. ];
  860. //成华教育局chjyj
  861. U.MD.D.I.chjyjStudentDeskIcon = [
  862. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  863. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  864. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  865. ];
  866. //#region 桌面初始化a
  867. /**
  868. * 初始化桌面的起始函数
  869. *
  870. */
  871. U.MD.D.I.init = function() {
  872. if ($("#U_MD_D_K")[0]) {
  873. //初始化桌面图标
  874. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  875. // var clickUrl = ':12588/requestIp.php';
  876. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  877. // U.MD.D.I.Ip = data;
  878. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  879. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  880. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  881. // })
  882. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  883. // })
  884. }
  885. }
  886. /**
  887. * 模式切换
  888. *
  889. */
  890. U.MD.D.I.ModeCheck = function(type) {
  891. if (US.Config.type == type) {
  892. return
  893. }
  894. US.Config.type = type
  895. $('.U_PBL_Check .active')[0].className = ''
  896. if (type == 1) {
  897. $('.U_PBL_Check div')[0].className = 'active'
  898. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  899. } else {
  900. $('.U_PBL_Check div')[1].className = 'active'
  901. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  902. }
  903. //初始化桌面图标
  904. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  905. if (type == 2) {
  906. U.MD.D.I.openApplication("project")
  907. }
  908. }
  909. /**
  910. * 隐藏任务栏
  911. *
  912. * @param {element} 桌面元素
  913. */
  914. U.MD.D.I.hiddenTaskbar = function(el) {
  915. //任务栏位置变小
  916. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  917. //桌面的位置变大
  918. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  919. }
  920. /**
  921. * 隐藏任务栏
  922. *
  923. * @param {element} 桌面元素
  924. */
  925. U.MD.D.I.hiddenTaskbarout = function(el) {
  926. //任务栏位置变小
  927. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  928. //任务栏位置变化
  929. U.selectEl(el).css({ "bottom": "-60px" });
  930. //桌面的位置变大
  931. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  932. }
  933. }
  934. /**
  935. * 初始化打印桌面图标
  936. *
  937. * @param {element} 桌面元素
  938. */
  939. U.MD.D.I.initDesktopIcons = function(el, type) {
  940. var i, //用于循环
  941. _content, //桌面图标元素
  942. _iconcontent, //桌面图标元素
  943. _frag = $$("frag"), //定义一个碎片元素
  944. _type = US.userInfo.type,
  945. _org = US.userInfo.org,
  946. _oid = US.userInfo.organizeid,
  947. _role = US.userInfo.role,
  948. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  949. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  950. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  951. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  952. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  953. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  954. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  955. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  956. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  957. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  958. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  959. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  960. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  961. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  962. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  963. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  964. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  965. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  966. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  967. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  968. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  969. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  970. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  971. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  972. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  973. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  974. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  975. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  976. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  977. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  978. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  979. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  980. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  981. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  982. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  983. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  984. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  985. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  986. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  987. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  988. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  989. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  990. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  991. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  992. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  993. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  994. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  995. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  996. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  997. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  998. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  999. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1000. 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'];
  1001. 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'];
  1002. //清楚桌面图标
  1003. el.innerHTML = "";
  1004. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1005. _teacherDesktopIconInfo.push(
  1006. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1007. { "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)" } },
  1008. )
  1009. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1010. }
  1011. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1012. _teacherDesktopIconInfo.push(
  1013. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1014. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1015. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1016. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1017. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1018. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1019. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1021. )
  1022. }
  1023. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1024. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1025. if (el.Name == '项目管理') {
  1026. el.Name = 'PBL项目'
  1027. }
  1028. return el
  1029. })
  1030. }
  1031. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1032. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1033. return el.Name != '魔盒识字' && el.Name != '24点'
  1034. })
  1035. }
  1036. 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) {
  1037. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1038. }
  1039. //循环创建桌面图标
  1040. if (type == 1) {
  1041. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1042. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1043. _content = $$("div", {
  1044. className: "U_MD_D_KO",
  1045. "onmousedown": U.UF.C.closure(function(obj) {
  1046. //防止拖动图标即打开了桌面应用
  1047. U.MD.D.click(this, obj);
  1048. }, [_studentDesktopIconInfo[i]]),
  1049. "onclick": U.UF.C.closure(function(obj) {
  1050. //防止拖动图标即打开了桌面应用
  1051. U.MD.D.click(this, obj);
  1052. }, [_studentDesktopIconInfo[i]])
  1053. }, _frag); //
  1054. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1055. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1056. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1057. }
  1058. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1059. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1060. _content = $$("div", {
  1061. className: "U_MD_D_KO",
  1062. "onmousedown": U.UF.C.closure(function(obj) {
  1063. //防止拖动图标即打开了桌面应用
  1064. U.MD.D.click(this, obj);
  1065. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1066. "onclick": U.UF.C.closure(function(obj) {
  1067. //防止拖动图标即打开了桌面应用
  1068. U.MD.D.click(this, obj);
  1069. }, [_hkZJLSStudentDeskIconInfo[i]])
  1070. }, _frag); //
  1071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1074. } //
  1075. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1076. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1077. _content = $$("div", {
  1078. className: "U_MD_D_KO",
  1079. "onmousedown": U.UF.C.closure(function(obj) {
  1080. //防止拖动图标即打开了桌面应用
  1081. U.MD.D.click(this, obj);
  1082. }, [_chjyjStudentDeskIconInfo[i]]),
  1083. "onclick": U.UF.C.closure(function(obj) {
  1084. //防止拖动图标即打开了桌面应用
  1085. U.MD.D.click(this, obj);
  1086. }, [_chjyjStudentDeskIconInfo[i]])
  1087. }, _frag); //
  1088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1091. }
  1092. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1093. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1094. _content = $$("div", {
  1095. className: "U_MD_D_KO",
  1096. "onmousedown": U.UF.C.closure(function(obj) {
  1097. //防止拖动图标即打开了桌面应用
  1098. U.MD.D.click(this, obj);
  1099. }, [_szjkyStudentDeskIconInfo[i]]),
  1100. "onclick": U.UF.C.closure(function(obj) {
  1101. //防止拖动图标即打开了桌面应用
  1102. U.MD.D.click(this, obj);
  1103. }, [_szjkyStudentDeskIconInfo[i]])
  1104. }, _frag); //
  1105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1108. }
  1109. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1110. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1111. _content = $$("div", {
  1112. className: "U_MD_D_KO",
  1113. "onmousedown": U.UF.C.closure(function(obj) {
  1114. //防止拖动图标即打开了桌面应用
  1115. U.MD.D.click(this, obj);
  1116. }, [_dseiStudentDeskIconInfo[i]]),
  1117. "onclick": U.UF.C.closure(function(obj) {
  1118. //防止拖动图标即打开了桌面应用
  1119. U.MD.D.click(this, obj);
  1120. }, [_dseiStudentDeskIconInfo[i]])
  1121. }, _frag); //
  1122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1125. }
  1126. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1127. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1128. _content = $$("div", {
  1129. className: "U_MD_D_KO",
  1130. "onmousedown": U.UF.C.closure(function(obj) {
  1131. //防止拖动图标即打开了桌面应用
  1132. U.MD.D.click(this, obj);
  1133. }, [_siesStudentDeskIconInfo[i]]),
  1134. "onclick": U.UF.C.closure(function(obj) {
  1135. //防止拖动图标即打开了桌面应用
  1136. U.MD.D.click(this, obj);
  1137. }, [_siesStudentDeskIconInfo[i]])
  1138. }, _frag); //
  1139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1142. }
  1143. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1144. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1145. _content = $$("div", {
  1146. className: "U_MD_D_KO",
  1147. "onmousedown": U.UF.C.closure(function(obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_hkStudentDeskIconInfo[i]]),
  1151. "onclick": U.UF.C.closure(function(obj) {
  1152. //防止拖动图标即打开了桌面应用
  1153. U.MD.D.click(this, obj);
  1154. }, [_hkStudentDeskIconInfo[i]])
  1155. }, _frag); //
  1156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1159. }
  1160. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1161. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1162. _content = $$("div", {
  1163. className: "U_MD_D_KO",
  1164. "onmousedown": U.UF.C.closure(function(obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_studentDesktopIconInfo[i]]),
  1168. "onclick": U.UF.C.closure(function(obj) {
  1169. //防止拖动图标即打开了桌面应用
  1170. U.MD.D.click(this, obj);
  1171. }, [_studentDesktopIconInfo[i]])
  1172. }, _frag); //
  1173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1176. }
  1177. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1178. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1179. _content = $$("div", {
  1180. className: "U_MD_D_KO",
  1181. "onmousedown": U.UF.C.closure(function(obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_tcStudentDeskIconInfo[i]]),
  1185. "onclick": U.UF.C.closure(function(obj) {
  1186. //防止拖动图标即打开了桌面应用
  1187. U.MD.D.click(this, obj);
  1188. }, [_tcStudentDeskIconInfo[i]])
  1189. }, _frag); //
  1190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1193. }
  1194. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1195. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1196. _content = $$("div", {
  1197. className: "U_MD_D_KO",
  1198. "onmousedown": U.UF.C.closure(function(obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_szscStudentDeskIconInfo[i]]),
  1202. "onclick": U.UF.C.closure(function(obj) {
  1203. //防止拖动图标即打开了桌面应用
  1204. U.MD.D.click(this, obj);
  1205. }, [_szscStudentDeskIconInfo[i]])
  1206. }, _frag); //
  1207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1210. }
  1211. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1212. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1213. _content = $$("div", {
  1214. className: "U_MD_D_KO",
  1215. "onmousedown": U.UF.C.closure(function(obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_studentDesktopIconInfo3[i]]),
  1219. "onclick": U.UF.C.closure(function(obj) {
  1220. //防止拖动图标即打开了桌面应用
  1221. U.MD.D.click(this, obj);
  1222. }, [_studentDesktopIconInfo3[i]])
  1223. }, _frag); //
  1224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1227. }
  1228. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1229. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1230. _content = $$("div", {
  1231. className: "U_MD_D_KO",
  1232. "onmousedown": U.UF.C.closure(function(obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_studentDesktopIconInfo2[i]]),
  1236. "onclick": U.UF.C.closure(function(obj) {
  1237. //防止拖动图标即打开了桌面应用
  1238. U.MD.D.click(this, obj);
  1239. }, [_studentDesktopIconInfo2[i]])
  1240. }, _frag); //
  1241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1244. }
  1245. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1246. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1247. _content = $$("div", {
  1248. className: "U_MD_D_KO",
  1249. "onmousedown": U.UF.C.closure(function(obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_wanketeacherDesktopIconInfo[i]]),
  1253. "onclick": U.UF.C.closure(function(obj) {
  1254. //防止拖动图标即打开了桌面应用
  1255. U.MD.D.click(this, obj);
  1256. }, [_wanketeacherDesktopIconInfo[i]])
  1257. }, _frag); //
  1258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1261. }
  1262. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1263. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1264. _content = $$("div", {
  1265. className: "U_MD_D_KO",
  1266. "onmousedown": U.UF.C.closure(function(obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_wankeAdminDesktopIconInfo[i]]),
  1270. "onclick": U.UF.C.closure(function(obj) {
  1271. //防止拖动图标即打开了桌面应用
  1272. U.MD.D.click(this, obj);
  1273. }, [_wankeAdminDesktopIconInfo[i]])
  1274. }, _frag); //
  1275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1278. }
  1279. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1280. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1281. _content = $$("div", {
  1282. className: "U_MD_D_KO",
  1283. "onmousedown": U.UF.C.closure(function(obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_teacherDesktopIconInfo2[i]]),
  1287. "onclick": U.UF.C.closure(function(obj) {
  1288. //防止拖动图标即打开了桌面应用
  1289. U.MD.D.click(this, obj);
  1290. }, [_teacherDesktopIconInfo2[i]])
  1291. }, _frag); //
  1292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1295. }
  1296. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1297. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1298. _content = $$("div", {
  1299. className: "U_MD_D_KO",
  1300. "onmousedown": U.UF.C.closure(function(obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_lotechTeacherDeskIconInfo[i]]),
  1304. "onclick": U.UF.C.closure(function(obj) {
  1305. //防止拖动图标即打开了桌面应用
  1306. U.MD.D.click(this, obj);
  1307. }, [_lotechTeacherDeskIconInfo[i]])
  1308. }, _frag); //
  1309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1312. }//
  1313. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1314. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1315. _content = $$("div", {
  1316. className: "U_MD_D_KO",
  1317. "onmousedown": U.UF.C.closure(function(obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_siesTeacherDeskIconInfo[i]]),
  1321. "onclick": U.UF.C.closure(function(obj) {
  1322. //防止拖动图标即打开了桌面应用
  1323. U.MD.D.click(this, obj);
  1324. }, [_siesTeacherDeskIconInfo[i]])
  1325. }, _frag); //
  1326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1329. }
  1330. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1331. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1332. _content = $$("div", {
  1333. className: "U_MD_D_KO",
  1334. "onmousedown": U.UF.C.closure(function(obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_longhuaTeacherDeskIconInfo[i]]),
  1338. "onclick": U.UF.C.closure(function(obj) {
  1339. //防止拖动图标即打开了桌面应用
  1340. U.MD.D.click(this, obj);
  1341. }, [_longhuaTeacherDeskIconInfo[i]])
  1342. }, _frag); //
  1343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1346. }
  1347. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1348. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1349. _content = $$("div", {
  1350. className: "U_MD_D_KO",
  1351. "onmousedown": U.UF.C.closure(function(obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1355. "onclick": U.UF.C.closure(function(obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_yunhaiTeacherDeskIconInfo[i]])
  1359. }, _frag); //
  1360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1363. } //_hkStudentDeskIconInfo
  1364. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1365. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1366. _content = $$("div", {
  1367. className: "U_MD_D_KO",
  1368. "onmousedown": U.UF.C.closure(function(obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1372. "onclick": U.UF.C.closure(function(obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1376. }, _frag); //
  1377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1380. }
  1381. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1382. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1383. _content = $$("div", {
  1384. className: "U_MD_D_KO",
  1385. "onmousedown": U.UF.C.closure(function(obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_hkTeacherDeskIconInfo[i]]),
  1389. "onclick": U.UF.C.closure(function(obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_hkTeacherDeskIconInfo[i]])
  1393. }, _frag); //
  1394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1397. }
  1398. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1399. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1400. _content = $$("div", {
  1401. className: "U_MD_D_KO",
  1402. "onmousedown": U.UF.C.closure(function(obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_gdjgAdminDeskIconInfo[i]]),
  1406. "onclick": U.UF.C.closure(function(obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_gdjgAdminDeskIconInfo[i]])
  1410. }, _frag); //
  1411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1414. }
  1415. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1416. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1417. _content = $$("div", {
  1418. className: "U_MD_D_KO",
  1419. "onmousedown": U.UF.C.closure(function(obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_gdjgTeacherDeskIconInfo[i]]),
  1423. "onclick": U.UF.C.closure(function(obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_gdjgTeacherDeskIconInfo[i]])
  1427. }, _frag); //
  1428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1431. }
  1432. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1433. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1434. _content = $$("div", {
  1435. className: "U_MD_D_KO",
  1436. "onmousedown": U.UF.C.closure(function(obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_szherTeacherDeskIconInfo[i]]),
  1440. "onclick": U.UF.C.closure(function(obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_szherTeacherDeskIconInfo[i]])
  1444. }, _frag); //
  1445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1448. }
  1449. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1450. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function(obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_heyuannAdminDeskIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function(obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_heyuannAdminDeskIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1465. }
  1466. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1467. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function(obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_heyuanTeacherDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function(obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_heyuanTeacherDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1482. } //
  1483. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1484. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function(obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_dseiAdminDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function(obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_dseiAdminDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1499. }
  1500. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1501. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function(obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_dseiTeacherDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function(obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_dseiTeacherDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1516. } //
  1517. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1518. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function(obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_chjyjAdminDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function(obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_chjyjAdminDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1533. }//
  1534. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1535. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function(obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_chjyjTeacherDeskIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function(obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_chjyjTeacherDeskIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1550. }
  1551. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1552. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function(obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_szjkyAdminDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function(obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_szjkyAdminDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1567. }//
  1568. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1569. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function(obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_szjkyTeacherDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function(obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szjkyTeacherDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1586. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function(obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_futianAdminDeskIconInfo[i]]),
  1593. "onclick": U.UF.C.closure(function(obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_futianAdminDeskIconInfo[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1601. }
  1602. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1603. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function(obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_futianTeacherDeskIconInfo[i]]),
  1610. "onclick": U.UF.C.closure(function(obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_futianTeacherDeskIconInfo[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1618. }
  1619. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1620. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function(obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_MingdeTeacherDeskIcon[i]]),
  1627. "onclick": U.UF.C.closure(function(obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_MingdeTeacherDeskIcon[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1635. }
  1636. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1637. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function(obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_lhsAdminDesktopIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function(obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_lhsAdminDesktopIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1652. }
  1653. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1654. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function(obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_lhsteacherDesktopIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function(obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_lhsteacherDesktopIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1671. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function(obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1678. "onclick": U.UF.C.closure(function(obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_zhoujiateacherDesktopIconInfo[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1686. }
  1687. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1688. for (i = 0; i < _hanDeskIcon.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function(obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_hanDeskIcon[i]]),
  1695. "onclick": U.UF.C.closure(function(obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_hanDeskIcon[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1703. }
  1704. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1705. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function(obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_orgStemDeskIcon[i]]),
  1712. "onclick": U.UF.C.closure(function(obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_orgStemDeskIcon[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1720. }
  1721. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1722. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function(obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_szulsDeskIcon[i]]),
  1729. "onclick": U.UF.C.closure(function(obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_szulsDeskIcon[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1737. }
  1738. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1739. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function(obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_orgDesktopIconInfo[i]]),
  1746. "onclick": U.UF.C.closure(function(obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_orgDesktopIconInfo[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1754. }
  1755. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1756. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function(obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_schoolDesktopIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function(obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_schoolDesktopIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1773. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function(obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_GMteacherDesktopIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function(obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_GMteacherDesktopIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1790. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function(obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_SONGteacherDesktopIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function(obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_SONGteacherDesktopIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1805. }
  1806. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1807. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function(obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_GMstudentDesktopIconInfo[i]]),
  1814. "onclick": U.UF.C.closure(function(obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_GMstudentDesktopIconInfo[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1824. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function(obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_tcTeacherDeskIconInfo[i]]),
  1831. "onclick": U.UF.C.closure(function(obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_tcTeacherDeskIconInfo[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1841. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function(obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_tcOrganizerDeskIconInfo[i]]),
  1848. "onclick": U.UF.C.closure(function(obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_tcOrganizerDeskIconInfo[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1858. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function(obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_szscTeacherDeskIconInfo[i]]),
  1865. "onclick": U.UF.C.closure(function(obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_szscTeacherDeskIconInfo[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1873. }
  1874. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1875. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function(obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_szscOrganizerDeskIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function(obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_szscOrganizerDeskIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. } else {
  1892. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. "onmousedown": U.UF.C.closure(function(obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_teacherDesktopIconInfo[i]]),
  1899. "onclick": U.UF.C.closure(function(obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_teacherDesktopIconInfo[i]])
  1903. }, _frag); //
  1904. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1905. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1906. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1907. }
  1908. }
  1909. } else {
  1910. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1911. _content = $$("div", {
  1912. className: "U_MD_D_KO",
  1913. style: { 'width': '124px', 'height': '145px' },
  1914. "onmousedown": U.UF.C.closure(function(obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_easyDesktopIconInfo[i]]),
  1918. "onclick": U.UF.C.closure(function(obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_easyDesktopIconInfo[i]])
  1922. }, _frag); //
  1923. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1924. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1925. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1926. }
  1927. }
  1928. if (type == 1) {
  1929. //加载好后给图标定位
  1930. U.MD.D.iconPostion($(_frag).Child());
  1931. } else {
  1932. //加载好后给图标定位
  1933. U.MD.D.iconPostion2($(_frag).Child());
  1934. }
  1935. //把图标加载到页面
  1936. el.appendChild(_frag);
  1937. }
  1938. /**
  1939. * 显示任务栏
  1940. *
  1941. * @param {element} 桌面元素
  1942. */
  1943. U.MD.D.I.displayTaskbar = function(el) {
  1944. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1945. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1946. //任务栏位置变化
  1947. U.selectEl(el).css({ "bottom": "0px" });
  1948. //桌面位置变话
  1949. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1950. }
  1951. }
  1952. //#region 桌面图标拖动逻辑
  1953. /**
  1954. * 桌面排列图标
  1955. *
  1956. * @param {element} 桌面元素
  1957. * @param {object} 上下相距的距离
  1958. * @param {object} 左右相距的距离
  1959. * @return {object} 命名空间
  1960. */
  1961. U.MD.D.iconPostion = function(childs, top, left) {
  1962. var i; //用于循环处理
  1963. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1964. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1965. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1966. for (i = 0; i < childs.length; i++) {
  1967. //如果竖排top超过了范围处理
  1968. if (top + 95 > US.height - 10) {
  1969. //left超过了页面范围处理,则向上重叠打印处理
  1970. if ((left + 180) > US.width) {
  1971. top -= 110;
  1972. left -= 90;
  1973. }
  1974. //没有超过范围,那么left+90添加到下一个竖排打印
  1975. else {
  1976. left += 90;
  1977. top = 15;
  1978. };
  1979. }
  1980. //给图标的位置赋值
  1981. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1982. if (i < childs.length - 1) {
  1983. //页面图标每次向下加95
  1984. top += 95;
  1985. }
  1986. }
  1987. //返回最后调用的图标的位置
  1988. return [top, left];
  1989. }
  1990. /**
  1991. * 桌面排列图标
  1992. *
  1993. * @param {element} 桌面元素
  1994. * @param {object} 上下相距的距离
  1995. * @param {object} 左右相距的距离
  1996. * @return {object} 命名空间
  1997. */
  1998. U.MD.D.iconPostion2 = function(childs, top, left) {
  1999. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2000. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2001. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2002. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2003. for (i = 0; i < childs.length; i++) {
  2004. //如果竖排top超过了范围处理
  2005. if (left + 150 > US.width - 10) {
  2006. //left超过了页面范围处理,则向上重叠打印处理
  2007. if ((top + 180) > US.Height) {
  2008. top -= 150;
  2009. left -= 150;
  2010. }
  2011. //没有超过范围,那么left+90添加到下一个竖排打印
  2012. else {
  2013. top += 150;
  2014. left = ol;
  2015. };
  2016. }
  2017. //给图标的位置赋值
  2018. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2019. if (i < childs.length - 1) {
  2020. //页面图标每次向下加95
  2021. left += 150;
  2022. }
  2023. }
  2024. //返回最后调用的图标的位置
  2025. return [top, left];
  2026. }
  2027. /**
  2028. * 桌面点击事件逻辑
  2029. *
  2030. * @param {element} 桌面元素
  2031. * @param {object} 上下相距的距离
  2032. * @param {object} 左右相距的距离
  2033. * @return {object} 命名空间
  2034. */
  2035. U.MD.D.click = function(el, obj) {
  2036. var _buttonnumber = event.button; //点击的按钮的事件值
  2037. var _userinfo = US.userInfo;
  2038. U.UF.EV.stopBubble(); //阻止向上冒泡
  2039. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2040. if (_buttonnumber < 2) {
  2041. //如果是click事件的处理
  2042. if (event.type == "click") {
  2043. //如果元素在mousemove事件中没有移动则出发click事件
  2044. if (!U.MD.D.I.IsDrag) {
  2045. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2046. U.alert("请先登录您的账号!");
  2047. setTimeout(() => {
  2048. U.MD.U.L.login();
  2049. }, 2000);
  2050. } else {
  2051. //打开应用处理
  2052. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2053. }
  2054. }
  2055. }
  2056. //如果是mouse事件的处理
  2057. else {
  2058. if (US.Config.type == '1') {
  2059. //拖动处理,添加拖动和拖动结束事件
  2060. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2061. }
  2062. }
  2063. U.MD.D.I.IsDrag = false;
  2064. }
  2065. }
  2066. /**
  2067. * 拖动的处理
  2068. *
  2069. */
  2070. U.MD.D.iconMove = function() {
  2071. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2072. U.MD.D.I.IsDrag = true;
  2073. }
  2074. /**
  2075. * 拖动结束后,这里是定位处理,以网状的形式定位
  2076. *
  2077. * @param {element} 拖动的元素
  2078. * @return {object} 命名空间
  2079. */
  2080. U.MD.D.iconUp = function(el) {
  2081. var _top = 15,
  2082. _left = 20,
  2083. _margin,
  2084. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2085. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2086. if (_positioninfo["OT"] > 15) {
  2087. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2088. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2089. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2090. }
  2091. if (_positioninfo["OL"] > 20) {
  2092. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2093. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2094. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2095. }
  2096. //while循环判断么一个重叠的元素
  2097. do {
  2098. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2099. _top = _positioninfo[0] + 95; //得到定位后的top
  2100. _left = _positioninfo[1]; //得到定位后的left
  2101. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2102. }
  2103. /**
  2104. * 判断拖动后图标是否重叠
  2105. *
  2106. * @param {element} 拖动的元素
  2107. * @param {element} 桌面所有的元素
  2108. * @param {array} 拖动元素的位置
  2109. ----------[0] 上 top
  2110. ----------[1] 左 left
  2111. * @return {object} 命名空间
  2112. */
  2113. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2114. //循环所有的图标
  2115. for (var i = 0; i < childs.length; i++) {
  2116. //判断有没有和该图标诶子重叠的元素
  2117. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2118. return childs[i]; //如果有返回
  2119. }
  2120. }
  2121. }
  2122. //#endregion
  2123. //#endregion
  2124. //#region 桌面应用
  2125. /**
  2126. * 打开应用
  2127. *
  2128. * @param {string} 类型
  2129. -----------------Disk 网盘系统
  2130. -----------------PDisk 学习系统网盘
  2131. -----------------Poto 图片
  2132. -----------------Video 视频
  2133. -----------------Music 音乐
  2134. -----------------Word word
  2135. -----------------Excel excel
  2136. -----------------Txt 记事本
  2137. -----------------PB 学习系统
  2138. -----------------Blog 朋友圈系统
  2139. -----------------FTP ftp系统
  2140. -----------------Group 好友群
  2141. -----------------SY 首页系统
  2142. -----------------Set 个人设置
  2143. -----------------XSet 系统设置
  2144. -----------------App 我们所有的app
  2145. -----------------BC c.1473.cn 平台
  2146. -----------------CWeb d.1473.cn 变成平台
  2147. -----------------其他的外联系统 我们统一用iframe打开
  2148. * @param {array} 类型
  2149. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2150. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2151. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2152. 如果第一个参数为其他,则无第二个参数
  2153. * @returns {array}
  2154. */
  2155. window.addEventListener('message', function(e) { // 监听 message 事件
  2156. // alert(e.data.type);
  2157. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2158. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2159. //3是展示全部阶段 2学生 1老师 4专家
  2160. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2161. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2162. //3是展示全部阶段 2学生 1老师 4专家
  2163. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2164. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2165. //3是展示全部阶段 2学生 1老师 4专家
  2166. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2167. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2168. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2170. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2171. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2172. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2174. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2176. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2177. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2178. //3是展示全部阶段 2学生 1老师 4专家
  2179. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2180. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2181. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2182. U.MD.D.I.selectUser();
  2183. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2184. var _formel = document.getElementById("study");
  2185. U.UF.F.windowZooming(_formel);
  2186. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2187. var _formel = document.getElementById("studyDetail");
  2188. U.UF.F.windowZooming(_formel);
  2189. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2190. var _formel = document.getElementById("studyDetail");
  2191. U.UF.F.windowZooming(_formel);
  2192. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2193. var _formel = document.getElementById("studentStudy");
  2194. U.UF.F.windowZooming(_formel);
  2195. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2196. // var _formel = document.getElementById("study");
  2197. //如果最大化了,那么就把他缩小
  2198. // if (_formel.ismaximize) {
  2199. // return;
  2200. // }
  2201. // U.UF.F.windowZooming(_formel);
  2202. // U.UF.F.topWindow(_formel);
  2203. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2204. // var _formel = document.getElementById("studyDetail");
  2205. //如果最大化了,那么就把他缩小
  2206. // if (_formel.ismaximize) {
  2207. // return;
  2208. // }
  2209. // U.UF.F.windowZooming(_formel);
  2210. // U.UF.F.topWindow(_formel);
  2211. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2212. // var _formel = document.getElementById("studentStudy");
  2213. // if (_formel.ismaximize) {
  2214. // return;
  2215. // }
  2216. // U.UF.F.windowZooming(_formel);
  2217. // U.UF.F.topWindow(_formel);
  2218. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2219. var _formel = document.getElementById("study");
  2220. // if (_formel.ismaximize) {
  2221. // return;
  2222. // }
  2223. // U.UF.F.windowZooming(_formel);
  2224. U.UF.F.topWindow(_formel);
  2225. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2226. var _formel = document.getElementById("studentIndex");
  2227. U.UF.F.windowZooming(_formel);
  2228. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2229. var _formel = document.getElementById("studyDetailS");
  2230. U.UF.F.windowZooming(_formel);
  2231. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2232. var _formel = document.getElementById("studioIndex");
  2233. U.UF.F.windowZooming(_formel);
  2234. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2235. var _formel = document.getElementById("studyDetailStudio");
  2236. U.UF.F.windowZooming(_formel);
  2237. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2238. var _formel = document.getElementById("studyDetailStudio");
  2239. U.UF.F.windowZooming(_formel);
  2240. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2241. var _formel = document.getElementById("studyDetailNT");
  2242. U.UF.F.windowZooming(_formel);
  2243. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2244. var _formel = document.getElementById("studyDetailS");
  2245. U.UF.F.windowZooming(_formel);
  2246. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2247. var _formel = document.getElementById("studyDetailS");
  2248. U.UF.F.topWindow(_formel);
  2249. } else if (e.data.tools && e.data.tools == "1") {
  2250. // U.MD.D.I.openApplication("whiteboard")
  2251. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2252. } else if (e.data.tools && e.data.tools == "2") {
  2253. U.MD.D.I.openApplication("note")
  2254. } else if (e.data.tools && e.data.tools == "3") {
  2255. // U.MD.D.I.openApplication("mind")
  2256. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2257. } else if (e.data.tools && e.data.tools == "4") {
  2258. U.MD.D.I.openApplication("investigation")
  2259. } else if (e.data.tools && e.data.tools == "6") {
  2260. // U.MD.D.I.openApplication("doc")
  2261. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2262. } else if (e.data.tools && e.data.tools == "7") {
  2263. // U.MD.D.I.openApplication("mindNetwork")
  2264. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2265. } else if (e.data.tools && e.data.tools == "8") {
  2266. U.MD.D.I.openApplication("library")
  2267. } else if (e.data.tools && e.data.tools == "17") {
  2268. U.MD.D.I.openApplication("stuLibrary")
  2269. } else if (e.data.tools && e.data.tools == "18") {
  2270. U.MD.D.I.openApplication("train")
  2271. } else if (e.data.tools && e.data.tools == "21") {
  2272. U.MD.D.I.openApplication("program")
  2273. } else if (e.data.tools && e.data.tools == "22") {
  2274. U.MD.D.I.openApplication("AIprogram2")
  2275. } else if (e.data.tools && e.data.tools == "23") {
  2276. U.MD.D.I.openApplication("Pythonprogram")
  2277. } else if (e.data.tools && e.data.tools == "24") {
  2278. U.MD.D.I.openApplication("AIprogram")
  2279. } else if (e.data.tools && e.data.tools == "25") {
  2280. U.MD.D.I.openApplication("sys")
  2281. } else if (e.data.tools && e.data.tools == "26") {
  2282. // U.MD.D.I.openApplication("courseDesign")
  2283. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2284. } else if (e.data.tools && e.data.tools == "31") {
  2285. U.MD.D.I.openApplication("netWorkPanel")
  2286. } else if (e.data.tools && e.data.tools == "32") {
  2287. U.MD.D.I.openApplication("codeEdit")
  2288. } else if (e.data.tools && e.data.tools == "57") {
  2289. U.MD.D.I.openApplication("CocoPi")
  2290. } else if (e.data.tools && e.data.tools == "63") {
  2291. U.MD.D.I.openApplication("Wood")
  2292. } else if (e.data.tools && e.data.tools == "58") {
  2293. U.MD.D.I.openApplication("car")
  2294. } else if (e.data.tools && e.data.tools == "59") {
  2295. U.MD.D.I.openApplication("lineSearch")
  2296. } else if (e.data.tools && e.data.tools == "60") {
  2297. U.MD.D.I.openApplication("deepLearning")
  2298. } else if (e.data.tools && e.data.tools == "61") {
  2299. U.MD.D.I.openApplication("allHistory")
  2300. } else if (e.data.tools && e.data.tools == "28") {
  2301. U.MD.D.I.openApplication("translation")
  2302. } else if (e.data.tools && e.data.tools == "37") {
  2303. U.MD.D.I.openApplication("mohe")
  2304. } else if (e.data.tools && e.data.tools == "38") {
  2305. U.MD.D.I.openApplication("24game")
  2306. } else if (e.data.tools && e.data.tools == "39") {
  2307. U.MD.D.I.openApplication("GeoGebra")
  2308. } else if (e.data.tools && e.data.tools == "43") {
  2309. U.MD.D.I.openApplication("studentEvaluate")
  2310. } else if (e.data.tools && e.data.tools == "44") {
  2311. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2312. } else if (e.data.tools && e.data.tools == "46") {
  2313. U.MD.D.I.openApplication("project")
  2314. } else if (e.data.tools && e.data.tools == "1s") {
  2315. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2316. } else if (e.data.tools && e.data.tools == "3s") {
  2317. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2318. } else if (e.data.tools && e.data.tools == "6s") {
  2319. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2320. } else if (e.data.tools && e.data.tools == "1studio") {
  2321. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "3studio") {
  2323. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "6studio") {
  2325. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "3y") {
  2327. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "1y") {
  2329. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2330. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2331. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2332. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2333. U.MD.D.I.openApplication("AIAnalyse")
  2334. } else if (e.data.tools && e.data.tools == "1teacher") {
  2335. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2336. } else if (e.data.tools && e.data.tools == "3teacher") {
  2337. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2338. } else if (e.data.tools && e.data.tools == "7teacher") {
  2339. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2340. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2341. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2342. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2343. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2344. } else if (e.data.tools && e.data.tools == "1E") {
  2345. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2346. } else if (e.data.tools && e.data.tools == "3E") {
  2347. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2348. } else if (e.data.tools && e.data.tools == "57y") {
  2349. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2350. } else if (e.data.tools && e.data.tools == "57u") {
  2351. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2352. } else if (e.data.tools && e.data.tools == "57teacher") {
  2353. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2354. } else if (e.data.tools && e.data.tools == "64") {
  2355. U.MD.D.I.openApplication("AIChat")
  2356. } else if (e.data.tools && e.data.tools == "66") {
  2357. U.MD.D.I.openApplication("formulaEdi")
  2358. } else if (e.data.tools && e.data.tools == "67") {
  2359. U.MD.D.I.openApplication("molStr")
  2360. } else if (e.data.tools && e.data.tools == "68") {
  2361. U.MD.D.I.openApplication("timeAxis")
  2362. } else if (e.data.tools && e.data.tools == "openCourse") {
  2363. let _data = {
  2364. typea:e.data.typea || '',
  2365. typeb:e.data.typeb || '',
  2366. typed:e.data.typed || '',
  2367. }
  2368. U.MD.D.I.openInApplication("index", _data)
  2369. }
  2370. });
  2371. U.MD.D.I.selectUser = function() {
  2372. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2373. if (res.value[0].length > 0) {
  2374. US.userInfo = res.value[0][0];
  2375. $(".userName")[0].innerHTML = US.userInfo.username;
  2376. }
  2377. }, [], { "type": "GET", "withCredentials": true });
  2378. }
  2379. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2380. var _userinfo = US.userInfo, //登录用户信息
  2381. _userid = US.userInfo.userid, //登录用户id
  2382. _oid = _userinfo.organizeid,
  2383. _type = US.userInfo.type,
  2384. _org = US.userInfo.org,
  2385. _role = US.userInfo.role,
  2386. _classId = US.userInfo.classid;
  2387. if (_type == 4) {
  2388. tType = 4
  2389. }
  2390. switch (str) {
  2391. case "studyDetailNT": //无终端模式
  2392. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2393. setTimeout(() => {
  2394. U.MD.U.L.login();
  2395. }, 2000);
  2396. } else {
  2397. _formdiv = new U.UF.UI.form(
  2398. "课程详情",
  2399. $$("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 }), {
  2400. "id": "studyDetailNT",
  2401. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2402. "onresize": function() {}
  2403. }, {
  2404. closecallback: function() {}
  2405. }, { "style": { "height": "36px" } }).form; //创建窗体
  2406. _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); } }
  2407. break;
  2408. }
  2409. case "studyDetail":
  2410. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2411. setTimeout(() => {
  2412. U.MD.U.L.login();
  2413. }, 2000);
  2414. } else {
  2415. _formdiv = new U.UF.UI.form(
  2416. "课程详情",
  2417. $$("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 }), {
  2418. "id": "studyDetail",
  2419. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2420. "onresize": function() {}
  2421. }, {
  2422. closecallback: function() {}
  2423. }, { "style": { "height": "36px" } }).form; //创建窗体
  2424. _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); } }
  2425. break;
  2426. }
  2427. case "studyDetailS":
  2428. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2429. setTimeout(() => {
  2430. U.MD.U.L.login();
  2431. }, 2000);
  2432. } else {
  2433. _formdiv = new U.UF.UI.form(
  2434. "项目详情",
  2435. $$("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 }), {
  2436. "id": "studyDetailS",
  2437. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2438. "onresize": function() {}
  2439. }, {
  2440. closecallback: function() {}
  2441. }, { "style": { "height": "36px" } }).form; //创建窗体
  2442. _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); } }
  2443. break;
  2444. }
  2445. case "studyDetailStudio":
  2446. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2447. setTimeout(() => {
  2448. U.MD.U.L.login();
  2449. }, 2000);
  2450. } else {
  2451. _formdiv = new U.UF.UI.form(
  2452. "工作详情",
  2453. $$("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 }), {
  2454. "id": "studyDetailStudio",
  2455. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2456. "onresize": function() {}
  2457. }, {
  2458. closecallback: function() {}
  2459. }, { "style": { "height": "36px" } }).form; //创建窗体
  2460. _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); } }
  2461. break;
  2462. }
  2463. case "studyDetailS5":
  2464. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2465. setTimeout(() => {
  2466. U.MD.U.L.login();
  2467. }, 2000);
  2468. } else {
  2469. _formdiv = new U.UF.UI.form(
  2470. "项目详情",
  2471. $$("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 }), {
  2472. "id": "studyDetailS",
  2473. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2474. "onresize": function() {}
  2475. }, {
  2476. closecallback: function() {}
  2477. }, { "style": { "height": "36px" } }).form; //创建窗体
  2478. _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); } }
  2479. break;
  2480. }
  2481. case "studyDetailGM":
  2482. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2483. setTimeout(() => {
  2484. U.MD.U.L.login();
  2485. }, 2000);
  2486. } else {
  2487. _formdiv = new U.UF.UI.form(
  2488. "课程详情",
  2489. $$("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 }), {
  2490. "id": "studyDetail",
  2491. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2492. "onresize": function() {}
  2493. }, {
  2494. closecallback: function() {}
  2495. }, { "style": { "height": "36px" } }).form; //创建窗体
  2496. _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); } }
  2497. break;
  2498. }
  2499. case "hanUrl":
  2500. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2501. setTimeout(() => {
  2502. U.MD.U.L.login();
  2503. }, 2000);
  2504. } else {
  2505. _formdiv = new U.UF.UI.form(
  2506. "汉字宫",
  2507. $$("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" }), {
  2508. "id": "hanUrl",
  2509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2510. "onresize": function() {}
  2511. }, {
  2512. closecallback: function() {}
  2513. }, { "style": { "height": "36px" } }).form; //创建窗体
  2514. _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); } }
  2515. break;
  2516. }
  2517. case "index":
  2518. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2519. setTimeout(() => {
  2520. U.MD.U.L.login();
  2521. }, 2000);
  2522. } else {
  2523. _formdiv = new U.UF.UI.form(
  2524. "课程中心",
  2525. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea="+ data.typea+ "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2526. "id": "study",
  2527. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2528. "onresize": function() {}
  2529. }, {
  2530. closecallback: function() {}
  2531. }, { "style": { "height": "36px" } }).form; //创建窗体
  2532. _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); } }
  2533. break;
  2534. }
  2535. }
  2536. }
  2537. U.MD.D.I.openApplication = function(str, obj, info) {
  2538. obj = obj || {};
  2539. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2540. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2541. _userinfo = US.userInfo, //登录用户信息
  2542. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2543. _oid = obj.organizeid || _userinfo.organizeid,
  2544. _type = US.userInfo.type,
  2545. _org = US.userInfo.org,
  2546. _role = US.userInfo.role,
  2547. _classId = US.userInfo.classid,
  2548. _TscreenType = 1
  2549. _screenType = 2,
  2550. _SscreenType = 3;
  2551. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2552. return;
  2553. }
  2554. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2555. switch (str) {
  2556. case "studnetProject": //好友打开
  2557. _formdiv = new U.UF.UI.form(
  2558. "我的项目",
  2559. $$("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 }), {
  2560. "id": "studnetProject",
  2561. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2562. "onresize": function() {}
  2563. }, {
  2564. closecallback: function() {}
  2565. }, { "style": { "height": "36px" } }).form; //创建窗体
  2566. _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); } }
  2567. break;
  2568. case "studentEvaluate": //好友打开
  2569. _formdiv = new U.UF.UI.form(
  2570. "我的评价",
  2571. $$("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 }), {
  2572. "id": "studentEvaluate",
  2573. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2574. "onresize": function() {}
  2575. }, {
  2576. closecallback: function() {}
  2577. }, { "style": { "height": "36px" } }).form; //创建窗体
  2578. _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); } }
  2579. break;
  2580. case "my":
  2581. _formdiv = new U.UF.UI.form(
  2582. "我的资料",
  2583. $$("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 }), {
  2584. "id": "my",
  2585. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2586. "onresize": function() {}
  2587. }, {
  2588. closecallback: function() {}
  2589. }, { "style": { "height": "36px" } }).form; //创建窗体
  2590. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2591. break;
  2592. case "program":
  2593. _formdiv = new U.UF.UI.form(
  2594. "编程平台",
  2595. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2596. "id": "program",
  2597. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2598. "onresize": function() {}
  2599. }, {
  2600. closecallback: function() {}
  2601. }, { "style": { "height": "36px" } }).form; //创建窗体
  2602. _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); } }
  2603. break;
  2604. case "library":
  2605. _formdiv = new U.UF.UI.form(
  2606. "素材库",
  2607. $$("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 }), {
  2608. "id": "library",
  2609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2610. "onresize": function() {}
  2611. }, {
  2612. closecallback: function() {}
  2613. }, { "style": { "height": "36px" } }).form; //创建窗体
  2614. _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); } }
  2615. break;
  2616. case "whiteboard":
  2617. _formdiv = new U.UF.UI.form(
  2618. "电子白板",
  2619. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2620. "id": "whiteboard",
  2621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2622. "onresize": function() {}
  2623. }, {
  2624. closecallback: function() {}
  2625. }, { "style": { "height": "36px" } }).form; //创建窗体
  2626. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2627. break;
  2628. case "investigation":
  2629. _formdiv = new U.UF.UI.form(
  2630. "问卷调查",
  2631. $$("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 }), {
  2632. "id": "investigation",
  2633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2634. "onresize": function() {}
  2635. }, {
  2636. closecallback: function() {}
  2637. }, { "style": { "height": "36px" } }).form; //创建窗体
  2638. _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); } }
  2639. break;
  2640. case "note":
  2641. _formdiv = new U.UF.UI.form(
  2642. "便签分类",
  2643. $$("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 }), {
  2644. "id": "note",
  2645. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2646. "onresize": function() {}
  2647. }, {
  2648. closecallback: function() {}
  2649. }, { "style": { "height": "36px" } }).form; //创建窗体
  2650. _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); } }
  2651. break;
  2652. // case "score":
  2653. // _formdiv = new U.UF.UI.form(
  2654. // "量规评分",
  2655. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2656. // "id": "score",
  2657. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2658. // "onresize": function() {}
  2659. // }, {
  2660. // closecallback: function() {}
  2661. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2662. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2663. // break;
  2664. case "mind":
  2665. _formdiv = new U.UF.UI.form(
  2666. "思维导图",
  2667. $$("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"
  2668. "id": "mind",
  2669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2670. "onresize": function() {}
  2671. }, {
  2672. closecallback: function() {}
  2673. }, { "style": { "height": "36px" } }).form; //创建窗体
  2674. _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); } }
  2675. break;
  2676. case "doc":
  2677. // U.MD.D.I.isRoom();
  2678. _formdiv = new U.UF.UI.form(
  2679. "协同文档",
  2680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2681. "id": "doc",
  2682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2683. "onresize": function() {}
  2684. }, {
  2685. closecallback: function() {}
  2686. }, { "style": { "height": "36px" } }).form; //创建窗体
  2687. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2688. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2689. // })
  2690. _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); } }
  2691. break;
  2692. case "studentStudy":
  2693. _formdiv = new U.UF.UI.form(
  2694. "课程中心",
  2695. $$("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
  2696. "id": "studentStudy",
  2697. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2698. "onresize": function() {}
  2699. }, {
  2700. closecallback: function() {}
  2701. }, { "style": { "height": "36px" } }).form; //创建窗体
  2702. _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); } }
  2703. break;
  2704. case "train": //好友打开
  2705. _formdiv = new U.UF.UI.form(
  2706. "训练平台",
  2707. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2708. "id": "train",
  2709. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2710. "onresize": function() {}
  2711. }, {
  2712. closecallback: function() {}
  2713. }, { "style": { "height": "36px" } }).form; //创建窗体
  2714. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2715. break;
  2716. case "mindNetwork": //好友打开
  2717. _formdiv = new U.UF.UI.form(
  2718. "思维网格",
  2719. $$("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 }), {
  2720. "id": "mindNetwork",
  2721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2722. "onresize": function() {}
  2723. }, {
  2724. closecallback: function() {}
  2725. }, { "style": { "height": "36px" } }).form; //创建窗体
  2726. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2727. break;
  2728. case "studentClassRoom": //好友打开
  2729. _formdiv = new U.UF.UI.form(
  2730. "实时课堂",
  2731. $$("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 }), {
  2732. "id": "studentClassRoom",
  2733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2734. "onresize": function() {}
  2735. }, {
  2736. closecallback: function() {}
  2737. }, { "style": { "height": "36px" } }).form; //创建窗体
  2738. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2739. setTimeout(() => {
  2740. U.UF.F.windowZooming(_formdiv)
  2741. }, 0);
  2742. break;
  2743. }
  2744. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2745. switch (str) {
  2746. case "studnetProject": //好友打开
  2747. _formdiv = new U.UF.UI.form(
  2748. "我的项目",
  2749. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2750. "id": "studnetProject",
  2751. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2752. "onresize": function() {}
  2753. }, {
  2754. closecallback: function() {}
  2755. }, { "style": { "height": "36px" } }).form; //创建窗体
  2756. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2757. break;
  2758. case "studentEvaluate": //好友打开
  2759. _formdiv = new U.UF.UI.form(
  2760. "我的评价",
  2761. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2762. "id": "studentEvaluate",
  2763. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2764. "onresize": function() {}
  2765. }, {
  2766. closecallback: function() {}
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2769. break;
  2770. case "my":
  2771. _formdiv = new U.UF.UI.form(
  2772. "我的资料",
  2773. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2774. "id": "my",
  2775. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2776. "onresize": function() {}
  2777. }, {
  2778. closecallback: function() {}
  2779. }, { "style": { "height": "36px" } }).form; //创建窗体
  2780. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2781. break;
  2782. case "program":
  2783. _formdiv = new U.UF.UI.form(
  2784. "编程平台",
  2785. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2786. "id": "program",
  2787. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2788. "onresize": function() {}
  2789. }, {
  2790. closecallback: function() {}
  2791. }, { "style": { "height": "36px" } }).form; //创建窗体
  2792. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2793. break;
  2794. case "library":
  2795. _formdiv = new U.UF.UI.form(
  2796. "素材库",
  2797. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2798. "id": "library",
  2799. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2800. "onresize": function() {}
  2801. }, {
  2802. closecallback: function() {}
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2805. break;
  2806. case "whiteboard":
  2807. _formdiv = new U.UF.UI.form(
  2808. "电子白板",
  2809. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2810. "id": "whiteboard",
  2811. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2812. "onresize": function() {}
  2813. }, {
  2814. closecallback: function() {}
  2815. }, { "style": { "height": "36px" } }).form; //创建窗体
  2816. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2817. break;
  2818. case "investigation":
  2819. _formdiv = new U.UF.UI.form(
  2820. "问卷调查",
  2821. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2822. "id": "investigation",
  2823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2824. "onresize": function() {}
  2825. }, {
  2826. closecallback: function() {}
  2827. }, { "style": { "height": "36px" } }).form; //创建窗体
  2828. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2829. break;
  2830. case "note":
  2831. _formdiv = new U.UF.UI.form(
  2832. "便签分类",
  2833. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2834. "id": "note",
  2835. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2836. "onresize": function() {}
  2837. }, {
  2838. closecallback: function() {}
  2839. }, { "style": { "height": "36px" } }).form; //创建窗体
  2840. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2841. break;
  2842. // case "score":
  2843. // _formdiv = new U.UF.UI.form(
  2844. // "量规评分",
  2845. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2846. // "id": "score",
  2847. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2848. // "onresize": function() {}
  2849. // }, {
  2850. // closecallback: function() {}
  2851. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2852. // _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); } }
  2853. // break;
  2854. case "mind":
  2855. _formdiv = new U.UF.UI.form(
  2856. "思维导图",
  2857. $$("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"
  2858. "id": "mind",
  2859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2860. "onresize": function() {}
  2861. }, {
  2862. closecallback: function() {}
  2863. }, { "style": { "height": "36px" } }).form; //创建窗体
  2864. _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); } }
  2865. break;
  2866. case "doc":
  2867. // U.MD.D.I.isRoom();
  2868. _formdiv = new U.UF.UI.form(
  2869. "协同文档",
  2870. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2871. "id": "doc",
  2872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2873. "onresize": function() {}
  2874. }, {
  2875. closecallback: function() {}
  2876. }, { "style": { "height": "36px" } }).form; //创建窗体
  2877. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2878. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2879. })
  2880. _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); } }
  2881. break;
  2882. case "train": //好友打开
  2883. _formdiv = new U.UF.UI.form(
  2884. "训练平台",
  2885. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2886. "id": "train",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function() {}
  2889. }, {
  2890. closecallback: function() {}
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2893. break;
  2894. case "studentStudy":
  2895. _formdiv = new U.UF.UI.form(
  2896. "课程中心",
  2897. $$("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
  2898. "id": "studentStudy",
  2899. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2900. "onresize": function() {}
  2901. }, {
  2902. closecallback: function() {}
  2903. }, { "style": { "height": "36px" } }).form; //创建窗体
  2904. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2905. break;
  2906. case "mindNetwork": //好友打开
  2907. _formdiv = new U.UF.UI.form(
  2908. "思维网格",
  2909. $$("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 }), {
  2910. "id": "mindNetwork",
  2911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2912. "onresize": function() {}
  2913. }, {
  2914. closecallback: function() {}
  2915. }, { "style": { "height": "36px" } }).form; //创建窗体
  2916. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2917. break;
  2918. case "studentClassRoom": //好友打开
  2919. _formdiv = new U.UF.UI.form(
  2920. "实时课堂",
  2921. $$("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 }), {
  2922. "id": "studentClassRoom",
  2923. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2924. "onresize": function() {}
  2925. }, {
  2926. closecallback: function() {}
  2927. }, { "style": { "height": "36px" } }).form; //创建窗体
  2928. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2929. setTimeout(() => {
  2930. U.UF.F.windowZooming(_formdiv)
  2931. }, 0);
  2932. break;
  2933. }
  2934. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2935. //选择应用处理
  2936. switch (str) {
  2937. case "project": //好友打开
  2938. _formdiv = new U.UF.UI.form(
  2939. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2940. $$("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 }), {
  2941. "id": "project",
  2942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2943. "onresize": function() {}
  2944. }, {
  2945. closecallback: function() {}
  2946. }, { "style": { "height": "36px" } }).form; //创建窗体
  2947. _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); } }
  2948. break;
  2949. case "student":
  2950. _formdiv = new U.UF.UI.form(
  2951. "学生管理",
  2952. $$("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 }), {
  2953. "id": "student",
  2954. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2955. "onresize": function() {}
  2956. }, {
  2957. closecallback: function() {}
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _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); } }
  2960. break;
  2961. case "evaluate":
  2962. _formdiv = new U.UF.UI.form(
  2963. "学生评价",
  2964. $$("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 }), {
  2965. "id": "evaluate",
  2966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2967. "onresize": function() {}
  2968. }, {
  2969. closecallback: function() {}
  2970. }, { "style": { "height": "36px" } }).form; //创建窗体
  2971. _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); } }
  2972. break;
  2973. case "sys":
  2974. _formdiv = new U.UF.UI.form(
  2975. "目标管理",
  2976. $$("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 }), {
  2977. "id": "sys",
  2978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2979. "onresize": function() {}
  2980. }, {
  2981. closecallback: function() {}
  2982. }, { "style": { "height": "36px" } }).form; //创建窗体
  2983. _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); } }
  2984. break;
  2985. case "courseDesign":
  2986. _formdiv = new U.UF.UI.form(
  2987. "项目设计",
  2988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2989. "id": "courseDesign",
  2990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2991. "onresize": function() {}
  2992. }, {
  2993. closecallback: function() {}
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. case "program":
  2998. _formdiv = new U.UF.UI.form(
  2999. "编程平台",
  3000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3001. "id": "program",
  3002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3003. "onresize": function() {}
  3004. }, {
  3005. closecallback: function() {}
  3006. }, { "style": { "height": "36px" } }).form; //创建窗体
  3007. _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); } }
  3008. break;
  3009. case "class":
  3010. _formdiv = new U.UF.UI.form(
  3011. "班级管理",
  3012. $$("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 }), {
  3013. "id": "class",
  3014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3015. "onresize": function() {}
  3016. }, {
  3017. closecallback: function() {}
  3018. }, { "style": { "height": "36px" } }).form; //创建窗体
  3019. _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); } }
  3020. break;
  3021. case "Grade":
  3022. _formdiv = new U.UF.UI.form(
  3023. "年级管理",
  3024. $$("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 }), {
  3025. "id": "Grade",
  3026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3027. "onresize": function() {}
  3028. }, {
  3029. closecallback: function() {}
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. _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); } }
  3032. break;
  3033. case "teacherOffice":
  3034. _formdiv = new U.UF.UI.form(
  3035. "教研室",
  3036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3037. "id": "teacherOffice",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function() {}
  3040. }, {
  3041. closecallback: function() {}
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3044. break;
  3045. case "my":
  3046. _formdiv = new U.UF.UI.form(
  3047. "我的资料",
  3048. $$("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 }), {
  3049. "id": "my",
  3050. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3051. "onresize": function() {}
  3052. }, {
  3053. closecallback: function() {}
  3054. }, { "style": { "height": "36px" } }).form; //创建窗体
  3055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3056. break;
  3057. case "notice":
  3058. _formdiv = new U.UF.UI.form(
  3059. "通知公告",
  3060. $$("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 }), {
  3061. "id": "notice",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function() {}
  3064. }, {
  3065. closecallback: function() {}
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3068. break;
  3069. case "library":
  3070. _formdiv = new U.UF.UI.form(
  3071. "素材库",
  3072. $$("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 }), {
  3073. "id": "library",
  3074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function() {}
  3076. }, {
  3077. closecallback: function() {}
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3080. break;
  3081. case "whiteboard":
  3082. _formdiv = new U.UF.UI.form(
  3083. "电子白板",
  3084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3085. "id": "whiteboard",
  3086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3087. "onresize": function() {}
  3088. }, {
  3089. closecallback: function() {}
  3090. }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. _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); } }
  3092. break;
  3093. case "investigation":
  3094. _formdiv = new U.UF.UI.form(
  3095. "问卷调查",
  3096. $$("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 }), {
  3097. "id": "investigation",
  3098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function() {}
  3100. }, {
  3101. closecallback: function() {}
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. case "note":
  3106. _formdiv = new U.UF.UI.form(
  3107. "便签分类",
  3108. $$("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 }), {
  3109. "id": "note",
  3110. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function() {}
  3112. }, {
  3113. closecallback: function() {}
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. break;
  3117. // case "score":
  3118. // _formdiv = new U.UF.UI.form(
  3119. // "量规评分",
  3120. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3121. // "id": "score",
  3122. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. // "onresize": function() {}
  3124. // }, {
  3125. // closecallback: function() {}
  3126. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. // _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); } }
  3128. // break;
  3129. case "mind":
  3130. _formdiv = new U.UF.UI.form(
  3131. "思维导图",
  3132. $$("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"
  3133. "id": "mind",
  3134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function() {}
  3136. }, {
  3137. closecallback: function() {}
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _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); } }
  3140. break;
  3141. case "doc":
  3142. // U.MD.D.I.isRoom();
  3143. _formdiv = new U.UF.UI.form(
  3144. "协同文档",
  3145. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3146. "id": "doc",
  3147. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3148. "onresize": function() {}
  3149. }, {
  3150. closecallback: function() {}
  3151. }, { "style": { "height": "36px" } }).form; //创建窗体
  3152. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3153. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3154. })
  3155. _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); } }
  3156. break;
  3157. case "study":
  3158. _formdiv = new U.UF.UI.form(
  3159. "课程中心",
  3160. $$("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
  3161. "id": "study",
  3162. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3163. "onresize": function() {}
  3164. }, {
  3165. closecallback: function() {}
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3168. break;
  3169. case "mindNetwork": //好友打开
  3170. _formdiv = new U.UF.UI.form(
  3171. "思维网格",
  3172. $$("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 }), {
  3173. "id": "mindNetwork",
  3174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3175. "onresize": function() {}
  3176. }, {
  3177. closecallback: function() {}
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3180. break;
  3181. case "train": //好友打开
  3182. _formdiv = new U.UF.UI.form(
  3183. "训练平台",
  3184. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3185. "id": "mindNetwork",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function() {}
  3188. }, {
  3189. closecallback: function() {}
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3192. break;
  3193. case "teacherClassRoom": //好友打开
  3194. _formdiv = new U.UF.UI.form(
  3195. "实时课堂",
  3196. $$("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 }), {
  3197. "id": "teacherClassRoom",
  3198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3199. "onresize": function() {}
  3200. }, {
  3201. closecallback: function() {}
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3204. setTimeout(() => {
  3205. U.UF.F.windowZooming(_formdiv)
  3206. }, 0);
  3207. break;
  3208. }
  3209. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3210. switch (str) {
  3211. case "project": //好友打开
  3212. _formdiv = new U.UF.UI.form(
  3213. "课程管理",
  3214. $$("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 }), {
  3215. "id": "project",
  3216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function() {}
  3218. }, {
  3219. closecallback: function() {}
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3222. break;
  3223. case "evaluate":
  3224. _formdiv = new U.UF.UI.form(
  3225. "学生评价",
  3226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3227. "id": "evaluate",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function() {}
  3230. }, {
  3231. closecallback: function() {}
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3234. break;
  3235. case "notice":
  3236. _formdiv = new U.UF.UI.form(
  3237. "通知公告",
  3238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3239. "id": "notice",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function() {}
  3242. }, {
  3243. closecallback: function() {}
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3246. break;
  3247. case "stuLibrary":
  3248. _formdiv = new U.UF.UI.form(
  3249. "学习资料",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3251. "id": "stuLibrary",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function() {}
  3254. }, {
  3255. closecallback: function() {}
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3258. break;
  3259. case "program":
  3260. _formdiv = new U.UF.UI.form(
  3261. "编程平台",
  3262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3263. "id": "program",
  3264. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function() {}
  3266. }, {
  3267. closecallback: function() {}
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3270. break;
  3271. case "whiteboard":
  3272. _formdiv = new U.UF.UI.form(
  3273. "电子白板",
  3274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3275. "id": "whiteboard",
  3276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function() {}
  3278. }, {
  3279. closecallback: function() {}
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3282. break;
  3283. case "investigation":
  3284. _formdiv = new U.UF.UI.form(
  3285. "问卷调查",
  3286. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3287. "id": "investigation",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function() {}
  3290. }, {
  3291. closecallback: function() {}
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3294. break;
  3295. case "mind":
  3296. _formdiv = new U.UF.UI.form(
  3297. "思维导图",
  3298. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3299. "id": "mind",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function() {}
  3302. }, {
  3303. closecallback: function() {}
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3306. break;
  3307. case "doc":
  3308. // U.MD.D.I.isRoom();
  3309. _formdiv = new U.UF.UI.form(
  3310. "协同文档",
  3311. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3312. "id": "doc",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function() {}
  3315. }, {
  3316. closecallback: function() {}
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3319. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3320. })
  3321. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3322. break;
  3323. case "study":
  3324. _formdiv = new U.UF.UI.form(
  3325. "课程中心",
  3326. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3327. "id": "study",
  3328. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3329. "onresize": function() {}
  3330. }, {
  3331. closecallback: function() {}
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3334. break;
  3335. case "mindNetwork": //好友打开
  3336. _formdiv = new U.UF.UI.form(
  3337. "思维网格",
  3338. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3339. "id": "mindNetwork",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function() {}
  3342. }, {
  3343. closecallback: function() {}
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3346. break;
  3347. case "train": //好友打开
  3348. _formdiv = new U.UF.UI.form(
  3349. "训练平台",
  3350. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3351. "id": "train",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function() {}
  3354. }, {
  3355. closecallback: function() {}
  3356. }, { "style": { "height": "36px" } }).form; //创建窗体
  3357. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3358. break;
  3359. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3363. "id": "sys",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function() {}
  3366. }, {
  3367. closecallback: function() {}
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3370. break;
  3371. case "courseDesign":
  3372. _formdiv = new U.UF.UI.form(
  3373. "项目设计",
  3374. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3375. "id": "courseDesign",
  3376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3377. "onresize": function() {}
  3378. }, {
  3379. closecallback: function() {}
  3380. }, { "style": { "height": "36px" } }).form; //创建窗体
  3381. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3382. break;
  3383. }
  3384. } else if (!_type) {
  3385. switch (str) {
  3386. case "my":
  3387. _formdiv = new U.UF.UI.form(
  3388. "我的资料",
  3389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3390. "id": "my",
  3391. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function() {}
  3393. }, {
  3394. closecallback: function() {}
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3397. break;
  3398. }
  3399. }
  3400. switch (str) {
  3401. // AIprogram2 AI体验 aihub.cocorobo.cn
  3402. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3403. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3404. case "formulaEdi": //公式编辑
  3405. _formdiv = new U.UF.UI.form(
  3406. "公式编辑",
  3407. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3408. "id": "formulaEdi",
  3409. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function() {}
  3411. }, {
  3412. closecallback: function() {}
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "molStr": //分子结构
  3417. _formdiv = new U.UF.UI.form(
  3418. "分子结构",
  3419. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3420. "id": "molStr",
  3421. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function() {}
  3423. }, {
  3424. closecallback: function() {}
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "timeAxis": //时间轴
  3429. _formdiv = new U.UF.UI.form(
  3430. "时间轴",
  3431. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3432. "id": "timeAxis",
  3433. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function() {}
  3435. }, {
  3436. closecallback: function() {}
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "AIprogram2": //AI体验
  3441. _formdiv = new U.UF.UI.form(
  3442. "AI体验",
  3443. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3444. "id": "AIprogram2",
  3445. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function() {}
  3447. }, {
  3448. closecallback: function() {}
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "Pythonprogram": //python编程
  3453. _formdiv = new U.UF.UI.form(
  3454. "Python编程",
  3455. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3456. "id": "Pythonprogram",
  3457. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function() {}
  3459. }, {
  3460. closecallback: function() {}
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. break;
  3464. case "AIprogram": //ai编程
  3465. _formdiv = new U.UF.UI.form(
  3466. "AI编程平台",
  3467. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3468. "id": "AIprogram",
  3469. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function() {}
  3471. }, {
  3472. closecallback: function() {}
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "CocoPi": //CocoPi
  3477. _formdiv = new U.UF.UI.form(
  3478. "CocoPi",
  3479. $$("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" }), {
  3480. "id": "CocoPi",
  3481. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function() {}
  3483. }, {
  3484. closecallback: function() {}
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "Wood": //Wood
  3489. _formdiv = new U.UF.UI.form(
  3490. "海龟编程",
  3491. $$("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/" }), {
  3492. "id": "Wood",
  3493. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function() {}
  3495. }, {
  3496. closecallback: function() {}
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. case "car": //模拟驾驶
  3501. _formdiv = new U.UF.UI.form(
  3502. "模拟驾驶",
  3503. $$("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/" }), {
  3504. "id": "car",
  3505. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function() {}
  3507. }, {
  3508. closecallback: function() {}
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. case "lineSearch": //路径搜索
  3513. _formdiv = new U.UF.UI.form(
  3514. "路径搜索",
  3515. $$("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/" }), {
  3516. "id": "lineSearch",
  3517. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function() {}
  3519. }, {
  3520. closecallback: function() {}
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "deepLearning": //深度学习
  3525. _formdiv = new U.UF.UI.form(
  3526. "深度学习",
  3527. $$("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/#" }), {
  3528. "id": "deepLearning",
  3529. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function() {}
  3531. }, {
  3532. closecallback: function() {}
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "allHistory": //深度学习
  3537. _formdiv = new U.UF.UI.form(
  3538. "全历史",
  3539. $$("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/" }), {
  3540. "id": "allHistory",
  3541. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function() {}
  3543. }, {
  3544. closecallback: function() {}
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. break;
  3548. case "chatPDF": //ai编程
  3549. _formdiv = new U.UF.UI.form(
  3550. "chatPDF",
  3551. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3552. "id": "chatPDF",
  3553. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3554. "onresize": function() {}
  3555. }, {
  3556. closecallback: function() {}
  3557. }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. _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); } }
  3559. break;
  3560. case "resources": //国家教育
  3561. _formdiv = new U.UF.UI.form(
  3562. "国家教育",
  3563. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3564. "id": "resources",
  3565. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function() {}
  3567. }, {
  3568. closecallback: function() {}
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _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); } }
  3571. break;
  3572. case "codeEdit": //源码编辑
  3573. _formdiv = new U.UF.UI.form(
  3574. "源码编辑",
  3575. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3576. "id": "codeEdit",
  3577. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function() {}
  3579. }, {
  3580. closecallback: function() {}
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break; //
  3584. case "MindMap": //MindMap
  3585. _formdiv = new U.UF.UI.form(
  3586. "MindMap",
  3587. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3588. "id": "MindMap",
  3589. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3590. "onresize": function() {}
  3591. }, {
  3592. closecallback: function() {}
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "netWorkPanel": //netWorkPanel
  3597. _formdiv = new U.UF.UI.form(
  3598. "netWorkPanel",
  3599. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3600. "id": "netWorkPanel",
  3601. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function() {}
  3603. }, {
  3604. closecallback: function() {}
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "GeoGebra": //GeoGebra
  3609. _formdiv = new U.UF.UI.form(
  3610. "GeoGebra",
  3611. $$("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" }), {
  3612. "id": "GeoGebra",
  3613. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function() {}
  3615. }, {
  3616. closecallback: function() {}
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. break;
  3620. case "translation": //翻译
  3621. _formdiv = new U.UF.UI.form(
  3622. "翻译",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3624. "id": "translation",
  3625. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function() {}
  3627. }, {
  3628. closecallback: function() {}
  3629. }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. _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); } }
  3631. break;
  3632. case "mohe": //魔盒
  3633. _formdiv = new U.UF.UI.form(
  3634. "魔盒识字",
  3635. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3636. "id": "mohe",
  3637. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3638. "onresize": function() {}
  3639. }, {
  3640. closecallback: function() {}
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _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); } }
  3643. break;
  3644. case "24game": //24点
  3645. _formdiv = new U.UF.UI.form(
  3646. "24点",
  3647. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3648. "id": "24game",
  3649. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3650. "onresize": function() {}
  3651. }, {
  3652. closecallback: function() {}
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. _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); } }
  3655. break;
  3656. case "case":
  3657. _formdiv = new U.UF.UI.form(
  3658. "课程进展",
  3659. $$("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 }), {
  3660. "id": "case",
  3661. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3662. "onresize": function() {}
  3663. }, {
  3664. closecallback: function() {}
  3665. }, { "style": { "height": "36px" } }).form; //创建窗体
  3666. _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); } }
  3667. break;
  3668. case "snf":
  3669. _formdiv = new U.UF.UI.form(
  3670. "赛诺梵",
  3671. $$("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" }), {
  3672. "id": "snf",
  3673. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3674. "onresize": function() {}
  3675. }, {
  3676. closecallback: function() {}
  3677. }, { "style": { "height": "36px" } }).form; //创建窗体
  3678. _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); } }
  3679. break;
  3680. case "hanFamily":
  3681. _formdiv = new U.UF.UI.form(
  3682. "汉字家族",
  3683. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3684. "id": "hanFamily",
  3685. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3686. "onresize": function() {}
  3687. }, {
  3688. closecallback: function() {}
  3689. }, { "style": { "height": "36px" } }).form; //创建窗体
  3690. _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); } }
  3691. break;
  3692. case "hanClassics":
  3693. _formdiv = new U.UF.UI.form(
  3694. "国学经典",
  3695. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3696. "id": "hanClassics",
  3697. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3698. "onresize": function() {}
  3699. }, {
  3700. closecallback: function() {}
  3701. }, { "style": { "height": "36px" } }).form; //创建窗体
  3702. _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); } }
  3703. break;
  3704. case "hanTraining":
  3705. _formdiv = new U.UF.UI.form(
  3706. "笔画训练",
  3707. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3708. "id": "hanTraining",
  3709. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3710. "onresize": function() {}
  3711. }, {
  3712. closecallback: function() {}
  3713. }, { "style": { "height": "36px" } }).form; //创建窗体
  3714. _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); } }
  3715. break;
  3716. case "hanClass":
  3717. _formdiv = new U.UF.UI.form(
  3718. "书法课堂",
  3719. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3720. "id": "hanClass",
  3721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3722. "onresize": function() {}
  3723. }, {
  3724. closecallback: function() {}
  3725. }, { "style": { "height": "36px" } }).form; //创建窗体
  3726. _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); } }
  3727. break;
  3728. case "han":
  3729. _formdiv = new U.UF.UI.form(
  3730. "汉字宫",
  3731. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3732. "id": "han",
  3733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3734. "onresize": function() {}
  3735. }, {
  3736. closecallback: function() {}
  3737. }, { "style": { "height": "36px" } }).form; //创建窗体
  3738. _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); } }
  3739. break;
  3740. case "projectGM": //课程管理
  3741. _formdiv = new U.UF.UI.form(
  3742. "课程管理",
  3743. $$("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 }), {
  3744. "id": "projectGM",
  3745. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3746. "onresize": function() {}
  3747. }, {
  3748. closecallback: function() {}
  3749. }, { "style": { "height": "36px" } }).form; //创建窗体
  3750. _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); } }
  3751. break;
  3752. case "studyGM": //课程中心
  3753. _formdiv = new U.UF.UI.form(
  3754. "课程中心",
  3755. $$("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
  3756. "id": "study",
  3757. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3758. "onresize": function() {}
  3759. }, {
  3760. closecallback: function() {}
  3761. }, { "style": { "height": "36px" } }).form; //创建窗体
  3762. _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); } }
  3763. break;
  3764. // studentGM
  3765. case "studentGM": //学生管理
  3766. _formdiv = new U.UF.UI.form(
  3767. "学生管理",
  3768. $$("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 }), {
  3769. "id": "studentGM",
  3770. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function() {}
  3772. }, {
  3773. closecallback: function() {}
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "evaluateGM": //学生评价
  3778. _formdiv = new U.UF.UI.form(
  3779. "学生评价",
  3780. $$("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 }), {
  3781. "id": "evaluateGM",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function() {}
  3784. }, {
  3785. closecallback: function() {}
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. // classGM
  3790. case "classGM": //班级管理
  3791. _formdiv = new U.UF.UI.form(
  3792. "班级管理",
  3793. $$("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 }), {
  3794. "id": "classGM",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function() {}
  3797. }, {
  3798. closecallback: function() {}
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _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); } }
  3801. break;
  3802. // dataGM
  3803. case "dataGM":
  3804. _formdiv = new U.UF.UI.form(
  3805. "我的资料",
  3806. $$("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 }), {
  3807. "id": "dataGM",
  3808. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function() {}
  3810. }, {
  3811. closecallback: function() {}
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. // caseGM
  3816. case "caseGM": //课程进展
  3817. _formdiv = new U.UF.UI.form(
  3818. "课程进展",
  3819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3820. "id": "caseGM",
  3821. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3822. "onresize": function() {}
  3823. }, {
  3824. closecallback: function() {}
  3825. }, { "style": { "height": "36px" } }).form; //创建窗体
  3826. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3827. break;
  3828. // meterialGM
  3829. case "meterialGM": //素材库
  3830. _formdiv = new U.UF.UI.form(
  3831. "素材库",
  3832. $$("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 }), {
  3833. "id": "meterialGM",
  3834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function() {}
  3836. }, {
  3837. closecallback: function() {}
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _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); } }
  3840. break;
  3841. // evaluateSGM
  3842. case "evaluateSGM": //我的评价
  3843. _formdiv = new U.UF.UI.form(
  3844. "我的评价",
  3845. $$("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 }), {
  3846. "id": "evaluateSGM",
  3847. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3848. "onresize": function() {}
  3849. }, {
  3850. closecallback: function() {}
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. _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); } }
  3853. break;
  3854. case "jupyter": //jupyter
  3855. _formdiv = new U.UF.UI.form(
  3856. "jupyter",
  3857. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3858. "id": "jupyter",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function() {}
  3861. }, {
  3862. closecallback: function() {}
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. case "number": //数字实验室
  3867. _formdiv = new U.UF.UI.form(
  3868. "数字实验室",
  3869. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3870. "id": "number",
  3871. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function() {}
  3873. }, {
  3874. closecallback: function() {}
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _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); } }
  3877. break;
  3878. case "studentCourse": //项目管理 学生
  3879. _formdiv = new U.UF.UI.form(
  3880. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3881. $$("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 }), {
  3882. "id": "studentCourse",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function() {}
  3885. }, {
  3886. closecallback: function() {}
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. case "studentCourseS": //项目管理 老师
  3891. _formdiv = new U.UF.UI.form(
  3892. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3893. $$("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 }), {
  3894. "id": "studentCourseS",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function() {}
  3897. }, {
  3898. closecallback: function() {}
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. break;
  3902. case "studentIndex": //项目中心
  3903. _formdiv = new U.UF.UI.form(
  3904. "项目中心",
  3905. $$("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 }), {
  3906. "id": "studentIndex",
  3907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3908. "onresize": function() {}
  3909. }, {
  3910. closecallback: function() {}
  3911. }, { "style": { "height": "36px" } }).form; //创建窗体
  3912. _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); } }
  3913. break;
  3914. case "CaseDesignS":
  3915. _formdiv = new U.UF.UI.form(
  3916. "项目进展",
  3917. $$("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 }), {
  3918. "id": "case",
  3919. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function() {}
  3921. }, {
  3922. closecallback: function() {}
  3923. }, { "style": { "height": "36px" } }).form; //创建窗体
  3924. _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); } }
  3925. break;
  3926. case "tcStudent": //腾讯学生管理
  3927. _formdiv = new U.UF.UI.form(
  3928. "学生管理",
  3929. $$("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 }), {
  3930. "id": "tcStudent",
  3931. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3932. "onresize": function() {}
  3933. }, {
  3934. closecallback: function() {}
  3935. }, { "style": { "height": "36px" } }).form; //创建窗体
  3936. _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); } }
  3937. break;
  3938. case "tcSchool": //腾讯学校管理
  3939. _formdiv = new U.UF.UI.form(
  3940. "学校管理",
  3941. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3942. "id": "tcSchool",
  3943. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function() {}
  3945. }, {
  3946. closecallback: function() {}
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3949. break;
  3950. case "tcTeacher": //腾讯学校管理
  3951. _formdiv = new U.UF.UI.form(
  3952. "教师管理",
  3953. $$("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 }), {
  3954. "id": "tcTeacher",
  3955. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function() {}
  3957. }, {
  3958. closecallback: function() {}
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. _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); } }
  3961. break;
  3962. case "tcData": //腾讯我的资料
  3963. _formdiv = new U.UF.UI.form(
  3964. "我的资料",
  3965. $$("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 }), {
  3966. "id": "tcData",
  3967. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function() {}
  3969. }, {
  3970. closecallback: function() {}
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _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); } }
  3973. break;
  3974. case "tcNotice": //腾讯消息通知
  3975. _formdiv = new U.UF.UI.form(
  3976. "消息通知",
  3977. $$("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 }), {
  3978. "id": "tcNotice",
  3979. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function() {}
  3981. }, {
  3982. closecallback: function() {}
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _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); } }
  3985. break;
  3986. case "myReport": //好友打开
  3987. _formdiv = new U.UF.UI.form(
  3988. "我的评价",
  3989. $$("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 }), {
  3990. "id": "myReport",
  3991. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3992. "onresize": function() {}
  3993. }, {
  3994. closecallback: function() {}
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _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); } }
  3997. break;
  3998. case "learnAna": //好友打开
  3999. _formdiv = new U.UF.UI.form(
  4000. "学习分析",
  4001. $$("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 }), {
  4002. "id": "learnAna",
  4003. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4004. "onresize": function() {}
  4005. }, {
  4006. closecallback: function() {}
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _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); } }
  4009. break;
  4010. case "AIChat": //AI共创
  4011. _formdiv = new U.UF.UI.form(
  4012. "AI共创",
  4013. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4014. "id": "AIChat",
  4015. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4016. "onresize": function() {}
  4017. }, {
  4018. istop: true,
  4019. closecallback: function() { $("#aichat_icon").remove(); },
  4020. narrowcallback: function() {
  4021. if (!$("#aichat_icon")[0]) {
  4022. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4023. }
  4024. },
  4025. }, { "style": { "height": "36px" } }).form; //创建窗体
  4026. _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); } }
  4027. break;
  4028. case "ainew": //AI共创
  4029. _formdiv = new U.UF.UI.form(
  4030. "AI协同",
  4031. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4032. "id": "ainew",
  4033. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4034. "onresize": function() {}
  4035. }, {
  4036. closecallback: function() {}
  4037. }, { "style": { "height": "36px" } }).form; //创建窗体
  4038. _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); } }
  4039. break;
  4040. case "futureClass": //AI共创
  4041. _formdiv = new U.UF.UI.form(
  4042. "知识建构",
  4043. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4044. "id": "futureClass",
  4045. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4046. "onresize": function() {}
  4047. }, {
  4048. closecallback: function() {}
  4049. }, { "style": { "height": "36px" } }).form; //创建窗体
  4050. _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); } }
  4051. break;
  4052. case "dataBoard": //数据看板
  4053. _formdiv = new U.UF.UI.form(
  4054. "数据看板",
  4055. $$("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 }), {
  4056. "id": "dataBoard",
  4057. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4058. "onresize": function() {}
  4059. }, {
  4060. closecallback: function() {}
  4061. }, { "style": { "height": "36px" } }).form; //创建窗体
  4062. _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); } }
  4063. break;
  4064. case "AIAnalyse": //AI共创
  4065. _formdiv = new U.UF.UI.form(
  4066. "AI分析",
  4067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4068. "id": "AIAnalyse",
  4069. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4070. "onresize": function() {}
  4071. }, {
  4072. closecallback: function() {}
  4073. }, { "style": { "height": "36px" } }).form; //创建窗体
  4074. _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); } }
  4075. break;
  4076. case "studioCourse": //AI共创
  4077. _formdiv = new U.UF.UI.form(
  4078. "工作管理",
  4079. $$("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 }), {
  4080. "id": "studioCourse",
  4081. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4082. "onresize": function() {}
  4083. }, {
  4084. closecallback: function() {}
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. _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); } }
  4087. break;
  4088. case "studioIndex": //AI共创
  4089. _formdiv = new U.UF.UI.form(
  4090. "工作中心",
  4091. $$("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 }), {
  4092. "id": "studioIndex",
  4093. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4094. "onresize": function() {}
  4095. }, {
  4096. closecallback: function() {}
  4097. }, { "style": { "height": "36px" } }).form; //创建窗体
  4098. _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); } }
  4099. break;
  4100. case "source":
  4101. _formdiv = new U.UF.UI.form(
  4102. "教学资源",
  4103. $$("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 }), {
  4104. "id": "source",
  4105. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4106. "onresize": function() {}
  4107. }, {
  4108. closecallback: function() {}
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _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); } }
  4111. break;
  4112. }
  4113. //U.MD.D.I.openClick(str);
  4114. //如果有任务栏信息
  4115. if (_taskbar) {
  4116. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4117. }
  4118. }
  4119. // U.MD.D.I.openClick = function(str){
  4120. // var click = '';
  4121. // switch(str){
  4122. // case 'friend':
  4123. // click = '我的好友';
  4124. // break;
  4125. // case 'domain':
  4126. // click = '域名管理';
  4127. // break;
  4128. // case 'disk':
  4129. // click = '我的云盘';
  4130. // break;
  4131. // case 'word':
  4132. // click = 'Word';
  4133. // break;
  4134. // case 'excel':
  4135. // click = 'Execl';
  4136. // break;
  4137. // case 'txt':
  4138. // click = '文本文件';
  4139. // break;
  4140. // case 'lookupFriend':
  4141. // click = '查找好友';
  4142. // break;
  4143. // case 'ftp':
  4144. // click = 'FTP';
  4145. // break;
  4146. // case 'group':
  4147. // click = '群组';
  4148. // break;
  4149. // case 'set':
  4150. // click = '我的设置';
  4151. // break;
  4152. // case 'systemSet':
  4153. // click = '系统设置';
  4154. // break;
  4155. // case 'boomYun':
  4156. // click = '互联办公';
  4157. // break;
  4158. // case 'xz':
  4159. // click = '云端下载';
  4160. // break;
  4161. // case 'client':
  4162. // click = '有思浏览器';
  4163. // break;
  4164. // case 'backEndProgramming':
  4165. // click = '在线后台编程';
  4166. // break;
  4167. // case 'frontEndProgramming':
  4168. // click = '在线前端编程';
  4169. // break;
  4170. // default: break;
  4171. // }
  4172. // if(U.MD.D.I.Ip && click){
  4173. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4174. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4175. // })
  4176. // }
  4177. // }
  4178. /**
  4179. *函数作用:ajax简易函数,使用post格式
  4180. *@param url {data} 后台地址
  4181. *@param data {data} 参数json
  4182. *@param fn {data} 回调函数
  4183. *
  4184. */
  4185. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4186. // var xhr = new XMLHttpRequest();
  4187. // xhr.open("GET",url,true);
  4188. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4189. // xhr.onreadystatechange = function(){
  4190. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4191. // fn.call(this,xhr.responseText);
  4192. // }
  4193. // };
  4194. // xhr.send();
  4195. // }
  4196. /*判断是否是内网IP*/
  4197. // U.MD.D.I.isInnerIPFn = function(str){
  4198. // var curPageUrl = str;
  4199. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4200. // curPageUrl =curPageUrl.replace(reg1,'');
  4201. // // console.log('curPageUrl-1 '+curPageUrl);
  4202. // var reg2 = /\:+/g;//替换冒号为一点
  4203. // curPageUrl =curPageUrl.replace(reg2,'.');
  4204. // // console.log('curPageUrl-2 '+curPageUrl);
  4205. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4206. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4207. // if(curPageUrl[2] != '16'){
  4208. // return ipAddress;
  4209. // }else{
  4210. // return false;
  4211. // }
  4212. // }
  4213. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4214. // //compatibility for firefox and chrome
  4215. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4216. // var pc = new myPeerConnection({
  4217. // iceServers: []
  4218. // }),
  4219. // noop = function() {},
  4220. // localIPs = {},
  4221. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4222. // key;
  4223. // function iterateIP(ip) {
  4224. // if (!localIPs[ip]) onNewIP(ip);
  4225. // localIPs[ip] = true;
  4226. // }
  4227. // //create a bogus data channel
  4228. // pc.createDataChannel("");
  4229. // // create offer and set local description
  4230. // pc.createOffer().then(function(sdp) {
  4231. // sdp.sdp.split('\n').forEach(function(line) {
  4232. // if (line.indexOf('candidate') < 0) return;
  4233. // line.match(ipRegex).forEach(iterateIP);
  4234. // });
  4235. // pc.setLocalDescription(sdp, noop, noop);
  4236. // }).catch(function(reason) {
  4237. // // An error occurred, so handle the failure to connect
  4238. // });
  4239. // //sten for candidate events
  4240. // pc.onicecandidate = function(ice) {
  4241. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4242. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4243. // };
  4244. // }
  4245. // U.MD.D.I.getUserIpBool = function(callback){
  4246. // U.MD.D.I.getUserIP(function(ip){
  4247. // alert("Got IP! :" + ip);
  4248. // });
  4249. //}
  4250. //#endregion
  4251. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4252. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4253. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4254. _userinfo = US.userInfo, //登录用户信息
  4255. _userid = US.userInfo.userid //登录用户id
  4256. let _iframe;
  4257. let _cid = cid,
  4258. _stage = stage,
  4259. _task = task,
  4260. _tool = tool;
  4261. var _jie = $$("div", {
  4262. "style": {
  4263. "position": "absolute",
  4264. "bottom": "50px",
  4265. "right": "50px",
  4266. "zIndex": "9999",
  4267. "backgroundColor": "#2268bc",
  4268. "color": "#fff",
  4269. "padding": "12px 20px",
  4270. "cursor": "pointer",
  4271. "borderRadius": "4px",
  4272. },
  4273. "innerHTML": "提交作业"
  4274. })
  4275. let aTool = ''
  4276. let _loading = document.createElement('div')
  4277. _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;"
  4278. // _loading.id = "";
  4279. let _lchild = document.createElement('div')
  4280. let _limg = document.createElement('img')
  4281. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4282. _limg.style = "width: 26px;margin-right: 10px;"
  4283. _lchild.appendChild(_limg)
  4284. let _lspan = document.createElement('span')
  4285. _lspan.innerHTML = "上传中..."
  4286. _lchild.appendChild(_lspan)
  4287. _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%);"
  4288. _loading.appendChild(_lchild)
  4289. var _box = $$('div', {
  4290. "style": {
  4291. "position": "relative",
  4292. "width": "100%",
  4293. "height": "100%",
  4294. },
  4295. })
  4296. _box.appendChild(_loading)
  4297. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4298. switch (str) {
  4299. case "whiteboard":
  4300. aTool = 1;
  4301. _iframe = $$("iframe", {
  4302. "frameborder": "no",
  4303. "border": "0",
  4304. "scrolling ": "no",
  4305. "style": {
  4306. "cssText": "border:0;width:100%;height:100%"
  4307. },
  4308. "src": "https://iwb.cocorobo.cn/"
  4309. })
  4310. _box.appendChild(_iframe);
  4311. _box.appendChild(_jie);
  4312. _formdiv = new U.UF.UI.form(
  4313. "电子白板",
  4314. _box, {
  4315. "id": "whiteboard" + cid + stage + task + tool,
  4316. "style": {
  4317. "width": "90%",
  4318. "height": "90%",
  4319. "overflow": 'hidden'
  4320. },
  4321. "onresize": function() {}
  4322. }, {
  4323. closecallback: function() {}
  4324. }, {
  4325. "style": {
  4326. "height": "36px"
  4327. }
  4328. }).form; //创建窗体
  4329. _taskbar = {
  4330. "id": str + _formdiv.id,
  4331. "style": {
  4332. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4333. },
  4334. "name": "电子白板",
  4335. "forms": _formdiv,
  4336. "click": function() {
  4337. U.MD.D.I.openApplication(str, obj, info);
  4338. }
  4339. }
  4340. break;
  4341. case "mind":
  4342. aTool = 3;
  4343. _iframe = $$("iframe", {
  4344. "frameborder": "no",
  4345. "border": "0",
  4346. "scrolling ": "no",
  4347. "style": {
  4348. "cssText": "border:0;width:100%;height:100%"
  4349. },
  4350. "src": "/kityminder-editor/dist/index.html"
  4351. })
  4352. _box.appendChild(_iframe);
  4353. _box.appendChild(_jie);
  4354. _formdiv = new U.UF.UI.form(
  4355. "思维导图",
  4356. _box, { //"/jsmind/example/demo.html"
  4357. "id": "mind" + cid + stage + task + tool,
  4358. "style": {
  4359. "width": "90%",
  4360. "height": "90%",
  4361. "overflow": 'hidden'
  4362. },
  4363. "onresize": function() {}
  4364. }, {
  4365. closecallback: function() {}
  4366. }, {
  4367. "style": {
  4368. "height": "36px"
  4369. }
  4370. }).form; //创建窗体
  4371. _taskbar = {
  4372. "id": str + _formdiv.id,
  4373. "style": {
  4374. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4375. },
  4376. "name": "思维导图",
  4377. "forms": _formdiv,
  4378. "click": function() {
  4379. U.MD.D.I.openApplication(str, obj, info);
  4380. }
  4381. }
  4382. break;
  4383. case "MindMap":
  4384. aTool = 3;
  4385. _iframe = $$("iframe", {
  4386. "frameborder": "no",
  4387. "border": "0",
  4388. "scrolling ": "no",
  4389. "style": {
  4390. "cssText": "border:0;width:100%;height:100%"
  4391. },
  4392. "src": "//cloud.cocorobo.cn/mind/"
  4393. })
  4394. _box.appendChild(_iframe);
  4395. _box.appendChild(_jie);
  4396. _formdiv = new U.UF.UI.form(
  4397. "思维导图",
  4398. _box, { //"/jsmind/example/demo.html"
  4399. "id": "mind" + cid + stage + task + tool,
  4400. "style": {
  4401. "width": "90%",
  4402. "height": "90%",
  4403. "overflow": 'hidden'
  4404. },
  4405. "onresize": function() {}
  4406. }, {
  4407. closecallback: function() {}
  4408. }, {
  4409. "style": {
  4410. "height": "36px"
  4411. }
  4412. }).form; //创建窗体
  4413. _taskbar = {
  4414. "id": str + _formdiv.id,
  4415. "style": {
  4416. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4417. },
  4418. "name": "思维导图",
  4419. "forms": _formdiv,
  4420. "click": function() {
  4421. U.MD.D.I.openApplication(str, obj, info);
  4422. }
  4423. }
  4424. break;
  4425. case "doc":
  4426. aTool = 6;
  4427. _iframe = $$("iframe", {
  4428. "frameborder": "no",
  4429. "border": "0",
  4430. "scrolling ": "no",
  4431. "style": {
  4432. "cssText": "border:0;width:100%;height:100%"
  4433. },
  4434. "src": "/Office/Word/WordEditArea.htm"
  4435. })
  4436. _box.appendChild(_iframe);
  4437. _box.appendChild(_jie);
  4438. _formdiv = new U.UF.UI.form(
  4439. "协同文档",
  4440. _box, {
  4441. "id": "doc" + cid + stage + task + tool,
  4442. "style": {
  4443. "width": "90%",
  4444. "height": "90%",
  4445. "overflow": 'hidden'
  4446. },
  4447. "onresize": function() {}
  4448. }, {
  4449. closecallback: function() {}
  4450. }, {
  4451. "style": {
  4452. "height": "36px"
  4453. }
  4454. }).form; //创建窗体
  4455. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4456. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4457. })
  4458. _taskbar = {
  4459. "id": str + _formdiv.id,
  4460. "style": {
  4461. "backgroundImage": "url(/img/icon/doc.png)"
  4462. },
  4463. "name": "协同文档",
  4464. "forms": _formdiv,
  4465. "click": function() {
  4466. U.MD.D.I.openApplication(str, obj, info);
  4467. }
  4468. }
  4469. break;
  4470. case "mindNetwork": //好友打开
  4471. aTool = 7;
  4472. _iframe = $$("iframe", {
  4473. "webkitallowfullscreen": "",
  4474. "mozallowfullscreen": "",
  4475. "allowfullscreen": "",
  4476. "frameborder": "no",
  4477. "border": "0",
  4478. "scrolling ": "no",
  4479. "style": {
  4480. "cssText": "border:0; width:100%; height:100%;"
  4481. },
  4482. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4483. })
  4484. _box.appendChild(_iframe);
  4485. _box.appendChild(_jie);
  4486. _formdiv = new U.UF.UI.form(
  4487. "思维网格",
  4488. _box, {
  4489. "id": "mindNetwork" + cid + stage + task + tool,
  4490. "style": {
  4491. "width": "90%",
  4492. "height": "90%",
  4493. "overflow": 'hidden'
  4494. },
  4495. "onresize": function() {}
  4496. }, {
  4497. closecallback: function() {}
  4498. }, {
  4499. "style": {
  4500. "height": "36px"
  4501. }
  4502. }).form; //创建窗体
  4503. _taskbar = {
  4504. "id": str + _formdiv.id,
  4505. "style": {
  4506. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4507. },
  4508. "name": "思维网格",
  4509. "forms": _formdiv,
  4510. "click": function() {
  4511. U.MD.D.I.openApplication(str, obj, info);
  4512. }
  4513. }
  4514. break;
  4515. case "courseDesign":
  4516. _iframe = $$("iframe", {
  4517. "webkitallowfullscreen": "",
  4518. "mozallowfullscreen": "",
  4519. "allowfullscreen": "",
  4520. "frameborder": "no",
  4521. "border": "0",
  4522. "scrolling ": "no",
  4523. "style": {
  4524. "cssText": "border:0; width:100%; height:100%;"
  4525. },
  4526. "src": "/course-design-vue"
  4527. })
  4528. _box.appendChild(_iframe);
  4529. _box.appendChild(_jie);
  4530. _formdiv = new U.UF.UI.form(
  4531. "项目设计",
  4532. _box, {
  4533. "id": "courseDesign" + cid + stage + task + tool,
  4534. "style": {
  4535. "width": "90%",
  4536. "height": "90%",
  4537. "overflow": 'hidden'
  4538. },
  4539. "onresize": function() {}
  4540. }, {
  4541. closecallback: function() {}
  4542. }, {
  4543. "style": {
  4544. "height": "36px"
  4545. }
  4546. }).form; //创建窗体
  4547. _taskbar = {
  4548. "id": str + _formdiv.id,
  4549. "style": {
  4550. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4551. },
  4552. "name": "项目设计",
  4553. "forms": _formdiv,
  4554. "click": function() {
  4555. U.MD.D.I.openApplication(str, obj, info);
  4556. }
  4557. }
  4558. break;
  4559. }
  4560. const script1 = document.createElement("script");
  4561. script1.type = "text/javascript";
  4562. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4563. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4564. const script2 = document.createElement("script");
  4565. script2.type = "text/javascript";
  4566. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4567. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4568. const script3 = document.createElement("script");
  4569. script3.type = "text/javascript";
  4570. script3.charset = "UTF-8";
  4571. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4572. const script4 = document.createElement("script");
  4573. script4.type = "text/javascript";
  4574. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4575. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4576. if (_iframe) {
  4577. if (str == 'doc') {
  4578. _iframe = _formdiv.querySelector('iframe')
  4579. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4580. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4581. _iframe.contentWindow.document.body.appendChild(script1);
  4582. _iframe.contentWindow.document.body.appendChild(script2);
  4583. // _iframe.contentWindow.document.body.appendChild(script3);
  4584. _iframe.contentWindow.document.body.appendChild(script4);
  4585. })
  4586. if (onloadListener) {
  4587. _iframe.contentDocument.location.reload()
  4588. } else {
  4589. _iframe.contentDocument.location.reload()
  4590. }
  4591. } else if (str == 'courseDesign') {
  4592. U.UF.DL.iframeLoad(_iframe, function() {
  4593. // _iframe.contentWindow.U.MD.O.W.load();
  4594. // _iframe.contentWindow.document.body.appendChild(script1);
  4595. _iframe.contentWindow.document.body.appendChild(script2);
  4596. _iframe.contentWindow.document.body.appendChild(script4);
  4597. })
  4598. } else if (str == 'mind') {
  4599. _iframe = _formdiv.querySelector('iframe')
  4600. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4601. //
  4602. _iframe.contentWindow.document.body.appendChild(script1);
  4603. _iframe.contentWindow.document.body.appendChild(script2);
  4604. _iframe.contentWindow.document.body.appendChild(script4);
  4605. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4606. })
  4607. if (onloadListener) {
  4608. _iframe.contentDocument.location.reload()
  4609. } else {
  4610. _iframe.contentDocument.location.reload()
  4611. }
  4612. } else if (str == 'whiteboard') {
  4613. _iframe = _formdiv.querySelector('iframe')
  4614. let onloadListener = _iframe.onload = () => {
  4615. _iframe.contentWindow.document.body.appendChild(script1);
  4616. _iframe.contentWindow.document.body.appendChild(script2);
  4617. _iframe.contentWindow.document.body.appendChild(script4);
  4618. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4619. };
  4620. if (onloadListener) {
  4621. _iframe.contentDocument.location.reload()
  4622. } else {
  4623. _iframe.contentDocument.location.reload()
  4624. }
  4625. } else {
  4626. _iframe.onload = () => {
  4627. _iframe.contentWindow.document.body.appendChild(script1);
  4628. _iframe.contentWindow.document.body.appendChild(script2);
  4629. // _iframe.contentWindow.document.body.appendChild(script3);
  4630. _iframe.contentWindow.document.body.appendChild(script4);
  4631. };
  4632. }
  4633. _jie.onclick = async() => {
  4634. let text = ''
  4635. if (aTool == 1) {
  4636. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4637. } else if (aTool == 6) {
  4638. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4639. } else if (aTool == 3) {
  4640. text = await U.MD.D.I.getEditorContent(_iframe);
  4641. }
  4642. _loading.style.display = 'flex'
  4643. console.log(_loading);
  4644. var _ajs = _iframe.contentWindow.document.createElement("script");
  4645. _ajs.type = "text/javascript";
  4646. _ajs.innerHTML =
  4647. // 'console.log(' + _loading + ');\n' +
  4648. 'var _js = document.createElement("script");\n' +
  4649. '_js.type="text/javascript";\n' +
  4650. '_js.charset="UTF-8";\n' +
  4651. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4652. "_js.onload = function(){\n" +
  4653. ' var a = document.getElementsByTagName("img")\n' +
  4654. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4655. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4656. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4657. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4658. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4659. "beforeUpload_shishi(file," +
  4660. "'" +
  4661. _userid +
  4662. "'" +
  4663. ", " +
  4664. "'" +
  4665. _cid +
  4666. "'" +
  4667. ", " +
  4668. "'" +
  4669. _stage +
  4670. "'" +
  4671. ", " +
  4672. "'" +
  4673. _task +
  4674. "'" +
  4675. ", " +
  4676. "'" +
  4677. _tool +
  4678. "'" +
  4679. ", " +
  4680. "'" +
  4681. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4682. "'" +
  4683. ", " +
  4684. "'" +
  4685. aTool +
  4686. "'" +
  4687. ", " +
  4688. "`" +
  4689. text +
  4690. "`" +
  4691. ")\n" +
  4692. " });\n" +
  4693. "}\n" +
  4694. "document.head.appendChild(_js);\n";
  4695. _iframe.contentWindow.document.head.appendChild(_ajs);
  4696. }
  4697. }
  4698. //U.MD.D.I.openClick(str);
  4699. //如果有任务栏信息
  4700. // if (_taskbar) {
  4701. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4702. // }
  4703. }
  4704. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4705. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4706. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4707. _userinfo = US.userInfo, //登录用户信息
  4708. _userid = US.userInfo.userid //登录用户id
  4709. let _iframe;
  4710. let _cid = cid,
  4711. _stage = stage,
  4712. _task = task,
  4713. _tool = tool;
  4714. var _jie = $$("div", {
  4715. "style": {
  4716. "position": "absolute",
  4717. "bottom": "50px",
  4718. "right": "50px",
  4719. "zIndex": "9999",
  4720. "backgroundColor": "#2268bc",
  4721. "color": "#fff",
  4722. "padding": "12px 20px",
  4723. "cursor": "pointer",
  4724. "borderRadius": "4px",
  4725. },
  4726. "innerHTML": "提交作业"
  4727. })
  4728. let aTool = ''
  4729. let _loading = document.createElement('div')
  4730. _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;"
  4731. // _loading.id = "";
  4732. let _lchild = document.createElement('div')
  4733. let _limg = document.createElement('img')
  4734. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4735. _limg.style = "width: 26px;margin-right: 10px;"
  4736. _lchild.appendChild(_limg)
  4737. let _lspan = document.createElement('span')
  4738. _lspan.innerHTML = "上传中..."
  4739. _lchild.appendChild(_lspan)
  4740. _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%);"
  4741. _loading.appendChild(_lchild)
  4742. var _box = $$('div', {
  4743. "style": {
  4744. "position": "relative",
  4745. "width": "100%",
  4746. "height": "100%",
  4747. },
  4748. })
  4749. _box.appendChild(_loading)
  4750. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4751. switch (str) {
  4752. case "whiteboard":
  4753. aTool = 1;
  4754. _iframe = $$("iframe", {
  4755. "frameborder": "no",
  4756. "border": "0",
  4757. "scrolling ": "no",
  4758. "style": {
  4759. "cssText": "border:0;width:100%;height:100%"
  4760. },
  4761. "src": "https://iwb.cocorobo.cn/"
  4762. })
  4763. _box.appendChild(_iframe);
  4764. _box.appendChild(_jie);
  4765. _formdiv = new U.UF.UI.form(
  4766. "电子白板",
  4767. _box, {
  4768. "id": "whiteboard" + cid + stage + task + tool,
  4769. "style": {
  4770. "width": "90%",
  4771. "height": "90%",
  4772. "overflow": 'hidden'
  4773. },
  4774. "onresize": function() {}
  4775. }, {
  4776. closecallback: function() {}
  4777. }, {
  4778. "style": {
  4779. "height": "36px"
  4780. }
  4781. }).form; //创建窗体
  4782. _taskbar = {
  4783. "id": str + _formdiv.id,
  4784. "style": {
  4785. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4786. },
  4787. "name": "电子白板",
  4788. "forms": _formdiv,
  4789. "click": function() {
  4790. U.MD.D.I.openApplication(str, obj, info);
  4791. }
  4792. }
  4793. break;
  4794. case "mind":
  4795. aTool = 3;
  4796. _iframe = $$("iframe", {
  4797. "frameborder": "no",
  4798. "border": "0",
  4799. "scrolling ": "no",
  4800. "style": {
  4801. "cssText": "border:0;width:100%;height:100%"
  4802. },
  4803. "src": "/kityminder-editor/dist/index.html"
  4804. })
  4805. _box.appendChild(_iframe);
  4806. _box.appendChild(_jie);
  4807. _formdiv = new U.UF.UI.form(
  4808. "思维导图",
  4809. _box, { //"/jsmind/example/demo.html"
  4810. "id": "mind" + cid + stage + task + tool,
  4811. "style": {
  4812. "width": "90%",
  4813. "height": "90%",
  4814. "overflow": 'hidden'
  4815. },
  4816. "onresize": function() {}
  4817. }, {
  4818. closecallback: function() {}
  4819. }, {
  4820. "style": {
  4821. "height": "36px"
  4822. }
  4823. }).form; //创建窗体
  4824. _taskbar = {
  4825. "id": str + _formdiv.id,
  4826. "style": {
  4827. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4828. },
  4829. "name": "思维导图",
  4830. "forms": _formdiv,
  4831. "click": function() {
  4832. U.MD.D.I.openApplication(str, obj, info);
  4833. }
  4834. }
  4835. break;
  4836. case "MindMap":
  4837. aTool = 3;
  4838. _iframe = $$("iframe", {
  4839. "frameborder": "no",
  4840. "border": "0",
  4841. "scrolling ": "no",
  4842. "style": {
  4843. "cssText": "border:0;width:100%;height:100%"
  4844. },
  4845. "src": "//cloud.cocorobo.cn/mind/"
  4846. })
  4847. _box.appendChild(_iframe);
  4848. _box.appendChild(_jie);
  4849. _formdiv = new U.UF.UI.form(
  4850. "思维导图",
  4851. _box, { //"/jsmind/example/demo.html"
  4852. "id": "mind" + cid + stage + task + tool,
  4853. "style": {
  4854. "width": "90%",
  4855. "height": "90%",
  4856. "overflow": 'hidden'
  4857. },
  4858. "onresize": function() {}
  4859. }, {
  4860. closecallback: function() {}
  4861. }, {
  4862. "style": {
  4863. "height": "36px"
  4864. }
  4865. }).form; //创建窗体
  4866. _taskbar = {
  4867. "id": str + _formdiv.id,
  4868. "style": {
  4869. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4870. },
  4871. "name": "思维导图",
  4872. "forms": _formdiv,
  4873. "click": function() {
  4874. U.MD.D.I.openApplication(str, obj, info);
  4875. }
  4876. }
  4877. break;
  4878. case "doc":
  4879. aTool = 6;
  4880. _iframe = $$("iframe", {
  4881. "frameborder": "no",
  4882. "border": "0",
  4883. "scrolling ": "no",
  4884. "style": {
  4885. "cssText": "border:0;width:100%;height:100%"
  4886. },
  4887. "src": "/Office/Word/WordEditArea.htm"
  4888. })
  4889. _box.appendChild(_iframe);
  4890. _box.appendChild(_jie);
  4891. _formdiv = new U.UF.UI.form(
  4892. "协同文档",
  4893. _box, {
  4894. "id": "doc" + cid + stage + task + tool,
  4895. "style": {
  4896. "width": "90%",
  4897. "height": "90%",
  4898. "overflow": 'hidden'
  4899. },
  4900. "onresize": function() {}
  4901. }, {
  4902. closecallback: function() {}
  4903. }, {
  4904. "style": {
  4905. "height": "36px"
  4906. }
  4907. }).form; //创建窗体
  4908. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4909. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4910. })
  4911. _taskbar = {
  4912. "id": str + _formdiv.id,
  4913. "style": {
  4914. "backgroundImage": "url(/img/icon/doc.png)"
  4915. },
  4916. "name": "协同文档",
  4917. "forms": _formdiv,
  4918. "click": function() {
  4919. U.MD.D.I.openApplication(str, obj, info);
  4920. }
  4921. }
  4922. break;
  4923. case "mindNetwork": //好友打开
  4924. aTool = 7;
  4925. _iframe = $$("iframe", {
  4926. "webkitallowfullscreen": "",
  4927. "mozallowfullscreen": "",
  4928. "allowfullscreen": "",
  4929. "frameborder": "no",
  4930. "border": "0",
  4931. "scrolling ": "no",
  4932. "style": {
  4933. "cssText": "border:0; width:100%; height:100%;"
  4934. },
  4935. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4936. })
  4937. _box.appendChild(_iframe);
  4938. _box.appendChild(_jie);
  4939. _formdiv = new U.UF.UI.form(
  4940. "思维网格",
  4941. _box, {
  4942. "id": "mindNetwork" + cid + stage + task + tool,
  4943. "style": {
  4944. "width": "90%",
  4945. "height": "90%",
  4946. "overflow": 'hidden'
  4947. },
  4948. "onresize": function() {}
  4949. }, {
  4950. closecallback: function() {}
  4951. }, {
  4952. "style": {
  4953. "height": "36px"
  4954. }
  4955. }).form; //创建窗体
  4956. _taskbar = {
  4957. "id": str + _formdiv.id,
  4958. "style": {
  4959. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4960. },
  4961. "name": "思维网格",
  4962. "forms": _formdiv,
  4963. "click": function() {
  4964. U.MD.D.I.openApplication(str, obj, info);
  4965. }
  4966. }
  4967. break;
  4968. case "courseDesign":
  4969. _iframe = $$("iframe", {
  4970. "webkitallowfullscreen": "",
  4971. "mozallowfullscreen": "",
  4972. "allowfullscreen": "",
  4973. "frameborder": "no",
  4974. "border": "0",
  4975. "scrolling ": "no",
  4976. "style": {
  4977. "cssText": "border:0; width:100%; height:100%;"
  4978. },
  4979. "src": "/course-design-vue"
  4980. })
  4981. _box.appendChild(_iframe);
  4982. _box.appendChild(_jie);
  4983. _formdiv = new U.UF.UI.form(
  4984. "项目设计",
  4985. _box, {
  4986. "id": "courseDesign" + cid + stage + task + tool,
  4987. "style": {
  4988. "width": "90%",
  4989. "height": "90%",
  4990. "overflow": 'hidden'
  4991. },
  4992. "onresize": function() {}
  4993. }, {
  4994. closecallback: function() {}
  4995. }, {
  4996. "style": {
  4997. "height": "36px"
  4998. }
  4999. }).form; //创建窗体
  5000. _taskbar = {
  5001. "id": str + _formdiv.id,
  5002. "style": {
  5003. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5004. },
  5005. "name": "项目设计",
  5006. "forms": _formdiv,
  5007. "click": function() {
  5008. U.MD.D.I.openApplication(str, obj, info);
  5009. }
  5010. }
  5011. break;
  5012. }
  5013. const script1 = document.createElement("script");
  5014. script1.type = "text/javascript";
  5015. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5016. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5017. const script2 = document.createElement("script");
  5018. script2.type = "text/javascript";
  5019. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5020. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5021. const script3 = document.createElement("script");
  5022. script3.type = "text/javascript";
  5023. script3.charset = "UTF-8";
  5024. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5025. const script4 = document.createElement("script");
  5026. script4.type = "text/javascript";
  5027. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5028. script4.src = window.origin + "/js/Common/jietu2E.js";
  5029. if (_iframe) {
  5030. if (str == 'doc') {
  5031. _iframe = _formdiv.querySelector('iframe')
  5032. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5033. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5034. _iframe.contentWindow.document.body.appendChild(script1);
  5035. _iframe.contentWindow.document.body.appendChild(script2);
  5036. // _iframe.contentWindow.document.body.appendChild(script3);
  5037. _iframe.contentWindow.document.body.appendChild(script4);
  5038. })
  5039. if (onloadListener) {
  5040. _iframe.contentDocument.location.reload()
  5041. } else {
  5042. _iframe.contentDocument.location.reload()
  5043. }
  5044. } else if (str == 'courseDesign') {
  5045. U.UF.DL.iframeLoad(_iframe, function() {
  5046. // _iframe.contentWindow.U.MD.O.W.load();
  5047. // _iframe.contentWindow.document.body.appendChild(script1);
  5048. _iframe.contentWindow.document.body.appendChild(script2);
  5049. _iframe.contentWindow.document.body.appendChild(script4);
  5050. })
  5051. } else if (str == 'mind') {
  5052. _iframe = _formdiv.querySelector('iframe')
  5053. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5054. //
  5055. _iframe.contentWindow.document.body.appendChild(script1);
  5056. _iframe.contentWindow.document.body.appendChild(script2);
  5057. _iframe.contentWindow.document.body.appendChild(script4);
  5058. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5059. })
  5060. if (onloadListener) {
  5061. _iframe.contentDocument.location.reload()
  5062. } else {
  5063. _iframe.contentDocument.location.reload()
  5064. }
  5065. } else if (str == 'whiteboard') {
  5066. _iframe = _formdiv.querySelector('iframe')
  5067. let onloadListener = _iframe.onload = () => {
  5068. _iframe.contentWindow.document.body.appendChild(script1);
  5069. _iframe.contentWindow.document.body.appendChild(script2);
  5070. _iframe.contentWindow.document.body.appendChild(script4);
  5071. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5072. };
  5073. if (onloadListener) {
  5074. _iframe.contentDocument.location.reload()
  5075. } else {
  5076. _iframe.contentDocument.location.reload()
  5077. }
  5078. } else {
  5079. _iframe.onload = () => {
  5080. _iframe.contentWindow.document.body.appendChild(script1);
  5081. _iframe.contentWindow.document.body.appendChild(script2);
  5082. // _iframe.contentWindow.document.body.appendChild(script3);
  5083. _iframe.contentWindow.document.body.appendChild(script4);
  5084. };
  5085. }
  5086. _jie.onclick = async() => {
  5087. let text = ''
  5088. if (aTool == 1) {
  5089. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5090. } else if (aTool == 6) {
  5091. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5092. } else if (aTool == 3) {
  5093. text = await U.MD.D.I.getEditorContent(_iframe);
  5094. }
  5095. _loading.style.display = 'flex'
  5096. console.log(_loading);
  5097. var _ajs = _iframe.contentWindow.document.createElement("script");
  5098. _ajs.type = "text/javascript";
  5099. _ajs.innerHTML =
  5100. // 'console.log(' + _loading + ');\n' +
  5101. 'var _js = document.createElement("script");\n' +
  5102. '_js.type="text/javascript";\n' +
  5103. '_js.charset="UTF-8";\n' +
  5104. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5105. "_js.onload = function(){\n" +
  5106. ' var a = document.getElementsByTagName("img")\n' +
  5107. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5108. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5109. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5110. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5111. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5112. "beforeUpload_shishi(file," +
  5113. "'" +
  5114. _userid +
  5115. "'" +
  5116. ", " +
  5117. "'" +
  5118. _cid +
  5119. "'" +
  5120. ", " +
  5121. "'" +
  5122. _stage +
  5123. "'" +
  5124. ", " +
  5125. "'" +
  5126. _task +
  5127. "'" +
  5128. ", " +
  5129. "'" +
  5130. _tool +
  5131. "'" +
  5132. ", " +
  5133. "'" +
  5134. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5135. "'" +
  5136. ", " +
  5137. "'" +
  5138. aTool +
  5139. "'" +
  5140. ", " +
  5141. "`" +
  5142. text +
  5143. "`" +
  5144. ")\n" +
  5145. " });\n" +
  5146. "}\n" +
  5147. "document.head.appendChild(_js);\n";
  5148. _iframe.contentWindow.document.head.appendChild(_ajs);
  5149. }
  5150. }
  5151. //U.MD.D.I.openClick(str);
  5152. //如果有任务栏信息
  5153. // if (_taskbar) {
  5154. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5155. // }
  5156. }
  5157. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5158. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5159. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5160. _userid = student.userid, //登录用户id
  5161. _username = student.student //用户名字
  5162. let _iframe;
  5163. let _cid = cid,
  5164. _stage = stage,
  5165. _task = task,
  5166. _tool = tool;
  5167. var _jie = $$("div", {
  5168. "style": {
  5169. "position": "absolute",
  5170. "bottom": "50px",
  5171. "right": "50px",
  5172. "zIndex": "9999",
  5173. "backgroundColor": "#2268bc",
  5174. "color": "#fff",
  5175. "padding": "12px 20px",
  5176. "cursor": "pointer",
  5177. "borderRadius": "4px",
  5178. },
  5179. "innerHTML": "提交作业"
  5180. })
  5181. let aTool = ''
  5182. let _loading = document.createElement('div')
  5183. _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;"
  5184. // _loading.id = "";
  5185. let _lchild = document.createElement('div')
  5186. let _limg = document.createElement('img')
  5187. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5188. _limg.style = "width: 26px;margin-right: 10px;"
  5189. _lchild.appendChild(_limg)
  5190. let _lspan = document.createElement('span')
  5191. _lspan.innerHTML = "上传中..."
  5192. _lchild.appendChild(_lspan)
  5193. _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%);"
  5194. _loading.appendChild(_lchild)
  5195. var _box = $$('div', {
  5196. "style": {
  5197. "position": "relative",
  5198. "width": "100%",
  5199. "height": "100%",
  5200. },
  5201. })
  5202. _box.appendChild(_loading)
  5203. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5204. switch (str) {
  5205. case "whiteboard":
  5206. aTool = 1;
  5207. _iframe = $$("iframe", {
  5208. "frameborder": "no",
  5209. "border": "0",
  5210. "scrolling ": "no",
  5211. "style": {
  5212. "cssText": "border:0;width:100%;height:100%"
  5213. },
  5214. "src": "https://iwb.cocorobo.cn/"
  5215. })
  5216. _box.appendChild(_iframe);
  5217. _box.appendChild(_jie);
  5218. _formdiv = new U.UF.UI.form(
  5219. "电子白板-" + _username,
  5220. _box, {
  5221. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5222. "style": {
  5223. "width": "90%",
  5224. "height": "90%",
  5225. "overflow": 'hidden'
  5226. },
  5227. "onresize": function() {}
  5228. }, {
  5229. closecallback: function() {}
  5230. }, {
  5231. "style": {
  5232. "height": "36px"
  5233. }
  5234. }).form; //创建窗体
  5235. _taskbar = {
  5236. "id": str + _formdiv.id,
  5237. "style": {
  5238. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5239. },
  5240. "name": "电子白板",
  5241. "forms": _formdiv,
  5242. "click": function() {
  5243. U.MD.D.I.openApplication(str, obj, info);
  5244. }
  5245. }
  5246. break;
  5247. case "mind":
  5248. aTool = 3;
  5249. _iframe = $$("iframe", {
  5250. "frameborder": "no",
  5251. "border": "0",
  5252. "scrolling ": "no",
  5253. "style": {
  5254. "cssText": "border:0;width:100%;height:100%"
  5255. },
  5256. "src": "/kityminder-editor/dist/index.html"
  5257. })
  5258. _box.appendChild(_iframe);
  5259. _box.appendChild(_jie);
  5260. _formdiv = new U.UF.UI.form(
  5261. "思维导图-" + _username,
  5262. _box, { //"/jsmind/example/demo.html"
  5263. "id": "mind" + cid + stage + task + tool + _userid,
  5264. "style": {
  5265. "width": "90%",
  5266. "height": "90%",
  5267. "overflow": 'hidden'
  5268. },
  5269. "onresize": function() {}
  5270. }, {
  5271. closecallback: function() {}
  5272. }, {
  5273. "style": {
  5274. "height": "36px"
  5275. }
  5276. }).form; //创建窗体
  5277. _taskbar = {
  5278. "id": str + _formdiv.id,
  5279. "style": {
  5280. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5281. },
  5282. "name": "思维导图",
  5283. "forms": _formdiv,
  5284. "click": function() {
  5285. U.MD.D.I.openApplication(str, obj, info);
  5286. }
  5287. }
  5288. break;
  5289. case "MindMap":
  5290. aTool = 3;
  5291. _iframe = $$("iframe", {
  5292. "frameborder": "no",
  5293. "border": "0",
  5294. "scrolling ": "no",
  5295. "style": {
  5296. "cssText": "border:0;width:100%;height:100%"
  5297. },
  5298. "src": "//cloud.cocorobo.cn/mind/"
  5299. })
  5300. _box.appendChild(_iframe);
  5301. _box.appendChild(_jie);
  5302. _formdiv = new U.UF.UI.form(
  5303. "思维导图-" + _username,
  5304. _box, { //"/jsmind/example/demo.html"
  5305. "id": "mind" + cid + stage + task + tool + _userid,
  5306. "style": {
  5307. "width": "90%",
  5308. "height": "90%",
  5309. "overflow": 'hidden'
  5310. },
  5311. "onresize": function() {}
  5312. }, {
  5313. closecallback: function() {}
  5314. }, {
  5315. "style": {
  5316. "height": "36px"
  5317. }
  5318. }).form; //创建窗体
  5319. _taskbar = {
  5320. "id": str + _formdiv.id,
  5321. "style": {
  5322. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5323. },
  5324. "name": "思维导图",
  5325. "forms": _formdiv,
  5326. "click": function() {
  5327. U.MD.D.I.openApplication(str, obj, info);
  5328. }
  5329. }
  5330. break;
  5331. case "doc":
  5332. aTool = 6;
  5333. _iframe = $$("iframe", {
  5334. "frameborder": "no",
  5335. "border": "0",
  5336. "scrolling ": "no",
  5337. "style": {
  5338. "cssText": "border:0;width:100%;height:100%"
  5339. },
  5340. "src": "/Office/Word/WordEditArea.htm"
  5341. })
  5342. _box.appendChild(_iframe);
  5343. _box.appendChild(_jie);
  5344. _formdiv = new U.UF.UI.form(
  5345. "协同文档-" + _username,
  5346. _box, {
  5347. "id": "doc" + cid + stage + task + tool + _userid,
  5348. "style": {
  5349. "width": "90%",
  5350. "height": "90%",
  5351. "overflow": 'hidden'
  5352. },
  5353. "onresize": function() {}
  5354. }, {
  5355. closecallback: function() {}
  5356. }, {
  5357. "style": {
  5358. "height": "36px"
  5359. }
  5360. }).form; //创建窗体
  5361. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5362. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5363. })
  5364. _taskbar = {
  5365. "id": str + _formdiv.id,
  5366. "style": {
  5367. "backgroundImage": "url(/img/icon/doc.png)"
  5368. },
  5369. "name": "协同文档",
  5370. "forms": _formdiv,
  5371. "click": function() {
  5372. U.MD.D.I.openApplication(str, obj, info);
  5373. }
  5374. }
  5375. break;
  5376. case "mindNetwork": //好友打开
  5377. aTool = 7;
  5378. _iframe = $$("iframe", {
  5379. "webkitallowfullscreen": "",
  5380. "mozallowfullscreen": "",
  5381. "allowfullscreen": "",
  5382. "frameborder": "no",
  5383. "border": "0",
  5384. "scrolling ": "no",
  5385. "style": {
  5386. "cssText": "border:0; width:100%; height:100%;"
  5387. },
  5388. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5389. })
  5390. _box.appendChild(_iframe);
  5391. _box.appendChild(_jie);
  5392. _formdiv = new U.UF.UI.form(
  5393. "思维网格-" + _username,
  5394. _box, {
  5395. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5396. "style": {
  5397. "width": "90%",
  5398. "height": "90%",
  5399. "overflow": 'hidden'
  5400. },
  5401. "onresize": function() {}
  5402. }, {
  5403. closecallback: function() {}
  5404. }, {
  5405. "style": {
  5406. "height": "36px"
  5407. }
  5408. }).form; //创建窗体
  5409. _taskbar = {
  5410. "id": str + _formdiv.id,
  5411. "style": {
  5412. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5413. },
  5414. "name": "思维网格",
  5415. "forms": _formdiv,
  5416. "click": function() {
  5417. U.MD.D.I.openApplication(str, obj, info);
  5418. }
  5419. }
  5420. break;
  5421. case "courseDesign":
  5422. _iframe = $$("iframe", {
  5423. "webkitallowfullscreen": "",
  5424. "mozallowfullscreen": "",
  5425. "allowfullscreen": "",
  5426. "frameborder": "no",
  5427. "border": "0",
  5428. "scrolling ": "no",
  5429. "style": {
  5430. "cssText": "border:0; width:100%; height:100%;"
  5431. },
  5432. "src": "/course-design-vue"
  5433. })
  5434. _box.appendChild(_iframe);
  5435. _box.appendChild(_jie);
  5436. _formdiv = new U.UF.UI.form(
  5437. "项目设计-" + _username,
  5438. _box, {
  5439. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5440. "style": {
  5441. "width": "90%",
  5442. "height": "90%",
  5443. "overflow": 'hidden'
  5444. },
  5445. "onresize": function() {}
  5446. }, {
  5447. closecallback: function() {}
  5448. }, {
  5449. "style": {
  5450. "height": "36px"
  5451. }
  5452. }).form; //创建窗体
  5453. _taskbar = {
  5454. "id": str + _formdiv.id,
  5455. "style": {
  5456. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5457. },
  5458. "name": "项目设计",
  5459. "forms": _formdiv,
  5460. "click": function() {
  5461. U.MD.D.I.openApplication(str, obj, info);
  5462. }
  5463. }
  5464. break;
  5465. }
  5466. const script1 = document.createElement("script");
  5467. script1.type = "text/javascript";
  5468. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5469. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5470. const script2 = document.createElement("script");
  5471. script2.type = "text/javascript";
  5472. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5473. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5474. const script3 = document.createElement("script");
  5475. script3.type = "text/javascript";
  5476. script3.charset = "UTF-8";
  5477. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5478. const script4 = document.createElement("script");
  5479. script4.type = "text/javascript";
  5480. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5481. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5482. if (_iframe) {
  5483. if (str == 'doc') {
  5484. _iframe = _formdiv.querySelector('iframe')
  5485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5486. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5487. _iframe.contentWindow.document.body.appendChild(script1);
  5488. _iframe.contentWindow.document.body.appendChild(script2);
  5489. // _iframe.contentWindow.document.body.appendChild(script3);
  5490. _iframe.contentWindow.document.body.appendChild(script4);
  5491. })
  5492. if (onloadListener) {
  5493. _iframe.contentDocument.location.reload()
  5494. } else {
  5495. _iframe.contentDocument.location.reload()
  5496. }
  5497. } else if (str == 'courseDesign') {
  5498. U.UF.DL.iframeLoad(_iframe, function() {
  5499. // _iframe.contentWindow.U.MD.O.W.load();
  5500. // _iframe.contentWindow.document.body.appendChild(script1);
  5501. _iframe.contentWindow.document.body.appendChild(script2);
  5502. _iframe.contentWindow.document.body.appendChild(script4);
  5503. })
  5504. } else if (str == 'mind') {
  5505. _iframe = _formdiv.querySelector('iframe')
  5506. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5507. //
  5508. _iframe.contentWindow.document.body.appendChild(script1);
  5509. _iframe.contentWindow.document.body.appendChild(script2);
  5510. _iframe.contentWindow.document.body.appendChild(script4);
  5511. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5512. })
  5513. if (onloadListener) {
  5514. _iframe.contentDocument.location.reload()
  5515. } else {
  5516. _iframe.contentDocument.location.reload()
  5517. }
  5518. } else if (str == 'whiteboard') {
  5519. _iframe = _formdiv.querySelector('iframe')
  5520. let onloadListener = _iframe.onload = () => {
  5521. _iframe.contentWindow.document.body.appendChild(script1);
  5522. _iframe.contentWindow.document.body.appendChild(script2);
  5523. _iframe.contentWindow.document.body.appendChild(script4);
  5524. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5525. };
  5526. if (onloadListener) {
  5527. _iframe.contentDocument.location.reload()
  5528. } else {
  5529. _iframe.contentDocument.location.reload()
  5530. }
  5531. } else {
  5532. _iframe.onload = () => {
  5533. _iframe.contentWindow.document.body.appendChild(script1);
  5534. _iframe.contentWindow.document.body.appendChild(script2);
  5535. // _iframe.contentWindow.document.body.appendChild(script3);
  5536. _iframe.contentWindow.document.body.appendChild(script4);
  5537. };
  5538. }
  5539. _jie.onclick = async() => {
  5540. let text = ''
  5541. if (aTool == 1) {
  5542. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5543. } else if (aTool == 6) {
  5544. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5545. } else if (aTool == 3) {
  5546. text = await U.MD.D.I.getEditorContent(_iframe);
  5547. }
  5548. _loading.style.display = 'flex'
  5549. console.log(_loading);
  5550. var _ajs = _iframe.contentWindow.document.createElement("script");
  5551. _ajs.type = "text/javascript";
  5552. _ajs.innerHTML =
  5553. // 'console.log(' + _loading + ');\n' +
  5554. 'var _js = document.createElement("script");\n' +
  5555. '_js.type="text/javascript";\n' +
  5556. '_js.charset="UTF-8";\n' +
  5557. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5558. "_js.onload = function(){\n" +
  5559. ' var a = document.getElementsByTagName("img")\n' +
  5560. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5561. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5562. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5563. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5564. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5565. "beforeUpload_shishi(file," +
  5566. "'" +
  5567. _userid +
  5568. "'" +
  5569. ", " +
  5570. "'" +
  5571. _cid +
  5572. "'" +
  5573. ", " +
  5574. "'" +
  5575. _stage +
  5576. "'" +
  5577. ", " +
  5578. "'" +
  5579. _task +
  5580. "'" +
  5581. ", " +
  5582. "'" +
  5583. _tool +
  5584. "'" +
  5585. ", " +
  5586. "'" +
  5587. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5588. "'" +
  5589. ", " +
  5590. "'" +
  5591. aTool +
  5592. "'" +
  5593. ", " +
  5594. "`" +
  5595. text +
  5596. "`" +
  5597. ")\n" +
  5598. " });\n" +
  5599. "}\n" +
  5600. "document.head.appendChild(_js);\n";
  5601. _iframe.contentWindow.document.head.appendChild(_ajs);
  5602. }
  5603. }
  5604. }
  5605. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5606. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5607. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5608. _userid = student.userid, //登录用户id
  5609. _username = student.student //用户名字
  5610. let _iframe;
  5611. let _cid = cid,
  5612. _stage = stage,
  5613. _task = task,
  5614. _tool = tool;
  5615. var _jie = $$("div", {
  5616. "style": {
  5617. "position": "absolute",
  5618. "bottom": "50px",
  5619. "right": "50px",
  5620. "zIndex": "9999",
  5621. "backgroundColor": "#2268bc",
  5622. "color": "#fff",
  5623. "padding": "12px 20px",
  5624. "cursor": "pointer",
  5625. "borderRadius": "4px",
  5626. },
  5627. "innerHTML": "提交作业"
  5628. })
  5629. let aTool = ''
  5630. let _loading = document.createElement('div')
  5631. _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;"
  5632. // _loading.id = "";
  5633. let _lchild = document.createElement('div')
  5634. let _limg = document.createElement('img')
  5635. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5636. _limg.style = "width: 26px;margin-right: 10px;"
  5637. _lchild.appendChild(_limg)
  5638. let _lspan = document.createElement('span')
  5639. _lspan.innerHTML = "上传中..."
  5640. _lchild.appendChild(_lspan)
  5641. _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%);"
  5642. _loading.appendChild(_lchild)
  5643. var _box = $$('div', {
  5644. "style": {
  5645. "position": "relative",
  5646. "width": "100%",
  5647. "height": "100%",
  5648. },
  5649. })
  5650. _box.appendChild(_loading)
  5651. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5652. switch (str) {
  5653. case "whiteboard":
  5654. aTool = 1;
  5655. _iframe = $$("iframe", {
  5656. "frameborder": "no",
  5657. "border": "0",
  5658. "scrolling ": "no",
  5659. "style": {
  5660. "cssText": "border:0;width:100%;height:100%"
  5661. },
  5662. "src": "https://iwb.cocorobo.cn/"
  5663. })
  5664. _box.appendChild(_iframe);
  5665. _box.appendChild(_jie);
  5666. _formdiv = new U.UF.UI.form(
  5667. "电子白板-" + _username,
  5668. _box, {
  5669. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5670. "style": {
  5671. "width": "90%",
  5672. "height": "90%",
  5673. "overflow": 'hidden'
  5674. },
  5675. "onresize": function() {}
  5676. }, {
  5677. closecallback: function() {}
  5678. }, {
  5679. "style": {
  5680. "height": "36px"
  5681. }
  5682. }).form; //创建窗体
  5683. _taskbar = {
  5684. "id": str + _formdiv.id,
  5685. "style": {
  5686. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5687. },
  5688. "name": "电子白板",
  5689. "forms": _formdiv,
  5690. "click": function() {
  5691. U.MD.D.I.openApplication(str, obj, info);
  5692. }
  5693. }
  5694. break;
  5695. case "mind":
  5696. aTool = 3;
  5697. _iframe = $$("iframe", {
  5698. "frameborder": "no",
  5699. "border": "0",
  5700. "scrolling ": "no",
  5701. "style": {
  5702. "cssText": "border:0;width:100%;height:100%"
  5703. },
  5704. "src": "/kityminder-editor/dist/index.html"
  5705. })
  5706. _box.appendChild(_iframe);
  5707. _box.appendChild(_jie);
  5708. _formdiv = new U.UF.UI.form(
  5709. "思维导图-" + _username,
  5710. _box, { //"/jsmind/example/demo.html"
  5711. "id": "mind" + cid + stage + task + tool + _userid,
  5712. "style": {
  5713. "width": "90%",
  5714. "height": "90%",
  5715. "overflow": 'hidden'
  5716. },
  5717. "onresize": function() {}
  5718. }, {
  5719. closecallback: function() {}
  5720. }, {
  5721. "style": {
  5722. "height": "36px"
  5723. }
  5724. }).form; //创建窗体
  5725. _taskbar = {
  5726. "id": str + _formdiv.id,
  5727. "style": {
  5728. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5729. },
  5730. "name": "思维导图",
  5731. "forms": _formdiv,
  5732. "click": function() {
  5733. U.MD.D.I.openApplication(str, obj, info);
  5734. }
  5735. }
  5736. break;
  5737. case "MindMap":
  5738. aTool = 3;
  5739. _iframe = $$("iframe", {
  5740. "frameborder": "no",
  5741. "border": "0",
  5742. "scrolling ": "no",
  5743. "style": {
  5744. "cssText": "border:0;width:100%;height:100%"
  5745. },
  5746. "src": "//cloud.cocorobo.cn/mind/"
  5747. })
  5748. _box.appendChild(_iframe);
  5749. _box.appendChild(_jie);
  5750. _formdiv = new U.UF.UI.form(
  5751. "思维导图-" + _username,
  5752. _box, { //"/jsmind/example/demo.html"
  5753. "id": "mind" + cid + stage + task + tool + _userid,
  5754. "style": {
  5755. "width": "90%",
  5756. "height": "90%",
  5757. "overflow": 'hidden'
  5758. },
  5759. "onresize": function() {}
  5760. }, {
  5761. closecallback: function() {}
  5762. }, {
  5763. "style": {
  5764. "height": "36px"
  5765. }
  5766. }).form; //创建窗体
  5767. _taskbar = {
  5768. "id": str + _formdiv.id,
  5769. "style": {
  5770. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5771. },
  5772. "name": "思维导图",
  5773. "forms": _formdiv,
  5774. "click": function() {
  5775. U.MD.D.I.openApplication(str, obj, info);
  5776. }
  5777. }
  5778. break;
  5779. case "doc":
  5780. aTool = 6;
  5781. _iframe = $$("iframe", {
  5782. "frameborder": "no",
  5783. "border": "0",
  5784. "scrolling ": "no",
  5785. "style": {
  5786. "cssText": "border:0;width:100%;height:100%"
  5787. },
  5788. "src": "/Office/Word/WordEditArea.htm"
  5789. })
  5790. _box.appendChild(_iframe);
  5791. _box.appendChild(_jie);
  5792. _formdiv = new U.UF.UI.form(
  5793. "协同文档-" + _username,
  5794. _box, {
  5795. "id": "doc" + cid + stage + task + tool + _userid,
  5796. "style": {
  5797. "width": "90%",
  5798. "height": "90%",
  5799. "overflow": 'hidden'
  5800. },
  5801. "onresize": function() {}
  5802. }, {
  5803. closecallback: function() {}
  5804. }, {
  5805. "style": {
  5806. "height": "36px"
  5807. }
  5808. }).form; //创建窗体
  5809. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5810. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5811. })
  5812. _taskbar = {
  5813. "id": str + _formdiv.id,
  5814. "style": {
  5815. "backgroundImage": "url(/img/icon/doc.png)"
  5816. },
  5817. "name": "协同文档",
  5818. "forms": _formdiv,
  5819. "click": function() {
  5820. U.MD.D.I.openApplication(str, obj, info);
  5821. }
  5822. }
  5823. break;
  5824. case "mindNetwork": //好友打开
  5825. aTool = 7;
  5826. _iframe = $$("iframe", {
  5827. "webkitallowfullscreen": "",
  5828. "mozallowfullscreen": "",
  5829. "allowfullscreen": "",
  5830. "frameborder": "no",
  5831. "border": "0",
  5832. "scrolling ": "no",
  5833. "style": {
  5834. "cssText": "border:0; width:100%; height:100%;"
  5835. },
  5836. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5837. })
  5838. _box.appendChild(_iframe);
  5839. _box.appendChild(_jie);
  5840. _formdiv = new U.UF.UI.form(
  5841. "思维网格-" + _username,
  5842. _box, {
  5843. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5844. "style": {
  5845. "width": "90%",
  5846. "height": "90%",
  5847. "overflow": 'hidden'
  5848. },
  5849. "onresize": function() {}
  5850. }, {
  5851. closecallback: function() {}
  5852. }, {
  5853. "style": {
  5854. "height": "36px"
  5855. }
  5856. }).form; //创建窗体
  5857. _taskbar = {
  5858. "id": str + _formdiv.id,
  5859. "style": {
  5860. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5861. },
  5862. "name": "思维网格",
  5863. "forms": _formdiv,
  5864. "click": function() {
  5865. U.MD.D.I.openApplication(str, obj, info);
  5866. }
  5867. }
  5868. break;
  5869. case "courseDesign":
  5870. _iframe = $$("iframe", {
  5871. "webkitallowfullscreen": "",
  5872. "mozallowfullscreen": "",
  5873. "allowfullscreen": "",
  5874. "frameborder": "no",
  5875. "border": "0",
  5876. "scrolling ": "no",
  5877. "style": {
  5878. "cssText": "border:0; width:100%; height:100%;"
  5879. },
  5880. "src": "/course-design-vue"
  5881. })
  5882. _box.appendChild(_iframe);
  5883. _box.appendChild(_jie);
  5884. _formdiv = new U.UF.UI.form(
  5885. "项目设计-" + _username,
  5886. _box, {
  5887. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5888. "style": {
  5889. "width": "90%",
  5890. "height": "90%",
  5891. "overflow": 'hidden'
  5892. },
  5893. "onresize": function() {}
  5894. }, {
  5895. closecallback: function() {}
  5896. }, {
  5897. "style": {
  5898. "height": "36px"
  5899. }
  5900. }).form; //创建窗体
  5901. _taskbar = {
  5902. "id": str + _formdiv.id,
  5903. "style": {
  5904. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5905. },
  5906. "name": "项目设计",
  5907. "forms": _formdiv,
  5908. "click": function() {
  5909. U.MD.D.I.openApplication(str, obj, info);
  5910. }
  5911. }
  5912. break;
  5913. }
  5914. const script1 = document.createElement("script");
  5915. script1.type = "text/javascript";
  5916. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5917. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5918. const script2 = document.createElement("script");
  5919. script2.type = "text/javascript";
  5920. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5921. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5922. const script3 = document.createElement("script");
  5923. script3.type = "text/javascript";
  5924. script3.charset = "UTF-8";
  5925. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5926. const script4 = document.createElement("script");
  5927. script4.type = "text/javascript";
  5928. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5929. script4.src = window.origin + "/js/Common/jietu2E.js";
  5930. if (_iframe) {
  5931. if (str == 'doc') {
  5932. _iframe = _formdiv.querySelector('iframe')
  5933. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5934. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5935. _iframe.contentWindow.document.body.appendChild(script1);
  5936. _iframe.contentWindow.document.body.appendChild(script2);
  5937. // _iframe.contentWindow.document.body.appendChild(script3);
  5938. _iframe.contentWindow.document.body.appendChild(script4);
  5939. })
  5940. if (onloadListener) {
  5941. _iframe.contentDocument.location.reload()
  5942. } else {
  5943. _iframe.contentDocument.location.reload()
  5944. }
  5945. } else if (str == 'courseDesign') {
  5946. U.UF.DL.iframeLoad(_iframe, function() {
  5947. // _iframe.contentWindow.U.MD.O.W.load();
  5948. // _iframe.contentWindow.document.body.appendChild(script1);
  5949. _iframe.contentWindow.document.body.appendChild(script2);
  5950. _iframe.contentWindow.document.body.appendChild(script4);
  5951. })
  5952. } else if (str == 'mind') {
  5953. _iframe = _formdiv.querySelector('iframe')
  5954. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5955. //
  5956. _iframe.contentWindow.document.body.appendChild(script1);
  5957. _iframe.contentWindow.document.body.appendChild(script2);
  5958. _iframe.contentWindow.document.body.appendChild(script4);
  5959. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5960. })
  5961. if (onloadListener) {
  5962. _iframe.contentDocument.location.reload()
  5963. } else {
  5964. _iframe.contentDocument.location.reload()
  5965. }
  5966. } else if (str == 'whiteboard') {
  5967. _iframe = _formdiv.querySelector('iframe')
  5968. let onloadListener = _iframe.onload = () => {
  5969. _iframe.contentWindow.document.body.appendChild(script1);
  5970. _iframe.contentWindow.document.body.appendChild(script2);
  5971. _iframe.contentWindow.document.body.appendChild(script4);
  5972. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5973. };
  5974. if (onloadListener) {
  5975. _iframe.contentDocument.location.reload()
  5976. } else {
  5977. _iframe.contentDocument.location.reload()
  5978. }
  5979. } else {
  5980. _iframe.onload = () => {
  5981. _iframe.contentWindow.document.body.appendChild(script1);
  5982. _iframe.contentWindow.document.body.appendChild(script2);
  5983. // _iframe.contentWindow.document.body.appendChild(script3);
  5984. _iframe.contentWindow.document.body.appendChild(script4);
  5985. };
  5986. }
  5987. _jie.onclick = async() => {
  5988. let text = ''
  5989. if (aTool == 1) {
  5990. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5991. } else if (aTool == 6) {
  5992. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5993. } else if (aTool == 3) {
  5994. text = await U.MD.D.I.getEditorContent(_iframe);
  5995. }
  5996. _loading.style.display = 'flex'
  5997. console.log(_loading);
  5998. var _ajs = _iframe.contentWindow.document.createElement("script");
  5999. _ajs.type = "text/javascript";
  6000. _ajs.innerHTML =
  6001. // 'console.log(' + _loading + ');\n' +
  6002. 'var _js = document.createElement("script");\n' +
  6003. '_js.type="text/javascript";\n' +
  6004. '_js.charset="UTF-8";\n' +
  6005. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6006. "_js.onload = function(){\n" +
  6007. ' var a = document.getElementsByTagName("img")\n' +
  6008. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6009. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6010. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6011. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6012. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6013. "beforeUpload_shishi(file," +
  6014. "'" +
  6015. _userid +
  6016. "'" +
  6017. ", " +
  6018. "'" +
  6019. _cid +
  6020. "'" +
  6021. ", " +
  6022. "'" +
  6023. _stage +
  6024. "'" +
  6025. ", " +
  6026. "'" +
  6027. _task +
  6028. "'" +
  6029. ", " +
  6030. "'" +
  6031. _tool +
  6032. "'" +
  6033. ", " +
  6034. "'" +
  6035. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6036. "'" +
  6037. ", " +
  6038. "'" +
  6039. aTool +
  6040. "'" +
  6041. ", " +
  6042. "`" +
  6043. text +
  6044. "`" +
  6045. ")\n" +
  6046. " });\n" +
  6047. "}\n" +
  6048. "document.head.appendChild(_js);\n";
  6049. _iframe.contentWindow.document.head.appendChild(_ajs);
  6050. }
  6051. }
  6052. }
  6053. U.MD.D.I.getEditorContent = function(iframe) {
  6054. return new Promise((resolve, reject) => {
  6055. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6056. console.log(content);
  6057. resolve(content)
  6058. });
  6059. });
  6060. }
  6061. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6062. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6063. // if (res.value[0].length > 0) {
  6064. // // resolve(res.value[0][0].text);
  6065. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6066. // $(fileInput).val('');
  6067. // });
  6068. // }
  6069. // }, [], { "type": "GET", "withCredentials": true });
  6070. var xmlhttp;
  6071. var Mac, Sn, DeviceId
  6072. if (window.XMLHttpRequest) {
  6073. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6074. xmlhttp = new XMLHttpRequest();
  6075. } else {
  6076. // IE6, IE5 浏览器执行代码
  6077. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6078. }
  6079. xmlhttp.onreadystatechange = function() {
  6080. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6081. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6082. // resolve(res.value[0][0].text);
  6083. if (type == '2') {
  6084. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6085. } else if (type == '3') {
  6086. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6087. }
  6088. } else {
  6089. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6090. }
  6091. }
  6092. }
  6093. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6094. xmlhttp.send();
  6095. }
  6096. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6097. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6098. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6099. _userinfo = US.userInfo, //登录用户信息
  6100. _userid = US.userInfo.userid //登录用户id
  6101. let _iframe;
  6102. let _cid = cid,
  6103. _stage = stage,
  6104. _task = task,
  6105. _tool = tool;
  6106. var _jie = $$("div", {
  6107. "style": {
  6108. "position": "absolute",
  6109. "bottom": "50px",
  6110. "right": "50px",
  6111. "zIndex": "9999",
  6112. "backgroundColor": "#2268bc",
  6113. "color": "#fff",
  6114. "padding": "12px 20px",
  6115. "cursor": "pointer",
  6116. "borderRadius": "4px",
  6117. },
  6118. "innerHTML": "确认并提交"
  6119. })
  6120. let aTool = ''
  6121. let _loading = document.createElement('div')
  6122. _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;"
  6123. // _loading.id = "";
  6124. let _lchild = document.createElement('div')
  6125. let _limg = document.createElement('img')
  6126. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6127. _limg.style = "width: 26px;margin-right: 10px;"
  6128. _lchild.appendChild(_limg)
  6129. let _lspan = document.createElement('span')
  6130. _lspan.innerHTML = "上传中..."
  6131. _lchild.appendChild(_lspan)
  6132. _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%);"
  6133. _loading.appendChild(_lchild)
  6134. var _box = $$('div', {
  6135. "style": {
  6136. "position": "relative",
  6137. "width": "100%",
  6138. "height": "100%",
  6139. },
  6140. })
  6141. _box.appendChild(_loading)
  6142. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6143. switch (str) {
  6144. case "whiteboard":
  6145. aTool = 1;
  6146. _iframe = $$("iframe", {
  6147. "frameborder": "no",
  6148. "border": "0",
  6149. "scrolling ": "no",
  6150. "style": {
  6151. "cssText": "border:0;width:100%;height:100%"
  6152. },
  6153. "src": "https://iwb.cocorobo.cn/"
  6154. })
  6155. _box.appendChild(_iframe);
  6156. _box.appendChild(_jie);
  6157. _formdiv = new U.UF.UI.form(
  6158. "电子白板",
  6159. _box, {
  6160. "id": "whiteboards" + cid + stage + task + tool,
  6161. "style": {
  6162. "width": "90%",
  6163. "height": "90%",
  6164. "overflow": 'hidden'
  6165. },
  6166. "onresize": function() {}
  6167. }, {
  6168. closecallback: function() {}
  6169. }, {
  6170. "style": {
  6171. "height": "36px"
  6172. }
  6173. }).form; //创建窗体
  6174. _taskbar = {
  6175. "id": str + _formdiv.id,
  6176. "style": {
  6177. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6178. },
  6179. "name": "电子白板",
  6180. "forms": _formdiv,
  6181. "click": function() {
  6182. U.MD.D.I.openApplication(str, obj, info);
  6183. }
  6184. }
  6185. break;
  6186. case "mind":
  6187. aTool = 3;
  6188. _iframe = $$("iframe", {
  6189. "frameborder": "no",
  6190. "border": "0",
  6191. "scrolling ": "no",
  6192. "style": {
  6193. "cssText": "border:0;width:100%;height:100%"
  6194. },
  6195. "src": "/kityminder-editor/dist/index.html"
  6196. });
  6197. _box.appendChild(_iframe);
  6198. _box.appendChild(_jie);
  6199. _formdiv = new U.UF.UI.form(
  6200. "思维导图",
  6201. _box, { //"/jsmind/example/demo.html"
  6202. "id": "minds" + cid + stage + task + tool,
  6203. "style": {
  6204. "width": "90%",
  6205. "height": "90%",
  6206. "overflow": 'hidden'
  6207. },
  6208. "onresize": function() {}
  6209. }, {
  6210. closecallback: function() {}
  6211. }, {
  6212. "style": {
  6213. "height": "36px"
  6214. }
  6215. }).form; //创建窗体
  6216. _taskbar = {
  6217. "id": str + _formdiv.id,
  6218. "style": {
  6219. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6220. },
  6221. "name": "思维导图",
  6222. "forms": _formdiv,
  6223. "click": function() {
  6224. U.MD.D.I.openApplication(str, obj, info);
  6225. }
  6226. }
  6227. break;
  6228. case "doc":
  6229. aTool = 6;
  6230. _iframe = $$("iframe", {
  6231. "frameborder": "no",
  6232. "border": "0",
  6233. "scrolling ": "no",
  6234. "style": {
  6235. "cssText": "border:0;width:100%;height:100%"
  6236. },
  6237. "src": "/Office/Word/WordEditArea.htm"
  6238. })
  6239. _box.appendChild(_iframe);
  6240. _box.appendChild(_jie);
  6241. _formdiv = new U.UF.UI.form(
  6242. "协同文档",
  6243. _box, {
  6244. "id": "docs" + cid + stage + task + tool,
  6245. "style": {
  6246. "width": "90%",
  6247. "height": "90%",
  6248. "overflow": 'hidden'
  6249. },
  6250. "onresize": function() {}
  6251. }, {
  6252. closecallback: function() {}
  6253. }, {
  6254. "style": {
  6255. "height": "36px"
  6256. }
  6257. }).form; //创建窗体
  6258. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6259. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6260. })
  6261. _taskbar = {
  6262. "id": str + _formdiv.id,
  6263. "style": {
  6264. "backgroundImage": "url(/img/icon/doc.png)"
  6265. },
  6266. "name": "协同文档",
  6267. "forms": _formdiv,
  6268. "click": function() {
  6269. U.MD.D.I.openApplication(str, obj, info);
  6270. }
  6271. }
  6272. break;
  6273. }
  6274. const script1 = document.createElement("script");
  6275. script1.type = "text/javascript";
  6276. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6277. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6278. const script2 = document.createElement("script");
  6279. script2.type = "text/javascript";
  6280. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6281. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6282. const script3 = document.createElement("script");
  6283. script3.type = "text/javascript";
  6284. script3.charset = "UTF-8";
  6285. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6286. const script4 = document.createElement("script");
  6287. script4.type = "text/javascript";
  6288. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6289. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6290. if (_iframe) {
  6291. if (str == 'doc') {
  6292. _iframe = _formdiv.querySelector('iframe')
  6293. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6294. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6295. _iframe.contentWindow.document.body.appendChild(script1);
  6296. _iframe.contentWindow.document.body.appendChild(script2);
  6297. // _iframe.contentWindow.document.body.appendChild(script3);
  6298. _iframe.contentWindow.document.body.appendChild(script4);
  6299. })
  6300. if (onloadListener) {
  6301. _iframe.contentDocument.location.reload()
  6302. } else {
  6303. _iframe.contentDocument.location.reload()
  6304. }
  6305. } else if (str == 'mind') {
  6306. _iframe = _formdiv.querySelector('iframe')
  6307. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6308. _iframe.contentWindow.document.body.appendChild(script1);
  6309. _iframe.contentWindow.document.body.appendChild(script2);
  6310. _iframe.contentWindow.document.body.appendChild(script4);
  6311. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6312. })
  6313. if (onloadListener) {
  6314. _iframe.contentDocument.location.reload()
  6315. } else {
  6316. _iframe.contentDocument.location.reload()
  6317. }
  6318. } else {
  6319. _iframe.onload = () => {
  6320. _iframe.contentWindow.document.body.appendChild(script1);
  6321. _iframe.contentWindow.document.body.appendChild(script2);
  6322. // _iframe.contentWindow.document.body.appendChild(script3);
  6323. _iframe.contentWindow.document.body.appendChild(script4);
  6324. };
  6325. }
  6326. _jie.onclick = async() => {
  6327. let text = ''
  6328. if (aTool == 6) {
  6329. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6330. } else if (aTool == 3) {
  6331. text = await U.MD.D.I.getEditorContent(_iframe);
  6332. }
  6333. _loading.style.display = 'flex'
  6334. console.log(_loading);
  6335. var _ajs = _iframe.contentWindow.document.createElement("script");
  6336. _ajs.type = "text/javascript";
  6337. _ajs.innerHTML =
  6338. // 'console.log(' + _loading + ');\n' +
  6339. 'var _js = document.createElement("script");\n' +
  6340. '_js.type="text/javascript";\n' +
  6341. '_js.charset="UTF-8";\n' +
  6342. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6343. "_js.onload = function(){\n" +
  6344. ' var a = document.getElementsByTagName("img")\n' +
  6345. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6346. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6347. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6348. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6349. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6350. "beforeUpload_shishi(file," +
  6351. "'" +
  6352. _userid +
  6353. "'" +
  6354. ", " +
  6355. "'" +
  6356. _cid +
  6357. "'" +
  6358. ", " +
  6359. "'" +
  6360. _stage +
  6361. "'" +
  6362. ", " +
  6363. "'" +
  6364. _task +
  6365. "'" +
  6366. ", " +
  6367. "'" +
  6368. _tool +
  6369. "'" +
  6370. ", " +
  6371. "'" +
  6372. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6373. "'" +
  6374. ", " +
  6375. "'" +
  6376. aTool +
  6377. "'" +
  6378. ", " +
  6379. "`" +
  6380. text +
  6381. "`" +
  6382. ")\n" +
  6383. " });\n" +
  6384. "}\n" +
  6385. "document.head.appendChild(_js);\n";
  6386. _iframe.contentWindow.document.head.appendChild(_ajs);
  6387. }
  6388. }
  6389. //U.MD.D.I.openClick(str);
  6390. //如果有任务栏信息
  6391. // if (_taskbar) {
  6392. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6393. // }
  6394. }
  6395. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6396. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6397. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6398. _userinfo = US.userInfo, //登录用户信息
  6399. _userid = US.userInfo.userid //登录用户id
  6400. let _iframe;
  6401. let _cid = cid,
  6402. _stage = stage,
  6403. _task = task,
  6404. _tool = tool;
  6405. var _jie = $$("div", {
  6406. "style": {
  6407. "position": "absolute",
  6408. "bottom": "50px",
  6409. "right": "50px",
  6410. "zIndex": "9999",
  6411. "backgroundColor": "#2268bc",
  6412. "color": "#fff",
  6413. "padding": "12px 20px",
  6414. "cursor": "pointer",
  6415. "borderRadius": "4px",
  6416. },
  6417. "innerHTML": "确认并提交"
  6418. })
  6419. let aTool = ''
  6420. let _loading = document.createElement('div')
  6421. _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;"
  6422. // _loading.id = "";
  6423. let _lchild = document.createElement('div')
  6424. let _limg = document.createElement('img')
  6425. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6426. _limg.style = "width: 26px;margin-right: 10px;"
  6427. _lchild.appendChild(_limg)
  6428. let _lspan = document.createElement('span')
  6429. _lspan.innerHTML = "上传中..."
  6430. _lchild.appendChild(_lspan)
  6431. _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%);"
  6432. _loading.appendChild(_lchild)
  6433. var _box = $$('div', {
  6434. "style": {
  6435. "position": "relative",
  6436. "width": "100%",
  6437. "height": "100%",
  6438. },
  6439. })
  6440. _box.appendChild(_loading)
  6441. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6442. switch (str) {
  6443. case "whiteboard":
  6444. aTool = 1;
  6445. _iframe = $$("iframe", {
  6446. "frameborder": "no",
  6447. "border": "0",
  6448. "scrolling ": "no",
  6449. "style": {
  6450. "cssText": "border:0;width:100%;height:100%"
  6451. },
  6452. "src": "https://iwb.cocorobo.cn/"
  6453. })
  6454. _box.appendChild(_iframe);
  6455. _box.appendChild(_jie);
  6456. _formdiv = new U.UF.UI.form(
  6457. "电子白板",
  6458. _box, {
  6459. "id": "whiteboards" + cid + stage + task + tool,
  6460. "style": {
  6461. "width": "90%",
  6462. "height": "90%",
  6463. "overflow": 'hidden'
  6464. },
  6465. "onresize": function() {}
  6466. }, {
  6467. closecallback: function() {}
  6468. }, {
  6469. "style": {
  6470. "height": "36px"
  6471. }
  6472. }).form; //创建窗体
  6473. _taskbar = {
  6474. "id": str + _formdiv.id,
  6475. "style": {
  6476. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6477. },
  6478. "name": "电子白板",
  6479. "forms": _formdiv,
  6480. "click": function() {
  6481. U.MD.D.I.openApplication(str, obj, info);
  6482. }
  6483. }
  6484. break;
  6485. case "mind":
  6486. aTool = 3;
  6487. _iframe = $$("iframe", {
  6488. "frameborder": "no",
  6489. "border": "0",
  6490. "scrolling ": "no",
  6491. "style": {
  6492. "cssText": "border:0;width:100%;height:100%"
  6493. },
  6494. "src": "/kityminder-editor/dist/index.html"
  6495. });
  6496. _box.appendChild(_iframe);
  6497. _box.appendChild(_jie);
  6498. _formdiv = new U.UF.UI.form(
  6499. "思维导图",
  6500. _box, { //"/jsmind/example/demo.html"
  6501. "id": "minds" + cid + stage + task + tool,
  6502. "style": {
  6503. "width": "90%",
  6504. "height": "90%",
  6505. "overflow": 'hidden'
  6506. },
  6507. "onresize": function() {}
  6508. }, {
  6509. closecallback: function() {}
  6510. }, {
  6511. "style": {
  6512. "height": "36px"
  6513. }
  6514. }).form; //创建窗体
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6519. },
  6520. "name": "思维导图",
  6521. "forms": _formdiv,
  6522. "click": function() {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "doc":
  6528. aTool = 6;
  6529. _iframe = $$("iframe", {
  6530. "frameborder": "no",
  6531. "border": "0",
  6532. "scrolling ": "no",
  6533. "style": {
  6534. "cssText": "border:0;width:100%;height:100%"
  6535. },
  6536. "src": "/Office/Word/WordEditArea.htm"
  6537. })
  6538. _box.appendChild(_iframe);
  6539. _box.appendChild(_jie);
  6540. _formdiv = new U.UF.UI.form(
  6541. "协同文档",
  6542. _box, {
  6543. "id": "docs" + cid + stage + task + tool,
  6544. "style": {
  6545. "width": "90%",
  6546. "height": "90%",
  6547. "overflow": 'hidden'
  6548. },
  6549. "onresize": function() {}
  6550. }, {
  6551. closecallback: function() {}
  6552. }, {
  6553. "style": {
  6554. "height": "36px"
  6555. }
  6556. }).form; //创建窗体
  6557. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6558. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6559. })
  6560. _taskbar = {
  6561. "id": str + _formdiv.id,
  6562. "style": {
  6563. "backgroundImage": "url(/img/icon/doc.png)"
  6564. },
  6565. "name": "协同文档",
  6566. "forms": _formdiv,
  6567. "click": function() {
  6568. U.MD.D.I.openApplication(str, obj, info);
  6569. }
  6570. }
  6571. break;
  6572. }
  6573. const script1 = document.createElement("script");
  6574. script1.type = "text/javascript";
  6575. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6576. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6577. const script2 = document.createElement("script");
  6578. script2.type = "text/javascript";
  6579. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6580. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6581. const script3 = document.createElement("script");
  6582. script3.type = "text/javascript";
  6583. script3.charset = "UTF-8";
  6584. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6585. const script4 = document.createElement("script");
  6586. script4.type = "text/javascript";
  6587. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6588. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6589. if (_iframe) {
  6590. if (str == 'doc') {
  6591. _iframe = _formdiv.querySelector('iframe')
  6592. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6593. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6594. _iframe.contentWindow.document.body.appendChild(script1);
  6595. _iframe.contentWindow.document.body.appendChild(script2);
  6596. // _iframe.contentWindow.document.body.appendChild(script3);
  6597. _iframe.contentWindow.document.body.appendChild(script4);
  6598. })
  6599. if (onloadListener) {
  6600. _iframe.contentDocument.location.reload()
  6601. } else {
  6602. _iframe.contentDocument.location.reload()
  6603. }
  6604. } else if (str == 'mind') {
  6605. _iframe = _formdiv.querySelector('iframe')
  6606. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6607. _iframe.contentWindow.document.body.appendChild(script1);
  6608. _iframe.contentWindow.document.body.appendChild(script2);
  6609. _iframe.contentWindow.document.body.appendChild(script4);
  6610. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6611. })
  6612. if (onloadListener) {
  6613. _iframe.contentDocument.location.reload()
  6614. } else {
  6615. _iframe.contentDocument.location.reload()
  6616. }
  6617. } else {
  6618. _iframe.onload = () => {
  6619. _iframe.contentWindow.document.body.appendChild(script1);
  6620. _iframe.contentWindow.document.body.appendChild(script2);
  6621. // _iframe.contentWindow.document.body.appendChild(script3);
  6622. _iframe.contentWindow.document.body.appendChild(script4);
  6623. };
  6624. }
  6625. _jie.onclick = async() => {
  6626. let text = ''
  6627. if (aTool == 6) {
  6628. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6629. } else if (aTool == 3) {
  6630. text = await U.MD.D.I.getEditorContent(_iframe);
  6631. }
  6632. _loading.style.display = 'flex'
  6633. console.log(_loading);
  6634. var _ajs = _iframe.contentWindow.document.createElement("script");
  6635. _ajs.type = "text/javascript";
  6636. _ajs.innerHTML =
  6637. // 'console.log(' + _loading + ');\n' +
  6638. 'var _js = document.createElement("script");\n' +
  6639. '_js.type="text/javascript";\n' +
  6640. '_js.charset="UTF-8";\n' +
  6641. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6642. "_js.onload = function(){\n" +
  6643. ' var a = document.getElementsByTagName("img")\n' +
  6644. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6645. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6646. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6647. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6648. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6649. "beforeUpload_shishi(file," +
  6650. "'" +
  6651. _userid +
  6652. "'" +
  6653. ", " +
  6654. "'" +
  6655. _cid +
  6656. "'" +
  6657. ", " +
  6658. "'" +
  6659. _stage +
  6660. "'" +
  6661. ", " +
  6662. "'" +
  6663. _task +
  6664. "'" +
  6665. ", " +
  6666. "'" +
  6667. _tool +
  6668. "'" +
  6669. ", " +
  6670. "'" +
  6671. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6672. "'" +
  6673. ", " +
  6674. "'" +
  6675. aTool +
  6676. "'" +
  6677. ", " +
  6678. "`" +
  6679. text +
  6680. "`" +
  6681. ")\n" +
  6682. " });\n" +
  6683. "}\n" +
  6684. "document.head.appendChild(_js);\n";
  6685. _iframe.contentWindow.document.head.appendChild(_ajs);
  6686. }
  6687. }
  6688. //U.MD.D.I.openClick(str);
  6689. //如果有任务栏信息
  6690. // if (_taskbar) {
  6691. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6692. // }
  6693. }
  6694. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6695. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6696. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6697. _userinfo = US.userInfo, //登录用户信息
  6698. _userid = US.userInfo.userid //登录用户id
  6699. let _iframe;
  6700. let _cid = cid,
  6701. _stage = stage,
  6702. _task = task,
  6703. _tool = tool;
  6704. var _jie = $$("div", {
  6705. "style": {
  6706. "position": "absolute",
  6707. "bottom": "50px",
  6708. "right": "50px",
  6709. "zIndex": "9999",
  6710. "backgroundColor": "#2268bc",
  6711. "color": "#fff",
  6712. "padding": "12px 20px",
  6713. "cursor": "pointer",
  6714. "borderRadius": "4px",
  6715. },
  6716. "innerHTML": "上传模板"
  6717. })
  6718. let aTool = ''
  6719. let _loading = document.createElement('div')
  6720. _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;"
  6721. // _loading.id = "";
  6722. let _lchild = document.createElement('div')
  6723. let _limg = document.createElement('img')
  6724. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6725. _limg.style = "width: 26px;margin-right: 10px;"
  6726. _lchild.appendChild(_limg)
  6727. let _lspan = document.createElement('span')
  6728. _lspan.innerHTML = "上传中..."
  6729. _lchild.appendChild(_lspan)
  6730. _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%);"
  6731. _loading.appendChild(_lchild)
  6732. var _box = $$('div', {
  6733. "style": {
  6734. "position": "relative",
  6735. "width": "100%",
  6736. "height": "100%",
  6737. },
  6738. })
  6739. _box.appendChild(_loading)
  6740. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6741. switch (str) {
  6742. case "whiteboard":
  6743. aTool = 1;
  6744. _iframe = $$("iframe", {
  6745. "frameborder": "no",
  6746. "border": "0",
  6747. "scrolling ": "no",
  6748. "style": {
  6749. "cssText": "border:0;width:100%;height:100%"
  6750. },
  6751. "src": "https://iwb.cocorobo.cn/"
  6752. })
  6753. _box.appendChild(_iframe);
  6754. _box.appendChild(_jie);
  6755. _formdiv = new U.UF.UI.form(
  6756. "电子白板",
  6757. _box, {
  6758. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6759. "style": {
  6760. "width": "90%",
  6761. "height": "90%",
  6762. "overflow": 'hidden'
  6763. },
  6764. "onresize": function() {}
  6765. }, {
  6766. closecallback: function() {}
  6767. }, {
  6768. "style": {
  6769. "height": "36px"
  6770. }
  6771. }).form; //创建窗体
  6772. _taskbar = {
  6773. "id": str + _formdiv.id,
  6774. "style": {
  6775. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6776. },
  6777. "name": "电子白板",
  6778. "forms": _formdiv,
  6779. "click": function() {
  6780. U.MD.D.I.openApplication(str, obj, info);
  6781. }
  6782. }
  6783. break;
  6784. case "mind":
  6785. aTool = 3;
  6786. _iframe = $$("iframe", {
  6787. "frameborder": "no",
  6788. "border": "0",
  6789. "scrolling ": "no",
  6790. "style": {
  6791. "cssText": "border:0;width:100%;height:100%"
  6792. },
  6793. "src": "/kityminder-editor/dist/index.html"
  6794. });
  6795. _box.appendChild(_iframe);
  6796. _box.appendChild(_jie);
  6797. _formdiv = new U.UF.UI.form(
  6798. "思维导图",
  6799. _box, { //"/jsmind/example/demo.html"
  6800. "id": "minds_Yu" + cid + stage + task + tool,
  6801. "style": {
  6802. "width": "90%",
  6803. "height": "90%",
  6804. "overflow": 'hidden'
  6805. },
  6806. "onresize": function() {}
  6807. }, {
  6808. closecallback: function() {}
  6809. }, {
  6810. "style": {
  6811. "height": "36px"
  6812. }
  6813. }).form; //创建窗体
  6814. _taskbar = {
  6815. "id": str + _formdiv.id,
  6816. "style": {
  6817. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6818. },
  6819. "name": "思维导图",
  6820. "forms": _formdiv,
  6821. "click": function() {
  6822. U.MD.D.I.openApplication(str, obj, info);
  6823. }
  6824. }
  6825. break;
  6826. case "doc":
  6827. aTool = 6;
  6828. _iframe = $$("iframe", {
  6829. "frameborder": "no",
  6830. "border": "0",
  6831. "scrolling ": "no",
  6832. "style": {
  6833. "cssText": "border:0;width:100%;height:100%"
  6834. },
  6835. "src": "/Office/Word/WordEditArea.htm"
  6836. })
  6837. _box.appendChild(_iframe);
  6838. _box.appendChild(_jie);
  6839. _formdiv = new U.UF.UI.form(
  6840. "协同文档",
  6841. _box, {
  6842. "id": "docs_Yu" + cid + stage + task + tool,
  6843. "style": {
  6844. "width": "90%",
  6845. "height": "90%",
  6846. "overflow": 'hidden'
  6847. },
  6848. "onresize": function() {}
  6849. }, {
  6850. closecallback: function() {}
  6851. }, {
  6852. "style": {
  6853. "height": "36px"
  6854. }
  6855. }).form; //创建窗体
  6856. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6857. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6858. })
  6859. _taskbar = {
  6860. "id": str + _formdiv.id,
  6861. "style": {
  6862. "backgroundImage": "url(/img/icon/doc.png)"
  6863. },
  6864. "name": "协同文档",
  6865. "forms": _formdiv,
  6866. "click": function() {
  6867. U.MD.D.I.openApplication(str, obj, info);
  6868. }
  6869. }
  6870. break;
  6871. case "CocoPi":
  6872. aTool = 57;
  6873. _iframe = $$("iframe", {
  6874. "allowpaymentrequest": "allowpaymentrequest",
  6875. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6876. "webkitallowfullscreen": "",
  6877. "mozallowfullscreen": "",
  6878. "frameborder": "no",
  6879. "border": "0",
  6880. "scrolling ": "no",
  6881. "style": {
  6882. "cssText": "border:0;width:100%;height:100%"
  6883. },
  6884. "src": "https://pi.cocorobo.cn/"
  6885. })
  6886. _box.appendChild(_iframe);
  6887. _box.appendChild(_jie);
  6888. _formdiv = new U.UF.UI.form(
  6889. "CocoPi",
  6890. _box, {
  6891. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6892. "style": {
  6893. "width": "90%",
  6894. "height": "90%",
  6895. "overflow": 'hidden'
  6896. },
  6897. "onresize": function() {}
  6898. }, {
  6899. closecallback: function() {}
  6900. }, {
  6901. "style": {
  6902. "height": "36px"
  6903. }
  6904. }).form; //创建窗体
  6905. _taskbar = {
  6906. "id": str + _formdiv.id,
  6907. "style": {
  6908. "backgroundImage": "url(/img/icon/cocopi.png)"
  6909. },
  6910. "name": "CocoPi",
  6911. "forms": _formdiv,
  6912. "click": function() {
  6913. U.MD.D.I.openApplication(str, obj, info);
  6914. }
  6915. }
  6916. break;
  6917. }
  6918. if (_iframe) {
  6919. if (str == 'doc') {
  6920. _iframe = _formdiv.querySelector('iframe')
  6921. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6922. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6923. })
  6924. if (onloadListener) {
  6925. _iframe.contentDocument.location.reload()
  6926. } else {
  6927. _iframe.contentDocument.location.reload()
  6928. }
  6929. } else if (str == 'mind') {
  6930. _iframe = _formdiv.querySelector('iframe')
  6931. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6932. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6933. })
  6934. if (onloadListener) {
  6935. _iframe.contentDocument.location.reload()
  6936. } else {
  6937. _iframe.contentDocument.location.reload()
  6938. }
  6939. } else if (str == 'whiteboard') {
  6940. _iframe = _formdiv.querySelector('iframe')
  6941. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6942. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6943. })
  6944. if (onloadListener) {
  6945. _iframe.contentDocument.location.reload()
  6946. } else {
  6947. _iframe.contentDocument.location.reload()
  6948. }
  6949. } else if (str == 'CocoPi') {
  6950. _iframe = _formdiv.querySelector('iframe')
  6951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6952. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6953. })
  6954. if (onloadListener) {
  6955. _iframe.contentDocument.location.reload()
  6956. } else {
  6957. _iframe.contentDocument.location.reload()
  6958. }
  6959. } else {
  6960. _iframe.onload = () => {};
  6961. }
  6962. _jie.onclick = async() => {
  6963. let text = ''
  6964. let type = '2'
  6965. if (aTool == 1) {
  6966. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6967. type = '3'
  6968. } else if (aTool == 6) {
  6969. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6970. type = '1'
  6971. } else if (aTool == 3) {
  6972. text = await U.MD.D.I.getEditorContent(_iframe);
  6973. type = '2'
  6974. } else if (aTool == 57) {
  6975. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6976. type = '4'
  6977. }
  6978. _loading.style.display = 'flex'
  6979. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6980. }
  6981. }
  6982. //U.MD.D.I.openClick(str);
  6983. //如果有任务栏信息
  6984. // if (_taskbar) {
  6985. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6986. // }
  6987. }
  6988. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6989. var xmlhttp;
  6990. var Mac, Sn, DeviceId
  6991. if (window.XMLHttpRequest) {
  6992. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6993. xmlhttp = new XMLHttpRequest();
  6994. } else {
  6995. // IE6, IE5 浏览器执行代码
  6996. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6997. }
  6998. xmlhttp.onreadystatechange = function() {
  6999. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7000. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7001. // resolve(res.value[0][0].text);
  7002. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7003. }
  7004. }
  7005. }
  7006. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7007. xmlhttp.send();
  7008. }
  7009. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7010. var xmlhttp;
  7011. var Mac, Sn, DeviceId
  7012. if (window.XMLHttpRequest) {
  7013. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7014. xmlhttp = new XMLHttpRequest();
  7015. } else {
  7016. // IE6, IE5 浏览器执行代码
  7017. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7018. }
  7019. xmlhttp.onreadystatechange = function() {
  7020. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7021. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7022. // resolve(res.value[0][0].text);
  7023. if (type == '2') {
  7024. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7025. } else if (type == '3') {
  7026. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7027. } else if (type == '4') {
  7028. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7029. }
  7030. } else {
  7031. if (type == '2') {
  7032. iframe.contentWindow.editor.minder.importData('json', '')
  7033. } else if (type == '3') {
  7034. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7035. } else if (type == '4') {
  7036. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7037. }
  7038. }
  7039. }
  7040. }
  7041. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7042. xmlhttp.send();
  7043. }
  7044. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7045. var xmlhttp;
  7046. var Mac, Sn, DeviceId
  7047. if (window.XMLHttpRequest) {
  7048. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7049. xmlhttp = new XMLHttpRequest();
  7050. } else {
  7051. // IE6, IE5 浏览器执行代码
  7052. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7053. }
  7054. xmlhttp.onreadystatechange = function() {
  7055. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7056. if (xmlhttp.response) {
  7057. // resolve(res.value[0][0].text);
  7058. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7059. // $(fileInput).val('');
  7060. // });
  7061. span.innerHTML = '上传成功'
  7062. setTimeout(() => {
  7063. loading.style.display = 'none'
  7064. }, 1000);
  7065. }
  7066. }
  7067. }
  7068. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7069. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7070. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7071. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7072. // 设置请求头,表示请求体的编码格式
  7073. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7074. // 设置请求体,使用url-encoded格式的数据
  7075. }
  7076. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7077. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7078. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7079. _userinfo = US.userInfo, //登录用户信息
  7080. _userid = US.userInfo.userid //登录用户id
  7081. let _iframe;
  7082. let _cid = cid,
  7083. _stage = stage,
  7084. _task = task,
  7085. _tool = tool;
  7086. var _jie = $$("div", {
  7087. "style": {
  7088. "position": "absolute",
  7089. "bottom": "50px",
  7090. "right": "50px",
  7091. "zIndex": "9999",
  7092. "backgroundColor": "#2268bc",
  7093. "color": "#fff",
  7094. "padding": "12px 20px",
  7095. "cursor": "pointer",
  7096. "borderRadius": "4px",
  7097. },
  7098. "innerHTML": "提交作业"
  7099. })
  7100. let aTool = ''
  7101. let _loading = document.createElement('div')
  7102. _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;"
  7103. // _loading.id = "";
  7104. let _lchild = document.createElement('div')
  7105. let _limg = document.createElement('img')
  7106. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7107. _limg.style = "width: 26px;margin-right: 10px;"
  7108. _lchild.appendChild(_limg)
  7109. let _lspan = document.createElement('span')
  7110. _lspan.innerHTML = "上传中..."
  7111. _lchild.appendChild(_lspan)
  7112. _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%);"
  7113. _loading.appendChild(_lchild)
  7114. var _box = $$('div', {
  7115. "style": {
  7116. "position": "relative",
  7117. "width": "100%",
  7118. "height": "100%",
  7119. },
  7120. })
  7121. _box.appendChild(_loading)
  7122. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7123. switch (str) {
  7124. case "CocoPi":
  7125. aTool = 57;
  7126. _iframe = $$("iframe", {
  7127. "allowpaymentrequest": "allowpaymentrequest",
  7128. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7129. "webkitallowfullscreen": "",
  7130. "mozallowfullscreen": "",
  7131. "frameborder": "no",
  7132. "border": "0",
  7133. "scrolling ": "no",
  7134. "style": {
  7135. "cssText": "border:0;width:100%;height:100%"
  7136. },
  7137. "src": "https://pi.cocorobo.cn/"
  7138. })
  7139. _box.appendChild(_iframe);
  7140. _box.appendChild(_jie);
  7141. _formdiv = new U.UF.UI.form(
  7142. "CocoPi",
  7143. _box, {
  7144. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7145. "style": {
  7146. "width": "90%",
  7147. "height": "90%",
  7148. "overflow": 'hidden'
  7149. },
  7150. "onresize": function() {}
  7151. }, {
  7152. closecallback: function() {}
  7153. }, {
  7154. "style": {
  7155. "height": "36px"
  7156. }
  7157. }).form; //创建窗体
  7158. _taskbar = {
  7159. "id": str + _formdiv.id,
  7160. "style": {
  7161. "backgroundImage": "url(/img/icon/cocopi.png)"
  7162. },
  7163. "name": "CocoPi",
  7164. "forms": _formdiv,
  7165. "click": function() {
  7166. U.MD.D.I.openApplication(str, obj, info);
  7167. }
  7168. }
  7169. break;
  7170. }
  7171. if (_iframe) {
  7172. if (str == 'CocoPi') {
  7173. _iframe = _formdiv.querySelector('iframe')
  7174. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7175. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7176. })
  7177. if (onloadListener) {
  7178. _iframe.contentDocument.location.reload()
  7179. } else {
  7180. _iframe.contentDocument.location.reload()
  7181. }
  7182. }
  7183. _jie.onclick = async() => {
  7184. let text = ''
  7185. if (aTool == 57) {
  7186. text = _iframe.contentWindow.getLoadXmlStr()
  7187. }
  7188. _loading.style.display = 'flex'
  7189. console.log(_loading);
  7190. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7191. _loading.style.display = 'none'
  7192. let _div = document.createElement('div')
  7193. _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;"
  7194. let _inner = document.createElement('div')
  7195. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7196. _inner.innerHTML = "上传成功"
  7197. _div.appendChild(_inner)
  7198. _iframe.contentWindow.window.document.body.appendChild(_div)
  7199. _div.onclick = () => {
  7200. _iframe.contentWindow.window.document.body.removeChild(_div)
  7201. }
  7202. setTimeout(() => {
  7203. _iframe.contentWindow.window.document.body.removeChild(_div)
  7204. }, 1000);
  7205. }, [], { "type": "POST", "withCredentials": true });
  7206. }
  7207. }
  7208. }
  7209. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7210. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7211. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7212. _userid = student.userid, //登录用户id
  7213. _username = student.student //用户名字
  7214. let _iframe;
  7215. let _cid = cid,
  7216. _stage = stage,
  7217. _task = task,
  7218. _tool = tool;
  7219. var _jie = $$("div", {
  7220. "style": {
  7221. "position": "absolute",
  7222. "bottom": "50px",
  7223. "right": "50px",
  7224. "zIndex": "9999",
  7225. "backgroundColor": "#2268bc",
  7226. "color": "#fff",
  7227. "padding": "12px 20px",
  7228. "cursor": "pointer",
  7229. "borderRadius": "4px",
  7230. },
  7231. "innerHTML": "提交作业"
  7232. })
  7233. let aTool = ''
  7234. let _loading = document.createElement('div')
  7235. _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;"
  7236. // _loading.id = "";
  7237. let _lchild = document.createElement('div')
  7238. let _limg = document.createElement('img')
  7239. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7240. _limg.style = "width: 26px;margin-right: 10px;"
  7241. _lchild.appendChild(_limg)
  7242. let _lspan = document.createElement('span')
  7243. _lspan.innerHTML = "上传中..."
  7244. _lchild.appendChild(_lspan)
  7245. _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%);"
  7246. _loading.appendChild(_lchild)
  7247. var _box = $$('div', {
  7248. "style": {
  7249. "position": "relative",
  7250. "width": "100%",
  7251. "height": "100%",
  7252. },
  7253. })
  7254. _box.appendChild(_loading)
  7255. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7256. switch (str) {
  7257. case "CocoPi":
  7258. aTool = 57;
  7259. _iframe = $$("iframe", {
  7260. "allowpaymentrequest": "allowpaymentrequest",
  7261. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7262. "webkitallowfullscreen": "",
  7263. "mozallowfullscreen": "",
  7264. "frameborder": "no",
  7265. "border": "0",
  7266. "scrolling ": "no",
  7267. "style": {
  7268. "cssText": "border:0;width:100%;height:100%"
  7269. },
  7270. "src": "https://pi.cocorobo.cn/"
  7271. })
  7272. _box.appendChild(_iframe);
  7273. _box.appendChild(_jie);
  7274. _formdiv = new U.UF.UI.form(
  7275. "CocoPi-" + _username,
  7276. _box, {
  7277. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7278. "style": {
  7279. "width": "90%",
  7280. "height": "90%",
  7281. "overflow": 'hidden'
  7282. },
  7283. "onresize": function() {}
  7284. }, {
  7285. closecallback: function() {}
  7286. }, {
  7287. "style": {
  7288. "height": "36px"
  7289. }
  7290. }).form; //创建窗体
  7291. _taskbar = {
  7292. "id": str + _formdiv.id,
  7293. "style": {
  7294. "backgroundImage": "url(/img/icon/cocopi.png)"
  7295. },
  7296. "name": "CocoPi",
  7297. "forms": _formdiv,
  7298. "click": function() {
  7299. U.MD.D.I.openApplication(str, obj, info);
  7300. }
  7301. }
  7302. break;
  7303. }
  7304. if (_iframe) {
  7305. if (str == 'CocoPi') {
  7306. _iframe = _formdiv.querySelector('iframe')
  7307. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7308. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7309. })
  7310. if (onloadListener) {
  7311. _iframe.contentDocument.location.reload()
  7312. } else {
  7313. _iframe.contentDocument.location.reload()
  7314. }
  7315. }
  7316. _jie.onclick = async() => {
  7317. let text = ''
  7318. if (aTool == 57) {
  7319. text = _iframe.contentWindow.getLoadXmlStr()
  7320. }
  7321. _loading.style.display = 'flex'
  7322. console.log(_loading);
  7323. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7324. _loading.style.display = 'none'
  7325. let _div = document.createElement('div')
  7326. _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;"
  7327. let _inner = document.createElement('div')
  7328. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7329. _inner.innerHTML = "上传成功"
  7330. _div.appendChild(_inner)
  7331. _iframe.contentWindow.window.document.body.appendChild(_div)
  7332. _div.onclick = () => {
  7333. _iframe.contentWindow.window.document.body.removeChild(_div)
  7334. }
  7335. setTimeout(() => {
  7336. _iframe.contentWindow.window.document.body.removeChild(_div)
  7337. }, 1000);
  7338. }, [], { "type": "POST", "withCredentials": true });
  7339. }
  7340. }
  7341. }
  7342. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7343. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7344. if (res.value[0].length > 0) {
  7345. if (atool == 57) {
  7346. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7347. }
  7348. } else {
  7349. if (atool == 57) {
  7350. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7351. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7352. }
  7353. }
  7354. }, [], { "type": "POST", "withCredentials": true });
  7355. }