DeskTop.js 445 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. ];
  530. //龙华中心小学教师桌面图标的全局变量
  531. U.MD.D.I.longhuateacherDeskIcon = [
  532. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  533. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  534. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  535. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  539. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  540. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  541. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  542. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  543. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  544. ];
  545. //教科院实小教师桌面图标的全局变量
  546. U.MD.D.I.siesteacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  554. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  555. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  556. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  557. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  558. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. ];
  562. //教科院实小教师桌面图标的全局变量
  563. U.MD.D.I.siesStudentDeskIcon = [
  564. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  566. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  567. ];
  568. //福田
  569. U.MD.D.I.gdjgTeacherDeskIcon = [
  570. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  578. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  579. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  580. ];
  581. //gdjg
  582. U.MD.D.I.gdjgAdminDeskIcon = [
  583. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  584. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  588. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  589. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  590. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  591. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  592. ];
  593. //hk
  594. U.MD.D.I.hkteacherDeskIcon = [
  595. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  596. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  598. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  599. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  600. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  601. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  602. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  603. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  604. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  605. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  606. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  608. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  609. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. ];
  611. //hk
  612. U.MD.D.I.hkStudentDeskIcon = [
  613. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  617. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. ];
  619. //香海正覺蓮社佛教正覺中學
  620. U.MD.D.I.hkZJLSteacherDeskIcon = [
  621. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  622. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  623. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  624. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  625. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  626. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  627. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  628. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  629. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  630. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  631. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  632. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  633. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. ];
  636. //香海正覺蓮社佛教正覺中學
  637. U.MD.D.I.hkZJLSStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. ];
  642. //云海
  643. U.MD.D.I.yunhaiTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  647. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  648. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  651. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  652. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  653. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  654. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  655. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  656. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  657. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. ];
  673. //福田
  674. U.MD.D.I.heyuanAdminDeskIcon = [
  675. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  676. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. ];
  685. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  686. U.MD.D.I.szherTeacherDeskIcon = [
  687. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  688. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  689. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  690. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  691. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  692. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  693. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. ];
  697. //dsei
  698. U.MD.D.I.dseiTeacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  711. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  712. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  713. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  714. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  715. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  716. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  717. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  718. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  719. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  720. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  721. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  722. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  723. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  725. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  726. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  727. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  728. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  729. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  730. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  731. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  732. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiAdminDeskIcon = [
  743. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  750. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  751. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  752. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  753. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  754. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  755. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  756. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  757. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  758. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  759. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  760. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  761. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  762. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  763. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  764. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  765. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  766. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  767. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  768. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  769. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  770. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  771. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  772. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  773. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  774. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  775. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  776. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  777. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. ];
  785. //dsei
  786. U.MD.D.I.dseiStudentDeskIcon = [
  787. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. ];
  793. //未来教育基地
  794. U.MD.D.I.szjkyTeacherDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  802. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  803. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. ];
  811. //未来教育基地
  812. U.MD.D.I.szjkyAdminDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  820. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  821. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  828. ];
  829. //未来教育基地
  830. U.MD.D.I.szjkyStudentDeskIcon = [
  831. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. ];
  835. //成华教育局
  836. U.MD.D.I.chjyjTeacherDeskIcon = [
  837. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  838. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  839. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  840. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  841. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  842. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  843. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  844. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  845. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  846. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  847. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. ];
  850. //成华教育局chjyj
  851. U.MD.D.I.chjyjAdminDeskIcon = [
  852. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  855. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  856. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  857. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  858. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  859. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. ];
  866. //成华教育局chjyj
  867. U.MD.D.I.chjyjStudentDeskIcon = [
  868. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. ];
  872. //#region 桌面初始化a
  873. /**
  874. * 初始化桌面的起始函数
  875. *
  876. */
  877. U.MD.D.I.init = function() {
  878. if ($("#U_MD_D_K")[0]) {
  879. //初始化桌面图标
  880. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  881. // var clickUrl = ':12588/requestIp.php';
  882. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  883. // U.MD.D.I.Ip = data;
  884. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  885. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  886. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  887. // })
  888. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  889. // })
  890. }
  891. }
  892. /**
  893. * 模式切换
  894. *
  895. */
  896. U.MD.D.I.ModeCheck = function(type) {
  897. if (US.Config.type == type) {
  898. return
  899. }
  900. US.Config.type = type
  901. $('.U_PBL_Check .active')[0].className = ''
  902. if (type == 1) {
  903. $('.U_PBL_Check div')[0].className = 'active'
  904. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  905. } else {
  906. $('.U_PBL_Check div')[1].className = 'active'
  907. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  908. }
  909. //初始化桌面图标
  910. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  911. if (type == 2) {
  912. U.MD.D.I.openApplication("project")
  913. }
  914. }
  915. /**
  916. * 隐藏任务栏
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.hiddenTaskbar = function(el) {
  921. //任务栏位置变小
  922. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  923. //桌面的位置变大
  924. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  925. }
  926. /**
  927. * 隐藏任务栏
  928. *
  929. * @param {element} 桌面元素
  930. */
  931. U.MD.D.I.hiddenTaskbarout = function(el) {
  932. //任务栏位置变小
  933. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  934. //任务栏位置变化
  935. U.selectEl(el).css({ "bottom": "-60px" });
  936. //桌面的位置变大
  937. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  938. }
  939. }
  940. /**
  941. * 初始化打印桌面图标
  942. *
  943. * @param {element} 桌面元素
  944. */
  945. U.MD.D.I.initDesktopIcons = function(el, type) {
  946. var i, //用于循环
  947. _content, //桌面图标元素
  948. _iconcontent, //桌面图标元素
  949. _frag = $$("frag"), //定义一个碎片元素
  950. _type = US.userInfo.type,
  951. _org = US.userInfo.org,
  952. _oid = US.userInfo.organizeid,
  953. _role = US.userInfo.role,
  954. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  955. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  956. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  957. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  958. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  959. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  960. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  961. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  962. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  963. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  964. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  965. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  966. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  967. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  968. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  969. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  970. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  971. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  972. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  973. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  974. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  975. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  976. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  977. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  978. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  979. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  980. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  981. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  982. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  983. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  984. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  985. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  986. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  987. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  988. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  989. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  990. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  991. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  992. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  993. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  994. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  995. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  996. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  997. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  998. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  999. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1000. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1001. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1002. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1003. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1004. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1005. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1006. 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'];
  1007. 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'];
  1008. //清楚桌面图标
  1009. el.innerHTML = "";
  1010. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1011. _teacherDesktopIconInfo.push(
  1012. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1013. { "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)" } },
  1014. )
  1015. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1016. }
  1017. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1018. _teacherDesktopIconInfo.push(
  1019. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1020. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1021. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1022. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1023. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1024. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1025. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1027. )
  1028. }
  1029. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1030. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1031. if (el.Name == '项目管理') {
  1032. el.Name = 'PBL项目'
  1033. }
  1034. return el
  1035. })
  1036. }
  1037. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1038. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1039. return el.Name != '魔盒识字' && el.Name != '24点'
  1040. })
  1041. }
  1042. 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) {
  1043. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1044. }
  1045. //循环创建桌面图标
  1046. if (type == 1) {
  1047. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1048. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1049. _content = $$("div", {
  1050. className: "U_MD_D_KO",
  1051. "onmousedown": U.UF.C.closure(function(obj) {
  1052. //防止拖动图标即打开了桌面应用
  1053. U.MD.D.click(this, obj);
  1054. }, [_studentDesktopIconInfo[i]]),
  1055. "onclick": U.UF.C.closure(function(obj) {
  1056. //防止拖动图标即打开了桌面应用
  1057. U.MD.D.click(this, obj);
  1058. }, [_studentDesktopIconInfo[i]])
  1059. }, _frag); //
  1060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1063. }
  1064. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1065. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1066. _content = $$("div", {
  1067. className: "U_MD_D_KO",
  1068. "onmousedown": U.UF.C.closure(function(obj) {
  1069. //防止拖动图标即打开了桌面应用
  1070. U.MD.D.click(this, obj);
  1071. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1072. "onclick": U.UF.C.closure(function(obj) {
  1073. //防止拖动图标即打开了桌面应用
  1074. U.MD.D.click(this, obj);
  1075. }, [_hkZJLSStudentDeskIconInfo[i]])
  1076. }, _frag); //
  1077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1080. } //
  1081. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1082. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1083. _content = $$("div", {
  1084. className: "U_MD_D_KO",
  1085. "onmousedown": U.UF.C.closure(function(obj) {
  1086. //防止拖动图标即打开了桌面应用
  1087. U.MD.D.click(this, obj);
  1088. }, [_chjyjStudentDeskIconInfo[i]]),
  1089. "onclick": U.UF.C.closure(function(obj) {
  1090. //防止拖动图标即打开了桌面应用
  1091. U.MD.D.click(this, obj);
  1092. }, [_chjyjStudentDeskIconInfo[i]])
  1093. }, _frag); //
  1094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1097. }
  1098. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1099. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1100. _content = $$("div", {
  1101. className: "U_MD_D_KO",
  1102. "onmousedown": U.UF.C.closure(function(obj) {
  1103. //防止拖动图标即打开了桌面应用
  1104. U.MD.D.click(this, obj);
  1105. }, [_szjkyStudentDeskIconInfo[i]]),
  1106. "onclick": U.UF.C.closure(function(obj) {
  1107. //防止拖动图标即打开了桌面应用
  1108. U.MD.D.click(this, obj);
  1109. }, [_szjkyStudentDeskIconInfo[i]])
  1110. }, _frag); //
  1111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1114. }
  1115. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1116. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1117. _content = $$("div", {
  1118. className: "U_MD_D_KO",
  1119. "onmousedown": U.UF.C.closure(function(obj) {
  1120. //防止拖动图标即打开了桌面应用
  1121. U.MD.D.click(this, obj);
  1122. }, [_dseiStudentDeskIconInfo[i]]),
  1123. "onclick": U.UF.C.closure(function(obj) {
  1124. //防止拖动图标即打开了桌面应用
  1125. U.MD.D.click(this, obj);
  1126. }, [_dseiStudentDeskIconInfo[i]])
  1127. }, _frag); //
  1128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1131. }
  1132. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1133. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1134. _content = $$("div", {
  1135. className: "U_MD_D_KO",
  1136. "onmousedown": U.UF.C.closure(function(obj) {
  1137. //防止拖动图标即打开了桌面应用
  1138. U.MD.D.click(this, obj);
  1139. }, [_siesStudentDeskIconInfo[i]]),
  1140. "onclick": U.UF.C.closure(function(obj) {
  1141. //防止拖动图标即打开了桌面应用
  1142. U.MD.D.click(this, obj);
  1143. }, [_siesStudentDeskIconInfo[i]])
  1144. }, _frag); //
  1145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1148. }
  1149. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1150. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1151. _content = $$("div", {
  1152. className: "U_MD_D_KO",
  1153. "onmousedown": U.UF.C.closure(function(obj) {
  1154. //防止拖动图标即打开了桌面应用
  1155. U.MD.D.click(this, obj);
  1156. }, [_hkStudentDeskIconInfo[i]]),
  1157. "onclick": U.UF.C.closure(function(obj) {
  1158. //防止拖动图标即打开了桌面应用
  1159. U.MD.D.click(this, obj);
  1160. }, [_hkStudentDeskIconInfo[i]])
  1161. }, _frag); //
  1162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1165. }
  1166. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1167. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1168. _content = $$("div", {
  1169. className: "U_MD_D_KO",
  1170. "onmousedown": U.UF.C.closure(function(obj) {
  1171. //防止拖动图标即打开了桌面应用
  1172. U.MD.D.click(this, obj);
  1173. }, [_studentDesktopIconInfo[i]]),
  1174. "onclick": U.UF.C.closure(function(obj) {
  1175. //防止拖动图标即打开了桌面应用
  1176. U.MD.D.click(this, obj);
  1177. }, [_studentDesktopIconInfo[i]])
  1178. }, _frag); //
  1179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1182. }
  1183. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1184. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1185. _content = $$("div", {
  1186. className: "U_MD_D_KO",
  1187. "onmousedown": U.UF.C.closure(function(obj) {
  1188. //防止拖动图标即打开了桌面应用
  1189. U.MD.D.click(this, obj);
  1190. }, [_tcStudentDeskIconInfo[i]]),
  1191. "onclick": U.UF.C.closure(function(obj) {
  1192. //防止拖动图标即打开了桌面应用
  1193. U.MD.D.click(this, obj);
  1194. }, [_tcStudentDeskIconInfo[i]])
  1195. }, _frag); //
  1196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1199. }
  1200. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1201. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1202. _content = $$("div", {
  1203. className: "U_MD_D_KO",
  1204. "onmousedown": U.UF.C.closure(function(obj) {
  1205. //防止拖动图标即打开了桌面应用
  1206. U.MD.D.click(this, obj);
  1207. }, [_szscStudentDeskIconInfo[i]]),
  1208. "onclick": U.UF.C.closure(function(obj) {
  1209. //防止拖动图标即打开了桌面应用
  1210. U.MD.D.click(this, obj);
  1211. }, [_szscStudentDeskIconInfo[i]])
  1212. }, _frag); //
  1213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1216. }
  1217. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1218. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1219. _content = $$("div", {
  1220. className: "U_MD_D_KO",
  1221. "onmousedown": U.UF.C.closure(function(obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_studentDesktopIconInfo3[i]]),
  1225. "onclick": U.UF.C.closure(function(obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo3[i]])
  1229. }, _frag); //
  1230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1233. }
  1234. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1235. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1236. _content = $$("div", {
  1237. className: "U_MD_D_KO",
  1238. "onmousedown": U.UF.C.closure(function(obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_studentDesktopIconInfo2[i]]),
  1242. "onclick": U.UF.C.closure(function(obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_studentDesktopIconInfo2[i]])
  1246. }, _frag); //
  1247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1250. }
  1251. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1252. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1253. _content = $$("div", {
  1254. className: "U_MD_D_KO",
  1255. "onmousedown": U.UF.C.closure(function(obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_wanketeacherDesktopIconInfo[i]]),
  1259. "onclick": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_wanketeacherDesktopIconInfo[i]])
  1263. }, _frag); //
  1264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1267. }
  1268. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1269. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1270. _content = $$("div", {
  1271. className: "U_MD_D_KO",
  1272. "onmousedown": U.UF.C.closure(function(obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_wankeAdminDesktopIconInfo[i]]),
  1276. "onclick": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_wankeAdminDesktopIconInfo[i]])
  1280. }, _frag); //
  1281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1284. }
  1285. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1286. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1287. _content = $$("div", {
  1288. className: "U_MD_D_KO",
  1289. "onmousedown": U.UF.C.closure(function(obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_teacherDesktopIconInfo2[i]]),
  1293. "onclick": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_teacherDesktopIconInfo2[i]])
  1297. }, _frag); //
  1298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1301. }
  1302. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1303. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1304. _content = $$("div", {
  1305. className: "U_MD_D_KO",
  1306. "onmousedown": U.UF.C.closure(function(obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_lotechTeacherDeskIconInfo[i]]),
  1310. "onclick": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_lotechTeacherDeskIconInfo[i]])
  1314. }, _frag); //
  1315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1318. }//
  1319. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1320. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1321. _content = $$("div", {
  1322. className: "U_MD_D_KO",
  1323. "onmousedown": U.UF.C.closure(function(obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_siesTeacherDeskIconInfo[i]]),
  1327. "onclick": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_siesTeacherDeskIconInfo[i]])
  1331. }, _frag); //
  1332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1335. }
  1336. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1337. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1338. _content = $$("div", {
  1339. className: "U_MD_D_KO",
  1340. "onmousedown": U.UF.C.closure(function(obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_longhuaTeacherDeskIconInfo[i]]),
  1344. "onclick": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_longhuaTeacherDeskIconInfo[i]])
  1348. }, _frag); //
  1349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1352. }
  1353. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1354. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function(obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_yunhaiTeacherDeskIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1369. } //_hkStudentDeskIconInfo
  1370. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1371. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function(obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1386. }
  1387. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1388. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function(obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_hkTeacherDeskIconInfo[i]]),
  1395. "onclick": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_hkTeacherDeskIconInfo[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1403. }
  1404. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1405. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function(obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_gdjgAdminDeskIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_gdjgAdminDeskIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1420. }
  1421. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1422. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function(obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_gdjgTeacherDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_gdjgTeacherDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1437. }
  1438. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1439. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function(obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_szherTeacherDeskIconInfo[i]]),
  1446. "onclick": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_szherTeacherDeskIconInfo[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1454. }
  1455. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1456. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function(obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_heyuannAdminDeskIconInfo[i]]),
  1463. "onclick": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_heyuannAdminDeskIconInfo[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1471. }
  1472. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1473. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function(obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_heyuanTeacherDeskIconInfo[i]]),
  1480. "onclick": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_heyuanTeacherDeskIconInfo[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1488. } //
  1489. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1490. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function(obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_dseiAdminDeskIconInfo[i]]),
  1497. "onclick": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_dseiAdminDeskIconInfo[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1505. }
  1506. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1507. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function(obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_dseiTeacherDeskIconInfo[i]]),
  1514. "onclick": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_dseiTeacherDeskIconInfo[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1522. } //
  1523. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1524. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function(obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_chjyjAdminDeskIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_chjyjAdminDeskIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1539. }//
  1540. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1541. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function(obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_chjyjTeacherDeskIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_chjyjTeacherDeskIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1558. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function(obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_szjkyAdminDeskIconInfo[i]]),
  1565. "onclick": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_szjkyAdminDeskIconInfo[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1573. }//
  1574. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1575. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function(obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_szjkyTeacherDeskIconInfo[i]]),
  1582. "onclick": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_szjkyTeacherDeskIconInfo[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1590. }
  1591. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1592. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function(obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_futianAdminDeskIconInfo[i]]),
  1599. "onclick": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_futianAdminDeskIconInfo[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1607. }
  1608. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1609. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function(obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_futianTeacherDeskIconInfo[i]]),
  1616. "onclick": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_futianTeacherDeskIconInfo[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1624. }
  1625. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1626. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function(obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_MingdeTeacherDeskIcon[i]]),
  1633. "onclick": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_MingdeTeacherDeskIcon[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1641. }
  1642. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1643. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function(obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_lhsAdminDesktopIconInfo[i]]),
  1650. "onclick": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_lhsAdminDesktopIconInfo[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1658. }
  1659. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1660. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function(obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_lhsteacherDesktopIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_lhsteacherDesktopIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1675. }
  1676. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1677. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function(obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_zhoujiateacherDesktopIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1692. }
  1693. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1694. for (i = 0; i < _hanDeskIcon.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function(obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_hanDeskIcon[i]]),
  1701. "onclick": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_hanDeskIcon[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1711. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function(obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_orgStemDeskIcon[i]]),
  1718. "onclick": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_orgStemDeskIcon[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1726. }
  1727. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1728. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function(obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_szulsDeskIcon[i]]),
  1735. "onclick": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_szulsDeskIcon[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1745. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function(obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_orgDesktopIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_orgDesktopIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1760. }
  1761. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1762. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function(obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_schoolDesktopIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_schoolDesktopIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1777. }
  1778. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1779. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function(obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_GMteacherDesktopIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_GMteacherDesktopIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1796. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function(obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_SONGteacherDesktopIconInfo[i]]),
  1803. "onclick": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_SONGteacherDesktopIconInfo[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1811. }
  1812. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1813. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function(obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_GMstudentDesktopIconInfo[i]]),
  1820. "onclick": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_GMstudentDesktopIconInfo[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1828. }
  1829. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1830. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function(obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_tcTeacherDeskIconInfo[i]]),
  1837. "onclick": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_tcTeacherDeskIconInfo[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1845. }
  1846. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1847. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function(obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_tcOrganizerDeskIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_tcOrganizerDeskIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1862. }
  1863. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1864. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function(obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_szscTeacherDeskIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_szscTeacherDeskIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1879. }
  1880. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1881. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function(obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_szscOrganizerDeskIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_szscOrganizerDeskIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1896. }
  1897. } else {
  1898. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_teacherDesktopIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function(obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_teacherDesktopIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. }
  1915. } else {
  1916. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1917. _content = $$("div", {
  1918. className: "U_MD_D_KO",
  1919. style: { 'width': '124px', 'height': '145px' },
  1920. "onmousedown": U.UF.C.closure(function(obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_easyDesktopIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function(obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_easyDesktopIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1932. }
  1933. }
  1934. if (type == 1) {
  1935. //加载好后给图标定位
  1936. U.MD.D.iconPostion($(_frag).Child());
  1937. } else {
  1938. //加载好后给图标定位
  1939. U.MD.D.iconPostion2($(_frag).Child());
  1940. }
  1941. //把图标加载到页面
  1942. el.appendChild(_frag);
  1943. }
  1944. /**
  1945. * 显示任务栏
  1946. *
  1947. * @param {element} 桌面元素
  1948. */
  1949. U.MD.D.I.displayTaskbar = function(el) {
  1950. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1951. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1952. //任务栏位置变化
  1953. U.selectEl(el).css({ "bottom": "0px" });
  1954. //桌面位置变话
  1955. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1956. }
  1957. }
  1958. //#region 桌面图标拖动逻辑
  1959. /**
  1960. * 桌面排列图标
  1961. *
  1962. * @param {element} 桌面元素
  1963. * @param {object} 上下相距的距离
  1964. * @param {object} 左右相距的距离
  1965. * @return {object} 命名空间
  1966. */
  1967. U.MD.D.iconPostion = function(childs, top, left) {
  1968. var i; //用于循环处理
  1969. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1970. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1971. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1972. for (i = 0; i < childs.length; i++) {
  1973. //如果竖排top超过了范围处理
  1974. if (top + 95 > US.height - 10) {
  1975. //left超过了页面范围处理,则向上重叠打印处理
  1976. if ((left + 180) > US.width) {
  1977. top -= 110;
  1978. left -= 90;
  1979. }
  1980. //没有超过范围,那么left+90添加到下一个竖排打印
  1981. else {
  1982. left += 90;
  1983. top = 15;
  1984. };
  1985. }
  1986. //给图标的位置赋值
  1987. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1988. if (i < childs.length - 1) {
  1989. //页面图标每次向下加95
  1990. top += 95;
  1991. }
  1992. }
  1993. //返回最后调用的图标的位置
  1994. return [top, left];
  1995. }
  1996. /**
  1997. * 桌面排列图标
  1998. *
  1999. * @param {element} 桌面元素
  2000. * @param {object} 上下相距的距离
  2001. * @param {object} 左右相距的距离
  2002. * @return {object} 命名空间
  2003. */
  2004. U.MD.D.iconPostion2 = function(childs, top, left) {
  2005. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2006. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2007. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2008. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2009. for (i = 0; i < childs.length; i++) {
  2010. //如果竖排top超过了范围处理
  2011. if (left + 150 > US.width - 10) {
  2012. //left超过了页面范围处理,则向上重叠打印处理
  2013. if ((top + 180) > US.Height) {
  2014. top -= 150;
  2015. left -= 150;
  2016. }
  2017. //没有超过范围,那么left+90添加到下一个竖排打印
  2018. else {
  2019. top += 150;
  2020. left = ol;
  2021. };
  2022. }
  2023. //给图标的位置赋值
  2024. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2025. if (i < childs.length - 1) {
  2026. //页面图标每次向下加95
  2027. left += 150;
  2028. }
  2029. }
  2030. //返回最后调用的图标的位置
  2031. return [top, left];
  2032. }
  2033. /**
  2034. * 桌面点击事件逻辑
  2035. *
  2036. * @param {element} 桌面元素
  2037. * @param {object} 上下相距的距离
  2038. * @param {object} 左右相距的距离
  2039. * @return {object} 命名空间
  2040. */
  2041. U.MD.D.click = function(el, obj) {
  2042. var _buttonnumber = event.button; //点击的按钮的事件值
  2043. var _userinfo = US.userInfo;
  2044. U.UF.EV.stopBubble(); //阻止向上冒泡
  2045. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2046. if (_buttonnumber < 2) {
  2047. //如果是click事件的处理
  2048. if (event.type == "click") {
  2049. //如果元素在mousemove事件中没有移动则出发click事件
  2050. if (!U.MD.D.I.IsDrag) {
  2051. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2052. U.alert("请先登录您的账号!");
  2053. setTimeout(() => {
  2054. U.MD.U.L.login();
  2055. }, 2000);
  2056. } else {
  2057. //打开应用处理
  2058. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2059. }
  2060. }
  2061. }
  2062. //如果是mouse事件的处理
  2063. else {
  2064. if (US.Config.type == '1') {
  2065. //拖动处理,添加拖动和拖动结束事件
  2066. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2067. }
  2068. }
  2069. U.MD.D.I.IsDrag = false;
  2070. }
  2071. }
  2072. /**
  2073. * 拖动的处理
  2074. *
  2075. */
  2076. U.MD.D.iconMove = function() {
  2077. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2078. U.MD.D.I.IsDrag = true;
  2079. }
  2080. /**
  2081. * 拖动结束后,这里是定位处理,以网状的形式定位
  2082. *
  2083. * @param {element} 拖动的元素
  2084. * @return {object} 命名空间
  2085. */
  2086. U.MD.D.iconUp = function(el) {
  2087. var _top = 15,
  2088. _left = 20,
  2089. _margin,
  2090. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2091. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2092. if (_positioninfo["OT"] > 15) {
  2093. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2094. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2095. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2096. }
  2097. if (_positioninfo["OL"] > 20) {
  2098. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2099. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2100. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2101. }
  2102. //while循环判断么一个重叠的元素
  2103. do {
  2104. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2105. _top = _positioninfo[0] + 95; //得到定位后的top
  2106. _left = _positioninfo[1]; //得到定位后的left
  2107. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2108. }
  2109. /**
  2110. * 判断拖动后图标是否重叠
  2111. *
  2112. * @param {element} 拖动的元素
  2113. * @param {element} 桌面所有的元素
  2114. * @param {array} 拖动元素的位置
  2115. ----------[0] 上 top
  2116. ----------[1] 左 left
  2117. * @return {object} 命名空间
  2118. */
  2119. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2120. //循环所有的图标
  2121. for (var i = 0; i < childs.length; i++) {
  2122. //判断有没有和该图标诶子重叠的元素
  2123. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2124. return childs[i]; //如果有返回
  2125. }
  2126. }
  2127. }
  2128. //#endregion
  2129. //#endregion
  2130. //#region 桌面应用
  2131. /**
  2132. * 打开应用
  2133. *
  2134. * @param {string} 类型
  2135. -----------------Disk 网盘系统
  2136. -----------------PDisk 学习系统网盘
  2137. -----------------Poto 图片
  2138. -----------------Video 视频
  2139. -----------------Music 音乐
  2140. -----------------Word word
  2141. -----------------Excel excel
  2142. -----------------Txt 记事本
  2143. -----------------PB 学习系统
  2144. -----------------Blog 朋友圈系统
  2145. -----------------FTP ftp系统
  2146. -----------------Group 好友群
  2147. -----------------SY 首页系统
  2148. -----------------Set 个人设置
  2149. -----------------XSet 系统设置
  2150. -----------------App 我们所有的app
  2151. -----------------BC c.1473.cn 平台
  2152. -----------------CWeb d.1473.cn 变成平台
  2153. -----------------其他的外联系统 我们统一用iframe打开
  2154. * @param {array} 类型
  2155. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2156. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2157. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2158. 如果第一个参数为其他,则无第二个参数
  2159. * @returns {array}
  2160. */
  2161. window.addEventListener('message', function(e) { // 监听 message 事件
  2162. // alert(e.data.type);
  2163. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2164. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2165. //3是展示全部阶段 2学生 1老师 4专家
  2166. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2167. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2168. //3是展示全部阶段 2学生 1老师 4专家
  2169. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2170. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2171. //3是展示全部阶段 2学生 1老师 4专家
  2172. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2174. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2176. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2177. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2178. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2179. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2180. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2181. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2182. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2183. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2184. //3是展示全部阶段 2学生 1老师 4专家
  2185. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2186. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2187. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2188. U.MD.D.I.selectUser();
  2189. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2190. var _formel = document.getElementById("study");
  2191. U.UF.F.windowZooming(_formel);
  2192. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2193. var _formel = document.getElementById("studyDetail");
  2194. U.UF.F.windowZooming(_formel);
  2195. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2196. var _formel = document.getElementById("studyDetail");
  2197. U.UF.F.windowZooming(_formel);
  2198. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2199. var _formel = document.getElementById("studentStudy");
  2200. U.UF.F.windowZooming(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2202. // var _formel = document.getElementById("study");
  2203. //如果最大化了,那么就把他缩小
  2204. // if (_formel.ismaximize) {
  2205. // return;
  2206. // }
  2207. // U.UF.F.windowZooming(_formel);
  2208. // U.UF.F.topWindow(_formel);
  2209. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2210. // var _formel = document.getElementById("studyDetail");
  2211. //如果最大化了,那么就把他缩小
  2212. // if (_formel.ismaximize) {
  2213. // return;
  2214. // }
  2215. // U.UF.F.windowZooming(_formel);
  2216. // U.UF.F.topWindow(_formel);
  2217. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2218. // var _formel = document.getElementById("studentStudy");
  2219. // if (_formel.ismaximize) {
  2220. // return;
  2221. // }
  2222. // U.UF.F.windowZooming(_formel);
  2223. // U.UF.F.topWindow(_formel);
  2224. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2225. var _formel = document.getElementById("study");
  2226. // if (_formel.ismaximize) {
  2227. // return;
  2228. // }
  2229. // U.UF.F.windowZooming(_formel);
  2230. U.UF.F.topWindow(_formel);
  2231. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2232. var _formel = document.getElementById("studentIndex");
  2233. U.UF.F.windowZooming(_formel);
  2234. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2235. var _formel = document.getElementById("studyDetailS");
  2236. U.UF.F.windowZooming(_formel);
  2237. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2238. var _formel = document.getElementById("studioIndex");
  2239. U.UF.F.windowZooming(_formel);
  2240. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2241. var _formel = document.getElementById("studyDetailStudio");
  2242. U.UF.F.windowZooming(_formel);
  2243. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2244. var _formel = document.getElementById("studyDetailStudio");
  2245. U.UF.F.windowZooming(_formel);
  2246. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2247. var _formel = document.getElementById("studyDetailNT");
  2248. U.UF.F.windowZooming(_formel);
  2249. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2250. var _formel = document.getElementById("studyDetailS");
  2251. U.UF.F.windowZooming(_formel);
  2252. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2253. var _formel = document.getElementById("studyDetailS");
  2254. U.UF.F.topWindow(_formel);
  2255. } else if (e.data.tools && e.data.tools == "1") {
  2256. // U.MD.D.I.openApplication("whiteboard")
  2257. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2258. } else if (e.data.tools && e.data.tools == "2") {
  2259. U.MD.D.I.openApplication("note")
  2260. } else if (e.data.tools && e.data.tools == "3") {
  2261. // U.MD.D.I.openApplication("mind")
  2262. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "4") {
  2264. U.MD.D.I.openApplication("investigation")
  2265. } else if (e.data.tools && e.data.tools == "6") {
  2266. // U.MD.D.I.openApplication("doc")
  2267. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2268. } else if (e.data.tools && e.data.tools == "7") {
  2269. // U.MD.D.I.openApplication("mindNetwork")
  2270. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2271. } else if (e.data.tools && e.data.tools == "8") {
  2272. U.MD.D.I.openApplication("library")
  2273. } else if (e.data.tools && e.data.tools == "17") {
  2274. U.MD.D.I.openApplication("stuLibrary")
  2275. } else if (e.data.tools && e.data.tools == "18") {
  2276. U.MD.D.I.openApplication("train")
  2277. } else if (e.data.tools && e.data.tools == "21") {
  2278. U.MD.D.I.openApplication("program")
  2279. } else if (e.data.tools && e.data.tools == "22") {
  2280. U.MD.D.I.openApplication("AIprogram2")
  2281. } else if (e.data.tools && e.data.tools == "23") {
  2282. U.MD.D.I.openApplication("Pythonprogram")
  2283. } else if (e.data.tools && e.data.tools == "24") {
  2284. U.MD.D.I.openApplication("AIprogram")
  2285. } else if (e.data.tools && e.data.tools == "25") {
  2286. U.MD.D.I.openApplication("sys")
  2287. } else if (e.data.tools && e.data.tools == "26") {
  2288. // U.MD.D.I.openApplication("courseDesign")
  2289. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2290. } else if (e.data.tools && e.data.tools == "31") {
  2291. U.MD.D.I.openApplication("netWorkPanel")
  2292. } else if (e.data.tools && e.data.tools == "32") {
  2293. U.MD.D.I.openApplication("codeEdit")
  2294. } else if (e.data.tools && e.data.tools == "57") {
  2295. U.MD.D.I.openApplication("CocoPi")
  2296. } else if (e.data.tools && e.data.tools == "63") {
  2297. U.MD.D.I.openApplication("Wood")
  2298. } else if (e.data.tools && e.data.tools == "58") {
  2299. U.MD.D.I.openApplication("car")
  2300. } else if (e.data.tools && e.data.tools == "59") {
  2301. U.MD.D.I.openApplication("lineSearch")
  2302. } else if (e.data.tools && e.data.tools == "60") {
  2303. U.MD.D.I.openApplication("deepLearning")
  2304. } else if (e.data.tools && e.data.tools == "61") {
  2305. U.MD.D.I.openApplication("allHistory")
  2306. } else if (e.data.tools && e.data.tools == "28") {
  2307. U.MD.D.I.openApplication("translation")
  2308. } else if (e.data.tools && e.data.tools == "37") {
  2309. U.MD.D.I.openApplication("mohe")
  2310. } else if (e.data.tools && e.data.tools == "38") {
  2311. U.MD.D.I.openApplication("24game")
  2312. } else if (e.data.tools && e.data.tools == "39") {
  2313. U.MD.D.I.openApplication("GeoGebra")
  2314. } else if (e.data.tools && e.data.tools == "43") {
  2315. U.MD.D.I.openApplication("studentEvaluate")
  2316. } else if (e.data.tools && e.data.tools == "44") {
  2317. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2318. } else if (e.data.tools && e.data.tools == "46") {
  2319. U.MD.D.I.openApplication("project")
  2320. } else if (e.data.tools && e.data.tools == "1s") {
  2321. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "3s") {
  2323. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "6s") {
  2325. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "1studio") {
  2327. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "3studio") {
  2329. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2330. } else if (e.data.tools && e.data.tools == "6studio") {
  2331. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2332. } else if (e.data.tools && e.data.tools == "3y") {
  2333. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2334. } else if (e.data.tools && e.data.tools == "1y") {
  2335. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2336. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2337. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2338. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2339. U.MD.D.I.openApplication("AIAnalyse")
  2340. } else if (e.data.tools && e.data.tools == "1teacher") {
  2341. U.MD.D.I.openApplicationJieTeacher("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 == "3teacher") {
  2343. U.MD.D.I.openApplicationJieTeacher("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 == "7teacher") {
  2345. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2346. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2347. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2348. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2349. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2350. } else if (e.data.tools && e.data.tools == "1E") {
  2351. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2352. } else if (e.data.tools && e.data.tools == "3E") {
  2353. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2354. } else if (e.data.tools && e.data.tools == "57y") {
  2355. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2356. } else if (e.data.tools && e.data.tools == "57u") {
  2357. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2358. } else if (e.data.tools && e.data.tools == "57teacher") {
  2359. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2360. } else if (e.data.tools && e.data.tools == "64") {
  2361. U.MD.D.I.openApplication("AIChat")
  2362. } else if (e.data.tools && e.data.tools == "66") {
  2363. U.MD.D.I.openApplication("formulaEdi")
  2364. } else if (e.data.tools && e.data.tools == "67") {
  2365. U.MD.D.I.openApplication("molStr")
  2366. } else if (e.data.tools && e.data.tools == "68") {
  2367. U.MD.D.I.openApplication("timeAxis")
  2368. } else if (e.data.tools && e.data.tools == "openCourse") {
  2369. let _data = {
  2370. typea:e.data.typea || '',
  2371. typeb:e.data.typeb || '',
  2372. typed:e.data.typed || '',
  2373. }
  2374. U.MD.D.I.openInApplication("index", _data)
  2375. }
  2376. });
  2377. U.MD.D.I.selectUser = function() {
  2378. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2379. if (res.value[0].length > 0) {
  2380. US.userInfo = res.value[0][0];
  2381. $(".userName")[0].innerHTML = US.userInfo.username;
  2382. }
  2383. }, [], { "type": "GET", "withCredentials": true });
  2384. }
  2385. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2386. var _userinfo = US.userInfo, //登录用户信息
  2387. _userid = US.userInfo.userid, //登录用户id
  2388. _oid = _userinfo.organizeid,
  2389. _type = US.userInfo.type,
  2390. _org = US.userInfo.org,
  2391. _role = US.userInfo.role,
  2392. _classId = US.userInfo.classid;
  2393. if (_type == 4) {
  2394. tType = 4
  2395. }
  2396. switch (str) {
  2397. case "studyDetailNT": //无终端模式
  2398. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2399. setTimeout(() => {
  2400. U.MD.U.L.login();
  2401. }, 2000);
  2402. } else {
  2403. _formdiv = new U.UF.UI.form(
  2404. "课程详情",
  2405. $$("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 }), {
  2406. "id": "studyDetailNT",
  2407. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2408. "onresize": function() {}
  2409. }, {
  2410. closecallback: function() {}
  2411. }, { "style": { "height": "36px" } }).form; //创建窗体
  2412. _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); } }
  2413. break;
  2414. }
  2415. case "studyDetail":
  2416. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2417. setTimeout(() => {
  2418. U.MD.U.L.login();
  2419. }, 2000);
  2420. } else {
  2421. _formdiv = new U.UF.UI.form(
  2422. "课程详情",
  2423. $$("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 }), {
  2424. "id": "studyDetail",
  2425. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2426. "onresize": function() {}
  2427. }, {
  2428. closecallback: function() {}
  2429. }, { "style": { "height": "36px" } }).form; //创建窗体
  2430. _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); } }
  2431. break;
  2432. }
  2433. case "studyDetailS":
  2434. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2435. setTimeout(() => {
  2436. U.MD.U.L.login();
  2437. }, 2000);
  2438. } else {
  2439. _formdiv = new U.UF.UI.form(
  2440. "项目详情",
  2441. $$("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 }), {
  2442. "id": "studyDetailS",
  2443. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2444. "onresize": function() {}
  2445. }, {
  2446. closecallback: function() {}
  2447. }, { "style": { "height": "36px" } }).form; //创建窗体
  2448. _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); } }
  2449. break;
  2450. }
  2451. case "studyDetailStudio":
  2452. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2453. setTimeout(() => {
  2454. U.MD.U.L.login();
  2455. }, 2000);
  2456. } else {
  2457. _formdiv = new U.UF.UI.form(
  2458. "工作详情",
  2459. $$("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 }), {
  2460. "id": "studyDetailStudio",
  2461. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2462. "onresize": function() {}
  2463. }, {
  2464. closecallback: function() {}
  2465. }, { "style": { "height": "36px" } }).form; //创建窗体
  2466. _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); } }
  2467. break;
  2468. }
  2469. case "studyDetailS5":
  2470. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2471. setTimeout(() => {
  2472. U.MD.U.L.login();
  2473. }, 2000);
  2474. } else {
  2475. _formdiv = new U.UF.UI.form(
  2476. "项目详情",
  2477. $$("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 }), {
  2478. "id": "studyDetailS",
  2479. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2480. "onresize": function() {}
  2481. }, {
  2482. closecallback: function() {}
  2483. }, { "style": { "height": "36px" } }).form; //创建窗体
  2484. _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); } }
  2485. break;
  2486. }
  2487. case "studyDetailGM":
  2488. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2489. setTimeout(() => {
  2490. U.MD.U.L.login();
  2491. }, 2000);
  2492. } else {
  2493. _formdiv = new U.UF.UI.form(
  2494. "课程详情",
  2495. $$("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 }), {
  2496. "id": "studyDetail",
  2497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2498. "onresize": function() {}
  2499. }, {
  2500. closecallback: function() {}
  2501. }, { "style": { "height": "36px" } }).form; //创建窗体
  2502. _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); } }
  2503. break;
  2504. }
  2505. case "hanUrl":
  2506. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2507. setTimeout(() => {
  2508. U.MD.U.L.login();
  2509. }, 2000);
  2510. } else {
  2511. _formdiv = new U.UF.UI.form(
  2512. "汉字宫",
  2513. $$("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" }), {
  2514. "id": "hanUrl",
  2515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2516. "onresize": function() {}
  2517. }, {
  2518. closecallback: function() {}
  2519. }, { "style": { "height": "36px" } }).form; //创建窗体
  2520. _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); } }
  2521. break;
  2522. }
  2523. case "index":
  2524. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2525. setTimeout(() => {
  2526. U.MD.U.L.login();
  2527. }, 2000);
  2528. } else {
  2529. _formdiv = new U.UF.UI.form(
  2530. "课程中心",
  2531. $$("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 }), {
  2532. "id": "study",
  2533. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2534. "onresize": function() {}
  2535. }, {
  2536. closecallback: function() {}
  2537. }, { "style": { "height": "36px" } }).form; //创建窗体
  2538. _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); } }
  2539. break;
  2540. }
  2541. }
  2542. }
  2543. U.MD.D.I.openApplication = function(str, obj, info) {
  2544. obj = obj || {};
  2545. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2546. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2547. _userinfo = US.userInfo, //登录用户信息
  2548. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2549. _oid = obj.organizeid || _userinfo.organizeid,
  2550. _type = US.userInfo.type,
  2551. _org = US.userInfo.org,
  2552. _role = US.userInfo.role,
  2553. _classId = US.userInfo.classid,
  2554. _TscreenType = 1
  2555. _screenType = 2,
  2556. _SscreenType = 3;
  2557. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2558. return;
  2559. }
  2560. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2561. switch (str) {
  2562. case "studnetProject": //好友打开
  2563. _formdiv = new U.UF.UI.form(
  2564. "我的项目",
  2565. $$("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 }), {
  2566. "id": "studnetProject",
  2567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2568. "onresize": function() {}
  2569. }, {
  2570. closecallback: function() {}
  2571. }, { "style": { "height": "36px" } }).form; //创建窗体
  2572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2573. break;
  2574. case "studentEvaluate": //好友打开
  2575. _formdiv = new U.UF.UI.form(
  2576. "我的评价",
  2577. $$("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 }), {
  2578. "id": "studentEvaluate",
  2579. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2580. "onresize": function() {}
  2581. }, {
  2582. closecallback: function() {}
  2583. }, { "style": { "height": "36px" } }).form; //创建窗体
  2584. _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); } }
  2585. break;
  2586. case "my":
  2587. _formdiv = new U.UF.UI.form(
  2588. "我的资料",
  2589. $$("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 }), {
  2590. "id": "my",
  2591. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2592. "onresize": function() {}
  2593. }, {
  2594. closecallback: function() {}
  2595. }, { "style": { "height": "36px" } }).form; //创建窗体
  2596. _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); } }
  2597. break;
  2598. case "program":
  2599. _formdiv = new U.UF.UI.form(
  2600. "编程平台",
  2601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2602. "id": "program",
  2603. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2604. "onresize": function() {}
  2605. }, {
  2606. closecallback: function() {}
  2607. }, { "style": { "height": "36px" } }).form; //创建窗体
  2608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2609. break;
  2610. case "library":
  2611. _formdiv = new U.UF.UI.form(
  2612. "素材库",
  2613. $$("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 }), {
  2614. "id": "library",
  2615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2616. "onresize": function() {}
  2617. }, {
  2618. closecallback: function() {}
  2619. }, { "style": { "height": "36px" } }).form; //创建窗体
  2620. _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); } }
  2621. break;
  2622. case "whiteboard":
  2623. _formdiv = new U.UF.UI.form(
  2624. "电子白板",
  2625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2626. "id": "whiteboard",
  2627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2628. "onresize": function() {}
  2629. }, {
  2630. closecallback: function() {}
  2631. }, { "style": { "height": "36px" } }).form; //创建窗体
  2632. _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); } }
  2633. break;
  2634. case "investigation":
  2635. _formdiv = new U.UF.UI.form(
  2636. "问卷调查",
  2637. $$("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 }), {
  2638. "id": "investigation",
  2639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2640. "onresize": function() {}
  2641. }, {
  2642. closecallback: function() {}
  2643. }, { "style": { "height": "36px" } }).form; //创建窗体
  2644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2645. break;
  2646. case "note":
  2647. _formdiv = new U.UF.UI.form(
  2648. "便签分类",
  2649. $$("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 }), {
  2650. "id": "note",
  2651. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2652. "onresize": function() {}
  2653. }, {
  2654. closecallback: function() {}
  2655. }, { "style": { "height": "36px" } }).form; //创建窗体
  2656. _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); } }
  2657. break;
  2658. // case "score":
  2659. // _formdiv = new U.UF.UI.form(
  2660. // "量规评分",
  2661. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2662. // "id": "score",
  2663. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2664. // "onresize": function() {}
  2665. // }, {
  2666. // closecallback: function() {}
  2667. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2668. // _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); } }
  2669. // break;
  2670. case "mind":
  2671. _formdiv = new U.UF.UI.form(
  2672. "思维导图",
  2673. $$("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"
  2674. "id": "mind",
  2675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2676. "onresize": function() {}
  2677. }, {
  2678. closecallback: function() {}
  2679. }, { "style": { "height": "36px" } }).form; //创建窗体
  2680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2681. break;
  2682. case "doc":
  2683. // U.MD.D.I.isRoom();
  2684. _formdiv = new U.UF.UI.form(
  2685. "协同文档",
  2686. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2687. "id": "doc",
  2688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2689. "onresize": function() {}
  2690. }, {
  2691. closecallback: function() {}
  2692. }, { "style": { "height": "36px" } }).form; //创建窗体
  2693. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2694. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2695. // })
  2696. _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); } }
  2697. break;
  2698. case "studentStudy":
  2699. _formdiv = new U.UF.UI.form(
  2700. "课程中心",
  2701. $$("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
  2702. "id": "studentStudy",
  2703. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2704. "onresize": function() {}
  2705. }, {
  2706. closecallback: function() {}
  2707. }, { "style": { "height": "36px" } }).form; //创建窗体
  2708. _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); } }
  2709. break;
  2710. case "train": //好友打开
  2711. _formdiv = new U.UF.UI.form(
  2712. "训练平台",
  2713. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2714. "id": "train",
  2715. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2716. "onresize": function() {}
  2717. }, {
  2718. closecallback: function() {}
  2719. }, { "style": { "height": "36px" } }).form; //创建窗体
  2720. _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); } }
  2721. break;
  2722. case "mindNetwork": //好友打开
  2723. _formdiv = new U.UF.UI.form(
  2724. "思维网格",
  2725. $$("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 }), {
  2726. "id": "mindNetwork",
  2727. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2728. "onresize": function() {}
  2729. }, {
  2730. closecallback: function() {}
  2731. }, { "style": { "height": "36px" } }).form; //创建窗体
  2732. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2733. break;
  2734. case "studentClassRoom": //好友打开
  2735. _formdiv = new U.UF.UI.form(
  2736. "实时课堂",
  2737. $$("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 }), {
  2738. "id": "studentClassRoom",
  2739. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2740. "onresize": function() {}
  2741. }, {
  2742. closecallback: function() {}
  2743. }, { "style": { "height": "36px" } }).form; //创建窗体
  2744. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2745. setTimeout(() => {
  2746. U.UF.F.windowZooming(_formdiv)
  2747. }, 0);
  2748. break;
  2749. }
  2750. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2751. switch (str) {
  2752. case "studnetProject": //好友打开
  2753. _formdiv = new U.UF.UI.form(
  2754. "我的项目",
  2755. $$("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 }), {
  2756. "id": "studnetProject",
  2757. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function() {}
  2759. }, {
  2760. closecallback: function() {}
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _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); } }
  2763. break;
  2764. case "studentEvaluate": //好友打开
  2765. _formdiv = new U.UF.UI.form(
  2766. "我的评价",
  2767. $$("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 }), {
  2768. "id": "studentEvaluate",
  2769. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2770. "onresize": function() {}
  2771. }, {
  2772. closecallback: function() {}
  2773. }, { "style": { "height": "36px" } }).form; //创建窗体
  2774. _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); } }
  2775. break;
  2776. case "my":
  2777. _formdiv = new U.UF.UI.form(
  2778. "我的资料",
  2779. $$("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 }), {
  2780. "id": "my",
  2781. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2782. "onresize": function() {}
  2783. }, {
  2784. closecallback: function() {}
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _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); } }
  2787. break;
  2788. case "program":
  2789. _formdiv = new U.UF.UI.form(
  2790. "编程平台",
  2791. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2792. "id": "program",
  2793. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2794. "onresize": function() {}
  2795. }, {
  2796. closecallback: function() {}
  2797. }, { "style": { "height": "36px" } }).form; //创建窗体
  2798. _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); } }
  2799. break;
  2800. case "library":
  2801. _formdiv = new U.UF.UI.form(
  2802. "素材库",
  2803. $$("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 }), {
  2804. "id": "library",
  2805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2806. "onresize": function() {}
  2807. }, {
  2808. closecallback: function() {}
  2809. }, { "style": { "height": "36px" } }).form; //创建窗体
  2810. _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); } }
  2811. break;
  2812. case "whiteboard":
  2813. _formdiv = new U.UF.UI.form(
  2814. "电子白板",
  2815. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2816. "id": "whiteboard",
  2817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2818. "onresize": function() {}
  2819. }, {
  2820. closecallback: function() {}
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _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); } }
  2823. break;
  2824. case "investigation":
  2825. _formdiv = new U.UF.UI.form(
  2826. "问卷调查",
  2827. $$("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 }), {
  2828. "id": "investigation",
  2829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2830. "onresize": function() {}
  2831. }, {
  2832. closecallback: function() {}
  2833. }, { "style": { "height": "36px" } }).form; //创建窗体
  2834. _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); } }
  2835. break;
  2836. case "note":
  2837. _formdiv = new U.UF.UI.form(
  2838. "便签分类",
  2839. $$("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 }), {
  2840. "id": "note",
  2841. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2842. "onresize": function() {}
  2843. }, {
  2844. closecallback: function() {}
  2845. }, { "style": { "height": "36px" } }).form; //创建窗体
  2846. _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); } }
  2847. break;
  2848. // case "score":
  2849. // _formdiv = new U.UF.UI.form(
  2850. // "量规评分",
  2851. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2852. // "id": "score",
  2853. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2854. // "onresize": function() {}
  2855. // }, {
  2856. // closecallback: function() {}
  2857. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. // _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); } }
  2859. // break;
  2860. case "mind":
  2861. _formdiv = new U.UF.UI.form(
  2862. "思维导图",
  2863. $$("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"
  2864. "id": "mind",
  2865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2866. "onresize": function() {}
  2867. }, {
  2868. closecallback: function() {}
  2869. }, { "style": { "height": "36px" } }).form; //创建窗体
  2870. _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); } }
  2871. break;
  2872. case "doc":
  2873. // U.MD.D.I.isRoom();
  2874. _formdiv = new U.UF.UI.form(
  2875. "协同文档",
  2876. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2877. "id": "doc",
  2878. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2879. "onresize": function() {}
  2880. }, {
  2881. closecallback: function() {}
  2882. }, { "style": { "height": "36px" } }).form; //创建窗体
  2883. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2884. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2885. })
  2886. _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); } }
  2887. break;
  2888. case "train": //好友打开
  2889. _formdiv = new U.UF.UI.form(
  2890. "训练平台",
  2891. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2892. "id": "train",
  2893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2894. "onresize": function() {}
  2895. }, {
  2896. closecallback: function() {}
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _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); } }
  2899. break;
  2900. case "studentStudy":
  2901. _formdiv = new U.UF.UI.form(
  2902. "课程中心",
  2903. $$("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
  2904. "id": "studentStudy",
  2905. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2906. "onresize": function() {}
  2907. }, {
  2908. closecallback: function() {}
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _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); } }
  2911. break;
  2912. case "mindNetwork": //好友打开
  2913. _formdiv = new U.UF.UI.form(
  2914. "思维网格",
  2915. $$("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 }), {
  2916. "id": "mindNetwork",
  2917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function() {}
  2919. }, {
  2920. closecallback: function() {}
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2923. break;
  2924. case "studentClassRoom": //好友打开
  2925. _formdiv = new U.UF.UI.form(
  2926. "实时课堂",
  2927. $$("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 }), {
  2928. "id": "studentClassRoom",
  2929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2930. "onresize": function() {}
  2931. }, {
  2932. closecallback: function() {}
  2933. }, { "style": { "height": "36px" } }).form; //创建窗体
  2934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2935. setTimeout(() => {
  2936. U.UF.F.windowZooming(_formdiv)
  2937. }, 0);
  2938. break;
  2939. }
  2940. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2941. //选择应用处理
  2942. switch (str) {
  2943. case "project": //好友打开
  2944. _formdiv = new U.UF.UI.form(
  2945. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2946. $$("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 }), {
  2947. "id": "project",
  2948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2949. "onresize": function() {}
  2950. }, {
  2951. closecallback: function() {}
  2952. }, { "style": { "height": "36px" } }).form; //创建窗体
  2953. _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); } }
  2954. break;
  2955. case "student":
  2956. _formdiv = new U.UF.UI.form(
  2957. "学生管理",
  2958. $$("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 }), {
  2959. "id": "student",
  2960. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2961. "onresize": function() {}
  2962. }, {
  2963. closecallback: function() {}
  2964. }, { "style": { "height": "36px" } }).form; //创建窗体
  2965. _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); } }
  2966. break;
  2967. case "evaluate":
  2968. _formdiv = new U.UF.UI.form(
  2969. "学生评价",
  2970. $$("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 }), {
  2971. "id": "evaluate",
  2972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2973. "onresize": function() {}
  2974. }, {
  2975. closecallback: function() {}
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _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); } }
  2978. break;
  2979. case "sys":
  2980. _formdiv = new U.UF.UI.form(
  2981. "目标管理",
  2982. $$("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 }), {
  2983. "id": "sys",
  2984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2985. "onresize": function() {}
  2986. }, {
  2987. closecallback: function() {}
  2988. }, { "style": { "height": "36px" } }).form; //创建窗体
  2989. _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); } }
  2990. break;
  2991. case "courseDesign":
  2992. _formdiv = new U.UF.UI.form(
  2993. "项目设计",
  2994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2995. "id": "courseDesign",
  2996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2997. "onresize": function() {}
  2998. }, {
  2999. closecallback: function() {}
  3000. }, { "style": { "height": "36px" } }).form; //创建窗体
  3001. _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); } }
  3002. break;
  3003. case "program":
  3004. _formdiv = new U.UF.UI.form(
  3005. "编程平台",
  3006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3007. "id": "program",
  3008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3009. "onresize": function() {}
  3010. }, {
  3011. closecallback: function() {}
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _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); } }
  3014. break;
  3015. case "class":
  3016. _formdiv = new U.UF.UI.form(
  3017. "班级管理",
  3018. $$("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 }), {
  3019. "id": "class",
  3020. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3021. "onresize": function() {}
  3022. }, {
  3023. closecallback: function() {}
  3024. }, { "style": { "height": "36px" } }).form; //创建窗体
  3025. _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); } }
  3026. break;
  3027. case "Grade":
  3028. _formdiv = new U.UF.UI.form(
  3029. "年级管理",
  3030. $$("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 }), {
  3031. "id": "Grade",
  3032. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3033. "onresize": function() {}
  3034. }, {
  3035. closecallback: function() {}
  3036. }, { "style": { "height": "36px" } }).form; //创建窗体
  3037. _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); } }
  3038. break;
  3039. case "teacherOffice":
  3040. _formdiv = new U.UF.UI.form(
  3041. "教研室",
  3042. $$("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 }), {
  3043. "id": "teacherOffice",
  3044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3045. "onresize": function() {}
  3046. }, {
  3047. closecallback: function() {}
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _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); } }
  3050. break;
  3051. case "my":
  3052. _formdiv = new U.UF.UI.form(
  3053. "我的资料",
  3054. $$("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 }), {
  3055. "id": "my",
  3056. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3057. "onresize": function() {}
  3058. }, {
  3059. closecallback: function() {}
  3060. }, { "style": { "height": "36px" } }).form; //创建窗体
  3061. _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); } }
  3062. break;
  3063. case "notice":
  3064. _formdiv = new U.UF.UI.form(
  3065. "通知公告",
  3066. $$("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 }), {
  3067. "id": "notice",
  3068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3069. "onresize": function() {}
  3070. }, {
  3071. closecallback: function() {}
  3072. }, { "style": { "height": "36px" } }).form; //创建窗体
  3073. _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); } }
  3074. break;
  3075. case "library":
  3076. _formdiv = new U.UF.UI.form(
  3077. "素材库",
  3078. $$("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 }), {
  3079. "id": "library",
  3080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3081. "onresize": function() {}
  3082. }, {
  3083. closecallback: function() {}
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _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); } }
  3086. break;
  3087. case "whiteboard":
  3088. _formdiv = new U.UF.UI.form(
  3089. "电子白板",
  3090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3091. "id": "whiteboard",
  3092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3093. "onresize": function() {}
  3094. }, {
  3095. closecallback: function() {}
  3096. }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. _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); } }
  3098. break;
  3099. case "investigation":
  3100. _formdiv = new U.UF.UI.form(
  3101. "问卷调查",
  3102. $$("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 }), {
  3103. "id": "investigation",
  3104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function() {}
  3106. }, {
  3107. closecallback: function() {}
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _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); } }
  3110. break;
  3111. case "note":
  3112. _formdiv = new U.UF.UI.form(
  3113. "便签分类",
  3114. $$("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 }), {
  3115. "id": "note",
  3116. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function() {}
  3118. }, {
  3119. closecallback: function() {}
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. // case "score":
  3124. // _formdiv = new U.UF.UI.form(
  3125. // "量规评分",
  3126. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3127. // "id": "score",
  3128. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3129. // "onresize": function() {}
  3130. // }, {
  3131. // closecallback: function() {}
  3132. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. // _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); } }
  3134. // break;
  3135. case "mind":
  3136. _formdiv = new U.UF.UI.form(
  3137. "思维导图",
  3138. $$("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"
  3139. "id": "mind",
  3140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function() {}
  3142. }, {
  3143. closecallback: function() {}
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _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); } }
  3146. break;
  3147. case "doc":
  3148. // U.MD.D.I.isRoom();
  3149. _formdiv = new U.UF.UI.form(
  3150. "协同文档",
  3151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3152. "id": "doc",
  3153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function() {}
  3155. }, {
  3156. closecallback: function() {}
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3159. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3160. })
  3161. _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); } }
  3162. break;
  3163. case "study":
  3164. _formdiv = new U.UF.UI.form(
  3165. "课程中心",
  3166. $$("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
  3167. "id": "study",
  3168. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3169. "onresize": function() {}
  3170. }, {
  3171. closecallback: function() {}
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3174. break;
  3175. case "mindNetwork": //好友打开
  3176. _formdiv = new U.UF.UI.form(
  3177. "思维网格",
  3178. $$("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 }), {
  3179. "id": "mindNetwork",
  3180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function() {}
  3182. }, {
  3183. closecallback: function() {}
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3186. break;
  3187. case "train": //好友打开
  3188. _formdiv = new U.UF.UI.form(
  3189. "训练平台",
  3190. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3191. "id": "mindNetwork",
  3192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function() {}
  3194. }, {
  3195. closecallback: function() {}
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3198. break;
  3199. case "teacherClassRoom": //好友打开
  3200. _formdiv = new U.UF.UI.form(
  3201. "实时课堂",
  3202. $$("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 }), {
  3203. "id": "teacherClassRoom",
  3204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function() {}
  3206. }, {
  3207. closecallback: function() {}
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3210. setTimeout(() => {
  3211. U.UF.F.windowZooming(_formdiv)
  3212. }, 0);
  3213. break;
  3214. }
  3215. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3216. switch (str) {
  3217. case "project": //好友打开
  3218. _formdiv = new U.UF.UI.form(
  3219. "课程管理",
  3220. $$("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 }), {
  3221. "id": "project",
  3222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. "onresize": function() {}
  3224. }, {
  3225. closecallback: function() {}
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _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); } }
  3228. break;
  3229. case "evaluate":
  3230. _formdiv = new U.UF.UI.form(
  3231. "学生评价",
  3232. $$("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 }), {
  3233. "id": "evaluate",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function() {}
  3236. }, {
  3237. closecallback: function() {}
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. case "notice":
  3242. _formdiv = new U.UF.UI.form(
  3243. "通知公告",
  3244. $$("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 }), {
  3245. "id": "notice",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function() {}
  3248. }, {
  3249. closecallback: function() {}
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. case "stuLibrary":
  3254. _formdiv = new U.UF.UI.form(
  3255. "学习资料",
  3256. $$("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 }), {
  3257. "id": "stuLibrary",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function() {}
  3260. }, {
  3261. closecallback: function() {}
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. case "program":
  3266. _formdiv = new U.UF.UI.form(
  3267. "编程平台",
  3268. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3269. "id": "program",
  3270. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function() {}
  3272. }, {
  3273. closecallback: function() {}
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. break;
  3277. case "whiteboard":
  3278. _formdiv = new U.UF.UI.form(
  3279. "电子白板",
  3280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3281. "id": "whiteboard",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function() {}
  3284. }, {
  3285. closecallback: function() {}
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "investigation":
  3290. _formdiv = new U.UF.UI.form(
  3291. "问卷调查",
  3292. $$("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 }), {
  3293. "id": "investigation",
  3294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function() {}
  3296. }, {
  3297. closecallback: function() {}
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "mind":
  3302. _formdiv = new U.UF.UI.form(
  3303. "思维导图",
  3304. $$("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"
  3305. "id": "mind",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function() {}
  3308. }, {
  3309. closecallback: function() {}
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. case "doc":
  3314. // U.MD.D.I.isRoom();
  3315. _formdiv = new U.UF.UI.form(
  3316. "协同文档",
  3317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3318. "id": "doc",
  3319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function() {}
  3321. }, {
  3322. closecallback: function() {}
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3325. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3326. })
  3327. _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); } }
  3328. break;
  3329. case "study":
  3330. _formdiv = new U.UF.UI.form(
  3331. "课程中心",
  3332. $$("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
  3333. "id": "study",
  3334. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3335. "onresize": function() {}
  3336. }, {
  3337. closecallback: function() {}
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _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); } }
  3340. break;
  3341. case "mindNetwork": //好友打开
  3342. _formdiv = new U.UF.UI.form(
  3343. "思维网格",
  3344. $$("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 }), {
  3345. "id": "mindNetwork",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function() {}
  3348. }, {
  3349. closecallback: function() {}
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. break;
  3353. case "train": //好友打开
  3354. _formdiv = new U.UF.UI.form(
  3355. "训练平台",
  3356. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3357. "id": "train",
  3358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function() {}
  3360. }, {
  3361. closecallback: function() {}
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "sys":
  3366. _formdiv = new U.UF.UI.form(
  3367. "目标管理",
  3368. $$("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 }), {
  3369. "id": "sys",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function() {}
  3372. }, {
  3373. closecallback: function() {}
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "courseDesign":
  3378. _formdiv = new U.UF.UI.form(
  3379. "项目设计",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3381. "id": "courseDesign",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. }
  3390. } else if (!_type) {
  3391. switch (str) {
  3392. case "my":
  3393. _formdiv = new U.UF.UI.form(
  3394. "我的资料",
  3395. $$("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 }), {
  3396. "id": "my",
  3397. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function() {}
  3399. }, {
  3400. closecallback: function() {}
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. }
  3405. }
  3406. switch (str) {
  3407. // AIprogram2 AI体验 aihub.cocorobo.cn
  3408. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3409. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3410. case "formulaEdi": //公式编辑
  3411. _formdiv = new U.UF.UI.form(
  3412. "公式编辑",
  3413. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3414. "id": "formulaEdi",
  3415. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function() {}
  3417. }, {
  3418. closecallback: function() {}
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3421. break;
  3422. case "molStr": //分子结构
  3423. _formdiv = new U.UF.UI.form(
  3424. "分子结构",
  3425. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3426. "id": "molStr",
  3427. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function() {}
  3429. }, {
  3430. closecallback: function() {}
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3433. break;
  3434. case "timeAxis": //时间轴
  3435. _formdiv = new U.UF.UI.form(
  3436. "时间轴",
  3437. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3438. "id": "timeAxis",
  3439. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function() {}
  3441. }, {
  3442. closecallback: function() {}
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "AIprogram2": //AI体验
  3447. _formdiv = new U.UF.UI.form(
  3448. "AI体验",
  3449. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3450. "id": "AIprogram2",
  3451. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function() {}
  3453. }, {
  3454. closecallback: function() {}
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. case "Pythonprogram": //python编程
  3459. _formdiv = new U.UF.UI.form(
  3460. "Python编程",
  3461. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3462. "id": "Pythonprogram",
  3463. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function() {}
  3465. }, {
  3466. closecallback: function() {}
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _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); } }
  3469. break;
  3470. case "AIprogram": //ai编程
  3471. _formdiv = new U.UF.UI.form(
  3472. "AI编程平台",
  3473. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3474. "id": "AIprogram",
  3475. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function() {}
  3477. }, {
  3478. closecallback: function() {}
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _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); } }
  3481. break;
  3482. case "CocoPi": //CocoPi
  3483. _formdiv = new U.UF.UI.form(
  3484. "CocoPi",
  3485. $$("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" }), {
  3486. "id": "CocoPi",
  3487. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function() {}
  3489. }, {
  3490. closecallback: function() {}
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _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); } }
  3493. break;
  3494. case "Wood": //Wood
  3495. _formdiv = new U.UF.UI.form(
  3496. "海龟编程",
  3497. $$("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/" }), {
  3498. "id": "Wood",
  3499. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function() {}
  3501. }, {
  3502. closecallback: function() {}
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _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); } }
  3505. break;
  3506. case "car": //模拟驾驶
  3507. _formdiv = new U.UF.UI.form(
  3508. "模拟驾驶",
  3509. $$("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/" }), {
  3510. "id": "car",
  3511. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function() {}
  3513. }, {
  3514. closecallback: function() {}
  3515. }, { "style": { "height": "36px" } }).form; //创建窗体
  3516. _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); } }
  3517. break;
  3518. case "lineSearch": //路径搜索
  3519. _formdiv = new U.UF.UI.form(
  3520. "路径搜索",
  3521. $$("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/" }), {
  3522. "id": "lineSearch",
  3523. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function() {}
  3525. }, {
  3526. closecallback: function() {}
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "deepLearning": //深度学习
  3531. _formdiv = new U.UF.UI.form(
  3532. "深度学习",
  3533. $$("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/#" }), {
  3534. "id": "deepLearning",
  3535. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function() {}
  3537. }, {
  3538. closecallback: function() {}
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. case "allHistory": //深度学习
  3543. _formdiv = new U.UF.UI.form(
  3544. "全历史",
  3545. $$("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/" }), {
  3546. "id": "allHistory",
  3547. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function() {}
  3549. }, {
  3550. closecallback: function() {}
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _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); } }
  3553. break;
  3554. case "chatPDF": //ai编程
  3555. _formdiv = new U.UF.UI.form(
  3556. "chatPDF",
  3557. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3558. "id": "chatPDF",
  3559. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function() {}
  3561. }, {
  3562. closecallback: function() {}
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. break;
  3566. case "resources": //国家教育
  3567. _formdiv = new U.UF.UI.form(
  3568. "国家教育",
  3569. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3570. "id": "resources",
  3571. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function() {}
  3573. }, {
  3574. closecallback: function() {}
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _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); } }
  3577. break;
  3578. case "codeEdit": //源码编辑
  3579. _formdiv = new U.UF.UI.form(
  3580. "源码编辑",
  3581. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3582. "id": "codeEdit",
  3583. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function() {}
  3585. }, {
  3586. closecallback: function() {}
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _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); } }
  3589. break; //
  3590. case "MindMap": //MindMap
  3591. _formdiv = new U.UF.UI.form(
  3592. "MindMap",
  3593. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3594. "id": "MindMap",
  3595. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function() {}
  3597. }, {
  3598. closecallback: function() {}
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _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); } }
  3601. break;
  3602. case "netWorkPanel": //netWorkPanel
  3603. _formdiv = new U.UF.UI.form(
  3604. "netWorkPanel",
  3605. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3606. "id": "netWorkPanel",
  3607. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function() {}
  3609. }, {
  3610. closecallback: function() {}
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _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); } }
  3613. break;
  3614. case "GeoGebra": //GeoGebra
  3615. _formdiv = new U.UF.UI.form(
  3616. "GeoGebra",
  3617. $$("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" }), {
  3618. "id": "GeoGebra",
  3619. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function() {}
  3621. }, {
  3622. closecallback: function() {}
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _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); } }
  3625. break;
  3626. case "translation": //翻译
  3627. _formdiv = new U.UF.UI.form(
  3628. "翻译",
  3629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3630. "id": "translation",
  3631. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function() {}
  3633. }, {
  3634. closecallback: function() {}
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _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); } }
  3637. break;
  3638. case "mohe": //魔盒
  3639. _formdiv = new U.UF.UI.form(
  3640. "魔盒识字",
  3641. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3642. "id": "mohe",
  3643. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3644. "onresize": function() {}
  3645. }, {
  3646. closecallback: function() {}
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "24game": //24点
  3651. _formdiv = new U.UF.UI.form(
  3652. "24点",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3654. "id": "24game",
  3655. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3656. "onresize": function() {}
  3657. }, {
  3658. closecallback: function() {}
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. _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); } }
  3661. break;
  3662. case "case":
  3663. _formdiv = new U.UF.UI.form(
  3664. "课程进展",
  3665. $$("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 }), {
  3666. "id": "case",
  3667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3668. "onresize": function() {}
  3669. }, {
  3670. closecallback: function() {}
  3671. }, { "style": { "height": "36px" } }).form; //创建窗体
  3672. _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); } }
  3673. break;
  3674. case "snf":
  3675. _formdiv = new U.UF.UI.form(
  3676. "赛诺梵",
  3677. $$("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" }), {
  3678. "id": "snf",
  3679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3680. "onresize": function() {}
  3681. }, {
  3682. closecallback: function() {}
  3683. }, { "style": { "height": "36px" } }).form; //创建窗体
  3684. _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); } }
  3685. break;
  3686. case "hanFamily":
  3687. _formdiv = new U.UF.UI.form(
  3688. "汉字家族",
  3689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3690. "id": "hanFamily",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function() {}
  3693. }, {
  3694. closecallback: function() {}
  3695. }, { "style": { "height": "36px" } }).form; //创建窗体
  3696. _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); } }
  3697. break;
  3698. case "hanClassics":
  3699. _formdiv = new U.UF.UI.form(
  3700. "国学经典",
  3701. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3702. "id": "hanClassics",
  3703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3704. "onresize": function() {}
  3705. }, {
  3706. closecallback: function() {}
  3707. }, { "style": { "height": "36px" } }).form; //创建窗体
  3708. _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); } }
  3709. break;
  3710. case "hanTraining":
  3711. _formdiv = new U.UF.UI.form(
  3712. "笔画训练",
  3713. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3714. "id": "hanTraining",
  3715. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3716. "onresize": function() {}
  3717. }, {
  3718. closecallback: function() {}
  3719. }, { "style": { "height": "36px" } }).form; //创建窗体
  3720. _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); } }
  3721. break;
  3722. case "hanClass":
  3723. _formdiv = new U.UF.UI.form(
  3724. "书法课堂",
  3725. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3726. "id": "hanClass",
  3727. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3728. "onresize": function() {}
  3729. }, {
  3730. closecallback: function() {}
  3731. }, { "style": { "height": "36px" } }).form; //创建窗体
  3732. _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); } }
  3733. break;
  3734. case "han":
  3735. _formdiv = new U.UF.UI.form(
  3736. "汉字宫",
  3737. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3738. "id": "han",
  3739. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3740. "onresize": function() {}
  3741. }, {
  3742. closecallback: function() {}
  3743. }, { "style": { "height": "36px" } }).form; //创建窗体
  3744. _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); } }
  3745. break;
  3746. case "projectGM": //课程管理
  3747. _formdiv = new U.UF.UI.form(
  3748. "课程管理",
  3749. $$("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 }), {
  3750. "id": "projectGM",
  3751. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3752. "onresize": function() {}
  3753. }, {
  3754. closecallback: function() {}
  3755. }, { "style": { "height": "36px" } }).form; //创建窗体
  3756. _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); } }
  3757. break;
  3758. case "studyGM": //课程中心
  3759. _formdiv = new U.UF.UI.form(
  3760. "课程中心",
  3761. $$("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
  3762. "id": "study",
  3763. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3764. "onresize": function() {}
  3765. }, {
  3766. closecallback: function() {}
  3767. }, { "style": { "height": "36px" } }).form; //创建窗体
  3768. _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); } }
  3769. break;
  3770. // studentGM
  3771. case "studentGM": //学生管理
  3772. _formdiv = new U.UF.UI.form(
  3773. "学生管理",
  3774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3775. "id": "studentGM",
  3776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function() {}
  3778. }, {
  3779. closecallback: function() {}
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3782. break;
  3783. case "evaluateGM": //学生评价
  3784. _formdiv = new U.UF.UI.form(
  3785. "学生评价",
  3786. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3787. "id": "evaluateGM",
  3788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function() {}
  3790. }, {
  3791. closecallback: function() {}
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3794. break;
  3795. // classGM
  3796. case "classGM": //班级管理
  3797. _formdiv = new U.UF.UI.form(
  3798. "班级管理",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3800. "id": "classGM",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function() {}
  3803. }, {
  3804. closecallback: function() {}
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. // dataGM
  3809. case "dataGM":
  3810. _formdiv = new U.UF.UI.form(
  3811. "我的资料",
  3812. $$("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 }), {
  3813. "id": "dataGM",
  3814. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function() {}
  3816. }, {
  3817. closecallback: function() {}
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. _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); } }
  3820. break;
  3821. // caseGM
  3822. case "caseGM": //课程进展
  3823. _formdiv = new U.UF.UI.form(
  3824. "课程进展",
  3825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3826. "id": "caseGM",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function() {}
  3829. }, {
  3830. closecallback: function() {}
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3833. break;
  3834. // meterialGM
  3835. case "meterialGM": //素材库
  3836. _formdiv = new U.UF.UI.form(
  3837. "素材库",
  3838. $$("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 }), {
  3839. "id": "meterialGM",
  3840. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function() {}
  3842. }, {
  3843. closecallback: function() {}
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _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); } }
  3846. break;
  3847. // evaluateSGM
  3848. case "evaluateSGM": //我的评价
  3849. _formdiv = new U.UF.UI.form(
  3850. "我的评价",
  3851. $$("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 }), {
  3852. "id": "evaluateSGM",
  3853. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function() {}
  3855. }, {
  3856. closecallback: function() {}
  3857. }, { "style": { "height": "36px" } }).form; //创建窗体
  3858. _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); } }
  3859. break;
  3860. case "jupyter": //jupyter
  3861. _formdiv = new U.UF.UI.form(
  3862. "jupyter",
  3863. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3864. "id": "jupyter",
  3865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3866. "onresize": function() {}
  3867. }, {
  3868. closecallback: function() {}
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _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); } }
  3871. break;
  3872. case "number": //数字实验室
  3873. _formdiv = new U.UF.UI.form(
  3874. "数字实验室",
  3875. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3876. "id": "number",
  3877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function() {}
  3879. }, {
  3880. closecallback: function() {}
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. _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); } }
  3883. break;
  3884. case "studentCourse": //项目管理 学生
  3885. _formdiv = new U.UF.UI.form(
  3886. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3887. $$("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 }), {
  3888. "id": "studentCourse",
  3889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3890. "onresize": function() {}
  3891. }, {
  3892. closecallback: function() {}
  3893. }, { "style": { "height": "36px" } }).form; //创建窗体
  3894. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3895. break;
  3896. case "studentCourseS": //项目管理 老师
  3897. _formdiv = new U.UF.UI.form(
  3898. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3899. $$("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 }), {
  3900. "id": "studentCourseS",
  3901. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3902. "onresize": function() {}
  3903. }, {
  3904. closecallback: function() {}
  3905. }, { "style": { "height": "36px" } }).form; //创建窗体
  3906. _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); } }
  3907. break;
  3908. case "studentIndex": //项目中心
  3909. _formdiv = new U.UF.UI.form(
  3910. "项目中心",
  3911. $$("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 }), {
  3912. "id": "studentIndex",
  3913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function() {}
  3915. }, {
  3916. closecallback: function() {}
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _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); } }
  3919. break;
  3920. case "CaseDesignS":
  3921. _formdiv = new U.UF.UI.form(
  3922. "项目进展",
  3923. $$("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 }), {
  3924. "id": "case",
  3925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function() {}
  3927. }, {
  3928. closecallback: function() {}
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _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); } }
  3931. break;
  3932. case "tcStudent": //腾讯学生管理
  3933. _formdiv = new U.UF.UI.form(
  3934. "学生管理",
  3935. $$("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 }), {
  3936. "id": "tcStudent",
  3937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function() {}
  3939. }, {
  3940. closecallback: function() {}
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _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); } }
  3943. break;
  3944. case "tcSchool": //腾讯学校管理
  3945. _formdiv = new U.UF.UI.form(
  3946. "学校管理",
  3947. $$("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 }), {
  3948. "id": "tcSchool",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function() {}
  3951. }, {
  3952. closecallback: function() {}
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _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); } }
  3955. break;
  3956. case "tcTeacher": //腾讯学校管理
  3957. _formdiv = new U.UF.UI.form(
  3958. "教师管理",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3960. "id": "tcTeacher",
  3961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function() {}
  3963. }, {
  3964. closecallback: function() {}
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "tcData": //腾讯我的资料
  3969. _formdiv = new U.UF.UI.form(
  3970. "我的资料",
  3971. $$("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 }), {
  3972. "id": "tcData",
  3973. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function() {}
  3975. }, {
  3976. closecallback: function() {}
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _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); } }
  3979. break;
  3980. case "tcNotice": //腾讯消息通知
  3981. _formdiv = new U.UF.UI.form(
  3982. "消息通知",
  3983. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3984. "id": "tcNotice",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function() {}
  3987. }, {
  3988. closecallback: function() {}
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3991. break;
  3992. case "myReport": //好友打开
  3993. _formdiv = new U.UF.UI.form(
  3994. "我的评价",
  3995. $$("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 }), {
  3996. "id": "myReport",
  3997. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3998. "onresize": function() {}
  3999. }, {
  4000. closecallback: function() {}
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _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); } }
  4003. break;
  4004. case "learnAna": //好友打开
  4005. _formdiv = new U.UF.UI.form(
  4006. "学习分析",
  4007. $$("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 }), {
  4008. "id": "learnAna",
  4009. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4010. "onresize": function() {}
  4011. }, {
  4012. closecallback: function() {}
  4013. }, { "style": { "height": "36px" } }).form; //创建窗体
  4014. _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); } }
  4015. break;
  4016. case "AIChat": //AI共创
  4017. _formdiv = new U.UF.UI.form(
  4018. "AI共创",
  4019. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4020. "id": "AIChat",
  4021. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4022. "onresize": function() {}
  4023. }, {
  4024. istop: true,
  4025. closecallback: function() { $("#aichat_icon").remove(); },
  4026. narrowcallback: function() {
  4027. if (!$("#aichat_icon")[0]) {
  4028. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4029. }
  4030. },
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _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); } }
  4033. break;
  4034. case "ainew": //AI共创
  4035. _formdiv = new U.UF.UI.form(
  4036. "AI协同",
  4037. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4038. "id": "ainew",
  4039. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4040. "onresize": function() {}
  4041. }, {
  4042. closecallback: function() {}
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _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); } }
  4045. break;
  4046. case "futureClass": //AI共创
  4047. _formdiv = new U.UF.UI.form(
  4048. "知识建构",
  4049. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4050. "id": "futureClass",
  4051. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4052. "onresize": function() {}
  4053. }, {
  4054. closecallback: function() {}
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _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); } }
  4057. break;
  4058. case "dataBoard": //数据看板
  4059. _formdiv = new U.UF.UI.form(
  4060. "数据看板",
  4061. $$("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 }), {
  4062. "id": "dataBoard",
  4063. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4064. "onresize": function() {}
  4065. }, {
  4066. closecallback: function() {}
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _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); } }
  4069. break;
  4070. case "AIAnalyse": //AI共创
  4071. _formdiv = new U.UF.UI.form(
  4072. "AI分析",
  4073. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4074. "id": "AIAnalyse",
  4075. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4076. "onresize": function() {}
  4077. }, {
  4078. closecallback: function() {}
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _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); } }
  4081. break;
  4082. case "studioCourse": //AI共创
  4083. _formdiv = new U.UF.UI.form(
  4084. "工作管理",
  4085. $$("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 }), {
  4086. "id": "studioCourse",
  4087. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4088. "onresize": function() {}
  4089. }, {
  4090. closecallback: function() {}
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _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); } }
  4093. break;
  4094. case "studioIndex": //AI共创
  4095. _formdiv = new U.UF.UI.form(
  4096. "工作中心",
  4097. $$("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 }), {
  4098. "id": "studioIndex",
  4099. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4100. "onresize": function() {}
  4101. }, {
  4102. closecallback: function() {}
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _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); } }
  4105. break;
  4106. case "source":
  4107. _formdiv = new U.UF.UI.form(
  4108. "教学资源",
  4109. $$("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 }), {
  4110. "id": "source",
  4111. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4112. "onresize": function() {}
  4113. }, {
  4114. closecallback: function() {}
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _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); } }
  4117. break;
  4118. }
  4119. //U.MD.D.I.openClick(str);
  4120. //如果有任务栏信息
  4121. if (_taskbar) {
  4122. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4123. }
  4124. }
  4125. // U.MD.D.I.openClick = function(str){
  4126. // var click = '';
  4127. // switch(str){
  4128. // case 'friend':
  4129. // click = '我的好友';
  4130. // break;
  4131. // case 'domain':
  4132. // click = '域名管理';
  4133. // break;
  4134. // case 'disk':
  4135. // click = '我的云盘';
  4136. // break;
  4137. // case 'word':
  4138. // click = 'Word';
  4139. // break;
  4140. // case 'excel':
  4141. // click = 'Execl';
  4142. // break;
  4143. // case 'txt':
  4144. // click = '文本文件';
  4145. // break;
  4146. // case 'lookupFriend':
  4147. // click = '查找好友';
  4148. // break;
  4149. // case 'ftp':
  4150. // click = 'FTP';
  4151. // break;
  4152. // case 'group':
  4153. // click = '群组';
  4154. // break;
  4155. // case 'set':
  4156. // click = '我的设置';
  4157. // break;
  4158. // case 'systemSet':
  4159. // click = '系统设置';
  4160. // break;
  4161. // case 'boomYun':
  4162. // click = '互联办公';
  4163. // break;
  4164. // case 'xz':
  4165. // click = '云端下载';
  4166. // break;
  4167. // case 'client':
  4168. // click = '有思浏览器';
  4169. // break;
  4170. // case 'backEndProgramming':
  4171. // click = '在线后台编程';
  4172. // break;
  4173. // case 'frontEndProgramming':
  4174. // click = '在线前端编程';
  4175. // break;
  4176. // default: break;
  4177. // }
  4178. // if(U.MD.D.I.Ip && click){
  4179. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4180. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4181. // })
  4182. // }
  4183. // }
  4184. /**
  4185. *函数作用:ajax简易函数,使用post格式
  4186. *@param url {data} 后台地址
  4187. *@param data {data} 参数json
  4188. *@param fn {data} 回调函数
  4189. *
  4190. */
  4191. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4192. // var xhr = new XMLHttpRequest();
  4193. // xhr.open("GET",url,true);
  4194. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4195. // xhr.onreadystatechange = function(){
  4196. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4197. // fn.call(this,xhr.responseText);
  4198. // }
  4199. // };
  4200. // xhr.send();
  4201. // }
  4202. /*判断是否是内网IP*/
  4203. // U.MD.D.I.isInnerIPFn = function(str){
  4204. // var curPageUrl = str;
  4205. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4206. // curPageUrl =curPageUrl.replace(reg1,'');
  4207. // // console.log('curPageUrl-1 '+curPageUrl);
  4208. // var reg2 = /\:+/g;//替换冒号为一点
  4209. // curPageUrl =curPageUrl.replace(reg2,'.');
  4210. // // console.log('curPageUrl-2 '+curPageUrl);
  4211. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4212. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4213. // if(curPageUrl[2] != '16'){
  4214. // return ipAddress;
  4215. // }else{
  4216. // return false;
  4217. // }
  4218. // }
  4219. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4220. // //compatibility for firefox and chrome
  4221. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4222. // var pc = new myPeerConnection({
  4223. // iceServers: []
  4224. // }),
  4225. // noop = function() {},
  4226. // localIPs = {},
  4227. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4228. // key;
  4229. // function iterateIP(ip) {
  4230. // if (!localIPs[ip]) onNewIP(ip);
  4231. // localIPs[ip] = true;
  4232. // }
  4233. // //create a bogus data channel
  4234. // pc.createDataChannel("");
  4235. // // create offer and set local description
  4236. // pc.createOffer().then(function(sdp) {
  4237. // sdp.sdp.split('\n').forEach(function(line) {
  4238. // if (line.indexOf('candidate') < 0) return;
  4239. // line.match(ipRegex).forEach(iterateIP);
  4240. // });
  4241. // pc.setLocalDescription(sdp, noop, noop);
  4242. // }).catch(function(reason) {
  4243. // // An error occurred, so handle the failure to connect
  4244. // });
  4245. // //sten for candidate events
  4246. // pc.onicecandidate = function(ice) {
  4247. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4248. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4249. // };
  4250. // }
  4251. // U.MD.D.I.getUserIpBool = function(callback){
  4252. // U.MD.D.I.getUserIP(function(ip){
  4253. // alert("Got IP! :" + ip);
  4254. // });
  4255. //}
  4256. //#endregion
  4257. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4258. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4259. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4260. _userinfo = US.userInfo, //登录用户信息
  4261. _userid = US.userInfo.userid //登录用户id
  4262. let _iframe;
  4263. let _cid = cid,
  4264. _stage = stage,
  4265. _task = task,
  4266. _tool = tool;
  4267. var _jie = $$("div", {
  4268. "style": {
  4269. "position": "absolute",
  4270. "bottom": "50px",
  4271. "right": "50px",
  4272. "zIndex": "9999",
  4273. "backgroundColor": "#2268bc",
  4274. "color": "#fff",
  4275. "padding": "12px 20px",
  4276. "cursor": "pointer",
  4277. "borderRadius": "4px",
  4278. },
  4279. "innerHTML": "提交作业"
  4280. })
  4281. let aTool = ''
  4282. let _loading = document.createElement('div')
  4283. _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;"
  4284. // _loading.id = "";
  4285. let _lchild = document.createElement('div')
  4286. let _limg = document.createElement('img')
  4287. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4288. _limg.style = "width: 26px;margin-right: 10px;"
  4289. _lchild.appendChild(_limg)
  4290. let _lspan = document.createElement('span')
  4291. _lspan.innerHTML = "上传中..."
  4292. _lchild.appendChild(_lspan)
  4293. _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%);"
  4294. _loading.appendChild(_lchild)
  4295. var _box = $$('div', {
  4296. "style": {
  4297. "position": "relative",
  4298. "width": "100%",
  4299. "height": "100%",
  4300. },
  4301. })
  4302. _box.appendChild(_loading)
  4303. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4304. switch (str) {
  4305. case "whiteboard":
  4306. aTool = 1;
  4307. _iframe = $$("iframe", {
  4308. "frameborder": "no",
  4309. "border": "0",
  4310. "scrolling ": "no",
  4311. "style": {
  4312. "cssText": "border:0;width:100%;height:100%"
  4313. },
  4314. "src": "https://iwb.cocorobo.cn/"
  4315. })
  4316. _box.appendChild(_iframe);
  4317. _box.appendChild(_jie);
  4318. _formdiv = new U.UF.UI.form(
  4319. "电子白板",
  4320. _box, {
  4321. "id": "whiteboard" + cid + stage + task + tool,
  4322. "style": {
  4323. "width": "90%",
  4324. "height": "90%",
  4325. "overflow": 'hidden'
  4326. },
  4327. "onresize": function() {}
  4328. }, {
  4329. closecallback: function() {}
  4330. }, {
  4331. "style": {
  4332. "height": "36px"
  4333. }
  4334. }).form; //创建窗体
  4335. _taskbar = {
  4336. "id": str + _formdiv.id,
  4337. "style": {
  4338. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4339. },
  4340. "name": "电子白板",
  4341. "forms": _formdiv,
  4342. "click": function() {
  4343. U.MD.D.I.openApplication(str, obj, info);
  4344. }
  4345. }
  4346. break;
  4347. case "mind":
  4348. aTool = 3;
  4349. _iframe = $$("iframe", {
  4350. "frameborder": "no",
  4351. "border": "0",
  4352. "scrolling ": "no",
  4353. "style": {
  4354. "cssText": "border:0;width:100%;height:100%"
  4355. },
  4356. "src": "/kityminder-editor/dist/index.html"
  4357. })
  4358. _box.appendChild(_iframe);
  4359. _box.appendChild(_jie);
  4360. _formdiv = new U.UF.UI.form(
  4361. "思维导图",
  4362. _box, { //"/jsmind/example/demo.html"
  4363. "id": "mind" + cid + stage + task + tool,
  4364. "style": {
  4365. "width": "90%",
  4366. "height": "90%",
  4367. "overflow": 'hidden'
  4368. },
  4369. "onresize": function() {}
  4370. }, {
  4371. closecallback: function() {}
  4372. }, {
  4373. "style": {
  4374. "height": "36px"
  4375. }
  4376. }).form; //创建窗体
  4377. _taskbar = {
  4378. "id": str + _formdiv.id,
  4379. "style": {
  4380. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4381. },
  4382. "name": "思维导图",
  4383. "forms": _formdiv,
  4384. "click": function() {
  4385. U.MD.D.I.openApplication(str, obj, info);
  4386. }
  4387. }
  4388. break;
  4389. case "MindMap":
  4390. aTool = 3;
  4391. _iframe = $$("iframe", {
  4392. "frameborder": "no",
  4393. "border": "0",
  4394. "scrolling ": "no",
  4395. "style": {
  4396. "cssText": "border:0;width:100%;height:100%"
  4397. },
  4398. "src": "//cloud.cocorobo.cn/mind/"
  4399. })
  4400. _box.appendChild(_iframe);
  4401. _box.appendChild(_jie);
  4402. _formdiv = new U.UF.UI.form(
  4403. "思维导图",
  4404. _box, { //"/jsmind/example/demo.html"
  4405. "id": "mind" + cid + stage + task + tool,
  4406. "style": {
  4407. "width": "90%",
  4408. "height": "90%",
  4409. "overflow": 'hidden'
  4410. },
  4411. "onresize": function() {}
  4412. }, {
  4413. closecallback: function() {}
  4414. }, {
  4415. "style": {
  4416. "height": "36px"
  4417. }
  4418. }).form; //创建窗体
  4419. _taskbar = {
  4420. "id": str + _formdiv.id,
  4421. "style": {
  4422. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4423. },
  4424. "name": "思维导图",
  4425. "forms": _formdiv,
  4426. "click": function() {
  4427. U.MD.D.I.openApplication(str, obj, info);
  4428. }
  4429. }
  4430. break;
  4431. case "doc":
  4432. aTool = 6;
  4433. _iframe = $$("iframe", {
  4434. "frameborder": "no",
  4435. "border": "0",
  4436. "scrolling ": "no",
  4437. "style": {
  4438. "cssText": "border:0;width:100%;height:100%"
  4439. },
  4440. "src": "/Office/Word/WordEditArea.htm"
  4441. })
  4442. _box.appendChild(_iframe);
  4443. _box.appendChild(_jie);
  4444. _formdiv = new U.UF.UI.form(
  4445. "协同文档",
  4446. _box, {
  4447. "id": "doc" + cid + stage + task + tool,
  4448. "style": {
  4449. "width": "90%",
  4450. "height": "90%",
  4451. "overflow": 'hidden'
  4452. },
  4453. "onresize": function() {}
  4454. }, {
  4455. closecallback: function() {}
  4456. }, {
  4457. "style": {
  4458. "height": "36px"
  4459. }
  4460. }).form; //创建窗体
  4461. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4462. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4463. })
  4464. _taskbar = {
  4465. "id": str + _formdiv.id,
  4466. "style": {
  4467. "backgroundImage": "url(/img/icon/doc.png)"
  4468. },
  4469. "name": "协同文档",
  4470. "forms": _formdiv,
  4471. "click": function() {
  4472. U.MD.D.I.openApplication(str, obj, info);
  4473. }
  4474. }
  4475. break;
  4476. case "mindNetwork": //好友打开
  4477. aTool = 7;
  4478. _iframe = $$("iframe", {
  4479. "webkitallowfullscreen": "",
  4480. "mozallowfullscreen": "",
  4481. "allowfullscreen": "",
  4482. "frameborder": "no",
  4483. "border": "0",
  4484. "scrolling ": "no",
  4485. "style": {
  4486. "cssText": "border:0; width:100%; height:100%;"
  4487. },
  4488. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4489. })
  4490. _box.appendChild(_iframe);
  4491. _box.appendChild(_jie);
  4492. _formdiv = new U.UF.UI.form(
  4493. "思维网格",
  4494. _box, {
  4495. "id": "mindNetwork" + cid + stage + task + tool,
  4496. "style": {
  4497. "width": "90%",
  4498. "height": "90%",
  4499. "overflow": 'hidden'
  4500. },
  4501. "onresize": function() {}
  4502. }, {
  4503. closecallback: function() {}
  4504. }, {
  4505. "style": {
  4506. "height": "36px"
  4507. }
  4508. }).form; //创建窗体
  4509. _taskbar = {
  4510. "id": str + _formdiv.id,
  4511. "style": {
  4512. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4513. },
  4514. "name": "思维网格",
  4515. "forms": _formdiv,
  4516. "click": function() {
  4517. U.MD.D.I.openApplication(str, obj, info);
  4518. }
  4519. }
  4520. break;
  4521. case "courseDesign":
  4522. _iframe = $$("iframe", {
  4523. "webkitallowfullscreen": "",
  4524. "mozallowfullscreen": "",
  4525. "allowfullscreen": "",
  4526. "frameborder": "no",
  4527. "border": "0",
  4528. "scrolling ": "no",
  4529. "style": {
  4530. "cssText": "border:0; width:100%; height:100%;"
  4531. },
  4532. "src": "/course-design-vue"
  4533. })
  4534. _box.appendChild(_iframe);
  4535. _box.appendChild(_jie);
  4536. _formdiv = new U.UF.UI.form(
  4537. "项目设计",
  4538. _box, {
  4539. "id": "courseDesign" + cid + stage + task + tool,
  4540. "style": {
  4541. "width": "90%",
  4542. "height": "90%",
  4543. "overflow": 'hidden'
  4544. },
  4545. "onresize": function() {}
  4546. }, {
  4547. closecallback: function() {}
  4548. }, {
  4549. "style": {
  4550. "height": "36px"
  4551. }
  4552. }).form; //创建窗体
  4553. _taskbar = {
  4554. "id": str + _formdiv.id,
  4555. "style": {
  4556. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4557. },
  4558. "name": "项目设计",
  4559. "forms": _formdiv,
  4560. "click": function() {
  4561. U.MD.D.I.openApplication(str, obj, info);
  4562. }
  4563. }
  4564. break;
  4565. }
  4566. const script1 = document.createElement("script");
  4567. script1.type = "text/javascript";
  4568. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4569. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4570. const script2 = document.createElement("script");
  4571. script2.type = "text/javascript";
  4572. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4573. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4574. const script3 = document.createElement("script");
  4575. script3.type = "text/javascript";
  4576. script3.charset = "UTF-8";
  4577. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4578. const script4 = document.createElement("script");
  4579. script4.type = "text/javascript";
  4580. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4581. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4582. if (_iframe) {
  4583. if (str == 'doc') {
  4584. _iframe = _formdiv.querySelector('iframe')
  4585. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4586. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4587. _iframe.contentWindow.document.body.appendChild(script1);
  4588. _iframe.contentWindow.document.body.appendChild(script2);
  4589. // _iframe.contentWindow.document.body.appendChild(script3);
  4590. _iframe.contentWindow.document.body.appendChild(script4);
  4591. })
  4592. if (onloadListener) {
  4593. _iframe.contentDocument.location.reload()
  4594. } else {
  4595. _iframe.contentDocument.location.reload()
  4596. }
  4597. } else if (str == 'courseDesign') {
  4598. U.UF.DL.iframeLoad(_iframe, function() {
  4599. // _iframe.contentWindow.U.MD.O.W.load();
  4600. // _iframe.contentWindow.document.body.appendChild(script1);
  4601. _iframe.contentWindow.document.body.appendChild(script2);
  4602. _iframe.contentWindow.document.body.appendChild(script4);
  4603. })
  4604. } else if (str == 'mind') {
  4605. _iframe = _formdiv.querySelector('iframe')
  4606. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4607. //
  4608. _iframe.contentWindow.document.body.appendChild(script1);
  4609. _iframe.contentWindow.document.body.appendChild(script2);
  4610. _iframe.contentWindow.document.body.appendChild(script4);
  4611. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4612. })
  4613. if (onloadListener) {
  4614. _iframe.contentDocument.location.reload()
  4615. } else {
  4616. _iframe.contentDocument.location.reload()
  4617. }
  4618. } else if (str == 'whiteboard') {
  4619. _iframe = _formdiv.querySelector('iframe')
  4620. let onloadListener = _iframe.onload = () => {
  4621. _iframe.contentWindow.document.body.appendChild(script1);
  4622. _iframe.contentWindow.document.body.appendChild(script2);
  4623. _iframe.contentWindow.document.body.appendChild(script4);
  4624. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4625. };
  4626. if (onloadListener) {
  4627. _iframe.contentDocument.location.reload()
  4628. } else {
  4629. _iframe.contentDocument.location.reload()
  4630. }
  4631. } else {
  4632. _iframe.onload = () => {
  4633. _iframe.contentWindow.document.body.appendChild(script1);
  4634. _iframe.contentWindow.document.body.appendChild(script2);
  4635. // _iframe.contentWindow.document.body.appendChild(script3);
  4636. _iframe.contentWindow.document.body.appendChild(script4);
  4637. };
  4638. }
  4639. _jie.onclick = async() => {
  4640. let text = ''
  4641. if (aTool == 1) {
  4642. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4643. } else if (aTool == 6) {
  4644. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4645. } else if (aTool == 3) {
  4646. text = await U.MD.D.I.getEditorContent(_iframe);
  4647. }
  4648. _loading.style.display = 'flex'
  4649. console.log(_loading);
  4650. var _ajs = _iframe.contentWindow.document.createElement("script");
  4651. _ajs.type = "text/javascript";
  4652. _ajs.innerHTML =
  4653. // 'console.log(' + _loading + ');\n' +
  4654. 'var _js = document.createElement("script");\n' +
  4655. '_js.type="text/javascript";\n' +
  4656. '_js.charset="UTF-8";\n' +
  4657. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4658. "_js.onload = function(){\n" +
  4659. ' var a = document.getElementsByTagName("img")\n' +
  4660. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4661. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4662. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4663. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4664. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4665. "beforeUpload_shishi(file," +
  4666. "'" +
  4667. _userid +
  4668. "'" +
  4669. ", " +
  4670. "'" +
  4671. _cid +
  4672. "'" +
  4673. ", " +
  4674. "'" +
  4675. _stage +
  4676. "'" +
  4677. ", " +
  4678. "'" +
  4679. _task +
  4680. "'" +
  4681. ", " +
  4682. "'" +
  4683. _tool +
  4684. "'" +
  4685. ", " +
  4686. "'" +
  4687. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4688. "'" +
  4689. ", " +
  4690. "'" +
  4691. aTool +
  4692. "'" +
  4693. ", " +
  4694. "`" +
  4695. text +
  4696. "`" +
  4697. ")\n" +
  4698. " });\n" +
  4699. "}\n" +
  4700. "document.head.appendChild(_js);\n";
  4701. _iframe.contentWindow.document.head.appendChild(_ajs);
  4702. }
  4703. }
  4704. //U.MD.D.I.openClick(str);
  4705. //如果有任务栏信息
  4706. // if (_taskbar) {
  4707. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4708. // }
  4709. }
  4710. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4711. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4712. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4713. _userinfo = US.userInfo, //登录用户信息
  4714. _userid = US.userInfo.userid //登录用户id
  4715. let _iframe;
  4716. let _cid = cid,
  4717. _stage = stage,
  4718. _task = task,
  4719. _tool = tool;
  4720. var _jie = $$("div", {
  4721. "style": {
  4722. "position": "absolute",
  4723. "bottom": "50px",
  4724. "right": "50px",
  4725. "zIndex": "9999",
  4726. "backgroundColor": "#2268bc",
  4727. "color": "#fff",
  4728. "padding": "12px 20px",
  4729. "cursor": "pointer",
  4730. "borderRadius": "4px",
  4731. },
  4732. "innerHTML": "提交作业"
  4733. })
  4734. let aTool = ''
  4735. let _loading = document.createElement('div')
  4736. _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;"
  4737. // _loading.id = "";
  4738. let _lchild = document.createElement('div')
  4739. let _limg = document.createElement('img')
  4740. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4741. _limg.style = "width: 26px;margin-right: 10px;"
  4742. _lchild.appendChild(_limg)
  4743. let _lspan = document.createElement('span')
  4744. _lspan.innerHTML = "上传中..."
  4745. _lchild.appendChild(_lspan)
  4746. _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%);"
  4747. _loading.appendChild(_lchild)
  4748. var _box = $$('div', {
  4749. "style": {
  4750. "position": "relative",
  4751. "width": "100%",
  4752. "height": "100%",
  4753. },
  4754. })
  4755. _box.appendChild(_loading)
  4756. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4757. switch (str) {
  4758. case "whiteboard":
  4759. aTool = 1;
  4760. _iframe = $$("iframe", {
  4761. "frameborder": "no",
  4762. "border": "0",
  4763. "scrolling ": "no",
  4764. "style": {
  4765. "cssText": "border:0;width:100%;height:100%"
  4766. },
  4767. "src": "https://iwb.cocorobo.cn/"
  4768. })
  4769. _box.appendChild(_iframe);
  4770. _box.appendChild(_jie);
  4771. _formdiv = new U.UF.UI.form(
  4772. "电子白板",
  4773. _box, {
  4774. "id": "whiteboard" + cid + stage + task + tool,
  4775. "style": {
  4776. "width": "90%",
  4777. "height": "90%",
  4778. "overflow": 'hidden'
  4779. },
  4780. "onresize": function() {}
  4781. }, {
  4782. closecallback: function() {}
  4783. }, {
  4784. "style": {
  4785. "height": "36px"
  4786. }
  4787. }).form; //创建窗体
  4788. _taskbar = {
  4789. "id": str + _formdiv.id,
  4790. "style": {
  4791. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4792. },
  4793. "name": "电子白板",
  4794. "forms": _formdiv,
  4795. "click": function() {
  4796. U.MD.D.I.openApplication(str, obj, info);
  4797. }
  4798. }
  4799. break;
  4800. case "mind":
  4801. aTool = 3;
  4802. _iframe = $$("iframe", {
  4803. "frameborder": "no",
  4804. "border": "0",
  4805. "scrolling ": "no",
  4806. "style": {
  4807. "cssText": "border:0;width:100%;height:100%"
  4808. },
  4809. "src": "/kityminder-editor/dist/index.html"
  4810. })
  4811. _box.appendChild(_iframe);
  4812. _box.appendChild(_jie);
  4813. _formdiv = new U.UF.UI.form(
  4814. "思维导图",
  4815. _box, { //"/jsmind/example/demo.html"
  4816. "id": "mind" + cid + stage + task + tool,
  4817. "style": {
  4818. "width": "90%",
  4819. "height": "90%",
  4820. "overflow": 'hidden'
  4821. },
  4822. "onresize": function() {}
  4823. }, {
  4824. closecallback: function() {}
  4825. }, {
  4826. "style": {
  4827. "height": "36px"
  4828. }
  4829. }).form; //创建窗体
  4830. _taskbar = {
  4831. "id": str + _formdiv.id,
  4832. "style": {
  4833. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4834. },
  4835. "name": "思维导图",
  4836. "forms": _formdiv,
  4837. "click": function() {
  4838. U.MD.D.I.openApplication(str, obj, info);
  4839. }
  4840. }
  4841. break;
  4842. case "MindMap":
  4843. aTool = 3;
  4844. _iframe = $$("iframe", {
  4845. "frameborder": "no",
  4846. "border": "0",
  4847. "scrolling ": "no",
  4848. "style": {
  4849. "cssText": "border:0;width:100%;height:100%"
  4850. },
  4851. "src": "//cloud.cocorobo.cn/mind/"
  4852. })
  4853. _box.appendChild(_iframe);
  4854. _box.appendChild(_jie);
  4855. _formdiv = new U.UF.UI.form(
  4856. "思维导图",
  4857. _box, { //"/jsmind/example/demo.html"
  4858. "id": "mind" + cid + stage + task + tool,
  4859. "style": {
  4860. "width": "90%",
  4861. "height": "90%",
  4862. "overflow": 'hidden'
  4863. },
  4864. "onresize": function() {}
  4865. }, {
  4866. closecallback: function() {}
  4867. }, {
  4868. "style": {
  4869. "height": "36px"
  4870. }
  4871. }).form; //创建窗体
  4872. _taskbar = {
  4873. "id": str + _formdiv.id,
  4874. "style": {
  4875. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4876. },
  4877. "name": "思维导图",
  4878. "forms": _formdiv,
  4879. "click": function() {
  4880. U.MD.D.I.openApplication(str, obj, info);
  4881. }
  4882. }
  4883. break;
  4884. case "doc":
  4885. aTool = 6;
  4886. _iframe = $$("iframe", {
  4887. "frameborder": "no",
  4888. "border": "0",
  4889. "scrolling ": "no",
  4890. "style": {
  4891. "cssText": "border:0;width:100%;height:100%"
  4892. },
  4893. "src": "/Office/Word/WordEditArea.htm"
  4894. })
  4895. _box.appendChild(_iframe);
  4896. _box.appendChild(_jie);
  4897. _formdiv = new U.UF.UI.form(
  4898. "协同文档",
  4899. _box, {
  4900. "id": "doc" + cid + stage + task + tool,
  4901. "style": {
  4902. "width": "90%",
  4903. "height": "90%",
  4904. "overflow": 'hidden'
  4905. },
  4906. "onresize": function() {}
  4907. }, {
  4908. closecallback: function() {}
  4909. }, {
  4910. "style": {
  4911. "height": "36px"
  4912. }
  4913. }).form; //创建窗体
  4914. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4915. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4916. })
  4917. _taskbar = {
  4918. "id": str + _formdiv.id,
  4919. "style": {
  4920. "backgroundImage": "url(/img/icon/doc.png)"
  4921. },
  4922. "name": "协同文档",
  4923. "forms": _formdiv,
  4924. "click": function() {
  4925. U.MD.D.I.openApplication(str, obj, info);
  4926. }
  4927. }
  4928. break;
  4929. case "mindNetwork": //好友打开
  4930. aTool = 7;
  4931. _iframe = $$("iframe", {
  4932. "webkitallowfullscreen": "",
  4933. "mozallowfullscreen": "",
  4934. "allowfullscreen": "",
  4935. "frameborder": "no",
  4936. "border": "0",
  4937. "scrolling ": "no",
  4938. "style": {
  4939. "cssText": "border:0; width:100%; height:100%;"
  4940. },
  4941. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4942. })
  4943. _box.appendChild(_iframe);
  4944. _box.appendChild(_jie);
  4945. _formdiv = new U.UF.UI.form(
  4946. "思维网格",
  4947. _box, {
  4948. "id": "mindNetwork" + cid + stage + task + tool,
  4949. "style": {
  4950. "width": "90%",
  4951. "height": "90%",
  4952. "overflow": 'hidden'
  4953. },
  4954. "onresize": function() {}
  4955. }, {
  4956. closecallback: function() {}
  4957. }, {
  4958. "style": {
  4959. "height": "36px"
  4960. }
  4961. }).form; //创建窗体
  4962. _taskbar = {
  4963. "id": str + _formdiv.id,
  4964. "style": {
  4965. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4966. },
  4967. "name": "思维网格",
  4968. "forms": _formdiv,
  4969. "click": function() {
  4970. U.MD.D.I.openApplication(str, obj, info);
  4971. }
  4972. }
  4973. break;
  4974. case "courseDesign":
  4975. _iframe = $$("iframe", {
  4976. "webkitallowfullscreen": "",
  4977. "mozallowfullscreen": "",
  4978. "allowfullscreen": "",
  4979. "frameborder": "no",
  4980. "border": "0",
  4981. "scrolling ": "no",
  4982. "style": {
  4983. "cssText": "border:0; width:100%; height:100%;"
  4984. },
  4985. "src": "/course-design-vue"
  4986. })
  4987. _box.appendChild(_iframe);
  4988. _box.appendChild(_jie);
  4989. _formdiv = new U.UF.UI.form(
  4990. "项目设计",
  4991. _box, {
  4992. "id": "courseDesign" + cid + stage + task + tool,
  4993. "style": {
  4994. "width": "90%",
  4995. "height": "90%",
  4996. "overflow": 'hidden'
  4997. },
  4998. "onresize": function() {}
  4999. }, {
  5000. closecallback: function() {}
  5001. }, {
  5002. "style": {
  5003. "height": "36px"
  5004. }
  5005. }).form; //创建窗体
  5006. _taskbar = {
  5007. "id": str + _formdiv.id,
  5008. "style": {
  5009. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5010. },
  5011. "name": "项目设计",
  5012. "forms": _formdiv,
  5013. "click": function() {
  5014. U.MD.D.I.openApplication(str, obj, info);
  5015. }
  5016. }
  5017. break;
  5018. }
  5019. const script1 = document.createElement("script");
  5020. script1.type = "text/javascript";
  5021. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5022. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5023. const script2 = document.createElement("script");
  5024. script2.type = "text/javascript";
  5025. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5026. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5027. const script3 = document.createElement("script");
  5028. script3.type = "text/javascript";
  5029. script3.charset = "UTF-8";
  5030. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5031. const script4 = document.createElement("script");
  5032. script4.type = "text/javascript";
  5033. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5034. script4.src = window.origin + "/js/Common/jietu2E.js";
  5035. if (_iframe) {
  5036. if (str == 'doc') {
  5037. _iframe = _formdiv.querySelector('iframe')
  5038. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5039. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5040. _iframe.contentWindow.document.body.appendChild(script1);
  5041. _iframe.contentWindow.document.body.appendChild(script2);
  5042. // _iframe.contentWindow.document.body.appendChild(script3);
  5043. _iframe.contentWindow.document.body.appendChild(script4);
  5044. })
  5045. if (onloadListener) {
  5046. _iframe.contentDocument.location.reload()
  5047. } else {
  5048. _iframe.contentDocument.location.reload()
  5049. }
  5050. } else if (str == 'courseDesign') {
  5051. U.UF.DL.iframeLoad(_iframe, function() {
  5052. // _iframe.contentWindow.U.MD.O.W.load();
  5053. // _iframe.contentWindow.document.body.appendChild(script1);
  5054. _iframe.contentWindow.document.body.appendChild(script2);
  5055. _iframe.contentWindow.document.body.appendChild(script4);
  5056. })
  5057. } else if (str == 'mind') {
  5058. _iframe = _formdiv.querySelector('iframe')
  5059. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5060. //
  5061. _iframe.contentWindow.document.body.appendChild(script1);
  5062. _iframe.contentWindow.document.body.appendChild(script2);
  5063. _iframe.contentWindow.document.body.appendChild(script4);
  5064. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5065. })
  5066. if (onloadListener) {
  5067. _iframe.contentDocument.location.reload()
  5068. } else {
  5069. _iframe.contentDocument.location.reload()
  5070. }
  5071. } else if (str == 'whiteboard') {
  5072. _iframe = _formdiv.querySelector('iframe')
  5073. let onloadListener = _iframe.onload = () => {
  5074. _iframe.contentWindow.document.body.appendChild(script1);
  5075. _iframe.contentWindow.document.body.appendChild(script2);
  5076. _iframe.contentWindow.document.body.appendChild(script4);
  5077. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5078. };
  5079. if (onloadListener) {
  5080. _iframe.contentDocument.location.reload()
  5081. } else {
  5082. _iframe.contentDocument.location.reload()
  5083. }
  5084. } else {
  5085. _iframe.onload = () => {
  5086. _iframe.contentWindow.document.body.appendChild(script1);
  5087. _iframe.contentWindow.document.body.appendChild(script2);
  5088. // _iframe.contentWindow.document.body.appendChild(script3);
  5089. _iframe.contentWindow.document.body.appendChild(script4);
  5090. };
  5091. }
  5092. _jie.onclick = async() => {
  5093. let text = ''
  5094. if (aTool == 1) {
  5095. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5096. } else if (aTool == 6) {
  5097. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5098. } else if (aTool == 3) {
  5099. text = await U.MD.D.I.getEditorContent(_iframe);
  5100. }
  5101. _loading.style.display = 'flex'
  5102. console.log(_loading);
  5103. var _ajs = _iframe.contentWindow.document.createElement("script");
  5104. _ajs.type = "text/javascript";
  5105. _ajs.innerHTML =
  5106. // 'console.log(' + _loading + ');\n' +
  5107. 'var _js = document.createElement("script");\n' +
  5108. '_js.type="text/javascript";\n' +
  5109. '_js.charset="UTF-8";\n' +
  5110. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5111. "_js.onload = function(){\n" +
  5112. ' var a = document.getElementsByTagName("img")\n' +
  5113. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5114. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5115. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5116. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5117. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5118. "beforeUpload_shishi(file," +
  5119. "'" +
  5120. _userid +
  5121. "'" +
  5122. ", " +
  5123. "'" +
  5124. _cid +
  5125. "'" +
  5126. ", " +
  5127. "'" +
  5128. _stage +
  5129. "'" +
  5130. ", " +
  5131. "'" +
  5132. _task +
  5133. "'" +
  5134. ", " +
  5135. "'" +
  5136. _tool +
  5137. "'" +
  5138. ", " +
  5139. "'" +
  5140. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5141. "'" +
  5142. ", " +
  5143. "'" +
  5144. aTool +
  5145. "'" +
  5146. ", " +
  5147. "`" +
  5148. text +
  5149. "`" +
  5150. ")\n" +
  5151. " });\n" +
  5152. "}\n" +
  5153. "document.head.appendChild(_js);\n";
  5154. _iframe.contentWindow.document.head.appendChild(_ajs);
  5155. }
  5156. }
  5157. //U.MD.D.I.openClick(str);
  5158. //如果有任务栏信息
  5159. // if (_taskbar) {
  5160. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5161. // }
  5162. }
  5163. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5164. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5165. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5166. _userid = student.userid, //登录用户id
  5167. _username = student.student //用户名字
  5168. let _iframe;
  5169. let _cid = cid,
  5170. _stage = stage,
  5171. _task = task,
  5172. _tool = tool;
  5173. var _jie = $$("div", {
  5174. "style": {
  5175. "position": "absolute",
  5176. "bottom": "50px",
  5177. "right": "50px",
  5178. "zIndex": "9999",
  5179. "backgroundColor": "#2268bc",
  5180. "color": "#fff",
  5181. "padding": "12px 20px",
  5182. "cursor": "pointer",
  5183. "borderRadius": "4px",
  5184. },
  5185. "innerHTML": "提交作业"
  5186. })
  5187. let aTool = ''
  5188. let _loading = document.createElement('div')
  5189. _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;"
  5190. // _loading.id = "";
  5191. let _lchild = document.createElement('div')
  5192. let _limg = document.createElement('img')
  5193. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5194. _limg.style = "width: 26px;margin-right: 10px;"
  5195. _lchild.appendChild(_limg)
  5196. let _lspan = document.createElement('span')
  5197. _lspan.innerHTML = "上传中..."
  5198. _lchild.appendChild(_lspan)
  5199. _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%);"
  5200. _loading.appendChild(_lchild)
  5201. var _box = $$('div', {
  5202. "style": {
  5203. "position": "relative",
  5204. "width": "100%",
  5205. "height": "100%",
  5206. },
  5207. })
  5208. _box.appendChild(_loading)
  5209. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5210. switch (str) {
  5211. case "whiteboard":
  5212. aTool = 1;
  5213. _iframe = $$("iframe", {
  5214. "frameborder": "no",
  5215. "border": "0",
  5216. "scrolling ": "no",
  5217. "style": {
  5218. "cssText": "border:0;width:100%;height:100%"
  5219. },
  5220. "src": "https://iwb.cocorobo.cn/"
  5221. })
  5222. _box.appendChild(_iframe);
  5223. _box.appendChild(_jie);
  5224. _formdiv = new U.UF.UI.form(
  5225. "电子白板-" + _username,
  5226. _box, {
  5227. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5228. "style": {
  5229. "width": "90%",
  5230. "height": "90%",
  5231. "overflow": 'hidden'
  5232. },
  5233. "onresize": function() {}
  5234. }, {
  5235. closecallback: function() {}
  5236. }, {
  5237. "style": {
  5238. "height": "36px"
  5239. }
  5240. }).form; //创建窗体
  5241. _taskbar = {
  5242. "id": str + _formdiv.id,
  5243. "style": {
  5244. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5245. },
  5246. "name": "电子白板",
  5247. "forms": _formdiv,
  5248. "click": function() {
  5249. U.MD.D.I.openApplication(str, obj, info);
  5250. }
  5251. }
  5252. break;
  5253. case "mind":
  5254. aTool = 3;
  5255. _iframe = $$("iframe", {
  5256. "frameborder": "no",
  5257. "border": "0",
  5258. "scrolling ": "no",
  5259. "style": {
  5260. "cssText": "border:0;width:100%;height:100%"
  5261. },
  5262. "src": "/kityminder-editor/dist/index.html"
  5263. })
  5264. _box.appendChild(_iframe);
  5265. _box.appendChild(_jie);
  5266. _formdiv = new U.UF.UI.form(
  5267. "思维导图-" + _username,
  5268. _box, { //"/jsmind/example/demo.html"
  5269. "id": "mind" + cid + stage + task + tool + _userid,
  5270. "style": {
  5271. "width": "90%",
  5272. "height": "90%",
  5273. "overflow": 'hidden'
  5274. },
  5275. "onresize": function() {}
  5276. }, {
  5277. closecallback: function() {}
  5278. }, {
  5279. "style": {
  5280. "height": "36px"
  5281. }
  5282. }).form; //创建窗体
  5283. _taskbar = {
  5284. "id": str + _formdiv.id,
  5285. "style": {
  5286. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5287. },
  5288. "name": "思维导图",
  5289. "forms": _formdiv,
  5290. "click": function() {
  5291. U.MD.D.I.openApplication(str, obj, info);
  5292. }
  5293. }
  5294. break;
  5295. case "MindMap":
  5296. aTool = 3;
  5297. _iframe = $$("iframe", {
  5298. "frameborder": "no",
  5299. "border": "0",
  5300. "scrolling ": "no",
  5301. "style": {
  5302. "cssText": "border:0;width:100%;height:100%"
  5303. },
  5304. "src": "//cloud.cocorobo.cn/mind/"
  5305. })
  5306. _box.appendChild(_iframe);
  5307. _box.appendChild(_jie);
  5308. _formdiv = new U.UF.UI.form(
  5309. "思维导图-" + _username,
  5310. _box, { //"/jsmind/example/demo.html"
  5311. "id": "mind" + cid + stage + task + tool + _userid,
  5312. "style": {
  5313. "width": "90%",
  5314. "height": "90%",
  5315. "overflow": 'hidden'
  5316. },
  5317. "onresize": function() {}
  5318. }, {
  5319. closecallback: function() {}
  5320. }, {
  5321. "style": {
  5322. "height": "36px"
  5323. }
  5324. }).form; //创建窗体
  5325. _taskbar = {
  5326. "id": str + _formdiv.id,
  5327. "style": {
  5328. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5329. },
  5330. "name": "思维导图",
  5331. "forms": _formdiv,
  5332. "click": function() {
  5333. U.MD.D.I.openApplication(str, obj, info);
  5334. }
  5335. }
  5336. break;
  5337. case "doc":
  5338. aTool = 6;
  5339. _iframe = $$("iframe", {
  5340. "frameborder": "no",
  5341. "border": "0",
  5342. "scrolling ": "no",
  5343. "style": {
  5344. "cssText": "border:0;width:100%;height:100%"
  5345. },
  5346. "src": "/Office/Word/WordEditArea.htm"
  5347. })
  5348. _box.appendChild(_iframe);
  5349. _box.appendChild(_jie);
  5350. _formdiv = new U.UF.UI.form(
  5351. "协同文档-" + _username,
  5352. _box, {
  5353. "id": "doc" + cid + stage + task + tool + _userid,
  5354. "style": {
  5355. "width": "90%",
  5356. "height": "90%",
  5357. "overflow": 'hidden'
  5358. },
  5359. "onresize": function() {}
  5360. }, {
  5361. closecallback: function() {}
  5362. }, {
  5363. "style": {
  5364. "height": "36px"
  5365. }
  5366. }).form; //创建窗体
  5367. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5368. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5369. })
  5370. _taskbar = {
  5371. "id": str + _formdiv.id,
  5372. "style": {
  5373. "backgroundImage": "url(/img/icon/doc.png)"
  5374. },
  5375. "name": "协同文档",
  5376. "forms": _formdiv,
  5377. "click": function() {
  5378. U.MD.D.I.openApplication(str, obj, info);
  5379. }
  5380. }
  5381. break;
  5382. case "mindNetwork": //好友打开
  5383. aTool = 7;
  5384. _iframe = $$("iframe", {
  5385. "webkitallowfullscreen": "",
  5386. "mozallowfullscreen": "",
  5387. "allowfullscreen": "",
  5388. "frameborder": "no",
  5389. "border": "0",
  5390. "scrolling ": "no",
  5391. "style": {
  5392. "cssText": "border:0; width:100%; height:100%;"
  5393. },
  5394. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5395. })
  5396. _box.appendChild(_iframe);
  5397. _box.appendChild(_jie);
  5398. _formdiv = new U.UF.UI.form(
  5399. "思维网格-" + _username,
  5400. _box, {
  5401. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5402. "style": {
  5403. "width": "90%",
  5404. "height": "90%",
  5405. "overflow": 'hidden'
  5406. },
  5407. "onresize": function() {}
  5408. }, {
  5409. closecallback: function() {}
  5410. }, {
  5411. "style": {
  5412. "height": "36px"
  5413. }
  5414. }).form; //创建窗体
  5415. _taskbar = {
  5416. "id": str + _formdiv.id,
  5417. "style": {
  5418. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5419. },
  5420. "name": "思维网格",
  5421. "forms": _formdiv,
  5422. "click": function() {
  5423. U.MD.D.I.openApplication(str, obj, info);
  5424. }
  5425. }
  5426. break;
  5427. case "courseDesign":
  5428. _iframe = $$("iframe", {
  5429. "webkitallowfullscreen": "",
  5430. "mozallowfullscreen": "",
  5431. "allowfullscreen": "",
  5432. "frameborder": "no",
  5433. "border": "0",
  5434. "scrolling ": "no",
  5435. "style": {
  5436. "cssText": "border:0; width:100%; height:100%;"
  5437. },
  5438. "src": "/course-design-vue"
  5439. })
  5440. _box.appendChild(_iframe);
  5441. _box.appendChild(_jie);
  5442. _formdiv = new U.UF.UI.form(
  5443. "项目设计-" + _username,
  5444. _box, {
  5445. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5446. "style": {
  5447. "width": "90%",
  5448. "height": "90%",
  5449. "overflow": 'hidden'
  5450. },
  5451. "onresize": function() {}
  5452. }, {
  5453. closecallback: function() {}
  5454. }, {
  5455. "style": {
  5456. "height": "36px"
  5457. }
  5458. }).form; //创建窗体
  5459. _taskbar = {
  5460. "id": str + _formdiv.id,
  5461. "style": {
  5462. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5463. },
  5464. "name": "项目设计",
  5465. "forms": _formdiv,
  5466. "click": function() {
  5467. U.MD.D.I.openApplication(str, obj, info);
  5468. }
  5469. }
  5470. break;
  5471. }
  5472. const script1 = document.createElement("script");
  5473. script1.type = "text/javascript";
  5474. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5475. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5476. const script2 = document.createElement("script");
  5477. script2.type = "text/javascript";
  5478. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5479. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5480. const script3 = document.createElement("script");
  5481. script3.type = "text/javascript";
  5482. script3.charset = "UTF-8";
  5483. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5484. const script4 = document.createElement("script");
  5485. script4.type = "text/javascript";
  5486. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5487. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5488. if (_iframe) {
  5489. if (str == 'doc') {
  5490. _iframe = _formdiv.querySelector('iframe')
  5491. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5492. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5493. _iframe.contentWindow.document.body.appendChild(script1);
  5494. _iframe.contentWindow.document.body.appendChild(script2);
  5495. // _iframe.contentWindow.document.body.appendChild(script3);
  5496. _iframe.contentWindow.document.body.appendChild(script4);
  5497. })
  5498. if (onloadListener) {
  5499. _iframe.contentDocument.location.reload()
  5500. } else {
  5501. _iframe.contentDocument.location.reload()
  5502. }
  5503. } else if (str == 'courseDesign') {
  5504. U.UF.DL.iframeLoad(_iframe, function() {
  5505. // _iframe.contentWindow.U.MD.O.W.load();
  5506. // _iframe.contentWindow.document.body.appendChild(script1);
  5507. _iframe.contentWindow.document.body.appendChild(script2);
  5508. _iframe.contentWindow.document.body.appendChild(script4);
  5509. })
  5510. } else if (str == 'mind') {
  5511. _iframe = _formdiv.querySelector('iframe')
  5512. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5513. //
  5514. _iframe.contentWindow.document.body.appendChild(script1);
  5515. _iframe.contentWindow.document.body.appendChild(script2);
  5516. _iframe.contentWindow.document.body.appendChild(script4);
  5517. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5518. })
  5519. if (onloadListener) {
  5520. _iframe.contentDocument.location.reload()
  5521. } else {
  5522. _iframe.contentDocument.location.reload()
  5523. }
  5524. } else if (str == 'whiteboard') {
  5525. _iframe = _formdiv.querySelector('iframe')
  5526. let onloadListener = _iframe.onload = () => {
  5527. _iframe.contentWindow.document.body.appendChild(script1);
  5528. _iframe.contentWindow.document.body.appendChild(script2);
  5529. _iframe.contentWindow.document.body.appendChild(script4);
  5530. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5531. };
  5532. if (onloadListener) {
  5533. _iframe.contentDocument.location.reload()
  5534. } else {
  5535. _iframe.contentDocument.location.reload()
  5536. }
  5537. } else {
  5538. _iframe.onload = () => {
  5539. _iframe.contentWindow.document.body.appendChild(script1);
  5540. _iframe.contentWindow.document.body.appendChild(script2);
  5541. // _iframe.contentWindow.document.body.appendChild(script3);
  5542. _iframe.contentWindow.document.body.appendChild(script4);
  5543. };
  5544. }
  5545. _jie.onclick = async() => {
  5546. let text = ''
  5547. if (aTool == 1) {
  5548. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5549. } else if (aTool == 6) {
  5550. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5551. } else if (aTool == 3) {
  5552. text = await U.MD.D.I.getEditorContent(_iframe);
  5553. }
  5554. _loading.style.display = 'flex'
  5555. console.log(_loading);
  5556. var _ajs = _iframe.contentWindow.document.createElement("script");
  5557. _ajs.type = "text/javascript";
  5558. _ajs.innerHTML =
  5559. // 'console.log(' + _loading + ');\n' +
  5560. 'var _js = document.createElement("script");\n' +
  5561. '_js.type="text/javascript";\n' +
  5562. '_js.charset="UTF-8";\n' +
  5563. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5564. "_js.onload = function(){\n" +
  5565. ' var a = document.getElementsByTagName("img")\n' +
  5566. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5567. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5568. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5569. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5570. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5571. "beforeUpload_shishi(file," +
  5572. "'" +
  5573. _userid +
  5574. "'" +
  5575. ", " +
  5576. "'" +
  5577. _cid +
  5578. "'" +
  5579. ", " +
  5580. "'" +
  5581. _stage +
  5582. "'" +
  5583. ", " +
  5584. "'" +
  5585. _task +
  5586. "'" +
  5587. ", " +
  5588. "'" +
  5589. _tool +
  5590. "'" +
  5591. ", " +
  5592. "'" +
  5593. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5594. "'" +
  5595. ", " +
  5596. "'" +
  5597. aTool +
  5598. "'" +
  5599. ", " +
  5600. "`" +
  5601. text +
  5602. "`" +
  5603. ")\n" +
  5604. " });\n" +
  5605. "}\n" +
  5606. "document.head.appendChild(_js);\n";
  5607. _iframe.contentWindow.document.head.appendChild(_ajs);
  5608. }
  5609. }
  5610. }
  5611. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5612. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5613. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5614. _userid = student.userid, //登录用户id
  5615. _username = student.student //用户名字
  5616. let _iframe;
  5617. let _cid = cid,
  5618. _stage = stage,
  5619. _task = task,
  5620. _tool = tool;
  5621. var _jie = $$("div", {
  5622. "style": {
  5623. "position": "absolute",
  5624. "bottom": "50px",
  5625. "right": "50px",
  5626. "zIndex": "9999",
  5627. "backgroundColor": "#2268bc",
  5628. "color": "#fff",
  5629. "padding": "12px 20px",
  5630. "cursor": "pointer",
  5631. "borderRadius": "4px",
  5632. },
  5633. "innerHTML": "提交作业"
  5634. })
  5635. let aTool = ''
  5636. let _loading = document.createElement('div')
  5637. _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;"
  5638. // _loading.id = "";
  5639. let _lchild = document.createElement('div')
  5640. let _limg = document.createElement('img')
  5641. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5642. _limg.style = "width: 26px;margin-right: 10px;"
  5643. _lchild.appendChild(_limg)
  5644. let _lspan = document.createElement('span')
  5645. _lspan.innerHTML = "上传中..."
  5646. _lchild.appendChild(_lspan)
  5647. _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%);"
  5648. _loading.appendChild(_lchild)
  5649. var _box = $$('div', {
  5650. "style": {
  5651. "position": "relative",
  5652. "width": "100%",
  5653. "height": "100%",
  5654. },
  5655. })
  5656. _box.appendChild(_loading)
  5657. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5658. switch (str) {
  5659. case "whiteboard":
  5660. aTool = 1;
  5661. _iframe = $$("iframe", {
  5662. "frameborder": "no",
  5663. "border": "0",
  5664. "scrolling ": "no",
  5665. "style": {
  5666. "cssText": "border:0;width:100%;height:100%"
  5667. },
  5668. "src": "https://iwb.cocorobo.cn/"
  5669. })
  5670. _box.appendChild(_iframe);
  5671. _box.appendChild(_jie);
  5672. _formdiv = new U.UF.UI.form(
  5673. "电子白板-" + _username,
  5674. _box, {
  5675. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5676. "style": {
  5677. "width": "90%",
  5678. "height": "90%",
  5679. "overflow": 'hidden'
  5680. },
  5681. "onresize": function() {}
  5682. }, {
  5683. closecallback: function() {}
  5684. }, {
  5685. "style": {
  5686. "height": "36px"
  5687. }
  5688. }).form; //创建窗体
  5689. _taskbar = {
  5690. "id": str + _formdiv.id,
  5691. "style": {
  5692. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5693. },
  5694. "name": "电子白板",
  5695. "forms": _formdiv,
  5696. "click": function() {
  5697. U.MD.D.I.openApplication(str, obj, info);
  5698. }
  5699. }
  5700. break;
  5701. case "mind":
  5702. aTool = 3;
  5703. _iframe = $$("iframe", {
  5704. "frameborder": "no",
  5705. "border": "0",
  5706. "scrolling ": "no",
  5707. "style": {
  5708. "cssText": "border:0;width:100%;height:100%"
  5709. },
  5710. "src": "/kityminder-editor/dist/index.html"
  5711. })
  5712. _box.appendChild(_iframe);
  5713. _box.appendChild(_jie);
  5714. _formdiv = new U.UF.UI.form(
  5715. "思维导图-" + _username,
  5716. _box, { //"/jsmind/example/demo.html"
  5717. "id": "mind" + cid + stage + task + tool + _userid,
  5718. "style": {
  5719. "width": "90%",
  5720. "height": "90%",
  5721. "overflow": 'hidden'
  5722. },
  5723. "onresize": function() {}
  5724. }, {
  5725. closecallback: function() {}
  5726. }, {
  5727. "style": {
  5728. "height": "36px"
  5729. }
  5730. }).form; //创建窗体
  5731. _taskbar = {
  5732. "id": str + _formdiv.id,
  5733. "style": {
  5734. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5735. },
  5736. "name": "思维导图",
  5737. "forms": _formdiv,
  5738. "click": function() {
  5739. U.MD.D.I.openApplication(str, obj, info);
  5740. }
  5741. }
  5742. break;
  5743. case "MindMap":
  5744. aTool = 3;
  5745. _iframe = $$("iframe", {
  5746. "frameborder": "no",
  5747. "border": "0",
  5748. "scrolling ": "no",
  5749. "style": {
  5750. "cssText": "border:0;width:100%;height:100%"
  5751. },
  5752. "src": "//cloud.cocorobo.cn/mind/"
  5753. })
  5754. _box.appendChild(_iframe);
  5755. _box.appendChild(_jie);
  5756. _formdiv = new U.UF.UI.form(
  5757. "思维导图-" + _username,
  5758. _box, { //"/jsmind/example/demo.html"
  5759. "id": "mind" + cid + stage + task + tool + _userid,
  5760. "style": {
  5761. "width": "90%",
  5762. "height": "90%",
  5763. "overflow": 'hidden'
  5764. },
  5765. "onresize": function() {}
  5766. }, {
  5767. closecallback: function() {}
  5768. }, {
  5769. "style": {
  5770. "height": "36px"
  5771. }
  5772. }).form; //创建窗体
  5773. _taskbar = {
  5774. "id": str + _formdiv.id,
  5775. "style": {
  5776. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5777. },
  5778. "name": "思维导图",
  5779. "forms": _formdiv,
  5780. "click": function() {
  5781. U.MD.D.I.openApplication(str, obj, info);
  5782. }
  5783. }
  5784. break;
  5785. case "doc":
  5786. aTool = 6;
  5787. _iframe = $$("iframe", {
  5788. "frameborder": "no",
  5789. "border": "0",
  5790. "scrolling ": "no",
  5791. "style": {
  5792. "cssText": "border:0;width:100%;height:100%"
  5793. },
  5794. "src": "/Office/Word/WordEditArea.htm"
  5795. })
  5796. _box.appendChild(_iframe);
  5797. _box.appendChild(_jie);
  5798. _formdiv = new U.UF.UI.form(
  5799. "协同文档-" + _username,
  5800. _box, {
  5801. "id": "doc" + cid + stage + task + tool + _userid,
  5802. "style": {
  5803. "width": "90%",
  5804. "height": "90%",
  5805. "overflow": 'hidden'
  5806. },
  5807. "onresize": function() {}
  5808. }, {
  5809. closecallback: function() {}
  5810. }, {
  5811. "style": {
  5812. "height": "36px"
  5813. }
  5814. }).form; //创建窗体
  5815. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5816. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5817. })
  5818. _taskbar = {
  5819. "id": str + _formdiv.id,
  5820. "style": {
  5821. "backgroundImage": "url(/img/icon/doc.png)"
  5822. },
  5823. "name": "协同文档",
  5824. "forms": _formdiv,
  5825. "click": function() {
  5826. U.MD.D.I.openApplication(str, obj, info);
  5827. }
  5828. }
  5829. break;
  5830. case "mindNetwork": //好友打开
  5831. aTool = 7;
  5832. _iframe = $$("iframe", {
  5833. "webkitallowfullscreen": "",
  5834. "mozallowfullscreen": "",
  5835. "allowfullscreen": "",
  5836. "frameborder": "no",
  5837. "border": "0",
  5838. "scrolling ": "no",
  5839. "style": {
  5840. "cssText": "border:0; width:100%; height:100%;"
  5841. },
  5842. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5843. })
  5844. _box.appendChild(_iframe);
  5845. _box.appendChild(_jie);
  5846. _formdiv = new U.UF.UI.form(
  5847. "思维网格-" + _username,
  5848. _box, {
  5849. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5850. "style": {
  5851. "width": "90%",
  5852. "height": "90%",
  5853. "overflow": 'hidden'
  5854. },
  5855. "onresize": function() {}
  5856. }, {
  5857. closecallback: function() {}
  5858. }, {
  5859. "style": {
  5860. "height": "36px"
  5861. }
  5862. }).form; //创建窗体
  5863. _taskbar = {
  5864. "id": str + _formdiv.id,
  5865. "style": {
  5866. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5867. },
  5868. "name": "思维网格",
  5869. "forms": _formdiv,
  5870. "click": function() {
  5871. U.MD.D.I.openApplication(str, obj, info);
  5872. }
  5873. }
  5874. break;
  5875. case "courseDesign":
  5876. _iframe = $$("iframe", {
  5877. "webkitallowfullscreen": "",
  5878. "mozallowfullscreen": "",
  5879. "allowfullscreen": "",
  5880. "frameborder": "no",
  5881. "border": "0",
  5882. "scrolling ": "no",
  5883. "style": {
  5884. "cssText": "border:0; width:100%; height:100%;"
  5885. },
  5886. "src": "/course-design-vue"
  5887. })
  5888. _box.appendChild(_iframe);
  5889. _box.appendChild(_jie);
  5890. _formdiv = new U.UF.UI.form(
  5891. "项目设计-" + _username,
  5892. _box, {
  5893. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5894. "style": {
  5895. "width": "90%",
  5896. "height": "90%",
  5897. "overflow": 'hidden'
  5898. },
  5899. "onresize": function() {}
  5900. }, {
  5901. closecallback: function() {}
  5902. }, {
  5903. "style": {
  5904. "height": "36px"
  5905. }
  5906. }).form; //创建窗体
  5907. _taskbar = {
  5908. "id": str + _formdiv.id,
  5909. "style": {
  5910. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5911. },
  5912. "name": "项目设计",
  5913. "forms": _formdiv,
  5914. "click": function() {
  5915. U.MD.D.I.openApplication(str, obj, info);
  5916. }
  5917. }
  5918. break;
  5919. }
  5920. const script1 = document.createElement("script");
  5921. script1.type = "text/javascript";
  5922. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5923. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5924. const script2 = document.createElement("script");
  5925. script2.type = "text/javascript";
  5926. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5927. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5928. const script3 = document.createElement("script");
  5929. script3.type = "text/javascript";
  5930. script3.charset = "UTF-8";
  5931. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5932. const script4 = document.createElement("script");
  5933. script4.type = "text/javascript";
  5934. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5935. script4.src = window.origin + "/js/Common/jietu2E.js";
  5936. if (_iframe) {
  5937. if (str == 'doc') {
  5938. _iframe = _formdiv.querySelector('iframe')
  5939. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5940. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5941. _iframe.contentWindow.document.body.appendChild(script1);
  5942. _iframe.contentWindow.document.body.appendChild(script2);
  5943. // _iframe.contentWindow.document.body.appendChild(script3);
  5944. _iframe.contentWindow.document.body.appendChild(script4);
  5945. })
  5946. if (onloadListener) {
  5947. _iframe.contentDocument.location.reload()
  5948. } else {
  5949. _iframe.contentDocument.location.reload()
  5950. }
  5951. } else if (str == 'courseDesign') {
  5952. U.UF.DL.iframeLoad(_iframe, function() {
  5953. // _iframe.contentWindow.U.MD.O.W.load();
  5954. // _iframe.contentWindow.document.body.appendChild(script1);
  5955. _iframe.contentWindow.document.body.appendChild(script2);
  5956. _iframe.contentWindow.document.body.appendChild(script4);
  5957. })
  5958. } else if (str == 'mind') {
  5959. _iframe = _formdiv.querySelector('iframe')
  5960. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5961. //
  5962. _iframe.contentWindow.document.body.appendChild(script1);
  5963. _iframe.contentWindow.document.body.appendChild(script2);
  5964. _iframe.contentWindow.document.body.appendChild(script4);
  5965. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5966. })
  5967. if (onloadListener) {
  5968. _iframe.contentDocument.location.reload()
  5969. } else {
  5970. _iframe.contentDocument.location.reload()
  5971. }
  5972. } else if (str == 'whiteboard') {
  5973. _iframe = _formdiv.querySelector('iframe')
  5974. let onloadListener = _iframe.onload = () => {
  5975. _iframe.contentWindow.document.body.appendChild(script1);
  5976. _iframe.contentWindow.document.body.appendChild(script2);
  5977. _iframe.contentWindow.document.body.appendChild(script4);
  5978. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5979. };
  5980. if (onloadListener) {
  5981. _iframe.contentDocument.location.reload()
  5982. } else {
  5983. _iframe.contentDocument.location.reload()
  5984. }
  5985. } else {
  5986. _iframe.onload = () => {
  5987. _iframe.contentWindow.document.body.appendChild(script1);
  5988. _iframe.contentWindow.document.body.appendChild(script2);
  5989. // _iframe.contentWindow.document.body.appendChild(script3);
  5990. _iframe.contentWindow.document.body.appendChild(script4);
  5991. };
  5992. }
  5993. _jie.onclick = async() => {
  5994. let text = ''
  5995. if (aTool == 1) {
  5996. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5997. } else if (aTool == 6) {
  5998. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5999. } else if (aTool == 3) {
  6000. text = await U.MD.D.I.getEditorContent(_iframe);
  6001. }
  6002. _loading.style.display = 'flex'
  6003. console.log(_loading);
  6004. var _ajs = _iframe.contentWindow.document.createElement("script");
  6005. _ajs.type = "text/javascript";
  6006. _ajs.innerHTML =
  6007. // 'console.log(' + _loading + ');\n' +
  6008. 'var _js = document.createElement("script");\n' +
  6009. '_js.type="text/javascript";\n' +
  6010. '_js.charset="UTF-8";\n' +
  6011. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6012. "_js.onload = function(){\n" +
  6013. ' var a = document.getElementsByTagName("img")\n' +
  6014. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6015. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6016. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6017. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6018. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6019. "beforeUpload_shishi(file," +
  6020. "'" +
  6021. _userid +
  6022. "'" +
  6023. ", " +
  6024. "'" +
  6025. _cid +
  6026. "'" +
  6027. ", " +
  6028. "'" +
  6029. _stage +
  6030. "'" +
  6031. ", " +
  6032. "'" +
  6033. _task +
  6034. "'" +
  6035. ", " +
  6036. "'" +
  6037. _tool +
  6038. "'" +
  6039. ", " +
  6040. "'" +
  6041. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6042. "'" +
  6043. ", " +
  6044. "'" +
  6045. aTool +
  6046. "'" +
  6047. ", " +
  6048. "`" +
  6049. text +
  6050. "`" +
  6051. ")\n" +
  6052. " });\n" +
  6053. "}\n" +
  6054. "document.head.appendChild(_js);\n";
  6055. _iframe.contentWindow.document.head.appendChild(_ajs);
  6056. }
  6057. }
  6058. }
  6059. U.MD.D.I.getEditorContent = function(iframe) {
  6060. return new Promise((resolve, reject) => {
  6061. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6062. console.log(content);
  6063. resolve(content)
  6064. });
  6065. });
  6066. }
  6067. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6068. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6069. // if (res.value[0].length > 0) {
  6070. // // resolve(res.value[0][0].text);
  6071. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6072. // $(fileInput).val('');
  6073. // });
  6074. // }
  6075. // }, [], { "type": "GET", "withCredentials": true });
  6076. var xmlhttp;
  6077. var Mac, Sn, DeviceId
  6078. if (window.XMLHttpRequest) {
  6079. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6080. xmlhttp = new XMLHttpRequest();
  6081. } else {
  6082. // IE6, IE5 浏览器执行代码
  6083. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6084. }
  6085. xmlhttp.onreadystatechange = function() {
  6086. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6087. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6088. // resolve(res.value[0][0].text);
  6089. if (type == '2') {
  6090. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6091. } else if (type == '3') {
  6092. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6093. }
  6094. } else {
  6095. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6096. }
  6097. }
  6098. }
  6099. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6100. xmlhttp.send();
  6101. }
  6102. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6103. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6104. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6105. _userinfo = US.userInfo, //登录用户信息
  6106. _userid = US.userInfo.userid //登录用户id
  6107. let _iframe;
  6108. let _cid = cid,
  6109. _stage = stage,
  6110. _task = task,
  6111. _tool = tool;
  6112. var _jie = $$("div", {
  6113. "style": {
  6114. "position": "absolute",
  6115. "bottom": "50px",
  6116. "right": "50px",
  6117. "zIndex": "9999",
  6118. "backgroundColor": "#2268bc",
  6119. "color": "#fff",
  6120. "padding": "12px 20px",
  6121. "cursor": "pointer",
  6122. "borderRadius": "4px",
  6123. },
  6124. "innerHTML": "确认并提交"
  6125. })
  6126. let aTool = ''
  6127. let _loading = document.createElement('div')
  6128. _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;"
  6129. // _loading.id = "";
  6130. let _lchild = document.createElement('div')
  6131. let _limg = document.createElement('img')
  6132. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6133. _limg.style = "width: 26px;margin-right: 10px;"
  6134. _lchild.appendChild(_limg)
  6135. let _lspan = document.createElement('span')
  6136. _lspan.innerHTML = "上传中..."
  6137. _lchild.appendChild(_lspan)
  6138. _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%);"
  6139. _loading.appendChild(_lchild)
  6140. var _box = $$('div', {
  6141. "style": {
  6142. "position": "relative",
  6143. "width": "100%",
  6144. "height": "100%",
  6145. },
  6146. })
  6147. _box.appendChild(_loading)
  6148. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6149. switch (str) {
  6150. case "whiteboard":
  6151. aTool = 1;
  6152. _iframe = $$("iframe", {
  6153. "frameborder": "no",
  6154. "border": "0",
  6155. "scrolling ": "no",
  6156. "style": {
  6157. "cssText": "border:0;width:100%;height:100%"
  6158. },
  6159. "src": "https://iwb.cocorobo.cn/"
  6160. })
  6161. _box.appendChild(_iframe);
  6162. _box.appendChild(_jie);
  6163. _formdiv = new U.UF.UI.form(
  6164. "电子白板",
  6165. _box, {
  6166. "id": "whiteboards" + cid + stage + task + tool,
  6167. "style": {
  6168. "width": "90%",
  6169. "height": "90%",
  6170. "overflow": 'hidden'
  6171. },
  6172. "onresize": function() {}
  6173. }, {
  6174. closecallback: function() {}
  6175. }, {
  6176. "style": {
  6177. "height": "36px"
  6178. }
  6179. }).form; //创建窗体
  6180. _taskbar = {
  6181. "id": str + _formdiv.id,
  6182. "style": {
  6183. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6184. },
  6185. "name": "电子白板",
  6186. "forms": _formdiv,
  6187. "click": function() {
  6188. U.MD.D.I.openApplication(str, obj, info);
  6189. }
  6190. }
  6191. break;
  6192. case "mind":
  6193. aTool = 3;
  6194. _iframe = $$("iframe", {
  6195. "frameborder": "no",
  6196. "border": "0",
  6197. "scrolling ": "no",
  6198. "style": {
  6199. "cssText": "border:0;width:100%;height:100%"
  6200. },
  6201. "src": "/kityminder-editor/dist/index.html"
  6202. });
  6203. _box.appendChild(_iframe);
  6204. _box.appendChild(_jie);
  6205. _formdiv = new U.UF.UI.form(
  6206. "思维导图",
  6207. _box, { //"/jsmind/example/demo.html"
  6208. "id": "minds" + cid + stage + task + tool,
  6209. "style": {
  6210. "width": "90%",
  6211. "height": "90%",
  6212. "overflow": 'hidden'
  6213. },
  6214. "onresize": function() {}
  6215. }, {
  6216. closecallback: function() {}
  6217. }, {
  6218. "style": {
  6219. "height": "36px"
  6220. }
  6221. }).form; //创建窗体
  6222. _taskbar = {
  6223. "id": str + _formdiv.id,
  6224. "style": {
  6225. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6226. },
  6227. "name": "思维导图",
  6228. "forms": _formdiv,
  6229. "click": function() {
  6230. U.MD.D.I.openApplication(str, obj, info);
  6231. }
  6232. }
  6233. break;
  6234. case "doc":
  6235. aTool = 6;
  6236. _iframe = $$("iframe", {
  6237. "frameborder": "no",
  6238. "border": "0",
  6239. "scrolling ": "no",
  6240. "style": {
  6241. "cssText": "border:0;width:100%;height:100%"
  6242. },
  6243. "src": "/Office/Word/WordEditArea.htm"
  6244. })
  6245. _box.appendChild(_iframe);
  6246. _box.appendChild(_jie);
  6247. _formdiv = new U.UF.UI.form(
  6248. "协同文档",
  6249. _box, {
  6250. "id": "docs" + cid + stage + task + tool,
  6251. "style": {
  6252. "width": "90%",
  6253. "height": "90%",
  6254. "overflow": 'hidden'
  6255. },
  6256. "onresize": function() {}
  6257. }, {
  6258. closecallback: function() {}
  6259. }, {
  6260. "style": {
  6261. "height": "36px"
  6262. }
  6263. }).form; //创建窗体
  6264. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6265. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6266. })
  6267. _taskbar = {
  6268. "id": str + _formdiv.id,
  6269. "style": {
  6270. "backgroundImage": "url(/img/icon/doc.png)"
  6271. },
  6272. "name": "协同文档",
  6273. "forms": _formdiv,
  6274. "click": function() {
  6275. U.MD.D.I.openApplication(str, obj, info);
  6276. }
  6277. }
  6278. break;
  6279. }
  6280. const script1 = document.createElement("script");
  6281. script1.type = "text/javascript";
  6282. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6283. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6284. const script2 = document.createElement("script");
  6285. script2.type = "text/javascript";
  6286. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6287. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6288. const script3 = document.createElement("script");
  6289. script3.type = "text/javascript";
  6290. script3.charset = "UTF-8";
  6291. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6292. const script4 = document.createElement("script");
  6293. script4.type = "text/javascript";
  6294. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6295. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6296. if (_iframe) {
  6297. if (str == 'doc') {
  6298. _iframe = _formdiv.querySelector('iframe')
  6299. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6300. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6301. _iframe.contentWindow.document.body.appendChild(script1);
  6302. _iframe.contentWindow.document.body.appendChild(script2);
  6303. // _iframe.contentWindow.document.body.appendChild(script3);
  6304. _iframe.contentWindow.document.body.appendChild(script4);
  6305. })
  6306. if (onloadListener) {
  6307. _iframe.contentDocument.location.reload()
  6308. } else {
  6309. _iframe.contentDocument.location.reload()
  6310. }
  6311. } else if (str == 'mind') {
  6312. _iframe = _formdiv.querySelector('iframe')
  6313. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6314. _iframe.contentWindow.document.body.appendChild(script1);
  6315. _iframe.contentWindow.document.body.appendChild(script2);
  6316. _iframe.contentWindow.document.body.appendChild(script4);
  6317. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6318. })
  6319. if (onloadListener) {
  6320. _iframe.contentDocument.location.reload()
  6321. } else {
  6322. _iframe.contentDocument.location.reload()
  6323. }
  6324. } else {
  6325. _iframe.onload = () => {
  6326. _iframe.contentWindow.document.body.appendChild(script1);
  6327. _iframe.contentWindow.document.body.appendChild(script2);
  6328. // _iframe.contentWindow.document.body.appendChild(script3);
  6329. _iframe.contentWindow.document.body.appendChild(script4);
  6330. };
  6331. }
  6332. _jie.onclick = async() => {
  6333. let text = ''
  6334. if (aTool == 6) {
  6335. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6336. } else if (aTool == 3) {
  6337. text = await U.MD.D.I.getEditorContent(_iframe);
  6338. }
  6339. _loading.style.display = 'flex'
  6340. console.log(_loading);
  6341. var _ajs = _iframe.contentWindow.document.createElement("script");
  6342. _ajs.type = "text/javascript";
  6343. _ajs.innerHTML =
  6344. // 'console.log(' + _loading + ');\n' +
  6345. 'var _js = document.createElement("script");\n' +
  6346. '_js.type="text/javascript";\n' +
  6347. '_js.charset="UTF-8";\n' +
  6348. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6349. "_js.onload = function(){\n" +
  6350. ' var a = document.getElementsByTagName("img")\n' +
  6351. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6352. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6353. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6354. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6355. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6356. "beforeUpload_shishi(file," +
  6357. "'" +
  6358. _userid +
  6359. "'" +
  6360. ", " +
  6361. "'" +
  6362. _cid +
  6363. "'" +
  6364. ", " +
  6365. "'" +
  6366. _stage +
  6367. "'" +
  6368. ", " +
  6369. "'" +
  6370. _task +
  6371. "'" +
  6372. ", " +
  6373. "'" +
  6374. _tool +
  6375. "'" +
  6376. ", " +
  6377. "'" +
  6378. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6379. "'" +
  6380. ", " +
  6381. "'" +
  6382. aTool +
  6383. "'" +
  6384. ", " +
  6385. "`" +
  6386. text +
  6387. "`" +
  6388. ")\n" +
  6389. " });\n" +
  6390. "}\n" +
  6391. "document.head.appendChild(_js);\n";
  6392. _iframe.contentWindow.document.head.appendChild(_ajs);
  6393. }
  6394. }
  6395. //U.MD.D.I.openClick(str);
  6396. //如果有任务栏信息
  6397. // if (_taskbar) {
  6398. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6399. // }
  6400. }
  6401. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6402. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6403. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6404. _userinfo = US.userInfo, //登录用户信息
  6405. _userid = US.userInfo.userid //登录用户id
  6406. let _iframe;
  6407. let _cid = cid,
  6408. _stage = stage,
  6409. _task = task,
  6410. _tool = tool;
  6411. var _jie = $$("div", {
  6412. "style": {
  6413. "position": "absolute",
  6414. "bottom": "50px",
  6415. "right": "50px",
  6416. "zIndex": "9999",
  6417. "backgroundColor": "#2268bc",
  6418. "color": "#fff",
  6419. "padding": "12px 20px",
  6420. "cursor": "pointer",
  6421. "borderRadius": "4px",
  6422. },
  6423. "innerHTML": "确认并提交"
  6424. })
  6425. let aTool = ''
  6426. let _loading = document.createElement('div')
  6427. _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;"
  6428. // _loading.id = "";
  6429. let _lchild = document.createElement('div')
  6430. let _limg = document.createElement('img')
  6431. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6432. _limg.style = "width: 26px;margin-right: 10px;"
  6433. _lchild.appendChild(_limg)
  6434. let _lspan = document.createElement('span')
  6435. _lspan.innerHTML = "上传中..."
  6436. _lchild.appendChild(_lspan)
  6437. _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%);"
  6438. _loading.appendChild(_lchild)
  6439. var _box = $$('div', {
  6440. "style": {
  6441. "position": "relative",
  6442. "width": "100%",
  6443. "height": "100%",
  6444. },
  6445. })
  6446. _box.appendChild(_loading)
  6447. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6448. switch (str) {
  6449. case "whiteboard":
  6450. aTool = 1;
  6451. _iframe = $$("iframe", {
  6452. "frameborder": "no",
  6453. "border": "0",
  6454. "scrolling ": "no",
  6455. "style": {
  6456. "cssText": "border:0;width:100%;height:100%"
  6457. },
  6458. "src": "https://iwb.cocorobo.cn/"
  6459. })
  6460. _box.appendChild(_iframe);
  6461. _box.appendChild(_jie);
  6462. _formdiv = new U.UF.UI.form(
  6463. "电子白板",
  6464. _box, {
  6465. "id": "whiteboards" + cid + stage + task + tool,
  6466. "style": {
  6467. "width": "90%",
  6468. "height": "90%",
  6469. "overflow": 'hidden'
  6470. },
  6471. "onresize": function() {}
  6472. }, {
  6473. closecallback: function() {}
  6474. }, {
  6475. "style": {
  6476. "height": "36px"
  6477. }
  6478. }).form; //创建窗体
  6479. _taskbar = {
  6480. "id": str + _formdiv.id,
  6481. "style": {
  6482. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6483. },
  6484. "name": "电子白板",
  6485. "forms": _formdiv,
  6486. "click": function() {
  6487. U.MD.D.I.openApplication(str, obj, info);
  6488. }
  6489. }
  6490. break;
  6491. case "mind":
  6492. aTool = 3;
  6493. _iframe = $$("iframe", {
  6494. "frameborder": "no",
  6495. "border": "0",
  6496. "scrolling ": "no",
  6497. "style": {
  6498. "cssText": "border:0;width:100%;height:100%"
  6499. },
  6500. "src": "/kityminder-editor/dist/index.html"
  6501. });
  6502. _box.appendChild(_iframe);
  6503. _box.appendChild(_jie);
  6504. _formdiv = new U.UF.UI.form(
  6505. "思维导图",
  6506. _box, { //"/jsmind/example/demo.html"
  6507. "id": "minds" + cid + stage + task + tool,
  6508. "style": {
  6509. "width": "90%",
  6510. "height": "90%",
  6511. "overflow": 'hidden'
  6512. },
  6513. "onresize": function() {}
  6514. }, {
  6515. closecallback: function() {}
  6516. }, {
  6517. "style": {
  6518. "height": "36px"
  6519. }
  6520. }).form; //创建窗体
  6521. _taskbar = {
  6522. "id": str + _formdiv.id,
  6523. "style": {
  6524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6525. },
  6526. "name": "思维导图",
  6527. "forms": _formdiv,
  6528. "click": function() {
  6529. U.MD.D.I.openApplication(str, obj, info);
  6530. }
  6531. }
  6532. break;
  6533. case "doc":
  6534. aTool = 6;
  6535. _iframe = $$("iframe", {
  6536. "frameborder": "no",
  6537. "border": "0",
  6538. "scrolling ": "no",
  6539. "style": {
  6540. "cssText": "border:0;width:100%;height:100%"
  6541. },
  6542. "src": "/Office/Word/WordEditArea.htm"
  6543. })
  6544. _box.appendChild(_iframe);
  6545. _box.appendChild(_jie);
  6546. _formdiv = new U.UF.UI.form(
  6547. "协同文档",
  6548. _box, {
  6549. "id": "docs" + cid + stage + task + tool,
  6550. "style": {
  6551. "width": "90%",
  6552. "height": "90%",
  6553. "overflow": 'hidden'
  6554. },
  6555. "onresize": function() {}
  6556. }, {
  6557. closecallback: function() {}
  6558. }, {
  6559. "style": {
  6560. "height": "36px"
  6561. }
  6562. }).form; //创建窗体
  6563. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6564. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6565. })
  6566. _taskbar = {
  6567. "id": str + _formdiv.id,
  6568. "style": {
  6569. "backgroundImage": "url(/img/icon/doc.png)"
  6570. },
  6571. "name": "协同文档",
  6572. "forms": _formdiv,
  6573. "click": function() {
  6574. U.MD.D.I.openApplication(str, obj, info);
  6575. }
  6576. }
  6577. break;
  6578. }
  6579. const script1 = document.createElement("script");
  6580. script1.type = "text/javascript";
  6581. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6582. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6583. const script2 = document.createElement("script");
  6584. script2.type = "text/javascript";
  6585. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6586. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6587. const script3 = document.createElement("script");
  6588. script3.type = "text/javascript";
  6589. script3.charset = "UTF-8";
  6590. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6591. const script4 = document.createElement("script");
  6592. script4.type = "text/javascript";
  6593. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6594. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6595. if (_iframe) {
  6596. if (str == 'doc') {
  6597. _iframe = _formdiv.querySelector('iframe')
  6598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6599. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6600. _iframe.contentWindow.document.body.appendChild(script1);
  6601. _iframe.contentWindow.document.body.appendChild(script2);
  6602. // _iframe.contentWindow.document.body.appendChild(script3);
  6603. _iframe.contentWindow.document.body.appendChild(script4);
  6604. })
  6605. if (onloadListener) {
  6606. _iframe.contentDocument.location.reload()
  6607. } else {
  6608. _iframe.contentDocument.location.reload()
  6609. }
  6610. } else if (str == 'mind') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6613. _iframe.contentWindow.document.body.appendChild(script1);
  6614. _iframe.contentWindow.document.body.appendChild(script2);
  6615. _iframe.contentWindow.document.body.appendChild(script4);
  6616. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6617. })
  6618. if (onloadListener) {
  6619. _iframe.contentDocument.location.reload()
  6620. } else {
  6621. _iframe.contentDocument.location.reload()
  6622. }
  6623. } else {
  6624. _iframe.onload = () => {
  6625. _iframe.contentWindow.document.body.appendChild(script1);
  6626. _iframe.contentWindow.document.body.appendChild(script2);
  6627. // _iframe.contentWindow.document.body.appendChild(script3);
  6628. _iframe.contentWindow.document.body.appendChild(script4);
  6629. };
  6630. }
  6631. _jie.onclick = async() => {
  6632. let text = ''
  6633. if (aTool == 6) {
  6634. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6635. } else if (aTool == 3) {
  6636. text = await U.MD.D.I.getEditorContent(_iframe);
  6637. }
  6638. _loading.style.display = 'flex'
  6639. console.log(_loading);
  6640. var _ajs = _iframe.contentWindow.document.createElement("script");
  6641. _ajs.type = "text/javascript";
  6642. _ajs.innerHTML =
  6643. // 'console.log(' + _loading + ');\n' +
  6644. 'var _js = document.createElement("script");\n' +
  6645. '_js.type="text/javascript";\n' +
  6646. '_js.charset="UTF-8";\n' +
  6647. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6648. "_js.onload = function(){\n" +
  6649. ' var a = document.getElementsByTagName("img")\n' +
  6650. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6651. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6652. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6653. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6654. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6655. "beforeUpload_shishi(file," +
  6656. "'" +
  6657. _userid +
  6658. "'" +
  6659. ", " +
  6660. "'" +
  6661. _cid +
  6662. "'" +
  6663. ", " +
  6664. "'" +
  6665. _stage +
  6666. "'" +
  6667. ", " +
  6668. "'" +
  6669. _task +
  6670. "'" +
  6671. ", " +
  6672. "'" +
  6673. _tool +
  6674. "'" +
  6675. ", " +
  6676. "'" +
  6677. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6678. "'" +
  6679. ", " +
  6680. "'" +
  6681. aTool +
  6682. "'" +
  6683. ", " +
  6684. "`" +
  6685. text +
  6686. "`" +
  6687. ")\n" +
  6688. " });\n" +
  6689. "}\n" +
  6690. "document.head.appendChild(_js);\n";
  6691. _iframe.contentWindow.document.head.appendChild(_ajs);
  6692. }
  6693. }
  6694. //U.MD.D.I.openClick(str);
  6695. //如果有任务栏信息
  6696. // if (_taskbar) {
  6697. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6698. // }
  6699. }
  6700. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6701. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6702. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6703. _userinfo = US.userInfo, //登录用户信息
  6704. _userid = US.userInfo.userid //登录用户id
  6705. let _iframe;
  6706. let _cid = cid,
  6707. _stage = stage,
  6708. _task = task,
  6709. _tool = tool;
  6710. var _jie = $$("div", {
  6711. "style": {
  6712. "position": "absolute",
  6713. "bottom": "50px",
  6714. "right": "50px",
  6715. "zIndex": "9999",
  6716. "backgroundColor": "#2268bc",
  6717. "color": "#fff",
  6718. "padding": "12px 20px",
  6719. "cursor": "pointer",
  6720. "borderRadius": "4px",
  6721. },
  6722. "innerHTML": "上传模板"
  6723. })
  6724. let aTool = ''
  6725. let _loading = document.createElement('div')
  6726. _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;"
  6727. // _loading.id = "";
  6728. let _lchild = document.createElement('div')
  6729. let _limg = document.createElement('img')
  6730. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6731. _limg.style = "width: 26px;margin-right: 10px;"
  6732. _lchild.appendChild(_limg)
  6733. let _lspan = document.createElement('span')
  6734. _lspan.innerHTML = "上传中..."
  6735. _lchild.appendChild(_lspan)
  6736. _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%);"
  6737. _loading.appendChild(_lchild)
  6738. var _box = $$('div', {
  6739. "style": {
  6740. "position": "relative",
  6741. "width": "100%",
  6742. "height": "100%",
  6743. },
  6744. })
  6745. _box.appendChild(_loading)
  6746. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6747. switch (str) {
  6748. case "whiteboard":
  6749. aTool = 1;
  6750. _iframe = $$("iframe", {
  6751. "frameborder": "no",
  6752. "border": "0",
  6753. "scrolling ": "no",
  6754. "style": {
  6755. "cssText": "border:0;width:100%;height:100%"
  6756. },
  6757. "src": "https://iwb.cocorobo.cn/"
  6758. })
  6759. _box.appendChild(_iframe);
  6760. _box.appendChild(_jie);
  6761. _formdiv = new U.UF.UI.form(
  6762. "电子白板",
  6763. _box, {
  6764. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6765. "style": {
  6766. "width": "90%",
  6767. "height": "90%",
  6768. "overflow": 'hidden'
  6769. },
  6770. "onresize": function() {}
  6771. }, {
  6772. closecallback: function() {}
  6773. }, {
  6774. "style": {
  6775. "height": "36px"
  6776. }
  6777. }).form; //创建窗体
  6778. _taskbar = {
  6779. "id": str + _formdiv.id,
  6780. "style": {
  6781. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6782. },
  6783. "name": "电子白板",
  6784. "forms": _formdiv,
  6785. "click": function() {
  6786. U.MD.D.I.openApplication(str, obj, info);
  6787. }
  6788. }
  6789. break;
  6790. case "mind":
  6791. aTool = 3;
  6792. _iframe = $$("iframe", {
  6793. "frameborder": "no",
  6794. "border": "0",
  6795. "scrolling ": "no",
  6796. "style": {
  6797. "cssText": "border:0;width:100%;height:100%"
  6798. },
  6799. "src": "/kityminder-editor/dist/index.html"
  6800. });
  6801. _box.appendChild(_iframe);
  6802. _box.appendChild(_jie);
  6803. _formdiv = new U.UF.UI.form(
  6804. "思维导图",
  6805. _box, { //"/jsmind/example/demo.html"
  6806. "id": "minds_Yu" + cid + stage + task + tool,
  6807. "style": {
  6808. "width": "90%",
  6809. "height": "90%",
  6810. "overflow": 'hidden'
  6811. },
  6812. "onresize": function() {}
  6813. }, {
  6814. closecallback: function() {}
  6815. }, {
  6816. "style": {
  6817. "height": "36px"
  6818. }
  6819. }).form; //创建窗体
  6820. _taskbar = {
  6821. "id": str + _formdiv.id,
  6822. "style": {
  6823. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6824. },
  6825. "name": "思维导图",
  6826. "forms": _formdiv,
  6827. "click": function() {
  6828. U.MD.D.I.openApplication(str, obj, info);
  6829. }
  6830. }
  6831. break;
  6832. case "doc":
  6833. aTool = 6;
  6834. _iframe = $$("iframe", {
  6835. "frameborder": "no",
  6836. "border": "0",
  6837. "scrolling ": "no",
  6838. "style": {
  6839. "cssText": "border:0;width:100%;height:100%"
  6840. },
  6841. "src": "/Office/Word/WordEditArea.htm"
  6842. })
  6843. _box.appendChild(_iframe);
  6844. _box.appendChild(_jie);
  6845. _formdiv = new U.UF.UI.form(
  6846. "协同文档",
  6847. _box, {
  6848. "id": "docs_Yu" + cid + stage + task + tool,
  6849. "style": {
  6850. "width": "90%",
  6851. "height": "90%",
  6852. "overflow": 'hidden'
  6853. },
  6854. "onresize": function() {}
  6855. }, {
  6856. closecallback: function() {}
  6857. }, {
  6858. "style": {
  6859. "height": "36px"
  6860. }
  6861. }).form; //创建窗体
  6862. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6863. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6864. })
  6865. _taskbar = {
  6866. "id": str + _formdiv.id,
  6867. "style": {
  6868. "backgroundImage": "url(/img/icon/doc.png)"
  6869. },
  6870. "name": "协同文档",
  6871. "forms": _formdiv,
  6872. "click": function() {
  6873. U.MD.D.I.openApplication(str, obj, info);
  6874. }
  6875. }
  6876. break;
  6877. case "CocoPi":
  6878. aTool = 57;
  6879. _iframe = $$("iframe", {
  6880. "allowpaymentrequest": "allowpaymentrequest",
  6881. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6882. "webkitallowfullscreen": "",
  6883. "mozallowfullscreen": "",
  6884. "frameborder": "no",
  6885. "border": "0",
  6886. "scrolling ": "no",
  6887. "style": {
  6888. "cssText": "border:0;width:100%;height:100%"
  6889. },
  6890. "src": "https://pi.cocorobo.cn/"
  6891. })
  6892. _box.appendChild(_iframe);
  6893. _box.appendChild(_jie);
  6894. _formdiv = new U.UF.UI.form(
  6895. "CocoPi",
  6896. _box, {
  6897. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6898. "style": {
  6899. "width": "90%",
  6900. "height": "90%",
  6901. "overflow": 'hidden'
  6902. },
  6903. "onresize": function() {}
  6904. }, {
  6905. closecallback: function() {}
  6906. }, {
  6907. "style": {
  6908. "height": "36px"
  6909. }
  6910. }).form; //创建窗体
  6911. _taskbar = {
  6912. "id": str + _formdiv.id,
  6913. "style": {
  6914. "backgroundImage": "url(/img/icon/cocopi.png)"
  6915. },
  6916. "name": "CocoPi",
  6917. "forms": _formdiv,
  6918. "click": function() {
  6919. U.MD.D.I.openApplication(str, obj, info);
  6920. }
  6921. }
  6922. break;
  6923. }
  6924. if (_iframe) {
  6925. if (str == 'doc') {
  6926. _iframe = _formdiv.querySelector('iframe')
  6927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6928. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6929. })
  6930. if (onloadListener) {
  6931. _iframe.contentDocument.location.reload()
  6932. } else {
  6933. _iframe.contentDocument.location.reload()
  6934. }
  6935. } else if (str == 'mind') {
  6936. _iframe = _formdiv.querySelector('iframe')
  6937. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6938. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6939. })
  6940. if (onloadListener) {
  6941. _iframe.contentDocument.location.reload()
  6942. } else {
  6943. _iframe.contentDocument.location.reload()
  6944. }
  6945. } else if (str == 'whiteboard') {
  6946. _iframe = _formdiv.querySelector('iframe')
  6947. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6948. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6949. })
  6950. if (onloadListener) {
  6951. _iframe.contentDocument.location.reload()
  6952. } else {
  6953. _iframe.contentDocument.location.reload()
  6954. }
  6955. } else if (str == 'CocoPi') {
  6956. _iframe = _formdiv.querySelector('iframe')
  6957. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6958. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6959. })
  6960. if (onloadListener) {
  6961. _iframe.contentDocument.location.reload()
  6962. } else {
  6963. _iframe.contentDocument.location.reload()
  6964. }
  6965. } else {
  6966. _iframe.onload = () => {};
  6967. }
  6968. _jie.onclick = async() => {
  6969. let text = ''
  6970. let type = '2'
  6971. if (aTool == 1) {
  6972. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6973. type = '3'
  6974. } else if (aTool == 6) {
  6975. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6976. type = '1'
  6977. } else if (aTool == 3) {
  6978. text = await U.MD.D.I.getEditorContent(_iframe);
  6979. type = '2'
  6980. } else if (aTool == 57) {
  6981. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6982. type = '4'
  6983. }
  6984. _loading.style.display = 'flex'
  6985. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6986. }
  6987. }
  6988. //U.MD.D.I.openClick(str);
  6989. //如果有任务栏信息
  6990. // if (_taskbar) {
  6991. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6992. // }
  6993. }
  6994. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6995. var xmlhttp;
  6996. var Mac, Sn, DeviceId
  6997. if (window.XMLHttpRequest) {
  6998. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6999. xmlhttp = new XMLHttpRequest();
  7000. } else {
  7001. // IE6, IE5 浏览器执行代码
  7002. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7003. }
  7004. xmlhttp.onreadystatechange = function() {
  7005. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7006. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7007. // resolve(res.value[0][0].text);
  7008. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7009. }
  7010. }
  7011. }
  7012. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7013. xmlhttp.send();
  7014. }
  7015. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7016. var xmlhttp;
  7017. var Mac, Sn, DeviceId
  7018. if (window.XMLHttpRequest) {
  7019. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7020. xmlhttp = new XMLHttpRequest();
  7021. } else {
  7022. // IE6, IE5 浏览器执行代码
  7023. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7024. }
  7025. xmlhttp.onreadystatechange = function() {
  7026. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7027. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7028. // resolve(res.value[0][0].text);
  7029. if (type == '2') {
  7030. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7031. } else if (type == '3') {
  7032. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7033. } else if (type == '4') {
  7034. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7035. }
  7036. } else {
  7037. if (type == '2') {
  7038. iframe.contentWindow.editor.minder.importData('json', '')
  7039. } else if (type == '3') {
  7040. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7041. } else if (type == '4') {
  7042. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7043. }
  7044. }
  7045. }
  7046. }
  7047. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7048. xmlhttp.send();
  7049. }
  7050. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7051. var xmlhttp;
  7052. var Mac, Sn, DeviceId
  7053. if (window.XMLHttpRequest) {
  7054. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7055. xmlhttp = new XMLHttpRequest();
  7056. } else {
  7057. // IE6, IE5 浏览器执行代码
  7058. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7059. }
  7060. xmlhttp.onreadystatechange = function() {
  7061. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7062. if (xmlhttp.response) {
  7063. // resolve(res.value[0][0].text);
  7064. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7065. // $(fileInput).val('');
  7066. // });
  7067. span.innerHTML = '上传成功'
  7068. setTimeout(() => {
  7069. loading.style.display = 'none'
  7070. }, 1000);
  7071. }
  7072. }
  7073. }
  7074. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7075. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7076. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7077. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7078. // 设置请求头,表示请求体的编码格式
  7079. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7080. // 设置请求体,使用url-encoded格式的数据
  7081. }
  7082. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7083. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7084. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7085. _userinfo = US.userInfo, //登录用户信息
  7086. _userid = US.userInfo.userid //登录用户id
  7087. let _iframe;
  7088. let _cid = cid,
  7089. _stage = stage,
  7090. _task = task,
  7091. _tool = tool;
  7092. var _jie = $$("div", {
  7093. "style": {
  7094. "position": "absolute",
  7095. "bottom": "50px",
  7096. "right": "50px",
  7097. "zIndex": "9999",
  7098. "backgroundColor": "#2268bc",
  7099. "color": "#fff",
  7100. "padding": "12px 20px",
  7101. "cursor": "pointer",
  7102. "borderRadius": "4px",
  7103. },
  7104. "innerHTML": "提交作业"
  7105. })
  7106. let aTool = ''
  7107. let _loading = document.createElement('div')
  7108. _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;"
  7109. // _loading.id = "";
  7110. let _lchild = document.createElement('div')
  7111. let _limg = document.createElement('img')
  7112. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7113. _limg.style = "width: 26px;margin-right: 10px;"
  7114. _lchild.appendChild(_limg)
  7115. let _lspan = document.createElement('span')
  7116. _lspan.innerHTML = "上传中..."
  7117. _lchild.appendChild(_lspan)
  7118. _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%);"
  7119. _loading.appendChild(_lchild)
  7120. var _box = $$('div', {
  7121. "style": {
  7122. "position": "relative",
  7123. "width": "100%",
  7124. "height": "100%",
  7125. },
  7126. })
  7127. _box.appendChild(_loading)
  7128. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7129. switch (str) {
  7130. case "CocoPi":
  7131. aTool = 57;
  7132. _iframe = $$("iframe", {
  7133. "allowpaymentrequest": "allowpaymentrequest",
  7134. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7135. "webkitallowfullscreen": "",
  7136. "mozallowfullscreen": "",
  7137. "frameborder": "no",
  7138. "border": "0",
  7139. "scrolling ": "no",
  7140. "style": {
  7141. "cssText": "border:0;width:100%;height:100%"
  7142. },
  7143. "src": "https://pi.cocorobo.cn/"
  7144. })
  7145. _box.appendChild(_iframe);
  7146. _box.appendChild(_jie);
  7147. _formdiv = new U.UF.UI.form(
  7148. "CocoPi",
  7149. _box, {
  7150. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7151. "style": {
  7152. "width": "90%",
  7153. "height": "90%",
  7154. "overflow": 'hidden'
  7155. },
  7156. "onresize": function() {}
  7157. }, {
  7158. closecallback: function() {}
  7159. }, {
  7160. "style": {
  7161. "height": "36px"
  7162. }
  7163. }).form; //创建窗体
  7164. _taskbar = {
  7165. "id": str + _formdiv.id,
  7166. "style": {
  7167. "backgroundImage": "url(/img/icon/cocopi.png)"
  7168. },
  7169. "name": "CocoPi",
  7170. "forms": _formdiv,
  7171. "click": function() {
  7172. U.MD.D.I.openApplication(str, obj, info);
  7173. }
  7174. }
  7175. break;
  7176. }
  7177. if (_iframe) {
  7178. if (str == 'CocoPi') {
  7179. _iframe = _formdiv.querySelector('iframe')
  7180. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7181. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7182. })
  7183. if (onloadListener) {
  7184. _iframe.contentDocument.location.reload()
  7185. } else {
  7186. _iframe.contentDocument.location.reload()
  7187. }
  7188. }
  7189. _jie.onclick = async() => {
  7190. let text = ''
  7191. if (aTool == 57) {
  7192. text = _iframe.contentWindow.getLoadXmlStr()
  7193. }
  7194. _loading.style.display = 'flex'
  7195. console.log(_loading);
  7196. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7197. _loading.style.display = 'none'
  7198. let _div = document.createElement('div')
  7199. _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;"
  7200. let _inner = document.createElement('div')
  7201. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7202. _inner.innerHTML = "上传成功"
  7203. _div.appendChild(_inner)
  7204. _iframe.contentWindow.window.document.body.appendChild(_div)
  7205. _div.onclick = () => {
  7206. _iframe.contentWindow.window.document.body.removeChild(_div)
  7207. }
  7208. setTimeout(() => {
  7209. _iframe.contentWindow.window.document.body.removeChild(_div)
  7210. }, 1000);
  7211. }, [], { "type": "POST", "withCredentials": true });
  7212. }
  7213. }
  7214. }
  7215. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7216. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7217. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7218. _userid = student.userid, //登录用户id
  7219. _username = student.student //用户名字
  7220. let _iframe;
  7221. let _cid = cid,
  7222. _stage = stage,
  7223. _task = task,
  7224. _tool = tool;
  7225. var _jie = $$("div", {
  7226. "style": {
  7227. "position": "absolute",
  7228. "bottom": "50px",
  7229. "right": "50px",
  7230. "zIndex": "9999",
  7231. "backgroundColor": "#2268bc",
  7232. "color": "#fff",
  7233. "padding": "12px 20px",
  7234. "cursor": "pointer",
  7235. "borderRadius": "4px",
  7236. },
  7237. "innerHTML": "提交作业"
  7238. })
  7239. let aTool = ''
  7240. let _loading = document.createElement('div')
  7241. _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;"
  7242. // _loading.id = "";
  7243. let _lchild = document.createElement('div')
  7244. let _limg = document.createElement('img')
  7245. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7246. _limg.style = "width: 26px;margin-right: 10px;"
  7247. _lchild.appendChild(_limg)
  7248. let _lspan = document.createElement('span')
  7249. _lspan.innerHTML = "上传中..."
  7250. _lchild.appendChild(_lspan)
  7251. _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%);"
  7252. _loading.appendChild(_lchild)
  7253. var _box = $$('div', {
  7254. "style": {
  7255. "position": "relative",
  7256. "width": "100%",
  7257. "height": "100%",
  7258. },
  7259. })
  7260. _box.appendChild(_loading)
  7261. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7262. switch (str) {
  7263. case "CocoPi":
  7264. aTool = 57;
  7265. _iframe = $$("iframe", {
  7266. "allowpaymentrequest": "allowpaymentrequest",
  7267. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7268. "webkitallowfullscreen": "",
  7269. "mozallowfullscreen": "",
  7270. "frameborder": "no",
  7271. "border": "0",
  7272. "scrolling ": "no",
  7273. "style": {
  7274. "cssText": "border:0;width:100%;height:100%"
  7275. },
  7276. "src": "https://pi.cocorobo.cn/"
  7277. })
  7278. _box.appendChild(_iframe);
  7279. _box.appendChild(_jie);
  7280. _formdiv = new U.UF.UI.form(
  7281. "CocoPi-" + _username,
  7282. _box, {
  7283. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7284. "style": {
  7285. "width": "90%",
  7286. "height": "90%",
  7287. "overflow": 'hidden'
  7288. },
  7289. "onresize": function() {}
  7290. }, {
  7291. closecallback: function() {}
  7292. }, {
  7293. "style": {
  7294. "height": "36px"
  7295. }
  7296. }).form; //创建窗体
  7297. _taskbar = {
  7298. "id": str + _formdiv.id,
  7299. "style": {
  7300. "backgroundImage": "url(/img/icon/cocopi.png)"
  7301. },
  7302. "name": "CocoPi",
  7303. "forms": _formdiv,
  7304. "click": function() {
  7305. U.MD.D.I.openApplication(str, obj, info);
  7306. }
  7307. }
  7308. break;
  7309. }
  7310. if (_iframe) {
  7311. if (str == 'CocoPi') {
  7312. _iframe = _formdiv.querySelector('iframe')
  7313. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7314. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7315. })
  7316. if (onloadListener) {
  7317. _iframe.contentDocument.location.reload()
  7318. } else {
  7319. _iframe.contentDocument.location.reload()
  7320. }
  7321. }
  7322. _jie.onclick = async() => {
  7323. let text = ''
  7324. if (aTool == 57) {
  7325. text = _iframe.contentWindow.getLoadXmlStr()
  7326. }
  7327. _loading.style.display = 'flex'
  7328. console.log(_loading);
  7329. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7330. _loading.style.display = 'none'
  7331. let _div = document.createElement('div')
  7332. _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;"
  7333. let _inner = document.createElement('div')
  7334. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7335. _inner.innerHTML = "上传成功"
  7336. _div.appendChild(_inner)
  7337. _iframe.contentWindow.window.document.body.appendChild(_div)
  7338. _div.onclick = () => {
  7339. _iframe.contentWindow.window.document.body.removeChild(_div)
  7340. }
  7341. setTimeout(() => {
  7342. _iframe.contentWindow.window.document.body.removeChild(_div)
  7343. }, 1000);
  7344. }, [], { "type": "POST", "withCredentials": true });
  7345. }
  7346. }
  7347. }
  7348. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7349. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7350. if (res.value[0].length > 0) {
  7351. if (atool == 57) {
  7352. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7353. }
  7354. } else {
  7355. if (atool == 57) {
  7356. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7357. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7358. }
  7359. }
  7360. }, [], { "type": "POST", "withCredentials": true });
  7361. }