DeskTop.js 445 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638
  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 (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1030. _teacherDesktopIconInfo.push(
  1031. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1032. )
  1033. }
  1034. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1035. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1036. if (el.Name == '项目管理') {
  1037. el.Name = 'PBL项目'
  1038. }
  1039. return el
  1040. })
  1041. }
  1042. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1043. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1044. return el.Name != '魔盒识字' && el.Name != '24点'
  1045. })
  1046. }
  1047. 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) {
  1048. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1049. }
  1050. //循环创建桌面图标
  1051. if (type == 1) {
  1052. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1053. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1054. _content = $$("div", {
  1055. className: "U_MD_D_KO",
  1056. "onmousedown": U.UF.C.closure(function(obj) {
  1057. //防止拖动图标即打开了桌面应用
  1058. U.MD.D.click(this, obj);
  1059. }, [_studentDesktopIconInfo[i]]),
  1060. "onclick": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_studentDesktopIconInfo[i]])
  1064. }, _frag); //
  1065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1068. }
  1069. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1070. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1071. _content = $$("div", {
  1072. className: "U_MD_D_KO",
  1073. "onmousedown": U.UF.C.closure(function(obj) {
  1074. //防止拖动图标即打开了桌面应用
  1075. U.MD.D.click(this, obj);
  1076. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1077. "onclick": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_hkZJLSStudentDeskIconInfo[i]])
  1081. }, _frag); //
  1082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1085. } //
  1086. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1087. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1088. _content = $$("div", {
  1089. className: "U_MD_D_KO",
  1090. "onmousedown": U.UF.C.closure(function(obj) {
  1091. //防止拖动图标即打开了桌面应用
  1092. U.MD.D.click(this, obj);
  1093. }, [_chjyjStudentDeskIconInfo[i]]),
  1094. "onclick": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_chjyjStudentDeskIconInfo[i]])
  1098. }, _frag); //
  1099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1102. }
  1103. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1104. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1105. _content = $$("div", {
  1106. className: "U_MD_D_KO",
  1107. "onmousedown": U.UF.C.closure(function(obj) {
  1108. //防止拖动图标即打开了桌面应用
  1109. U.MD.D.click(this, obj);
  1110. }, [_szjkyStudentDeskIconInfo[i]]),
  1111. "onclick": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_szjkyStudentDeskIconInfo[i]])
  1115. }, _frag); //
  1116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1119. }
  1120. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1121. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1122. _content = $$("div", {
  1123. className: "U_MD_D_KO",
  1124. "onmousedown": U.UF.C.closure(function(obj) {
  1125. //防止拖动图标即打开了桌面应用
  1126. U.MD.D.click(this, obj);
  1127. }, [_dseiStudentDeskIconInfo[i]]),
  1128. "onclick": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_dseiStudentDeskIconInfo[i]])
  1132. }, _frag); //
  1133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1136. }
  1137. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1138. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1139. _content = $$("div", {
  1140. className: "U_MD_D_KO",
  1141. "onmousedown": U.UF.C.closure(function(obj) {
  1142. //防止拖动图标即打开了桌面应用
  1143. U.MD.D.click(this, obj);
  1144. }, [_siesStudentDeskIconInfo[i]]),
  1145. "onclick": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_siesStudentDeskIconInfo[i]])
  1149. }, _frag); //
  1150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1153. }
  1154. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1155. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1156. _content = $$("div", {
  1157. className: "U_MD_D_KO",
  1158. "onmousedown": U.UF.C.closure(function(obj) {
  1159. //防止拖动图标即打开了桌面应用
  1160. U.MD.D.click(this, obj);
  1161. }, [_hkStudentDeskIconInfo[i]]),
  1162. "onclick": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_hkStudentDeskIconInfo[i]])
  1166. }, _frag); //
  1167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1170. }
  1171. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1172. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1173. _content = $$("div", {
  1174. className: "U_MD_D_KO",
  1175. "onmousedown": U.UF.C.closure(function(obj) {
  1176. //防止拖动图标即打开了桌面应用
  1177. U.MD.D.click(this, obj);
  1178. }, [_studentDesktopIconInfo[i]]),
  1179. "onclick": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_studentDesktopIconInfo[i]])
  1183. }, _frag); //
  1184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1187. }
  1188. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1189. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1190. _content = $$("div", {
  1191. className: "U_MD_D_KO",
  1192. "onmousedown": U.UF.C.closure(function(obj) {
  1193. //防止拖动图标即打开了桌面应用
  1194. U.MD.D.click(this, obj);
  1195. }, [_tcStudentDeskIconInfo[i]]),
  1196. "onclick": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_tcStudentDeskIconInfo[i]])
  1200. }, _frag); //
  1201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1204. }
  1205. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1206. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1207. _content = $$("div", {
  1208. className: "U_MD_D_KO",
  1209. "onmousedown": U.UF.C.closure(function(obj) {
  1210. //防止拖动图标即打开了桌面应用
  1211. U.MD.D.click(this, obj);
  1212. }, [_szscStudentDeskIconInfo[i]]),
  1213. "onclick": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_szscStudentDeskIconInfo[i]])
  1217. }, _frag); //
  1218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1221. }
  1222. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1223. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1224. _content = $$("div", {
  1225. className: "U_MD_D_KO",
  1226. "onmousedown": U.UF.C.closure(function(obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_studentDesktopIconInfo3[i]]),
  1230. "onclick": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo3[i]])
  1234. }, _frag); //
  1235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1238. }
  1239. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1240. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1241. _content = $$("div", {
  1242. className: "U_MD_D_KO",
  1243. "onmousedown": U.UF.C.closure(function(obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_studentDesktopIconInfo2[i]]),
  1247. "onclick": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_studentDesktopIconInfo2[i]])
  1251. }, _frag); //
  1252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1255. }
  1256. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1257. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1258. _content = $$("div", {
  1259. className: "U_MD_D_KO",
  1260. "onmousedown": U.UF.C.closure(function(obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_wanketeacherDesktopIconInfo[i]]),
  1264. "onclick": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wanketeacherDesktopIconInfo[i]])
  1268. }, _frag); //
  1269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1272. }
  1273. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1274. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1275. _content = $$("div", {
  1276. className: "U_MD_D_KO",
  1277. "onmousedown": U.UF.C.closure(function(obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_wankeAdminDesktopIconInfo[i]]),
  1281. "onclick": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_wankeAdminDesktopIconInfo[i]])
  1285. }, _frag); //
  1286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1289. }
  1290. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1291. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1292. _content = $$("div", {
  1293. className: "U_MD_D_KO",
  1294. "onmousedown": U.UF.C.closure(function(obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_teacherDesktopIconInfo2[i]]),
  1298. "onclick": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_teacherDesktopIconInfo2[i]])
  1302. }, _frag); //
  1303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1306. }
  1307. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1308. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1309. _content = $$("div", {
  1310. className: "U_MD_D_KO",
  1311. "onmousedown": U.UF.C.closure(function(obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_lotechTeacherDeskIconInfo[i]]),
  1315. "onclick": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_lotechTeacherDeskIconInfo[i]])
  1319. }, _frag); //
  1320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1323. }//
  1324. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1325. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1326. _content = $$("div", {
  1327. className: "U_MD_D_KO",
  1328. "onmousedown": U.UF.C.closure(function(obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_siesTeacherDeskIconInfo[i]]),
  1332. "onclick": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_siesTeacherDeskIconInfo[i]])
  1336. }, _frag); //
  1337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1340. }
  1341. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1342. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1343. _content = $$("div", {
  1344. className: "U_MD_D_KO",
  1345. "onmousedown": U.UF.C.closure(function(obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_longhuaTeacherDeskIconInfo[i]]),
  1349. "onclick": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_longhuaTeacherDeskIconInfo[i]])
  1353. }, _frag); //
  1354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1357. }
  1358. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1359. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1360. _content = $$("div", {
  1361. className: "U_MD_D_KO",
  1362. "onmousedown": U.UF.C.closure(function(obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1366. "onclick": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_yunhaiTeacherDeskIconInfo[i]])
  1370. }, _frag); //
  1371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1374. } //_hkStudentDeskIconInfo
  1375. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1376. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1377. _content = $$("div", {
  1378. className: "U_MD_D_KO",
  1379. "onmousedown": U.UF.C.closure(function(obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1383. "onclick": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1387. }, _frag); //
  1388. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1391. }
  1392. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1393. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1394. _content = $$("div", {
  1395. className: "U_MD_D_KO",
  1396. "onmousedown": U.UF.C.closure(function(obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_hkTeacherDeskIconInfo[i]]),
  1400. "onclick": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_hkTeacherDeskIconInfo[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1408. }
  1409. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1410. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1411. _content = $$("div", {
  1412. className: "U_MD_D_KO",
  1413. "onmousedown": U.UF.C.closure(function(obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_gdjgAdminDeskIconInfo[i]]),
  1417. "onclick": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgAdminDeskIconInfo[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1425. }
  1426. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1427. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1428. _content = $$("div", {
  1429. className: "U_MD_D_KO",
  1430. "onmousedown": U.UF.C.closure(function(obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_gdjgTeacherDeskIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_gdjgTeacherDeskIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1442. }
  1443. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1444. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1445. _content = $$("div", {
  1446. className: "U_MD_D_KO",
  1447. "onmousedown": U.UF.C.closure(function(obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_szherTeacherDeskIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_szherTeacherDeskIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1461. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1462. _content = $$("div", {
  1463. className: "U_MD_D_KO",
  1464. "onmousedown": U.UF.C.closure(function(obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_heyuannAdminDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuannAdminDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1478. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1479. _content = $$("div", {
  1480. className: "U_MD_D_KO",
  1481. "onmousedown": U.UF.C.closure(function(obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_heyuanTeacherDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_heyuanTeacherDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1493. } //
  1494. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1495. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1496. _content = $$("div", {
  1497. className: "U_MD_D_KO",
  1498. "onmousedown": U.UF.C.closure(function(obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_dseiAdminDeskIconInfo[i]]),
  1502. "onclick": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiAdminDeskIconInfo[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1510. }
  1511. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1512. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1513. _content = $$("div", {
  1514. className: "U_MD_D_KO",
  1515. "onmousedown": U.UF.C.closure(function(obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_dseiTeacherDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_dseiTeacherDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1527. } //
  1528. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1529. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1530. _content = $$("div", {
  1531. className: "U_MD_D_KO",
  1532. "onmousedown": U.UF.C.closure(function(obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_chjyjAdminDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjAdminDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1544. }//
  1545. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1546. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1547. _content = $$("div", {
  1548. className: "U_MD_D_KO",
  1549. "onmousedown": U.UF.C.closure(function(obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_chjyjTeacherDeskIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_chjyjTeacherDeskIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1563. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1564. _content = $$("div", {
  1565. className: "U_MD_D_KO",
  1566. "onmousedown": U.UF.C.closure(function(obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_szjkyAdminDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyAdminDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1578. }//
  1579. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1580. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1581. _content = $$("div", {
  1582. className: "U_MD_D_KO",
  1583. "onmousedown": U.UF.C.closure(function(obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_szjkyTeacherDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szjkyTeacherDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1595. }
  1596. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1597. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1598. _content = $$("div", {
  1599. className: "U_MD_D_KO",
  1600. "onmousedown": U.UF.C.closure(function(obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_futianAdminDeskIconInfo[i]]),
  1604. "onclick": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianAdminDeskIconInfo[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1612. }
  1613. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1614. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1615. _content = $$("div", {
  1616. className: "U_MD_D_KO",
  1617. "onmousedown": U.UF.C.closure(function(obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_futianTeacherDeskIconInfo[i]]),
  1621. "onclick": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_futianTeacherDeskIconInfo[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1629. }
  1630. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1631. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1632. _content = $$("div", {
  1633. className: "U_MD_D_KO",
  1634. "onmousedown": U.UF.C.closure(function(obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_MingdeTeacherDeskIcon[i]]),
  1638. "onclick": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_MingdeTeacherDeskIcon[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1646. }
  1647. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1648. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1649. _content = $$("div", {
  1650. className: "U_MD_D_KO",
  1651. "onmousedown": U.UF.C.closure(function(obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_lhsAdminDesktopIconInfo[i]]),
  1655. "onclick": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsAdminDesktopIconInfo[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1663. }
  1664. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1665. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1666. _content = $$("div", {
  1667. className: "U_MD_D_KO",
  1668. "onmousedown": U.UF.C.closure(function(obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_lhsteacherDesktopIconInfo[i]]),
  1672. "onclick": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_lhsteacherDesktopIconInfo[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1682. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1683. _content = $$("div", {
  1684. className: "U_MD_D_KO",
  1685. "onmousedown": U.UF.C.closure(function(obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_zhoujiateacherDesktopIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1699. for (i = 0; i < _hanDeskIcon.length; i++) {
  1700. _content = $$("div", {
  1701. className: "U_MD_D_KO",
  1702. "onmousedown": U.UF.C.closure(function(obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_hanDeskIcon[i]]),
  1706. "onclick": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_hanDeskIcon[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1714. }
  1715. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1716. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1717. _content = $$("div", {
  1718. className: "U_MD_D_KO",
  1719. "onmousedown": U.UF.C.closure(function(obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_orgStemDeskIcon[i]]),
  1723. "onclick": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_orgStemDeskIcon[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1733. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1734. _content = $$("div", {
  1735. className: "U_MD_D_KO",
  1736. "onmousedown": U.UF.C.closure(function(obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_szulsDeskIcon[i]]),
  1740. "onclick": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_szulsDeskIcon[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1748. }
  1749. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1750. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1751. _content = $$("div", {
  1752. className: "U_MD_D_KO",
  1753. "onmousedown": U.UF.C.closure(function(obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_orgDesktopIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_orgDesktopIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1765. }
  1766. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1767. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1768. _content = $$("div", {
  1769. className: "U_MD_D_KO",
  1770. "onmousedown": U.UF.C.closure(function(obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_schoolDesktopIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_schoolDesktopIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1784. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1785. _content = $$("div", {
  1786. className: "U_MD_D_KO",
  1787. "onmousedown": U.UF.C.closure(function(obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_GMteacherDesktopIconInfo[i]]),
  1791. "onclick": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_GMteacherDesktopIconInfo[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1799. }
  1800. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1801. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1802. _content = $$("div", {
  1803. className: "U_MD_D_KO",
  1804. "onmousedown": U.UF.C.closure(function(obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_SONGteacherDesktopIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_SONGteacherDesktopIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1816. }
  1817. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1818. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1819. _content = $$("div", {
  1820. className: "U_MD_D_KO",
  1821. "onmousedown": U.UF.C.closure(function(obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_GMstudentDesktopIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_GMstudentDesktopIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1833. }
  1834. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1835. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1836. _content = $$("div", {
  1837. className: "U_MD_D_KO",
  1838. "onmousedown": U.UF.C.closure(function(obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_tcTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1852. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1853. _content = $$("div", {
  1854. className: "U_MD_D_KO",
  1855. "onmousedown": U.UF.C.closure(function(obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_tcOrganizerDeskIconInfo[i]]),
  1859. "onclick": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_tcOrganizerDeskIconInfo[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1869. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1870. _content = $$("div", {
  1871. className: "U_MD_D_KO",
  1872. "onmousedown": U.UF.C.closure(function(obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_szscTeacherDeskIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscTeacherDeskIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1884. }
  1885. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1886. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1887. _content = $$("div", {
  1888. className: "U_MD_D_KO",
  1889. "onmousedown": U.UF.C.closure(function(obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_szscOrganizerDeskIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_szscOrganizerDeskIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else {
  1903. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1904. _content = $$("div", {
  1905. className: "U_MD_D_KO",
  1906. "onmousedown": U.UF.C.closure(function(obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_teacherDesktopIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function(obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_teacherDesktopIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. }
  1920. } else {
  1921. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. style: { 'width': '124px', 'height': '145px' },
  1925. "onmousedown": U.UF.C.closure(function(obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_easyDesktopIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function(obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_easyDesktopIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1937. }
  1938. }
  1939. if (type == 1) {
  1940. //加载好后给图标定位
  1941. U.MD.D.iconPostion($(_frag).Child());
  1942. } else {
  1943. //加载好后给图标定位
  1944. U.MD.D.iconPostion2($(_frag).Child());
  1945. }
  1946. //把图标加载到页面
  1947. el.appendChild(_frag);
  1948. }
  1949. /**
  1950. * 显示任务栏
  1951. *
  1952. * @param {element} 桌面元素
  1953. */
  1954. U.MD.D.I.displayTaskbar = function(el) {
  1955. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1956. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1957. //任务栏位置变化
  1958. U.selectEl(el).css({ "bottom": "0px" });
  1959. //桌面位置变话
  1960. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1961. }
  1962. }
  1963. //#region 桌面图标拖动逻辑
  1964. /**
  1965. * 桌面排列图标
  1966. *
  1967. * @param {element} 桌面元素
  1968. * @param {object} 上下相距的距离
  1969. * @param {object} 左右相距的距离
  1970. * @return {object} 命名空间
  1971. */
  1972. U.MD.D.iconPostion = function(childs, top, left) {
  1973. var i; //用于循环处理
  1974. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1975. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1976. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1977. for (i = 0; i < childs.length; i++) {
  1978. //如果竖排top超过了范围处理
  1979. if (top + 95 > US.height - 10) {
  1980. //left超过了页面范围处理,则向上重叠打印处理
  1981. if ((left + 180) > US.width) {
  1982. top -= 110;
  1983. left -= 90;
  1984. }
  1985. //没有超过范围,那么left+90添加到下一个竖排打印
  1986. else {
  1987. left += 90;
  1988. top = 15;
  1989. };
  1990. }
  1991. //给图标的位置赋值
  1992. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1993. if (i < childs.length - 1) {
  1994. //页面图标每次向下加95
  1995. top += 95;
  1996. }
  1997. }
  1998. //返回最后调用的图标的位置
  1999. return [top, left];
  2000. }
  2001. /**
  2002. * 桌面排列图标
  2003. *
  2004. * @param {element} 桌面元素
  2005. * @param {object} 上下相距的距离
  2006. * @param {object} 左右相距的距离
  2007. * @return {object} 命名空间
  2008. */
  2009. U.MD.D.iconPostion2 = function(childs, top, left) {
  2010. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2011. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2012. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2013. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2014. for (i = 0; i < childs.length; i++) {
  2015. //如果竖排top超过了范围处理
  2016. if (left + 150 > US.width - 10) {
  2017. //left超过了页面范围处理,则向上重叠打印处理
  2018. if ((top + 180) > US.Height) {
  2019. top -= 150;
  2020. left -= 150;
  2021. }
  2022. //没有超过范围,那么left+90添加到下一个竖排打印
  2023. else {
  2024. top += 150;
  2025. left = ol;
  2026. };
  2027. }
  2028. //给图标的位置赋值
  2029. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2030. if (i < childs.length - 1) {
  2031. //页面图标每次向下加95
  2032. left += 150;
  2033. }
  2034. }
  2035. //返回最后调用的图标的位置
  2036. return [top, left];
  2037. }
  2038. /**
  2039. * 桌面点击事件逻辑
  2040. *
  2041. * @param {element} 桌面元素
  2042. * @param {object} 上下相距的距离
  2043. * @param {object} 左右相距的距离
  2044. * @return {object} 命名空间
  2045. */
  2046. U.MD.D.click = function(el, obj) {
  2047. var _buttonnumber = event.button; //点击的按钮的事件值
  2048. var _userinfo = US.userInfo;
  2049. U.UF.EV.stopBubble(); //阻止向上冒泡
  2050. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2051. if (_buttonnumber < 2) {
  2052. //如果是click事件的处理
  2053. if (event.type == "click") {
  2054. //如果元素在mousemove事件中没有移动则出发click事件
  2055. if (!U.MD.D.I.IsDrag) {
  2056. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2057. U.alert("请先登录您的账号!");
  2058. setTimeout(() => {
  2059. U.MD.U.L.login();
  2060. }, 2000);
  2061. } else {
  2062. //打开应用处理
  2063. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2064. }
  2065. }
  2066. }
  2067. //如果是mouse事件的处理
  2068. else {
  2069. if (US.Config.type == '1') {
  2070. //拖动处理,添加拖动和拖动结束事件
  2071. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2072. }
  2073. }
  2074. U.MD.D.I.IsDrag = false;
  2075. }
  2076. }
  2077. /**
  2078. * 拖动的处理
  2079. *
  2080. */
  2081. U.MD.D.iconMove = function() {
  2082. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2083. U.MD.D.I.IsDrag = true;
  2084. }
  2085. /**
  2086. * 拖动结束后,这里是定位处理,以网状的形式定位
  2087. *
  2088. * @param {element} 拖动的元素
  2089. * @return {object} 命名空间
  2090. */
  2091. U.MD.D.iconUp = function(el) {
  2092. var _top = 15,
  2093. _left = 20,
  2094. _margin,
  2095. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2096. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2097. if (_positioninfo["OT"] > 15) {
  2098. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2099. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2100. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2101. }
  2102. if (_positioninfo["OL"] > 20) {
  2103. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2104. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2105. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2106. }
  2107. //while循环判断么一个重叠的元素
  2108. do {
  2109. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2110. _top = _positioninfo[0] + 95; //得到定位后的top
  2111. _left = _positioninfo[1]; //得到定位后的left
  2112. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2113. }
  2114. /**
  2115. * 判断拖动后图标是否重叠
  2116. *
  2117. * @param {element} 拖动的元素
  2118. * @param {element} 桌面所有的元素
  2119. * @param {array} 拖动元素的位置
  2120. ----------[0] 上 top
  2121. ----------[1] 左 left
  2122. * @return {object} 命名空间
  2123. */
  2124. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2125. //循环所有的图标
  2126. for (var i = 0; i < childs.length; i++) {
  2127. //判断有没有和该图标诶子重叠的元素
  2128. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2129. return childs[i]; //如果有返回
  2130. }
  2131. }
  2132. }
  2133. //#endregion
  2134. //#endregion
  2135. //#region 桌面应用
  2136. /**
  2137. * 打开应用
  2138. *
  2139. * @param {string} 类型
  2140. -----------------Disk 网盘系统
  2141. -----------------PDisk 学习系统网盘
  2142. -----------------Poto 图片
  2143. -----------------Video 视频
  2144. -----------------Music 音乐
  2145. -----------------Word word
  2146. -----------------Excel excel
  2147. -----------------Txt 记事本
  2148. -----------------PB 学习系统
  2149. -----------------Blog 朋友圈系统
  2150. -----------------FTP ftp系统
  2151. -----------------Group 好友群
  2152. -----------------SY 首页系统
  2153. -----------------Set 个人设置
  2154. -----------------XSet 系统设置
  2155. -----------------App 我们所有的app
  2156. -----------------BC c.1473.cn 平台
  2157. -----------------CWeb d.1473.cn 变成平台
  2158. -----------------其他的外联系统 我们统一用iframe打开
  2159. * @param {array} 类型
  2160. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2161. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2162. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2163. 如果第一个参数为其他,则无第二个参数
  2164. * @returns {array}
  2165. */
  2166. window.addEventListener('message', function(e) { // 监听 message 事件
  2167. // alert(e.data.type);
  2168. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2170. //3是展示全部阶段 2学生 1老师 4专家
  2171. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2172. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2173. //3是展示全部阶段 2学生 1老师 4专家
  2174. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2176. //3是展示全部阶段 2学生 1老师 4专家
  2177. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2178. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2179. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2180. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2181. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2183. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2184. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2185. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2186. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2187. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2188. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2189. //3是展示全部阶段 2学生 1老师 4专家
  2190. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2191. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2192. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2193. U.MD.D.I.selectUser();
  2194. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2195. var _formel = document.getElementById("study");
  2196. U.UF.F.windowZooming(_formel);
  2197. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2198. var _formel = document.getElementById("studyDetail");
  2199. U.UF.F.windowZooming(_formel);
  2200. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2201. var _formel = document.getElementById("studyDetail");
  2202. U.UF.F.windowZooming(_formel);
  2203. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2204. var _formel = document.getElementById("studentStudy");
  2205. U.UF.F.windowZooming(_formel);
  2206. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2207. // var _formel = document.getElementById("study");
  2208. //如果最大化了,那么就把他缩小
  2209. // if (_formel.ismaximize) {
  2210. // return;
  2211. // }
  2212. // U.UF.F.windowZooming(_formel);
  2213. // U.UF.F.topWindow(_formel);
  2214. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2215. // var _formel = document.getElementById("studyDetail");
  2216. //如果最大化了,那么就把他缩小
  2217. // if (_formel.ismaximize) {
  2218. // return;
  2219. // }
  2220. // U.UF.F.windowZooming(_formel);
  2221. // U.UF.F.topWindow(_formel);
  2222. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2223. // var _formel = document.getElementById("studentStudy");
  2224. // if (_formel.ismaximize) {
  2225. // return;
  2226. // }
  2227. // U.UF.F.windowZooming(_formel);
  2228. // U.UF.F.topWindow(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2230. var _formel = document.getElementById("study");
  2231. // if (_formel.ismaximize) {
  2232. // return;
  2233. // }
  2234. // U.UF.F.windowZooming(_formel);
  2235. U.UF.F.topWindow(_formel);
  2236. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2237. var _formel = document.getElementById("studentIndex");
  2238. U.UF.F.windowZooming(_formel);
  2239. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2240. var _formel = document.getElementById("studyDetailS");
  2241. U.UF.F.windowZooming(_formel);
  2242. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2243. var _formel = document.getElementById("studioIndex");
  2244. U.UF.F.windowZooming(_formel);
  2245. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2246. var _formel = document.getElementById("studyDetailStudio");
  2247. U.UF.F.windowZooming(_formel);
  2248. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2249. var _formel = document.getElementById("studyDetailStudio");
  2250. U.UF.F.windowZooming(_formel);
  2251. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2252. var _formel = document.getElementById("studyDetailNT");
  2253. U.UF.F.windowZooming(_formel);
  2254. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2255. var _formel = document.getElementById("studyDetailS");
  2256. U.UF.F.windowZooming(_formel);
  2257. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2258. var _formel = document.getElementById("studyDetailS");
  2259. U.UF.F.topWindow(_formel);
  2260. } else if (e.data.tools && e.data.tools == "1") {
  2261. // U.MD.D.I.openApplication("whiteboard")
  2262. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "2") {
  2264. U.MD.D.I.openApplication("note")
  2265. } else if (e.data.tools && e.data.tools == "3") {
  2266. // U.MD.D.I.openApplication("mind")
  2267. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2268. } else if (e.data.tools && e.data.tools == "4") {
  2269. U.MD.D.I.openApplication("investigation")
  2270. } else if (e.data.tools && e.data.tools == "6") {
  2271. // U.MD.D.I.openApplication("doc")
  2272. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2273. } else if (e.data.tools && e.data.tools == "7") {
  2274. // U.MD.D.I.openApplication("mindNetwork")
  2275. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2276. } else if (e.data.tools && e.data.tools == "8") {
  2277. U.MD.D.I.openApplication("library")
  2278. } else if (e.data.tools && e.data.tools == "17") {
  2279. U.MD.D.I.openApplication("stuLibrary")
  2280. } else if (e.data.tools && e.data.tools == "18") {
  2281. U.MD.D.I.openApplication("train")
  2282. } else if (e.data.tools && e.data.tools == "21") {
  2283. U.MD.D.I.openApplication("program")
  2284. } else if (e.data.tools && e.data.tools == "22") {
  2285. U.MD.D.I.openApplication("AIprogram2")
  2286. } else if (e.data.tools && e.data.tools == "23") {
  2287. U.MD.D.I.openApplication("Pythonprogram")
  2288. } else if (e.data.tools && e.data.tools == "24") {
  2289. U.MD.D.I.openApplication("AIprogram")
  2290. } else if (e.data.tools && e.data.tools == "25") {
  2291. U.MD.D.I.openApplication("sys")
  2292. } else if (e.data.tools && e.data.tools == "26") {
  2293. // U.MD.D.I.openApplication("courseDesign")
  2294. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2295. } else if (e.data.tools && e.data.tools == "31") {
  2296. U.MD.D.I.openApplication("netWorkPanel")
  2297. } else if (e.data.tools && e.data.tools == "32") {
  2298. U.MD.D.I.openApplication("codeEdit")
  2299. } else if (e.data.tools && e.data.tools == "57") {
  2300. U.MD.D.I.openApplication("CocoPi")
  2301. } else if (e.data.tools && e.data.tools == "63") {
  2302. U.MD.D.I.openApplication("Wood")
  2303. } else if (e.data.tools && e.data.tools == "58") {
  2304. U.MD.D.I.openApplication("car")
  2305. } else if (e.data.tools && e.data.tools == "59") {
  2306. U.MD.D.I.openApplication("lineSearch")
  2307. } else if (e.data.tools && e.data.tools == "60") {
  2308. U.MD.D.I.openApplication("deepLearning")
  2309. } else if (e.data.tools && e.data.tools == "61") {
  2310. U.MD.D.I.openApplication("allHistory")
  2311. } else if (e.data.tools && e.data.tools == "28") {
  2312. U.MD.D.I.openApplication("translation")
  2313. } else if (e.data.tools && e.data.tools == "37") {
  2314. U.MD.D.I.openApplication("mohe")
  2315. } else if (e.data.tools && e.data.tools == "38") {
  2316. U.MD.D.I.openApplication("24game")
  2317. } else if (e.data.tools && e.data.tools == "39") {
  2318. U.MD.D.I.openApplication("GeoGebra")
  2319. } else if (e.data.tools && e.data.tools == "43") {
  2320. U.MD.D.I.openApplication("studentEvaluate")
  2321. } else if (e.data.tools && e.data.tools == "44") {
  2322. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2323. } else if (e.data.tools && e.data.tools == "46") {
  2324. U.MD.D.I.openApplication("project")
  2325. } else if (e.data.tools && e.data.tools == "1s") {
  2326. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2327. } else if (e.data.tools && e.data.tools == "3s") {
  2328. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2329. } else if (e.data.tools && e.data.tools == "6s") {
  2330. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "1studio") {
  2332. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2333. } else if (e.data.tools && e.data.tools == "3studio") {
  2334. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2335. } else if (e.data.tools && e.data.tools == "6studio") {
  2336. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2337. } else if (e.data.tools && e.data.tools == "3y") {
  2338. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "1y") {
  2340. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2342. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2343. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2344. U.MD.D.I.openApplication("AIAnalyse")
  2345. } else if (e.data.tools && e.data.tools == "1teacher") {
  2346. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2347. } else if (e.data.tools && e.data.tools == "3teacher") {
  2348. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2349. } else if (e.data.tools && e.data.tools == "7teacher") {
  2350. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2351. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2352. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2353. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2354. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2355. } else if (e.data.tools && e.data.tools == "1E") {
  2356. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2357. } else if (e.data.tools && e.data.tools == "3E") {
  2358. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2359. } else if (e.data.tools && e.data.tools == "57y") {
  2360. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "57u") {
  2362. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2363. } else if (e.data.tools && e.data.tools == "57teacher") {
  2364. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2365. } else if (e.data.tools && e.data.tools == "64") {
  2366. U.MD.D.I.openApplication("AIChat")
  2367. } else if (e.data.tools && e.data.tools == "66") {
  2368. U.MD.D.I.openApplication("formulaEdi")
  2369. } else if (e.data.tools && e.data.tools == "67") {
  2370. U.MD.D.I.openApplication("molStr")
  2371. } else if (e.data.tools && e.data.tools == "68") {
  2372. U.MD.D.I.openApplication("timeAxis")
  2373. } else if (e.data.tools && e.data.tools == "openCourse") {
  2374. let _data = {
  2375. typea:e.data.typea || '',
  2376. typeb:e.data.typeb || '',
  2377. typed:e.data.typed || '',
  2378. }
  2379. U.MD.D.I.openInApplication("index", _data)
  2380. }
  2381. });
  2382. U.MD.D.I.selectUser = function() {
  2383. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2384. if (res.value[0].length > 0) {
  2385. US.userInfo = res.value[0][0];
  2386. $(".userName")[0].innerHTML = US.userInfo.username;
  2387. }
  2388. }, [], { "type": "GET", "withCredentials": true });
  2389. }
  2390. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2391. var _userinfo = US.userInfo, //登录用户信息
  2392. _userid = US.userInfo.userid, //登录用户id
  2393. _oid = _userinfo.organizeid,
  2394. _type = US.userInfo.type,
  2395. _org = US.userInfo.org,
  2396. _role = US.userInfo.role,
  2397. _classId = US.userInfo.classid;
  2398. if (_type == 4) {
  2399. tType = 4
  2400. }
  2401. switch (str) {
  2402. case "studyDetailNT": //无终端模式
  2403. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2404. setTimeout(() => {
  2405. U.MD.U.L.login();
  2406. }, 2000);
  2407. } else {
  2408. _formdiv = new U.UF.UI.form(
  2409. "课程详情",
  2410. $$("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 }), {
  2411. "id": "studyDetailNT",
  2412. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2413. "onresize": function() {}
  2414. }, {
  2415. closecallback: function() {}
  2416. }, { "style": { "height": "36px" } }).form; //创建窗体
  2417. _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); } }
  2418. break;
  2419. }
  2420. case "studyDetail":
  2421. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2422. setTimeout(() => {
  2423. U.MD.U.L.login();
  2424. }, 2000);
  2425. } else {
  2426. _formdiv = new U.UF.UI.form(
  2427. "课程详情",
  2428. $$("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 }), {
  2429. "id": "studyDetail",
  2430. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2431. "onresize": function() {}
  2432. }, {
  2433. closecallback: function() {}
  2434. }, { "style": { "height": "36px" } }).form; //创建窗体
  2435. _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); } }
  2436. break;
  2437. }
  2438. case "studyDetailS":
  2439. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2440. setTimeout(() => {
  2441. U.MD.U.L.login();
  2442. }, 2000);
  2443. } else {
  2444. _formdiv = new U.UF.UI.form(
  2445. "项目详情",
  2446. $$("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 }), {
  2447. "id": "studyDetailS",
  2448. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2449. "onresize": function() {}
  2450. }, {
  2451. closecallback: function() {}
  2452. }, { "style": { "height": "36px" } }).form; //创建窗体
  2453. _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); } }
  2454. break;
  2455. }
  2456. case "studyDetailStudio":
  2457. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2458. setTimeout(() => {
  2459. U.MD.U.L.login();
  2460. }, 2000);
  2461. } else {
  2462. _formdiv = new U.UF.UI.form(
  2463. "工作详情",
  2464. $$("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 }), {
  2465. "id": "studyDetailStudio",
  2466. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2467. "onresize": function() {}
  2468. }, {
  2469. closecallback: function() {}
  2470. }, { "style": { "height": "36px" } }).form; //创建窗体
  2471. _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); } }
  2472. break;
  2473. }
  2474. case "studyDetailS5":
  2475. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2476. setTimeout(() => {
  2477. U.MD.U.L.login();
  2478. }, 2000);
  2479. } else {
  2480. _formdiv = new U.UF.UI.form(
  2481. "项目详情",
  2482. $$("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 }), {
  2483. "id": "studyDetailS",
  2484. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2485. "onresize": function() {}
  2486. }, {
  2487. closecallback: function() {}
  2488. }, { "style": { "height": "36px" } }).form; //创建窗体
  2489. _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); } }
  2490. break;
  2491. }
  2492. case "studyDetailGM":
  2493. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2494. setTimeout(() => {
  2495. U.MD.U.L.login();
  2496. }, 2000);
  2497. } else {
  2498. _formdiv = new U.UF.UI.form(
  2499. "课程详情",
  2500. $$("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 }), {
  2501. "id": "studyDetail",
  2502. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2503. "onresize": function() {}
  2504. }, {
  2505. closecallback: function() {}
  2506. }, { "style": { "height": "36px" } }).form; //创建窗体
  2507. _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); } }
  2508. break;
  2509. }
  2510. case "hanUrl":
  2511. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2512. setTimeout(() => {
  2513. U.MD.U.L.login();
  2514. }, 2000);
  2515. } else {
  2516. _formdiv = new U.UF.UI.form(
  2517. "汉字宫",
  2518. $$("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" }), {
  2519. "id": "hanUrl",
  2520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2521. "onresize": function() {}
  2522. }, {
  2523. closecallback: function() {}
  2524. }, { "style": { "height": "36px" } }).form; //创建窗体
  2525. _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); } }
  2526. break;
  2527. }
  2528. case "index":
  2529. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2530. setTimeout(() => {
  2531. U.MD.U.L.login();
  2532. }, 2000);
  2533. } else {
  2534. _formdiv = new U.UF.UI.form(
  2535. "课程中心",
  2536. $$("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 }), {
  2537. "id": "study",
  2538. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2539. "onresize": function() {}
  2540. }, {
  2541. closecallback: function() {}
  2542. }, { "style": { "height": "36px" } }).form; //创建窗体
  2543. _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); } }
  2544. break;
  2545. }
  2546. }
  2547. }
  2548. U.MD.D.I.openApplication = function(str, obj, info) {
  2549. obj = obj || {};
  2550. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2551. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2552. _userinfo = US.userInfo, //登录用户信息
  2553. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2554. _oid = obj.organizeid || _userinfo.organizeid,
  2555. _type = US.userInfo.type,
  2556. _org = US.userInfo.org,
  2557. _role = US.userInfo.role,
  2558. _classId = US.userInfo.classid,
  2559. _TscreenType = 1
  2560. _screenType = 2,
  2561. _SscreenType = 3;
  2562. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2563. return;
  2564. }
  2565. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2566. switch (str) {
  2567. case "studnetProject": //好友打开
  2568. _formdiv = new U.UF.UI.form(
  2569. "我的项目",
  2570. $$("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 }), {
  2571. "id": "studnetProject",
  2572. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2573. "onresize": function() {}
  2574. }, {
  2575. closecallback: function() {}
  2576. }, { "style": { "height": "36px" } }).form; //创建窗体
  2577. _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); } }
  2578. break;
  2579. case "studentEvaluate": //好友打开
  2580. _formdiv = new U.UF.UI.form(
  2581. "我的评价",
  2582. $$("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 }), {
  2583. "id": "studentEvaluate",
  2584. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2585. "onresize": function() {}
  2586. }, {
  2587. closecallback: function() {}
  2588. }, { "style": { "height": "36px" } }).form; //创建窗体
  2589. _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); } }
  2590. break;
  2591. case "my":
  2592. _formdiv = new U.UF.UI.form(
  2593. "我的资料",
  2594. $$("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 }), {
  2595. "id": "my",
  2596. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2597. "onresize": function() {}
  2598. }, {
  2599. closecallback: function() {}
  2600. }, { "style": { "height": "36px" } }).form; //创建窗体
  2601. _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); } }
  2602. break;
  2603. case "program":
  2604. _formdiv = new U.UF.UI.form(
  2605. "编程平台",
  2606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2607. "id": "program",
  2608. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2609. "onresize": function() {}
  2610. }, {
  2611. closecallback: function() {}
  2612. }, { "style": { "height": "36px" } }).form; //创建窗体
  2613. _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); } }
  2614. break;
  2615. case "library":
  2616. _formdiv = new U.UF.UI.form(
  2617. "素材库",
  2618. $$("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 }), {
  2619. "id": "library",
  2620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2621. "onresize": function() {}
  2622. }, {
  2623. closecallback: function() {}
  2624. }, { "style": { "height": "36px" } }).form; //创建窗体
  2625. _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); } }
  2626. break;
  2627. case "whiteboard":
  2628. _formdiv = new U.UF.UI.form(
  2629. "电子白板",
  2630. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2631. "id": "whiteboard",
  2632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2633. "onresize": function() {}
  2634. }, {
  2635. closecallback: function() {}
  2636. }, { "style": { "height": "36px" } }).form; //创建窗体
  2637. _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); } }
  2638. break;
  2639. case "investigation":
  2640. _formdiv = new U.UF.UI.form(
  2641. "问卷调查",
  2642. $$("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 }), {
  2643. "id": "investigation",
  2644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2645. "onresize": function() {}
  2646. }, {
  2647. closecallback: function() {}
  2648. }, { "style": { "height": "36px" } }).form; //创建窗体
  2649. _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); } }
  2650. break;
  2651. case "note":
  2652. _formdiv = new U.UF.UI.form(
  2653. "便签分类",
  2654. $$("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 }), {
  2655. "id": "note",
  2656. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2657. "onresize": function() {}
  2658. }, {
  2659. closecallback: function() {}
  2660. }, { "style": { "height": "36px" } }).form; //创建窗体
  2661. _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); } }
  2662. break;
  2663. // case "score":
  2664. // _formdiv = new U.UF.UI.form(
  2665. // "量规评分",
  2666. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2667. // "id": "score",
  2668. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2669. // "onresize": function() {}
  2670. // }, {
  2671. // closecallback: function() {}
  2672. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2673. // _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); } }
  2674. // break;
  2675. case "mind":
  2676. _formdiv = new U.UF.UI.form(
  2677. "思维导图",
  2678. $$("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"
  2679. "id": "mind",
  2680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2681. "onresize": function() {}
  2682. }, {
  2683. closecallback: function() {}
  2684. }, { "style": { "height": "36px" } }).form; //创建窗体
  2685. _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); } }
  2686. break;
  2687. case "doc":
  2688. // U.MD.D.I.isRoom();
  2689. _formdiv = new U.UF.UI.form(
  2690. "协同文档",
  2691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2692. "id": "doc",
  2693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2694. "onresize": function() {}
  2695. }, {
  2696. closecallback: function() {}
  2697. }, { "style": { "height": "36px" } }).form; //创建窗体
  2698. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2699. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2700. // })
  2701. _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); } }
  2702. break;
  2703. case "studentStudy":
  2704. _formdiv = new U.UF.UI.form(
  2705. "课程中心",
  2706. $$("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
  2707. "id": "studentStudy",
  2708. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2709. "onresize": function() {}
  2710. }, {
  2711. closecallback: function() {}
  2712. }, { "style": { "height": "36px" } }).form; //创建窗体
  2713. _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); } }
  2714. break;
  2715. case "train": //好友打开
  2716. _formdiv = new U.UF.UI.form(
  2717. "训练平台",
  2718. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2719. "id": "train",
  2720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2721. "onresize": function() {}
  2722. }, {
  2723. closecallback: function() {}
  2724. }, { "style": { "height": "36px" } }).form; //创建窗体
  2725. _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); } }
  2726. break;
  2727. case "mindNetwork": //好友打开
  2728. _formdiv = new U.UF.UI.form(
  2729. "思维网格",
  2730. $$("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 }), {
  2731. "id": "mindNetwork",
  2732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2733. "onresize": function() {}
  2734. }, {
  2735. closecallback: function() {}
  2736. }, { "style": { "height": "36px" } }).form; //创建窗体
  2737. _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); } }
  2738. break;
  2739. case "studentClassRoom": //好友打开
  2740. _formdiv = new U.UF.UI.form(
  2741. "实时课堂",
  2742. $$("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 }), {
  2743. "id": "studentClassRoom",
  2744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2745. "onresize": function() {}
  2746. }, {
  2747. closecallback: function() {}
  2748. }, { "style": { "height": "36px" } }).form; //创建窗体
  2749. _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); } }
  2750. setTimeout(() => {
  2751. U.UF.F.windowZooming(_formdiv)
  2752. }, 0);
  2753. break;
  2754. }
  2755. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2756. switch (str) {
  2757. case "studnetProject": //好友打开
  2758. _formdiv = new U.UF.UI.form(
  2759. "我的项目",
  2760. $$("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 }), {
  2761. "id": "studnetProject",
  2762. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2763. "onresize": function() {}
  2764. }, {
  2765. closecallback: function() {}
  2766. }, { "style": { "height": "36px" } }).form; //创建窗体
  2767. _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); } }
  2768. break;
  2769. case "studentEvaluate": //好友打开
  2770. _formdiv = new U.UF.UI.form(
  2771. "我的评价",
  2772. $$("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 }), {
  2773. "id": "studentEvaluate",
  2774. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2775. "onresize": function() {}
  2776. }, {
  2777. closecallback: function() {}
  2778. }, { "style": { "height": "36px" } }).form; //创建窗体
  2779. _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); } }
  2780. break;
  2781. case "my":
  2782. _formdiv = new U.UF.UI.form(
  2783. "我的资料",
  2784. $$("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 }), {
  2785. "id": "my",
  2786. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2787. "onresize": function() {}
  2788. }, {
  2789. closecallback: function() {}
  2790. }, { "style": { "height": "36px" } }).form; //创建窗体
  2791. _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); } }
  2792. break;
  2793. case "program":
  2794. _formdiv = new U.UF.UI.form(
  2795. "编程平台",
  2796. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2797. "id": "program",
  2798. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2799. "onresize": function() {}
  2800. }, {
  2801. closecallback: function() {}
  2802. }, { "style": { "height": "36px" } }).form; //创建窗体
  2803. _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); } }
  2804. break;
  2805. case "library":
  2806. _formdiv = new U.UF.UI.form(
  2807. "素材库",
  2808. $$("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 }), {
  2809. "id": "library",
  2810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2811. "onresize": function() {}
  2812. }, {
  2813. closecallback: function() {}
  2814. }, { "style": { "height": "36px" } }).form; //创建窗体
  2815. _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); } }
  2816. break;
  2817. case "whiteboard":
  2818. _formdiv = new U.UF.UI.form(
  2819. "电子白板",
  2820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2821. "id": "whiteboard",
  2822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2823. "onresize": function() {}
  2824. }, {
  2825. closecallback: function() {}
  2826. }, { "style": { "height": "36px" } }).form; //创建窗体
  2827. _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); } }
  2828. break;
  2829. case "investigation":
  2830. _formdiv = new U.UF.UI.form(
  2831. "问卷调查",
  2832. $$("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 }), {
  2833. "id": "investigation",
  2834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2835. "onresize": function() {}
  2836. }, {
  2837. closecallback: function() {}
  2838. }, { "style": { "height": "36px" } }).form; //创建窗体
  2839. _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); } }
  2840. break;
  2841. case "note":
  2842. _formdiv = new U.UF.UI.form(
  2843. "便签分类",
  2844. $$("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 }), {
  2845. "id": "note",
  2846. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2847. "onresize": function() {}
  2848. }, {
  2849. closecallback: function() {}
  2850. }, { "style": { "height": "36px" } }).form; //创建窗体
  2851. _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); } }
  2852. break;
  2853. // case "score":
  2854. // _formdiv = new U.UF.UI.form(
  2855. // "量规评分",
  2856. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2857. // "id": "score",
  2858. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2859. // "onresize": function() {}
  2860. // }, {
  2861. // closecallback: function() {}
  2862. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2863. // _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); } }
  2864. // break;
  2865. case "mind":
  2866. _formdiv = new U.UF.UI.form(
  2867. "思维导图",
  2868. $$("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"
  2869. "id": "mind",
  2870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2871. "onresize": function() {}
  2872. }, {
  2873. closecallback: function() {}
  2874. }, { "style": { "height": "36px" } }).form; //创建窗体
  2875. _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); } }
  2876. break;
  2877. case "doc":
  2878. // U.MD.D.I.isRoom();
  2879. _formdiv = new U.UF.UI.form(
  2880. "协同文档",
  2881. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2882. "id": "doc",
  2883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2884. "onresize": function() {}
  2885. }, {
  2886. closecallback: function() {}
  2887. }, { "style": { "height": "36px" } }).form; //创建窗体
  2888. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2889. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2890. })
  2891. _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); } }
  2892. break;
  2893. case "train": //好友打开
  2894. _formdiv = new U.UF.UI.form(
  2895. "训练平台",
  2896. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2897. "id": "train",
  2898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2899. "onresize": function() {}
  2900. }, {
  2901. closecallback: function() {}
  2902. }, { "style": { "height": "36px" } }).form; //创建窗体
  2903. _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); } }
  2904. break;
  2905. case "studentStudy":
  2906. _formdiv = new U.UF.UI.form(
  2907. "课程中心",
  2908. $$("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
  2909. "id": "studentStudy",
  2910. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2911. "onresize": function() {}
  2912. }, {
  2913. closecallback: function() {}
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _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); } }
  2916. break;
  2917. case "mindNetwork": //好友打开
  2918. _formdiv = new U.UF.UI.form(
  2919. "思维网格",
  2920. $$("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 }), {
  2921. "id": "mindNetwork",
  2922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function() {}
  2924. }, {
  2925. closecallback: function() {}
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. case "studentClassRoom": //好友打开
  2930. _formdiv = new U.UF.UI.form(
  2931. "实时课堂",
  2932. $$("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 }), {
  2933. "id": "studentClassRoom",
  2934. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2935. "onresize": function() {}
  2936. }, {
  2937. closecallback: function() {}
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. _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); } }
  2940. setTimeout(() => {
  2941. U.UF.F.windowZooming(_formdiv)
  2942. }, 0);
  2943. break;
  2944. }
  2945. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2946. //选择应用处理
  2947. switch (str) {
  2948. case "project": //好友打开
  2949. _formdiv = new U.UF.UI.form(
  2950. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2951. $$("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 }), {
  2952. "id": "project",
  2953. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function() {}
  2955. }, {
  2956. closecallback: function() {}
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "student":
  2961. _formdiv = new U.UF.UI.form(
  2962. "学生管理",
  2963. $$("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 }), {
  2964. "id": "student",
  2965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function() {}
  2967. }, {
  2968. closecallback: function() {}
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. case "evaluate":
  2973. _formdiv = new U.UF.UI.form(
  2974. "学生评价",
  2975. $$("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 }), {
  2976. "id": "evaluate",
  2977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function() {}
  2979. }, {
  2980. closecallback: function() {}
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "sys":
  2985. _formdiv = new U.UF.UI.form(
  2986. "目标管理",
  2987. $$("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 }), {
  2988. "id": "sys",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function() {}
  2991. }, {
  2992. closecallback: function() {}
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. case "courseDesign":
  2997. _formdiv = new U.UF.UI.form(
  2998. "项目设计",
  2999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3000. "id": "courseDesign",
  3001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function() {}
  3003. }, {
  3004. closecallback: function() {}
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _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); } }
  3007. break;
  3008. case "program":
  3009. _formdiv = new U.UF.UI.form(
  3010. "编程平台",
  3011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3012. "id": "program",
  3013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function() {}
  3015. }, {
  3016. closecallback: function() {}
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. case "class":
  3021. _formdiv = new U.UF.UI.form(
  3022. "班级管理",
  3023. $$("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 }), {
  3024. "id": "class",
  3025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function() {}
  3027. }, {
  3028. closecallback: function() {}
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. case "Grade":
  3033. _formdiv = new U.UF.UI.form(
  3034. "年级管理",
  3035. $$("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 }), {
  3036. "id": "Grade",
  3037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3038. "onresize": function() {}
  3039. }, {
  3040. closecallback: function() {}
  3041. }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. _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); } }
  3043. break;
  3044. case "teacherOffice":
  3045. _formdiv = new U.UF.UI.form(
  3046. "教研室",
  3047. $$("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 }), {
  3048. "id": "teacherOffice",
  3049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3050. "onresize": function() {}
  3051. }, {
  3052. closecallback: function() {}
  3053. }, { "style": { "height": "36px" } }).form; //创建窗体
  3054. _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); } }
  3055. break;
  3056. case "my":
  3057. _formdiv = new U.UF.UI.form(
  3058. "我的资料",
  3059. $$("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 }), {
  3060. "id": "my",
  3061. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3062. "onresize": function() {}
  3063. }, {
  3064. closecallback: function() {}
  3065. }, { "style": { "height": "36px" } }).form; //创建窗体
  3066. _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); } }
  3067. break;
  3068. case "notice":
  3069. _formdiv = new U.UF.UI.form(
  3070. "通知公告",
  3071. $$("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 }), {
  3072. "id": "notice",
  3073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3074. "onresize": function() {}
  3075. }, {
  3076. closecallback: function() {}
  3077. }, { "style": { "height": "36px" } }).form; //创建窗体
  3078. _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); } }
  3079. break;
  3080. case "library":
  3081. _formdiv = new U.UF.UI.form(
  3082. "素材库",
  3083. $$("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 }), {
  3084. "id": "library",
  3085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3086. "onresize": function() {}
  3087. }, {
  3088. closecallback: function() {}
  3089. }, { "style": { "height": "36px" } }).form; //创建窗体
  3090. _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); } }
  3091. break;
  3092. case "whiteboard":
  3093. _formdiv = new U.UF.UI.form(
  3094. "电子白板",
  3095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3096. "id": "whiteboard",
  3097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3098. "onresize": function() {}
  3099. }, {
  3100. closecallback: function() {}
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. case "investigation":
  3105. _formdiv = new U.UF.UI.form(
  3106. "问卷调查",
  3107. $$("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 }), {
  3108. "id": "investigation",
  3109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3110. "onresize": function() {}
  3111. }, {
  3112. closecallback: function() {}
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. break;
  3116. case "note":
  3117. _formdiv = new U.UF.UI.form(
  3118. "便签分类",
  3119. $$("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 }), {
  3120. "id": "note",
  3121. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3122. "onresize": function() {}
  3123. }, {
  3124. closecallback: function() {}
  3125. }, { "style": { "height": "36px" } }).form; //创建窗体
  3126. _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); } }
  3127. break;
  3128. // case "score":
  3129. // _formdiv = new U.UF.UI.form(
  3130. // "量规评分",
  3131. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3132. // "id": "score",
  3133. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3134. // "onresize": function() {}
  3135. // }, {
  3136. // closecallback: function() {}
  3137. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. // _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); } }
  3139. // break;
  3140. case "mind":
  3141. _formdiv = new U.UF.UI.form(
  3142. "思维导图",
  3143. $$("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"
  3144. "id": "mind",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function() {}
  3147. }, {
  3148. closecallback: function() {}
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _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); } }
  3151. break;
  3152. case "doc":
  3153. // U.MD.D.I.isRoom();
  3154. _formdiv = new U.UF.UI.form(
  3155. "协同文档",
  3156. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3157. "id": "doc",
  3158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3159. "onresize": function() {}
  3160. }, {
  3161. closecallback: function() {}
  3162. }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3164. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3165. })
  3166. _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); } }
  3167. break;
  3168. case "study":
  3169. _formdiv = new U.UF.UI.form(
  3170. "课程中心",
  3171. $$("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
  3172. "id": "study",
  3173. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3174. "onresize": function() {}
  3175. }, {
  3176. closecallback: function() {}
  3177. }, { "style": { "height": "36px" } }).form; //创建窗体
  3178. _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); } }
  3179. break;
  3180. case "mindNetwork": //好友打开
  3181. _formdiv = new U.UF.UI.form(
  3182. "思维网格",
  3183. $$("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 }), {
  3184. "id": "mindNetwork",
  3185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function() {}
  3187. }, {
  3188. closecallback: function() {}
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. _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); } }
  3191. break;
  3192. case "train": //好友打开
  3193. _formdiv = new U.UF.UI.form(
  3194. "训练平台",
  3195. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3196. "id": "mindNetwork",
  3197. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3198. "onresize": function() {}
  3199. }, {
  3200. closecallback: function() {}
  3201. }, { "style": { "height": "36px" } }).form; //创建窗体
  3202. _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); } }
  3203. break;
  3204. case "teacherClassRoom": //好友打开
  3205. _formdiv = new U.UF.UI.form(
  3206. "实时课堂",
  3207. $$("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 }), {
  3208. "id": "teacherClassRoom",
  3209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3210. "onresize": function() {}
  3211. }, {
  3212. closecallback: function() {}
  3213. }, { "style": { "height": "36px" } }).form; //创建窗体
  3214. _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); } }
  3215. setTimeout(() => {
  3216. U.UF.F.windowZooming(_formdiv)
  3217. }, 0);
  3218. break;
  3219. }
  3220. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3221. switch (str) {
  3222. case "project": //好友打开
  3223. _formdiv = new U.UF.UI.form(
  3224. "课程管理",
  3225. $$("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 }), {
  3226. "id": "project",
  3227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3228. "onresize": function() {}
  3229. }, {
  3230. closecallback: function() {}
  3231. }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. _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); } }
  3233. break;
  3234. case "evaluate":
  3235. _formdiv = new U.UF.UI.form(
  3236. "学生评价",
  3237. $$("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 }), {
  3238. "id": "evaluate",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function() {}
  3241. }, {
  3242. closecallback: function() {}
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. case "notice":
  3247. _formdiv = new U.UF.UI.form(
  3248. "通知公告",
  3249. $$("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 }), {
  3250. "id": "notice",
  3251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function() {}
  3253. }, {
  3254. closecallback: function() {}
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. _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); } }
  3257. break;
  3258. case "stuLibrary":
  3259. _formdiv = new U.UF.UI.form(
  3260. "学习资料",
  3261. $$("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 }), {
  3262. "id": "stuLibrary",
  3263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function() {}
  3265. }, {
  3266. closecallback: function() {}
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _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); } }
  3269. break;
  3270. case "program":
  3271. _formdiv = new U.UF.UI.form(
  3272. "编程平台",
  3273. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3274. "id": "program",
  3275. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3276. "onresize": function() {}
  3277. }, {
  3278. closecallback: function() {}
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _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); } }
  3281. break;
  3282. case "whiteboard":
  3283. _formdiv = new U.UF.UI.form(
  3284. "电子白板",
  3285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3286. "id": "whiteboard",
  3287. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function() {}
  3289. }, {
  3290. closecallback: function() {}
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _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); } }
  3293. break;
  3294. case "investigation":
  3295. _formdiv = new U.UF.UI.form(
  3296. "问卷调查",
  3297. $$("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 }), {
  3298. "id": "investigation",
  3299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function() {}
  3301. }, {
  3302. closecallback: function() {}
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _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); } }
  3305. break;
  3306. case "mind":
  3307. _formdiv = new U.UF.UI.form(
  3308. "思维导图",
  3309. $$("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"
  3310. "id": "mind",
  3311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function() {}
  3313. }, {
  3314. closecallback: function() {}
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _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); } }
  3317. break;
  3318. case "doc":
  3319. // U.MD.D.I.isRoom();
  3320. _formdiv = new U.UF.UI.form(
  3321. "协同文档",
  3322. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3323. "id": "doc",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function() {}
  3326. }, {
  3327. closecallback: function() {}
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3330. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3331. })
  3332. _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); } }
  3333. break;
  3334. case "study":
  3335. _formdiv = new U.UF.UI.form(
  3336. "课程中心",
  3337. $$("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
  3338. "id": "study",
  3339. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3340. "onresize": function() {}
  3341. }, {
  3342. closecallback: function() {}
  3343. }, { "style": { "height": "36px" } }).form; //创建窗体
  3344. _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); } }
  3345. break;
  3346. case "mindNetwork": //好友打开
  3347. _formdiv = new U.UF.UI.form(
  3348. "思维网格",
  3349. $$("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 }), {
  3350. "id": "mindNetwork",
  3351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. "onresize": function() {}
  3353. }, {
  3354. closecallback: function() {}
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. _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); } }
  3357. break;
  3358. case "train": //好友打开
  3359. _formdiv = new U.UF.UI.form(
  3360. "训练平台",
  3361. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3362. "id": "train",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function() {}
  3365. }, {
  3366. closecallback: function() {}
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "sys":
  3371. _formdiv = new U.UF.UI.form(
  3372. "目标管理",
  3373. $$("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 }), {
  3374. "id": "sys",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function() {}
  3377. }, {
  3378. closecallback: function() {}
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _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); } }
  3381. break;
  3382. case "courseDesign":
  3383. _formdiv = new U.UF.UI.form(
  3384. "项目设计",
  3385. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3386. "id": "courseDesign",
  3387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function() {}
  3389. }, {
  3390. closecallback: function() {}
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _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); } }
  3393. break;
  3394. }
  3395. } else if (!_type) {
  3396. switch (str) {
  3397. case "my":
  3398. _formdiv = new U.UF.UI.form(
  3399. "我的资料",
  3400. $$("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 }), {
  3401. "id": "my",
  3402. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function() {}
  3404. }, {
  3405. closecallback: function() {}
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. }
  3410. }
  3411. switch (str) {
  3412. // AIprogram2 AI体验 aihub.cocorobo.cn
  3413. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3414. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3415. case "formulaEdi": //公式编辑
  3416. _formdiv = new U.UF.UI.form(
  3417. "公式编辑",
  3418. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3419. "id": "formulaEdi",
  3420. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function() {}
  3422. }, {
  3423. closecallback: function() {}
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3426. break;
  3427. case "molStr": //分子结构
  3428. _formdiv = new U.UF.UI.form(
  3429. "分子结构",
  3430. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3431. "id": "molStr",
  3432. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3433. "onresize": function() {}
  3434. }, {
  3435. closecallback: function() {}
  3436. }, { "style": { "height": "36px" } }).form; //创建窗体
  3437. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3438. break;
  3439. case "timeAxis": //时间轴
  3440. _formdiv = new U.UF.UI.form(
  3441. "时间轴",
  3442. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3443. "id": "timeAxis",
  3444. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3445. "onresize": function() {}
  3446. }, {
  3447. closecallback: function() {}
  3448. }, { "style": { "height": "36px" } }).form; //创建窗体
  3449. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3450. break;
  3451. case "AIprogram2": //AI体验
  3452. _formdiv = new U.UF.UI.form(
  3453. "AI体验",
  3454. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3455. "id": "AIprogram2",
  3456. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3457. "onresize": function() {}
  3458. }, {
  3459. closecallback: function() {}
  3460. }, { "style": { "height": "36px" } }).form; //创建窗体
  3461. _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); } }
  3462. break;
  3463. case "Pythonprogram": //python编程
  3464. _formdiv = new U.UF.UI.form(
  3465. "Python编程",
  3466. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3467. "id": "Pythonprogram",
  3468. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3469. "onresize": function() {}
  3470. }, {
  3471. closecallback: function() {}
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. _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); } }
  3474. break;
  3475. case "AIprogram": //ai编程
  3476. _formdiv = new U.UF.UI.form(
  3477. "AI编程平台",
  3478. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3479. "id": "AIprogram",
  3480. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function() {}
  3482. }, {
  3483. closecallback: function() {}
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _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); } }
  3486. break;
  3487. case "CocoPi": //CocoPi
  3488. _formdiv = new U.UF.UI.form(
  3489. "CocoPi",
  3490. $$("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" }), {
  3491. "id": "CocoPi",
  3492. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function() {}
  3494. }, {
  3495. closecallback: function() {}
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. _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); } }
  3498. break;
  3499. case "Wood": //Wood
  3500. _formdiv = new U.UF.UI.form(
  3501. "海龟编程",
  3502. $$("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/" }), {
  3503. "id": "Wood",
  3504. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function() {}
  3506. }, {
  3507. closecallback: function() {}
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _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); } }
  3510. break;
  3511. case "car": //模拟驾驶
  3512. _formdiv = new U.UF.UI.form(
  3513. "模拟驾驶",
  3514. $$("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/" }), {
  3515. "id": "car",
  3516. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function() {}
  3518. }, {
  3519. closecallback: function() {}
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. case "lineSearch": //路径搜索
  3524. _formdiv = new U.UF.UI.form(
  3525. "路径搜索",
  3526. $$("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/" }), {
  3527. "id": "lineSearch",
  3528. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function() {}
  3530. }, {
  3531. closecallback: function() {}
  3532. }, { "style": { "height": "36px" } }).form; //创建窗体
  3533. _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); } }
  3534. break;
  3535. case "deepLearning": //深度学习
  3536. _formdiv = new U.UF.UI.form(
  3537. "深度学习",
  3538. $$("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/#" }), {
  3539. "id": "deepLearning",
  3540. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function() {}
  3542. }, {
  3543. closecallback: function() {}
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _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); } }
  3546. break;
  3547. case "allHistory": //深度学习
  3548. _formdiv = new U.UF.UI.form(
  3549. "全历史",
  3550. $$("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/" }), {
  3551. "id": "allHistory",
  3552. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function() {}
  3554. }, {
  3555. closecallback: function() {}
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _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); } }
  3558. break;
  3559. case "chatPDF": //ai编程
  3560. _formdiv = new U.UF.UI.form(
  3561. "chatPDF",
  3562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3563. "id": "chatPDF",
  3564. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function() {}
  3566. }, {
  3567. closecallback: function() {}
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "resources": //国家教育
  3572. _formdiv = new U.UF.UI.form(
  3573. "国家教育",
  3574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3575. "id": "resources",
  3576. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function() {}
  3578. }, {
  3579. closecallback: function() {}
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. break;
  3583. case "codeEdit": //源码编辑
  3584. _formdiv = new U.UF.UI.form(
  3585. "源码编辑",
  3586. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3587. "id": "codeEdit",
  3588. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function() {}
  3590. }, {
  3591. closecallback: function() {}
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _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); } }
  3594. break; //
  3595. case "MindMap": //MindMap
  3596. _formdiv = new U.UF.UI.form(
  3597. "MindMap",
  3598. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3599. "id": "MindMap",
  3600. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3601. "onresize": function() {}
  3602. }, {
  3603. closecallback: function() {}
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _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); } }
  3606. break;
  3607. case "netWorkPanel": //netWorkPanel
  3608. _formdiv = new U.UF.UI.form(
  3609. "netWorkPanel",
  3610. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3611. "id": "netWorkPanel",
  3612. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function() {}
  3614. }, {
  3615. closecallback: function() {}
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _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); } }
  3618. break;
  3619. case "GeoGebra": //GeoGebra
  3620. _formdiv = new U.UF.UI.form(
  3621. "GeoGebra",
  3622. $$("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" }), {
  3623. "id": "GeoGebra",
  3624. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function() {}
  3626. }, {
  3627. closecallback: function() {}
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. _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); } }
  3630. break;
  3631. case "translation": //翻译
  3632. _formdiv = new U.UF.UI.form(
  3633. "翻译",
  3634. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3635. "id": "translation",
  3636. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function() {}
  3638. }, {
  3639. closecallback: function() {}
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _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); } }
  3642. break;
  3643. case "mohe": //魔盒
  3644. _formdiv = new U.UF.UI.form(
  3645. "魔盒识字",
  3646. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3647. "id": "mohe",
  3648. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3649. "onresize": function() {}
  3650. }, {
  3651. closecallback: function() {}
  3652. }, { "style": { "height": "36px" } }).form; //创建窗体
  3653. _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); } }
  3654. break;
  3655. case "24game": //24点
  3656. _formdiv = new U.UF.UI.form(
  3657. "24点",
  3658. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3659. "id": "24game",
  3660. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3661. "onresize": function() {}
  3662. }, {
  3663. closecallback: function() {}
  3664. }, { "style": { "height": "36px" } }).form; //创建窗体
  3665. _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); } }
  3666. break;
  3667. case "case":
  3668. _formdiv = new U.UF.UI.form(
  3669. "课程进展",
  3670. $$("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 }), {
  3671. "id": "case",
  3672. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3673. "onresize": function() {}
  3674. }, {
  3675. closecallback: function() {}
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. _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); } }
  3678. break;
  3679. case "snf":
  3680. _formdiv = new U.UF.UI.form(
  3681. "赛诺梵",
  3682. $$("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" }), {
  3683. "id": "snf",
  3684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function() {}
  3686. }, {
  3687. closecallback: function() {}
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. _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); } }
  3690. break;
  3691. case "hanFamily":
  3692. _formdiv = new U.UF.UI.form(
  3693. "汉字家族",
  3694. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3695. "id": "hanFamily",
  3696. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function() {}
  3698. }, {
  3699. closecallback: function() {}
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _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); } }
  3702. break;
  3703. case "hanClassics":
  3704. _formdiv = new U.UF.UI.form(
  3705. "国学经典",
  3706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3707. "id": "hanClassics",
  3708. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function() {}
  3710. }, {
  3711. closecallback: function() {}
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _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); } }
  3714. break;
  3715. case "hanTraining":
  3716. _formdiv = new U.UF.UI.form(
  3717. "笔画训练",
  3718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3719. "id": "hanTraining",
  3720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function() {}
  3722. }, {
  3723. closecallback: function() {}
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _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); } }
  3726. break;
  3727. case "hanClass":
  3728. _formdiv = new U.UF.UI.form(
  3729. "书法课堂",
  3730. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3731. "id": "hanClass",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function() {}
  3734. }, {
  3735. closecallback: function() {}
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _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); } }
  3738. break;
  3739. case "han":
  3740. _formdiv = new U.UF.UI.form(
  3741. "汉字宫",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3743. "id": "han",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function() {}
  3746. }, {
  3747. closecallback: function() {}
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _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); } }
  3750. break;
  3751. case "projectGM": //课程管理
  3752. _formdiv = new U.UF.UI.form(
  3753. "课程管理",
  3754. $$("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 }), {
  3755. "id": "projectGM",
  3756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function() {}
  3758. }, {
  3759. closecallback: function() {}
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. case "studyGM": //课程中心
  3764. _formdiv = new U.UF.UI.form(
  3765. "课程中心",
  3766. $$("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
  3767. "id": "study",
  3768. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3774. break;
  3775. // studentGM
  3776. case "studentGM": //学生管理
  3777. _formdiv = new U.UF.UI.form(
  3778. "学生管理",
  3779. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3780. "id": "studentGM",
  3781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3782. "onresize": function() {}
  3783. }, {
  3784. closecallback: function() {}
  3785. }, { "style": { "height": "36px" } }).form; //创建窗体
  3786. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3787. break;
  3788. case "evaluateGM": //学生评价
  3789. _formdiv = new U.UF.UI.form(
  3790. "学生评价",
  3791. $$("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 }), {
  3792. "id": "evaluateGM",
  3793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3794. "onresize": function() {}
  3795. }, {
  3796. closecallback: function() {}
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _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); } }
  3799. break;
  3800. // classGM
  3801. case "classGM": //班级管理
  3802. _formdiv = new U.UF.UI.form(
  3803. "班级管理",
  3804. $$("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 }), {
  3805. "id": "classGM",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function() {}
  3808. }, {
  3809. closecallback: function() {}
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. // dataGM
  3814. case "dataGM":
  3815. _formdiv = new U.UF.UI.form(
  3816. "我的资料",
  3817. $$("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 }), {
  3818. "id": "dataGM",
  3819. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _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); } }
  3825. break;
  3826. // caseGM
  3827. case "caseGM": //课程进展
  3828. _formdiv = new U.UF.UI.form(
  3829. "课程进展",
  3830. $$("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 }), {
  3831. "id": "caseGM",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3838. break;
  3839. // meterialGM
  3840. case "meterialGM": //素材库
  3841. _formdiv = new U.UF.UI.form(
  3842. "素材库",
  3843. $$("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 }), {
  3844. "id": "meterialGM",
  3845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3846. "onresize": function() {}
  3847. }, {
  3848. closecallback: function() {}
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. _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); } }
  3851. break;
  3852. // evaluateSGM
  3853. case "evaluateSGM": //我的评价
  3854. _formdiv = new U.UF.UI.form(
  3855. "我的评价",
  3856. $$("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 }), {
  3857. "id": "evaluateSGM",
  3858. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function() {}
  3860. }, {
  3861. closecallback: function() {}
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _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); } }
  3864. break;
  3865. case "jupyter": //jupyter
  3866. _formdiv = new U.UF.UI.form(
  3867. "jupyter",
  3868. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3869. "id": "jupyter",
  3870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function() {}
  3872. }, {
  3873. closecallback: function() {}
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. case "number": //数字实验室
  3878. _formdiv = new U.UF.UI.form(
  3879. "数字实验室",
  3880. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3881. "id": "number",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function() {}
  3884. }, {
  3885. closecallback: function() {}
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. case "studentCourse": //项目管理 学生
  3890. _formdiv = new U.UF.UI.form(
  3891. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3892. $$("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 }), {
  3893. "id": "studentCourse",
  3894. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function() {}
  3896. }, {
  3897. closecallback: function() {}
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. break;
  3901. case "studentCourseS": //项目管理 老师
  3902. _formdiv = new U.UF.UI.form(
  3903. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3904. $$("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 }), {
  3905. "id": "studentCourseS",
  3906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function() {}
  3908. }, {
  3909. closecallback: function() {}
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. case "studentIndex": //项目中心
  3914. _formdiv = new U.UF.UI.form(
  3915. "项目中心",
  3916. $$("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 }), {
  3917. "id": "studentIndex",
  3918. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function() {}
  3920. }, {
  3921. closecallback: function() {}
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _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); } }
  3924. break;
  3925. case "CaseDesignS":
  3926. _formdiv = new U.UF.UI.form(
  3927. "项目进展",
  3928. $$("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 }), {
  3929. "id": "case",
  3930. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function() {}
  3932. }, {
  3933. closecallback: function() {}
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. case "tcStudent": //腾讯学生管理
  3938. _formdiv = new U.UF.UI.form(
  3939. "学生管理",
  3940. $$("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 }), {
  3941. "id": "tcStudent",
  3942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function() {}
  3944. }, {
  3945. closecallback: function() {}
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _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); } }
  3948. break;
  3949. case "tcSchool": //腾讯学校管理
  3950. _formdiv = new U.UF.UI.form(
  3951. "学校管理",
  3952. $$("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 }), {
  3953. "id": "tcSchool",
  3954. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function() {}
  3956. }, {
  3957. closecallback: function() {}
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. case "tcTeacher": //腾讯学校管理
  3962. _formdiv = new U.UF.UI.form(
  3963. "教师管理",
  3964. $$("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 }), {
  3965. "id": "tcTeacher",
  3966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function() {}
  3968. }, {
  3969. closecallback: function() {}
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "tcData": //腾讯我的资料
  3974. _formdiv = new U.UF.UI.form(
  3975. "我的资料",
  3976. $$("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 }), {
  3977. "id": "tcData",
  3978. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function() {}
  3980. }, {
  3981. closecallback: function() {}
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "tcNotice": //腾讯消息通知
  3986. _formdiv = new U.UF.UI.form(
  3987. "消息通知",
  3988. $$("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 }), {
  3989. "id": "tcNotice",
  3990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function() {}
  3992. }, {
  3993. closecallback: function() {}
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _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); } }
  3996. break;
  3997. case "myReport": //好友打开
  3998. _formdiv = new U.UF.UI.form(
  3999. "我的评价",
  4000. $$("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 }), {
  4001. "id": "myReport",
  4002. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4003. "onresize": function() {}
  4004. }, {
  4005. closecallback: function() {}
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _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); } }
  4008. break;
  4009. case "learnAna": //好友打开
  4010. _formdiv = new U.UF.UI.form(
  4011. "学习分析",
  4012. $$("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 }), {
  4013. "id": "learnAna",
  4014. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4015. "onresize": function() {}
  4016. }, {
  4017. closecallback: function() {}
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _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); } }
  4020. break;
  4021. case "AIChat": //AI共创
  4022. _formdiv = new U.UF.UI.form(
  4023. "AI共创",
  4024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4025. "id": "AIChat",
  4026. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4027. "onresize": function() {}
  4028. }, {
  4029. istop: true,
  4030. closecallback: function() { $("#aichat_icon").remove(); },
  4031. narrowcallback: function() {
  4032. if (!$("#aichat_icon")[0]) {
  4033. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4034. }
  4035. },
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "ainew": //AI共创
  4040. _formdiv = new U.UF.UI.form(
  4041. "AI协同",
  4042. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4043. "id": "ainew",
  4044. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4045. "onresize": function() {}
  4046. }, {
  4047. closecallback: function() {}
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "futureClass": //AI共创
  4052. _formdiv = new U.UF.UI.form(
  4053. "知识建构",
  4054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4055. "id": "futureClass",
  4056. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4057. "onresize": function() {}
  4058. }, {
  4059. closecallback: function() {}
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "dataBoard": //数据看板
  4064. _formdiv = new U.UF.UI.form(
  4065. "数据看板",
  4066. $$("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 }), {
  4067. "id": "dataBoard",
  4068. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4069. "onresize": function() {}
  4070. }, {
  4071. closecallback: function() {}
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "AIAnalyse": //AI共创
  4076. _formdiv = new U.UF.UI.form(
  4077. "AI分析",
  4078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4079. "id": "AIAnalyse",
  4080. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4081. "onresize": function() {}
  4082. }, {
  4083. closecallback: function() {}
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break;
  4087. case "studioCourse": //AI共创
  4088. _formdiv = new U.UF.UI.form(
  4089. "工作管理",
  4090. $$("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 }), {
  4091. "id": "studioCourse",
  4092. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4093. "onresize": function() {}
  4094. }, {
  4095. closecallback: function() {}
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "studioIndex": //AI共创
  4100. _formdiv = new U.UF.UI.form(
  4101. "工作中心",
  4102. $$("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 }), {
  4103. "id": "studioIndex",
  4104. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4105. "onresize": function() {}
  4106. }, {
  4107. closecallback: function() {}
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "source":
  4112. _formdiv = new U.UF.UI.form(
  4113. "教学资源",
  4114. $$("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 }), {
  4115. "id": "source",
  4116. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4117. "onresize": function() {}
  4118. }, {
  4119. closecallback: function() {}
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. }
  4124. //U.MD.D.I.openClick(str);
  4125. //如果有任务栏信息
  4126. if (_taskbar) {
  4127. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4128. }
  4129. }
  4130. // U.MD.D.I.openClick = function(str){
  4131. // var click = '';
  4132. // switch(str){
  4133. // case 'friend':
  4134. // click = '我的好友';
  4135. // break;
  4136. // case 'domain':
  4137. // click = '域名管理';
  4138. // break;
  4139. // case 'disk':
  4140. // click = '我的云盘';
  4141. // break;
  4142. // case 'word':
  4143. // click = 'Word';
  4144. // break;
  4145. // case 'excel':
  4146. // click = 'Execl';
  4147. // break;
  4148. // case 'txt':
  4149. // click = '文本文件';
  4150. // break;
  4151. // case 'lookupFriend':
  4152. // click = '查找好友';
  4153. // break;
  4154. // case 'ftp':
  4155. // click = 'FTP';
  4156. // break;
  4157. // case 'group':
  4158. // click = '群组';
  4159. // break;
  4160. // case 'set':
  4161. // click = '我的设置';
  4162. // break;
  4163. // case 'systemSet':
  4164. // click = '系统设置';
  4165. // break;
  4166. // case 'boomYun':
  4167. // click = '互联办公';
  4168. // break;
  4169. // case 'xz':
  4170. // click = '云端下载';
  4171. // break;
  4172. // case 'client':
  4173. // click = '有思浏览器';
  4174. // break;
  4175. // case 'backEndProgramming':
  4176. // click = '在线后台编程';
  4177. // break;
  4178. // case 'frontEndProgramming':
  4179. // click = '在线前端编程';
  4180. // break;
  4181. // default: break;
  4182. // }
  4183. // if(U.MD.D.I.Ip && click){
  4184. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4185. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4186. // })
  4187. // }
  4188. // }
  4189. /**
  4190. *函数作用:ajax简易函数,使用post格式
  4191. *@param url {data} 后台地址
  4192. *@param data {data} 参数json
  4193. *@param fn {data} 回调函数
  4194. *
  4195. */
  4196. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4197. // var xhr = new XMLHttpRequest();
  4198. // xhr.open("GET",url,true);
  4199. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4200. // xhr.onreadystatechange = function(){
  4201. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4202. // fn.call(this,xhr.responseText);
  4203. // }
  4204. // };
  4205. // xhr.send();
  4206. // }
  4207. /*判断是否是内网IP*/
  4208. // U.MD.D.I.isInnerIPFn = function(str){
  4209. // var curPageUrl = str;
  4210. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4211. // curPageUrl =curPageUrl.replace(reg1,'');
  4212. // // console.log('curPageUrl-1 '+curPageUrl);
  4213. // var reg2 = /\:+/g;//替换冒号为一点
  4214. // curPageUrl =curPageUrl.replace(reg2,'.');
  4215. // // console.log('curPageUrl-2 '+curPageUrl);
  4216. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4217. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4218. // if(curPageUrl[2] != '16'){
  4219. // return ipAddress;
  4220. // }else{
  4221. // return false;
  4222. // }
  4223. // }
  4224. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4225. // //compatibility for firefox and chrome
  4226. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4227. // var pc = new myPeerConnection({
  4228. // iceServers: []
  4229. // }),
  4230. // noop = function() {},
  4231. // localIPs = {},
  4232. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4233. // key;
  4234. // function iterateIP(ip) {
  4235. // if (!localIPs[ip]) onNewIP(ip);
  4236. // localIPs[ip] = true;
  4237. // }
  4238. // //create a bogus data channel
  4239. // pc.createDataChannel("");
  4240. // // create offer and set local description
  4241. // pc.createOffer().then(function(sdp) {
  4242. // sdp.sdp.split('\n').forEach(function(line) {
  4243. // if (line.indexOf('candidate') < 0) return;
  4244. // line.match(ipRegex).forEach(iterateIP);
  4245. // });
  4246. // pc.setLocalDescription(sdp, noop, noop);
  4247. // }).catch(function(reason) {
  4248. // // An error occurred, so handle the failure to connect
  4249. // });
  4250. // //sten for candidate events
  4251. // pc.onicecandidate = function(ice) {
  4252. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4253. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4254. // };
  4255. // }
  4256. // U.MD.D.I.getUserIpBool = function(callback){
  4257. // U.MD.D.I.getUserIP(function(ip){
  4258. // alert("Got IP! :" + ip);
  4259. // });
  4260. //}
  4261. //#endregion
  4262. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4263. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4264. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4265. _userinfo = US.userInfo, //登录用户信息
  4266. _userid = US.userInfo.userid //登录用户id
  4267. let _iframe;
  4268. let _cid = cid,
  4269. _stage = stage,
  4270. _task = task,
  4271. _tool = tool;
  4272. var _jie = $$("div", {
  4273. "style": {
  4274. "position": "absolute",
  4275. "bottom": "50px",
  4276. "right": "50px",
  4277. "zIndex": "9999",
  4278. "backgroundColor": "#2268bc",
  4279. "color": "#fff",
  4280. "padding": "12px 20px",
  4281. "cursor": "pointer",
  4282. "borderRadius": "4px",
  4283. },
  4284. "innerHTML": "提交作业"
  4285. })
  4286. let aTool = ''
  4287. let _loading = document.createElement('div')
  4288. _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;"
  4289. // _loading.id = "";
  4290. let _lchild = document.createElement('div')
  4291. let _limg = document.createElement('img')
  4292. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4293. _limg.style = "width: 26px;margin-right: 10px;"
  4294. _lchild.appendChild(_limg)
  4295. let _lspan = document.createElement('span')
  4296. _lspan.innerHTML = "上传中..."
  4297. _lchild.appendChild(_lspan)
  4298. _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%);"
  4299. _loading.appendChild(_lchild)
  4300. var _box = $$('div', {
  4301. "style": {
  4302. "position": "relative",
  4303. "width": "100%",
  4304. "height": "100%",
  4305. },
  4306. })
  4307. _box.appendChild(_loading)
  4308. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4309. switch (str) {
  4310. case "whiteboard":
  4311. aTool = 1;
  4312. _iframe = $$("iframe", {
  4313. "frameborder": "no",
  4314. "border": "0",
  4315. "scrolling ": "no",
  4316. "style": {
  4317. "cssText": "border:0;width:100%;height:100%"
  4318. },
  4319. "src": "https://iwb.cocorobo.cn/"
  4320. })
  4321. _box.appendChild(_iframe);
  4322. _box.appendChild(_jie);
  4323. _formdiv = new U.UF.UI.form(
  4324. "电子白板",
  4325. _box, {
  4326. "id": "whiteboard" + cid + stage + task + tool,
  4327. "style": {
  4328. "width": "90%",
  4329. "height": "90%",
  4330. "overflow": 'hidden'
  4331. },
  4332. "onresize": function() {}
  4333. }, {
  4334. closecallback: function() {}
  4335. }, {
  4336. "style": {
  4337. "height": "36px"
  4338. }
  4339. }).form; //创建窗体
  4340. _taskbar = {
  4341. "id": str + _formdiv.id,
  4342. "style": {
  4343. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4344. },
  4345. "name": "电子白板",
  4346. "forms": _formdiv,
  4347. "click": function() {
  4348. U.MD.D.I.openApplication(str, obj, info);
  4349. }
  4350. }
  4351. break;
  4352. case "mind":
  4353. aTool = 3;
  4354. _iframe = $$("iframe", {
  4355. "frameborder": "no",
  4356. "border": "0",
  4357. "scrolling ": "no",
  4358. "style": {
  4359. "cssText": "border:0;width:100%;height:100%"
  4360. },
  4361. "src": "/kityminder-editor/dist/index.html"
  4362. })
  4363. _box.appendChild(_iframe);
  4364. _box.appendChild(_jie);
  4365. _formdiv = new U.UF.UI.form(
  4366. "思维导图",
  4367. _box, { //"/jsmind/example/demo.html"
  4368. "id": "mind" + cid + stage + task + tool,
  4369. "style": {
  4370. "width": "90%",
  4371. "height": "90%",
  4372. "overflow": 'hidden'
  4373. },
  4374. "onresize": function() {}
  4375. }, {
  4376. closecallback: function() {}
  4377. }, {
  4378. "style": {
  4379. "height": "36px"
  4380. }
  4381. }).form; //创建窗体
  4382. _taskbar = {
  4383. "id": str + _formdiv.id,
  4384. "style": {
  4385. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4386. },
  4387. "name": "思维导图",
  4388. "forms": _formdiv,
  4389. "click": function() {
  4390. U.MD.D.I.openApplication(str, obj, info);
  4391. }
  4392. }
  4393. break;
  4394. case "MindMap":
  4395. aTool = 3;
  4396. _iframe = $$("iframe", {
  4397. "frameborder": "no",
  4398. "border": "0",
  4399. "scrolling ": "no",
  4400. "style": {
  4401. "cssText": "border:0;width:100%;height:100%"
  4402. },
  4403. "src": "//cloud.cocorobo.cn/mind/"
  4404. })
  4405. _box.appendChild(_iframe);
  4406. _box.appendChild(_jie);
  4407. _formdiv = new U.UF.UI.form(
  4408. "思维导图",
  4409. _box, { //"/jsmind/example/demo.html"
  4410. "id": "mind" + cid + stage + task + tool,
  4411. "style": {
  4412. "width": "90%",
  4413. "height": "90%",
  4414. "overflow": 'hidden'
  4415. },
  4416. "onresize": function() {}
  4417. }, {
  4418. closecallback: function() {}
  4419. }, {
  4420. "style": {
  4421. "height": "36px"
  4422. }
  4423. }).form; //创建窗体
  4424. _taskbar = {
  4425. "id": str + _formdiv.id,
  4426. "style": {
  4427. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4428. },
  4429. "name": "思维导图",
  4430. "forms": _formdiv,
  4431. "click": function() {
  4432. U.MD.D.I.openApplication(str, obj, info);
  4433. }
  4434. }
  4435. break;
  4436. case "doc":
  4437. aTool = 6;
  4438. _iframe = $$("iframe", {
  4439. "frameborder": "no",
  4440. "border": "0",
  4441. "scrolling ": "no",
  4442. "style": {
  4443. "cssText": "border:0;width:100%;height:100%"
  4444. },
  4445. "src": "/Office/Word/WordEditArea.htm"
  4446. })
  4447. _box.appendChild(_iframe);
  4448. _box.appendChild(_jie);
  4449. _formdiv = new U.UF.UI.form(
  4450. "协同文档",
  4451. _box, {
  4452. "id": "doc" + cid + stage + task + tool,
  4453. "style": {
  4454. "width": "90%",
  4455. "height": "90%",
  4456. "overflow": 'hidden'
  4457. },
  4458. "onresize": function() {}
  4459. }, {
  4460. closecallback: function() {}
  4461. }, {
  4462. "style": {
  4463. "height": "36px"
  4464. }
  4465. }).form; //创建窗体
  4466. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4467. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4468. })
  4469. _taskbar = {
  4470. "id": str + _formdiv.id,
  4471. "style": {
  4472. "backgroundImage": "url(/img/icon/doc.png)"
  4473. },
  4474. "name": "协同文档",
  4475. "forms": _formdiv,
  4476. "click": function() {
  4477. U.MD.D.I.openApplication(str, obj, info);
  4478. }
  4479. }
  4480. break;
  4481. case "mindNetwork": //好友打开
  4482. aTool = 7;
  4483. _iframe = $$("iframe", {
  4484. "webkitallowfullscreen": "",
  4485. "mozallowfullscreen": "",
  4486. "allowfullscreen": "",
  4487. "frameborder": "no",
  4488. "border": "0",
  4489. "scrolling ": "no",
  4490. "style": {
  4491. "cssText": "border:0; width:100%; height:100%;"
  4492. },
  4493. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4494. })
  4495. _box.appendChild(_iframe);
  4496. _box.appendChild(_jie);
  4497. _formdiv = new U.UF.UI.form(
  4498. "思维网格",
  4499. _box, {
  4500. "id": "mindNetwork" + cid + stage + task + tool,
  4501. "style": {
  4502. "width": "90%",
  4503. "height": "90%",
  4504. "overflow": 'hidden'
  4505. },
  4506. "onresize": function() {}
  4507. }, {
  4508. closecallback: function() {}
  4509. }, {
  4510. "style": {
  4511. "height": "36px"
  4512. }
  4513. }).form; //创建窗体
  4514. _taskbar = {
  4515. "id": str + _formdiv.id,
  4516. "style": {
  4517. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4518. },
  4519. "name": "思维网格",
  4520. "forms": _formdiv,
  4521. "click": function() {
  4522. U.MD.D.I.openApplication(str, obj, info);
  4523. }
  4524. }
  4525. break;
  4526. case "courseDesign":
  4527. _iframe = $$("iframe", {
  4528. "webkitallowfullscreen": "",
  4529. "mozallowfullscreen": "",
  4530. "allowfullscreen": "",
  4531. "frameborder": "no",
  4532. "border": "0",
  4533. "scrolling ": "no",
  4534. "style": {
  4535. "cssText": "border:0; width:100%; height:100%;"
  4536. },
  4537. "src": "/course-design-vue"
  4538. })
  4539. _box.appendChild(_iframe);
  4540. _box.appendChild(_jie);
  4541. _formdiv = new U.UF.UI.form(
  4542. "项目设计",
  4543. _box, {
  4544. "id": "courseDesign" + cid + stage + task + tool,
  4545. "style": {
  4546. "width": "90%",
  4547. "height": "90%",
  4548. "overflow": 'hidden'
  4549. },
  4550. "onresize": function() {}
  4551. }, {
  4552. closecallback: function() {}
  4553. }, {
  4554. "style": {
  4555. "height": "36px"
  4556. }
  4557. }).form; //创建窗体
  4558. _taskbar = {
  4559. "id": str + _formdiv.id,
  4560. "style": {
  4561. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4562. },
  4563. "name": "项目设计",
  4564. "forms": _formdiv,
  4565. "click": function() {
  4566. U.MD.D.I.openApplication(str, obj, info);
  4567. }
  4568. }
  4569. break;
  4570. }
  4571. const script1 = document.createElement("script");
  4572. script1.type = "text/javascript";
  4573. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4574. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4575. const script2 = document.createElement("script");
  4576. script2.type = "text/javascript";
  4577. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4578. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4579. const script3 = document.createElement("script");
  4580. script3.type = "text/javascript";
  4581. script3.charset = "UTF-8";
  4582. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4583. const script4 = document.createElement("script");
  4584. script4.type = "text/javascript";
  4585. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4586. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4587. if (_iframe) {
  4588. if (str == 'doc') {
  4589. _iframe = _formdiv.querySelector('iframe')
  4590. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4591. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4592. _iframe.contentWindow.document.body.appendChild(script1);
  4593. _iframe.contentWindow.document.body.appendChild(script2);
  4594. // _iframe.contentWindow.document.body.appendChild(script3);
  4595. _iframe.contentWindow.document.body.appendChild(script4);
  4596. })
  4597. if (onloadListener) {
  4598. _iframe.contentDocument.location.reload()
  4599. } else {
  4600. _iframe.contentDocument.location.reload()
  4601. }
  4602. } else if (str == 'courseDesign') {
  4603. U.UF.DL.iframeLoad(_iframe, function() {
  4604. // _iframe.contentWindow.U.MD.O.W.load();
  4605. // _iframe.contentWindow.document.body.appendChild(script1);
  4606. _iframe.contentWindow.document.body.appendChild(script2);
  4607. _iframe.contentWindow.document.body.appendChild(script4);
  4608. })
  4609. } else if (str == 'mind') {
  4610. _iframe = _formdiv.querySelector('iframe')
  4611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4612. //
  4613. _iframe.contentWindow.document.body.appendChild(script1);
  4614. _iframe.contentWindow.document.body.appendChild(script2);
  4615. _iframe.contentWindow.document.body.appendChild(script4);
  4616. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4617. })
  4618. if (onloadListener) {
  4619. _iframe.contentDocument.location.reload()
  4620. } else {
  4621. _iframe.contentDocument.location.reload()
  4622. }
  4623. } else if (str == 'whiteboard') {
  4624. _iframe = _formdiv.querySelector('iframe')
  4625. let onloadListener = _iframe.onload = () => {
  4626. _iframe.contentWindow.document.body.appendChild(script1);
  4627. _iframe.contentWindow.document.body.appendChild(script2);
  4628. _iframe.contentWindow.document.body.appendChild(script4);
  4629. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4630. };
  4631. if (onloadListener) {
  4632. _iframe.contentDocument.location.reload()
  4633. } else {
  4634. _iframe.contentDocument.location.reload()
  4635. }
  4636. } else {
  4637. _iframe.onload = () => {
  4638. _iframe.contentWindow.document.body.appendChild(script1);
  4639. _iframe.contentWindow.document.body.appendChild(script2);
  4640. // _iframe.contentWindow.document.body.appendChild(script3);
  4641. _iframe.contentWindow.document.body.appendChild(script4);
  4642. };
  4643. }
  4644. _jie.onclick = async() => {
  4645. let text = ''
  4646. if (aTool == 1) {
  4647. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4648. } else if (aTool == 6) {
  4649. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4650. } else if (aTool == 3) {
  4651. text = await U.MD.D.I.getEditorContent(_iframe);
  4652. }
  4653. _loading.style.display = 'flex'
  4654. console.log(_loading);
  4655. var _ajs = _iframe.contentWindow.document.createElement("script");
  4656. _ajs.type = "text/javascript";
  4657. _ajs.innerHTML =
  4658. // 'console.log(' + _loading + ');\n' +
  4659. 'var _js = document.createElement("script");\n' +
  4660. '_js.type="text/javascript";\n' +
  4661. '_js.charset="UTF-8";\n' +
  4662. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4663. "_js.onload = function(){\n" +
  4664. ' var a = document.getElementsByTagName("img")\n' +
  4665. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4666. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4667. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4668. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4669. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4670. "beforeUpload_shishi(file," +
  4671. "'" +
  4672. _userid +
  4673. "'" +
  4674. ", " +
  4675. "'" +
  4676. _cid +
  4677. "'" +
  4678. ", " +
  4679. "'" +
  4680. _stage +
  4681. "'" +
  4682. ", " +
  4683. "'" +
  4684. _task +
  4685. "'" +
  4686. ", " +
  4687. "'" +
  4688. _tool +
  4689. "'" +
  4690. ", " +
  4691. "'" +
  4692. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4693. "'" +
  4694. ", " +
  4695. "'" +
  4696. aTool +
  4697. "'" +
  4698. ", " +
  4699. "`" +
  4700. text +
  4701. "`" +
  4702. ")\n" +
  4703. " });\n" +
  4704. "}\n" +
  4705. "document.head.appendChild(_js);\n";
  4706. _iframe.contentWindow.document.head.appendChild(_ajs);
  4707. }
  4708. }
  4709. //U.MD.D.I.openClick(str);
  4710. //如果有任务栏信息
  4711. // if (_taskbar) {
  4712. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4713. // }
  4714. }
  4715. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4716. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4717. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4718. _userinfo = US.userInfo, //登录用户信息
  4719. _userid = US.userInfo.userid //登录用户id
  4720. let _iframe;
  4721. let _cid = cid,
  4722. _stage = stage,
  4723. _task = task,
  4724. _tool = tool;
  4725. var _jie = $$("div", {
  4726. "style": {
  4727. "position": "absolute",
  4728. "bottom": "50px",
  4729. "right": "50px",
  4730. "zIndex": "9999",
  4731. "backgroundColor": "#2268bc",
  4732. "color": "#fff",
  4733. "padding": "12px 20px",
  4734. "cursor": "pointer",
  4735. "borderRadius": "4px",
  4736. },
  4737. "innerHTML": "提交作业"
  4738. })
  4739. let aTool = ''
  4740. let _loading = document.createElement('div')
  4741. _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;"
  4742. // _loading.id = "";
  4743. let _lchild = document.createElement('div')
  4744. let _limg = document.createElement('img')
  4745. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4746. _limg.style = "width: 26px;margin-right: 10px;"
  4747. _lchild.appendChild(_limg)
  4748. let _lspan = document.createElement('span')
  4749. _lspan.innerHTML = "上传中..."
  4750. _lchild.appendChild(_lspan)
  4751. _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%);"
  4752. _loading.appendChild(_lchild)
  4753. var _box = $$('div', {
  4754. "style": {
  4755. "position": "relative",
  4756. "width": "100%",
  4757. "height": "100%",
  4758. },
  4759. })
  4760. _box.appendChild(_loading)
  4761. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4762. switch (str) {
  4763. case "whiteboard":
  4764. aTool = 1;
  4765. _iframe = $$("iframe", {
  4766. "frameborder": "no",
  4767. "border": "0",
  4768. "scrolling ": "no",
  4769. "style": {
  4770. "cssText": "border:0;width:100%;height:100%"
  4771. },
  4772. "src": "https://iwb.cocorobo.cn/"
  4773. })
  4774. _box.appendChild(_iframe);
  4775. _box.appendChild(_jie);
  4776. _formdiv = new U.UF.UI.form(
  4777. "电子白板",
  4778. _box, {
  4779. "id": "whiteboard" + cid + stage + task + tool,
  4780. "style": {
  4781. "width": "90%",
  4782. "height": "90%",
  4783. "overflow": 'hidden'
  4784. },
  4785. "onresize": function() {}
  4786. }, {
  4787. closecallback: function() {}
  4788. }, {
  4789. "style": {
  4790. "height": "36px"
  4791. }
  4792. }).form; //创建窗体
  4793. _taskbar = {
  4794. "id": str + _formdiv.id,
  4795. "style": {
  4796. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4797. },
  4798. "name": "电子白板",
  4799. "forms": _formdiv,
  4800. "click": function() {
  4801. U.MD.D.I.openApplication(str, obj, info);
  4802. }
  4803. }
  4804. break;
  4805. case "mind":
  4806. aTool = 3;
  4807. _iframe = $$("iframe", {
  4808. "frameborder": "no",
  4809. "border": "0",
  4810. "scrolling ": "no",
  4811. "style": {
  4812. "cssText": "border:0;width:100%;height:100%"
  4813. },
  4814. "src": "/kityminder-editor/dist/index.html"
  4815. })
  4816. _box.appendChild(_iframe);
  4817. _box.appendChild(_jie);
  4818. _formdiv = new U.UF.UI.form(
  4819. "思维导图",
  4820. _box, { //"/jsmind/example/demo.html"
  4821. "id": "mind" + cid + stage + task + tool,
  4822. "style": {
  4823. "width": "90%",
  4824. "height": "90%",
  4825. "overflow": 'hidden'
  4826. },
  4827. "onresize": function() {}
  4828. }, {
  4829. closecallback: function() {}
  4830. }, {
  4831. "style": {
  4832. "height": "36px"
  4833. }
  4834. }).form; //创建窗体
  4835. _taskbar = {
  4836. "id": str + _formdiv.id,
  4837. "style": {
  4838. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4839. },
  4840. "name": "思维导图",
  4841. "forms": _formdiv,
  4842. "click": function() {
  4843. U.MD.D.I.openApplication(str, obj, info);
  4844. }
  4845. }
  4846. break;
  4847. case "MindMap":
  4848. aTool = 3;
  4849. _iframe = $$("iframe", {
  4850. "frameborder": "no",
  4851. "border": "0",
  4852. "scrolling ": "no",
  4853. "style": {
  4854. "cssText": "border:0;width:100%;height:100%"
  4855. },
  4856. "src": "//cloud.cocorobo.cn/mind/"
  4857. })
  4858. _box.appendChild(_iframe);
  4859. _box.appendChild(_jie);
  4860. _formdiv = new U.UF.UI.form(
  4861. "思维导图",
  4862. _box, { //"/jsmind/example/demo.html"
  4863. "id": "mind" + cid + stage + task + tool,
  4864. "style": {
  4865. "width": "90%",
  4866. "height": "90%",
  4867. "overflow": 'hidden'
  4868. },
  4869. "onresize": function() {}
  4870. }, {
  4871. closecallback: function() {}
  4872. }, {
  4873. "style": {
  4874. "height": "36px"
  4875. }
  4876. }).form; //创建窗体
  4877. _taskbar = {
  4878. "id": str + _formdiv.id,
  4879. "style": {
  4880. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4881. },
  4882. "name": "思维导图",
  4883. "forms": _formdiv,
  4884. "click": function() {
  4885. U.MD.D.I.openApplication(str, obj, info);
  4886. }
  4887. }
  4888. break;
  4889. case "doc":
  4890. aTool = 6;
  4891. _iframe = $$("iframe", {
  4892. "frameborder": "no",
  4893. "border": "0",
  4894. "scrolling ": "no",
  4895. "style": {
  4896. "cssText": "border:0;width:100%;height:100%"
  4897. },
  4898. "src": "/Office/Word/WordEditArea.htm"
  4899. })
  4900. _box.appendChild(_iframe);
  4901. _box.appendChild(_jie);
  4902. _formdiv = new U.UF.UI.form(
  4903. "协同文档",
  4904. _box, {
  4905. "id": "doc" + cid + stage + task + tool,
  4906. "style": {
  4907. "width": "90%",
  4908. "height": "90%",
  4909. "overflow": 'hidden'
  4910. },
  4911. "onresize": function() {}
  4912. }, {
  4913. closecallback: function() {}
  4914. }, {
  4915. "style": {
  4916. "height": "36px"
  4917. }
  4918. }).form; //创建窗体
  4919. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4920. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4921. })
  4922. _taskbar = {
  4923. "id": str + _formdiv.id,
  4924. "style": {
  4925. "backgroundImage": "url(/img/icon/doc.png)"
  4926. },
  4927. "name": "协同文档",
  4928. "forms": _formdiv,
  4929. "click": function() {
  4930. U.MD.D.I.openApplication(str, obj, info);
  4931. }
  4932. }
  4933. break;
  4934. case "mindNetwork": //好友打开
  4935. aTool = 7;
  4936. _iframe = $$("iframe", {
  4937. "webkitallowfullscreen": "",
  4938. "mozallowfullscreen": "",
  4939. "allowfullscreen": "",
  4940. "frameborder": "no",
  4941. "border": "0",
  4942. "scrolling ": "no",
  4943. "style": {
  4944. "cssText": "border:0; width:100%; height:100%;"
  4945. },
  4946. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4947. })
  4948. _box.appendChild(_iframe);
  4949. _box.appendChild(_jie);
  4950. _formdiv = new U.UF.UI.form(
  4951. "思维网格",
  4952. _box, {
  4953. "id": "mindNetwork" + cid + stage + task + tool,
  4954. "style": {
  4955. "width": "90%",
  4956. "height": "90%",
  4957. "overflow": 'hidden'
  4958. },
  4959. "onresize": function() {}
  4960. }, {
  4961. closecallback: function() {}
  4962. }, {
  4963. "style": {
  4964. "height": "36px"
  4965. }
  4966. }).form; //创建窗体
  4967. _taskbar = {
  4968. "id": str + _formdiv.id,
  4969. "style": {
  4970. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4971. },
  4972. "name": "思维网格",
  4973. "forms": _formdiv,
  4974. "click": function() {
  4975. U.MD.D.I.openApplication(str, obj, info);
  4976. }
  4977. }
  4978. break;
  4979. case "courseDesign":
  4980. _iframe = $$("iframe", {
  4981. "webkitallowfullscreen": "",
  4982. "mozallowfullscreen": "",
  4983. "allowfullscreen": "",
  4984. "frameborder": "no",
  4985. "border": "0",
  4986. "scrolling ": "no",
  4987. "style": {
  4988. "cssText": "border:0; width:100%; height:100%;"
  4989. },
  4990. "src": "/course-design-vue"
  4991. })
  4992. _box.appendChild(_iframe);
  4993. _box.appendChild(_jie);
  4994. _formdiv = new U.UF.UI.form(
  4995. "项目设计",
  4996. _box, {
  4997. "id": "courseDesign" + cid + stage + task + tool,
  4998. "style": {
  4999. "width": "90%",
  5000. "height": "90%",
  5001. "overflow": 'hidden'
  5002. },
  5003. "onresize": function() {}
  5004. }, {
  5005. closecallback: function() {}
  5006. }, {
  5007. "style": {
  5008. "height": "36px"
  5009. }
  5010. }).form; //创建窗体
  5011. _taskbar = {
  5012. "id": str + _formdiv.id,
  5013. "style": {
  5014. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5015. },
  5016. "name": "项目设计",
  5017. "forms": _formdiv,
  5018. "click": function() {
  5019. U.MD.D.I.openApplication(str, obj, info);
  5020. }
  5021. }
  5022. break;
  5023. }
  5024. const script1 = document.createElement("script");
  5025. script1.type = "text/javascript";
  5026. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5027. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5028. const script2 = document.createElement("script");
  5029. script2.type = "text/javascript";
  5030. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5031. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5032. const script3 = document.createElement("script");
  5033. script3.type = "text/javascript";
  5034. script3.charset = "UTF-8";
  5035. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5036. const script4 = document.createElement("script");
  5037. script4.type = "text/javascript";
  5038. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5039. script4.src = window.origin + "/js/Common/jietu2E.js";
  5040. if (_iframe) {
  5041. if (str == 'doc') {
  5042. _iframe = _formdiv.querySelector('iframe')
  5043. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5044. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5045. _iframe.contentWindow.document.body.appendChild(script1);
  5046. _iframe.contentWindow.document.body.appendChild(script2);
  5047. // _iframe.contentWindow.document.body.appendChild(script3);
  5048. _iframe.contentWindow.document.body.appendChild(script4);
  5049. })
  5050. if (onloadListener) {
  5051. _iframe.contentDocument.location.reload()
  5052. } else {
  5053. _iframe.contentDocument.location.reload()
  5054. }
  5055. } else if (str == 'courseDesign') {
  5056. U.UF.DL.iframeLoad(_iframe, function() {
  5057. // _iframe.contentWindow.U.MD.O.W.load();
  5058. // _iframe.contentWindow.document.body.appendChild(script1);
  5059. _iframe.contentWindow.document.body.appendChild(script2);
  5060. _iframe.contentWindow.document.body.appendChild(script4);
  5061. })
  5062. } else if (str == 'mind') {
  5063. _iframe = _formdiv.querySelector('iframe')
  5064. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5065. //
  5066. _iframe.contentWindow.document.body.appendChild(script1);
  5067. _iframe.contentWindow.document.body.appendChild(script2);
  5068. _iframe.contentWindow.document.body.appendChild(script4);
  5069. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5070. })
  5071. if (onloadListener) {
  5072. _iframe.contentDocument.location.reload()
  5073. } else {
  5074. _iframe.contentDocument.location.reload()
  5075. }
  5076. } else if (str == 'whiteboard') {
  5077. _iframe = _formdiv.querySelector('iframe')
  5078. let onloadListener = _iframe.onload = () => {
  5079. _iframe.contentWindow.document.body.appendChild(script1);
  5080. _iframe.contentWindow.document.body.appendChild(script2);
  5081. _iframe.contentWindow.document.body.appendChild(script4);
  5082. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5083. };
  5084. if (onloadListener) {
  5085. _iframe.contentDocument.location.reload()
  5086. } else {
  5087. _iframe.contentDocument.location.reload()
  5088. }
  5089. } else {
  5090. _iframe.onload = () => {
  5091. _iframe.contentWindow.document.body.appendChild(script1);
  5092. _iframe.contentWindow.document.body.appendChild(script2);
  5093. // _iframe.contentWindow.document.body.appendChild(script3);
  5094. _iframe.contentWindow.document.body.appendChild(script4);
  5095. };
  5096. }
  5097. _jie.onclick = async() => {
  5098. let text = ''
  5099. if (aTool == 1) {
  5100. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5101. } else if (aTool == 6) {
  5102. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5103. } else if (aTool == 3) {
  5104. text = await U.MD.D.I.getEditorContent(_iframe);
  5105. }
  5106. _loading.style.display = 'flex'
  5107. console.log(_loading);
  5108. var _ajs = _iframe.contentWindow.document.createElement("script");
  5109. _ajs.type = "text/javascript";
  5110. _ajs.innerHTML =
  5111. // 'console.log(' + _loading + ');\n' +
  5112. 'var _js = document.createElement("script");\n' +
  5113. '_js.type="text/javascript";\n' +
  5114. '_js.charset="UTF-8";\n' +
  5115. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5116. "_js.onload = function(){\n" +
  5117. ' var a = document.getElementsByTagName("img")\n' +
  5118. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5119. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5120. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5121. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5122. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5123. "beforeUpload_shishi(file," +
  5124. "'" +
  5125. _userid +
  5126. "'" +
  5127. ", " +
  5128. "'" +
  5129. _cid +
  5130. "'" +
  5131. ", " +
  5132. "'" +
  5133. _stage +
  5134. "'" +
  5135. ", " +
  5136. "'" +
  5137. _task +
  5138. "'" +
  5139. ", " +
  5140. "'" +
  5141. _tool +
  5142. "'" +
  5143. ", " +
  5144. "'" +
  5145. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5146. "'" +
  5147. ", " +
  5148. "'" +
  5149. aTool +
  5150. "'" +
  5151. ", " +
  5152. "`" +
  5153. text +
  5154. "`" +
  5155. ")\n" +
  5156. " });\n" +
  5157. "}\n" +
  5158. "document.head.appendChild(_js);\n";
  5159. _iframe.contentWindow.document.head.appendChild(_ajs);
  5160. }
  5161. }
  5162. //U.MD.D.I.openClick(str);
  5163. //如果有任务栏信息
  5164. // if (_taskbar) {
  5165. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5166. // }
  5167. }
  5168. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5169. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5170. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5171. _userid = student.userid, //登录用户id
  5172. _username = student.student //用户名字
  5173. let _iframe;
  5174. let _cid = cid,
  5175. _stage = stage,
  5176. _task = task,
  5177. _tool = tool;
  5178. var _jie = $$("div", {
  5179. "style": {
  5180. "position": "absolute",
  5181. "bottom": "50px",
  5182. "right": "50px",
  5183. "zIndex": "9999",
  5184. "backgroundColor": "#2268bc",
  5185. "color": "#fff",
  5186. "padding": "12px 20px",
  5187. "cursor": "pointer",
  5188. "borderRadius": "4px",
  5189. },
  5190. "innerHTML": "提交作业"
  5191. })
  5192. let aTool = ''
  5193. let _loading = document.createElement('div')
  5194. _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;"
  5195. // _loading.id = "";
  5196. let _lchild = document.createElement('div')
  5197. let _limg = document.createElement('img')
  5198. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5199. _limg.style = "width: 26px;margin-right: 10px;"
  5200. _lchild.appendChild(_limg)
  5201. let _lspan = document.createElement('span')
  5202. _lspan.innerHTML = "上传中..."
  5203. _lchild.appendChild(_lspan)
  5204. _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%);"
  5205. _loading.appendChild(_lchild)
  5206. var _box = $$('div', {
  5207. "style": {
  5208. "position": "relative",
  5209. "width": "100%",
  5210. "height": "100%",
  5211. },
  5212. })
  5213. _box.appendChild(_loading)
  5214. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5215. switch (str) {
  5216. case "whiteboard":
  5217. aTool = 1;
  5218. _iframe = $$("iframe", {
  5219. "frameborder": "no",
  5220. "border": "0",
  5221. "scrolling ": "no",
  5222. "style": {
  5223. "cssText": "border:0;width:100%;height:100%"
  5224. },
  5225. "src": "https://iwb.cocorobo.cn/"
  5226. })
  5227. _box.appendChild(_iframe);
  5228. _box.appendChild(_jie);
  5229. _formdiv = new U.UF.UI.form(
  5230. "电子白板-" + _username,
  5231. _box, {
  5232. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5233. "style": {
  5234. "width": "90%",
  5235. "height": "90%",
  5236. "overflow": 'hidden'
  5237. },
  5238. "onresize": function() {}
  5239. }, {
  5240. closecallback: function() {}
  5241. }, {
  5242. "style": {
  5243. "height": "36px"
  5244. }
  5245. }).form; //创建窗体
  5246. _taskbar = {
  5247. "id": str + _formdiv.id,
  5248. "style": {
  5249. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5250. },
  5251. "name": "电子白板",
  5252. "forms": _formdiv,
  5253. "click": function() {
  5254. U.MD.D.I.openApplication(str, obj, info);
  5255. }
  5256. }
  5257. break;
  5258. case "mind":
  5259. aTool = 3;
  5260. _iframe = $$("iframe", {
  5261. "frameborder": "no",
  5262. "border": "0",
  5263. "scrolling ": "no",
  5264. "style": {
  5265. "cssText": "border:0;width:100%;height:100%"
  5266. },
  5267. "src": "/kityminder-editor/dist/index.html"
  5268. })
  5269. _box.appendChild(_iframe);
  5270. _box.appendChild(_jie);
  5271. _formdiv = new U.UF.UI.form(
  5272. "思维导图-" + _username,
  5273. _box, { //"/jsmind/example/demo.html"
  5274. "id": "mind" + cid + stage + task + tool + _userid,
  5275. "style": {
  5276. "width": "90%",
  5277. "height": "90%",
  5278. "overflow": 'hidden'
  5279. },
  5280. "onresize": function() {}
  5281. }, {
  5282. closecallback: function() {}
  5283. }, {
  5284. "style": {
  5285. "height": "36px"
  5286. }
  5287. }).form; //创建窗体
  5288. _taskbar = {
  5289. "id": str + _formdiv.id,
  5290. "style": {
  5291. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5292. },
  5293. "name": "思维导图",
  5294. "forms": _formdiv,
  5295. "click": function() {
  5296. U.MD.D.I.openApplication(str, obj, info);
  5297. }
  5298. }
  5299. break;
  5300. case "MindMap":
  5301. aTool = 3;
  5302. _iframe = $$("iframe", {
  5303. "frameborder": "no",
  5304. "border": "0",
  5305. "scrolling ": "no",
  5306. "style": {
  5307. "cssText": "border:0;width:100%;height:100%"
  5308. },
  5309. "src": "//cloud.cocorobo.cn/mind/"
  5310. })
  5311. _box.appendChild(_iframe);
  5312. _box.appendChild(_jie);
  5313. _formdiv = new U.UF.UI.form(
  5314. "思维导图-" + _username,
  5315. _box, { //"/jsmind/example/demo.html"
  5316. "id": "mind" + cid + stage + task + tool + _userid,
  5317. "style": {
  5318. "width": "90%",
  5319. "height": "90%",
  5320. "overflow": 'hidden'
  5321. },
  5322. "onresize": function() {}
  5323. }, {
  5324. closecallback: function() {}
  5325. }, {
  5326. "style": {
  5327. "height": "36px"
  5328. }
  5329. }).form; //创建窗体
  5330. _taskbar = {
  5331. "id": str + _formdiv.id,
  5332. "style": {
  5333. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5334. },
  5335. "name": "思维导图",
  5336. "forms": _formdiv,
  5337. "click": function() {
  5338. U.MD.D.I.openApplication(str, obj, info);
  5339. }
  5340. }
  5341. break;
  5342. case "doc":
  5343. aTool = 6;
  5344. _iframe = $$("iframe", {
  5345. "frameborder": "no",
  5346. "border": "0",
  5347. "scrolling ": "no",
  5348. "style": {
  5349. "cssText": "border:0;width:100%;height:100%"
  5350. },
  5351. "src": "/Office/Word/WordEditArea.htm"
  5352. })
  5353. _box.appendChild(_iframe);
  5354. _box.appendChild(_jie);
  5355. _formdiv = new U.UF.UI.form(
  5356. "协同文档-" + _username,
  5357. _box, {
  5358. "id": "doc" + cid + stage + task + tool + _userid,
  5359. "style": {
  5360. "width": "90%",
  5361. "height": "90%",
  5362. "overflow": 'hidden'
  5363. },
  5364. "onresize": function() {}
  5365. }, {
  5366. closecallback: function() {}
  5367. }, {
  5368. "style": {
  5369. "height": "36px"
  5370. }
  5371. }).form; //创建窗体
  5372. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5373. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5374. })
  5375. _taskbar = {
  5376. "id": str + _formdiv.id,
  5377. "style": {
  5378. "backgroundImage": "url(/img/icon/doc.png)"
  5379. },
  5380. "name": "协同文档",
  5381. "forms": _formdiv,
  5382. "click": function() {
  5383. U.MD.D.I.openApplication(str, obj, info);
  5384. }
  5385. }
  5386. break;
  5387. case "mindNetwork": //好友打开
  5388. aTool = 7;
  5389. _iframe = $$("iframe", {
  5390. "webkitallowfullscreen": "",
  5391. "mozallowfullscreen": "",
  5392. "allowfullscreen": "",
  5393. "frameborder": "no",
  5394. "border": "0",
  5395. "scrolling ": "no",
  5396. "style": {
  5397. "cssText": "border:0; width:100%; height:100%;"
  5398. },
  5399. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5400. })
  5401. _box.appendChild(_iframe);
  5402. _box.appendChild(_jie);
  5403. _formdiv = new U.UF.UI.form(
  5404. "思维网格-" + _username,
  5405. _box, {
  5406. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5407. "style": {
  5408. "width": "90%",
  5409. "height": "90%",
  5410. "overflow": 'hidden'
  5411. },
  5412. "onresize": function() {}
  5413. }, {
  5414. closecallback: function() {}
  5415. }, {
  5416. "style": {
  5417. "height": "36px"
  5418. }
  5419. }).form; //创建窗体
  5420. _taskbar = {
  5421. "id": str + _formdiv.id,
  5422. "style": {
  5423. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5424. },
  5425. "name": "思维网格",
  5426. "forms": _formdiv,
  5427. "click": function() {
  5428. U.MD.D.I.openApplication(str, obj, info);
  5429. }
  5430. }
  5431. break;
  5432. case "courseDesign":
  5433. _iframe = $$("iframe", {
  5434. "webkitallowfullscreen": "",
  5435. "mozallowfullscreen": "",
  5436. "allowfullscreen": "",
  5437. "frameborder": "no",
  5438. "border": "0",
  5439. "scrolling ": "no",
  5440. "style": {
  5441. "cssText": "border:0; width:100%; height:100%;"
  5442. },
  5443. "src": "/course-design-vue"
  5444. })
  5445. _box.appendChild(_iframe);
  5446. _box.appendChild(_jie);
  5447. _formdiv = new U.UF.UI.form(
  5448. "项目设计-" + _username,
  5449. _box, {
  5450. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5451. "style": {
  5452. "width": "90%",
  5453. "height": "90%",
  5454. "overflow": 'hidden'
  5455. },
  5456. "onresize": function() {}
  5457. }, {
  5458. closecallback: function() {}
  5459. }, {
  5460. "style": {
  5461. "height": "36px"
  5462. }
  5463. }).form; //创建窗体
  5464. _taskbar = {
  5465. "id": str + _formdiv.id,
  5466. "style": {
  5467. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5468. },
  5469. "name": "项目设计",
  5470. "forms": _formdiv,
  5471. "click": function() {
  5472. U.MD.D.I.openApplication(str, obj, info);
  5473. }
  5474. }
  5475. break;
  5476. }
  5477. const script1 = document.createElement("script");
  5478. script1.type = "text/javascript";
  5479. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5480. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5481. const script2 = document.createElement("script");
  5482. script2.type = "text/javascript";
  5483. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5484. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5485. const script3 = document.createElement("script");
  5486. script3.type = "text/javascript";
  5487. script3.charset = "UTF-8";
  5488. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5489. const script4 = document.createElement("script");
  5490. script4.type = "text/javascript";
  5491. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5492. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5493. if (_iframe) {
  5494. if (str == 'doc') {
  5495. _iframe = _formdiv.querySelector('iframe')
  5496. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5497. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5498. _iframe.contentWindow.document.body.appendChild(script1);
  5499. _iframe.contentWindow.document.body.appendChild(script2);
  5500. // _iframe.contentWindow.document.body.appendChild(script3);
  5501. _iframe.contentWindow.document.body.appendChild(script4);
  5502. })
  5503. if (onloadListener) {
  5504. _iframe.contentDocument.location.reload()
  5505. } else {
  5506. _iframe.contentDocument.location.reload()
  5507. }
  5508. } else if (str == 'courseDesign') {
  5509. U.UF.DL.iframeLoad(_iframe, function() {
  5510. // _iframe.contentWindow.U.MD.O.W.load();
  5511. // _iframe.contentWindow.document.body.appendChild(script1);
  5512. _iframe.contentWindow.document.body.appendChild(script2);
  5513. _iframe.contentWindow.document.body.appendChild(script4);
  5514. })
  5515. } else if (str == 'mind') {
  5516. _iframe = _formdiv.querySelector('iframe')
  5517. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5518. //
  5519. _iframe.contentWindow.document.body.appendChild(script1);
  5520. _iframe.contentWindow.document.body.appendChild(script2);
  5521. _iframe.contentWindow.document.body.appendChild(script4);
  5522. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5523. })
  5524. if (onloadListener) {
  5525. _iframe.contentDocument.location.reload()
  5526. } else {
  5527. _iframe.contentDocument.location.reload()
  5528. }
  5529. } else if (str == 'whiteboard') {
  5530. _iframe = _formdiv.querySelector('iframe')
  5531. let onloadListener = _iframe.onload = () => {
  5532. _iframe.contentWindow.document.body.appendChild(script1);
  5533. _iframe.contentWindow.document.body.appendChild(script2);
  5534. _iframe.contentWindow.document.body.appendChild(script4);
  5535. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5536. };
  5537. if (onloadListener) {
  5538. _iframe.contentDocument.location.reload()
  5539. } else {
  5540. _iframe.contentDocument.location.reload()
  5541. }
  5542. } else {
  5543. _iframe.onload = () => {
  5544. _iframe.contentWindow.document.body.appendChild(script1);
  5545. _iframe.contentWindow.document.body.appendChild(script2);
  5546. // _iframe.contentWindow.document.body.appendChild(script3);
  5547. _iframe.contentWindow.document.body.appendChild(script4);
  5548. };
  5549. }
  5550. _jie.onclick = async() => {
  5551. let text = ''
  5552. if (aTool == 1) {
  5553. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5554. } else if (aTool == 6) {
  5555. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5556. } else if (aTool == 3) {
  5557. text = await U.MD.D.I.getEditorContent(_iframe);
  5558. }
  5559. _loading.style.display = 'flex'
  5560. console.log(_loading);
  5561. var _ajs = _iframe.contentWindow.document.createElement("script");
  5562. _ajs.type = "text/javascript";
  5563. _ajs.innerHTML =
  5564. // 'console.log(' + _loading + ');\n' +
  5565. 'var _js = document.createElement("script");\n' +
  5566. '_js.type="text/javascript";\n' +
  5567. '_js.charset="UTF-8";\n' +
  5568. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5569. "_js.onload = function(){\n" +
  5570. ' var a = document.getElementsByTagName("img")\n' +
  5571. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5572. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5573. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5574. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5575. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5576. "beforeUpload_shishi(file," +
  5577. "'" +
  5578. _userid +
  5579. "'" +
  5580. ", " +
  5581. "'" +
  5582. _cid +
  5583. "'" +
  5584. ", " +
  5585. "'" +
  5586. _stage +
  5587. "'" +
  5588. ", " +
  5589. "'" +
  5590. _task +
  5591. "'" +
  5592. ", " +
  5593. "'" +
  5594. _tool +
  5595. "'" +
  5596. ", " +
  5597. "'" +
  5598. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5599. "'" +
  5600. ", " +
  5601. "'" +
  5602. aTool +
  5603. "'" +
  5604. ", " +
  5605. "`" +
  5606. text +
  5607. "`" +
  5608. ")\n" +
  5609. " });\n" +
  5610. "}\n" +
  5611. "document.head.appendChild(_js);\n";
  5612. _iframe.contentWindow.document.head.appendChild(_ajs);
  5613. }
  5614. }
  5615. }
  5616. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5617. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5618. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5619. _userid = student.userid, //登录用户id
  5620. _username = student.student //用户名字
  5621. let _iframe;
  5622. let _cid = cid,
  5623. _stage = stage,
  5624. _task = task,
  5625. _tool = tool;
  5626. var _jie = $$("div", {
  5627. "style": {
  5628. "position": "absolute",
  5629. "bottom": "50px",
  5630. "right": "50px",
  5631. "zIndex": "9999",
  5632. "backgroundColor": "#2268bc",
  5633. "color": "#fff",
  5634. "padding": "12px 20px",
  5635. "cursor": "pointer",
  5636. "borderRadius": "4px",
  5637. },
  5638. "innerHTML": "提交作业"
  5639. })
  5640. let aTool = ''
  5641. let _loading = document.createElement('div')
  5642. _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;"
  5643. // _loading.id = "";
  5644. let _lchild = document.createElement('div')
  5645. let _limg = document.createElement('img')
  5646. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5647. _limg.style = "width: 26px;margin-right: 10px;"
  5648. _lchild.appendChild(_limg)
  5649. let _lspan = document.createElement('span')
  5650. _lspan.innerHTML = "上传中..."
  5651. _lchild.appendChild(_lspan)
  5652. _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%);"
  5653. _loading.appendChild(_lchild)
  5654. var _box = $$('div', {
  5655. "style": {
  5656. "position": "relative",
  5657. "width": "100%",
  5658. "height": "100%",
  5659. },
  5660. })
  5661. _box.appendChild(_loading)
  5662. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5663. switch (str) {
  5664. case "whiteboard":
  5665. aTool = 1;
  5666. _iframe = $$("iframe", {
  5667. "frameborder": "no",
  5668. "border": "0",
  5669. "scrolling ": "no",
  5670. "style": {
  5671. "cssText": "border:0;width:100%;height:100%"
  5672. },
  5673. "src": "https://iwb.cocorobo.cn/"
  5674. })
  5675. _box.appendChild(_iframe);
  5676. _box.appendChild(_jie);
  5677. _formdiv = new U.UF.UI.form(
  5678. "电子白板-" + _username,
  5679. _box, {
  5680. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5681. "style": {
  5682. "width": "90%",
  5683. "height": "90%",
  5684. "overflow": 'hidden'
  5685. },
  5686. "onresize": function() {}
  5687. }, {
  5688. closecallback: function() {}
  5689. }, {
  5690. "style": {
  5691. "height": "36px"
  5692. }
  5693. }).form; //创建窗体
  5694. _taskbar = {
  5695. "id": str + _formdiv.id,
  5696. "style": {
  5697. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5698. },
  5699. "name": "电子白板",
  5700. "forms": _formdiv,
  5701. "click": function() {
  5702. U.MD.D.I.openApplication(str, obj, info);
  5703. }
  5704. }
  5705. break;
  5706. case "mind":
  5707. aTool = 3;
  5708. _iframe = $$("iframe", {
  5709. "frameborder": "no",
  5710. "border": "0",
  5711. "scrolling ": "no",
  5712. "style": {
  5713. "cssText": "border:0;width:100%;height:100%"
  5714. },
  5715. "src": "/kityminder-editor/dist/index.html"
  5716. })
  5717. _box.appendChild(_iframe);
  5718. _box.appendChild(_jie);
  5719. _formdiv = new U.UF.UI.form(
  5720. "思维导图-" + _username,
  5721. _box, { //"/jsmind/example/demo.html"
  5722. "id": "mind" + cid + stage + task + tool + _userid,
  5723. "style": {
  5724. "width": "90%",
  5725. "height": "90%",
  5726. "overflow": 'hidden'
  5727. },
  5728. "onresize": function() {}
  5729. }, {
  5730. closecallback: function() {}
  5731. }, {
  5732. "style": {
  5733. "height": "36px"
  5734. }
  5735. }).form; //创建窗体
  5736. _taskbar = {
  5737. "id": str + _formdiv.id,
  5738. "style": {
  5739. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5740. },
  5741. "name": "思维导图",
  5742. "forms": _formdiv,
  5743. "click": function() {
  5744. U.MD.D.I.openApplication(str, obj, info);
  5745. }
  5746. }
  5747. break;
  5748. case "MindMap":
  5749. aTool = 3;
  5750. _iframe = $$("iframe", {
  5751. "frameborder": "no",
  5752. "border": "0",
  5753. "scrolling ": "no",
  5754. "style": {
  5755. "cssText": "border:0;width:100%;height:100%"
  5756. },
  5757. "src": "//cloud.cocorobo.cn/mind/"
  5758. })
  5759. _box.appendChild(_iframe);
  5760. _box.appendChild(_jie);
  5761. _formdiv = new U.UF.UI.form(
  5762. "思维导图-" + _username,
  5763. _box, { //"/jsmind/example/demo.html"
  5764. "id": "mind" + cid + stage + task + tool + _userid,
  5765. "style": {
  5766. "width": "90%",
  5767. "height": "90%",
  5768. "overflow": 'hidden'
  5769. },
  5770. "onresize": function() {}
  5771. }, {
  5772. closecallback: function() {}
  5773. }, {
  5774. "style": {
  5775. "height": "36px"
  5776. }
  5777. }).form; //创建窗体
  5778. _taskbar = {
  5779. "id": str + _formdiv.id,
  5780. "style": {
  5781. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5782. },
  5783. "name": "思维导图",
  5784. "forms": _formdiv,
  5785. "click": function() {
  5786. U.MD.D.I.openApplication(str, obj, info);
  5787. }
  5788. }
  5789. break;
  5790. case "doc":
  5791. aTool = 6;
  5792. _iframe = $$("iframe", {
  5793. "frameborder": "no",
  5794. "border": "0",
  5795. "scrolling ": "no",
  5796. "style": {
  5797. "cssText": "border:0;width:100%;height:100%"
  5798. },
  5799. "src": "/Office/Word/WordEditArea.htm"
  5800. })
  5801. _box.appendChild(_iframe);
  5802. _box.appendChild(_jie);
  5803. _formdiv = new U.UF.UI.form(
  5804. "协同文档-" + _username,
  5805. _box, {
  5806. "id": "doc" + cid + stage + task + tool + _userid,
  5807. "style": {
  5808. "width": "90%",
  5809. "height": "90%",
  5810. "overflow": 'hidden'
  5811. },
  5812. "onresize": function() {}
  5813. }, {
  5814. closecallback: function() {}
  5815. }, {
  5816. "style": {
  5817. "height": "36px"
  5818. }
  5819. }).form; //创建窗体
  5820. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5821. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5822. })
  5823. _taskbar = {
  5824. "id": str + _formdiv.id,
  5825. "style": {
  5826. "backgroundImage": "url(/img/icon/doc.png)"
  5827. },
  5828. "name": "协同文档",
  5829. "forms": _formdiv,
  5830. "click": function() {
  5831. U.MD.D.I.openApplication(str, obj, info);
  5832. }
  5833. }
  5834. break;
  5835. case "mindNetwork": //好友打开
  5836. aTool = 7;
  5837. _iframe = $$("iframe", {
  5838. "webkitallowfullscreen": "",
  5839. "mozallowfullscreen": "",
  5840. "allowfullscreen": "",
  5841. "frameborder": "no",
  5842. "border": "0",
  5843. "scrolling ": "no",
  5844. "style": {
  5845. "cssText": "border:0; width:100%; height:100%;"
  5846. },
  5847. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5848. })
  5849. _box.appendChild(_iframe);
  5850. _box.appendChild(_jie);
  5851. _formdiv = new U.UF.UI.form(
  5852. "思维网格-" + _username,
  5853. _box, {
  5854. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5855. "style": {
  5856. "width": "90%",
  5857. "height": "90%",
  5858. "overflow": 'hidden'
  5859. },
  5860. "onresize": function() {}
  5861. }, {
  5862. closecallback: function() {}
  5863. }, {
  5864. "style": {
  5865. "height": "36px"
  5866. }
  5867. }).form; //创建窗体
  5868. _taskbar = {
  5869. "id": str + _formdiv.id,
  5870. "style": {
  5871. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5872. },
  5873. "name": "思维网格",
  5874. "forms": _formdiv,
  5875. "click": function() {
  5876. U.MD.D.I.openApplication(str, obj, info);
  5877. }
  5878. }
  5879. break;
  5880. case "courseDesign":
  5881. _iframe = $$("iframe", {
  5882. "webkitallowfullscreen": "",
  5883. "mozallowfullscreen": "",
  5884. "allowfullscreen": "",
  5885. "frameborder": "no",
  5886. "border": "0",
  5887. "scrolling ": "no",
  5888. "style": {
  5889. "cssText": "border:0; width:100%; height:100%;"
  5890. },
  5891. "src": "/course-design-vue"
  5892. })
  5893. _box.appendChild(_iframe);
  5894. _box.appendChild(_jie);
  5895. _formdiv = new U.UF.UI.form(
  5896. "项目设计-" + _username,
  5897. _box, {
  5898. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5899. "style": {
  5900. "width": "90%",
  5901. "height": "90%",
  5902. "overflow": 'hidden'
  5903. },
  5904. "onresize": function() {}
  5905. }, {
  5906. closecallback: function() {}
  5907. }, {
  5908. "style": {
  5909. "height": "36px"
  5910. }
  5911. }).form; //创建窗体
  5912. _taskbar = {
  5913. "id": str + _formdiv.id,
  5914. "style": {
  5915. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5916. },
  5917. "name": "项目设计",
  5918. "forms": _formdiv,
  5919. "click": function() {
  5920. U.MD.D.I.openApplication(str, obj, info);
  5921. }
  5922. }
  5923. break;
  5924. }
  5925. const script1 = document.createElement("script");
  5926. script1.type = "text/javascript";
  5927. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5928. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5929. const script2 = document.createElement("script");
  5930. script2.type = "text/javascript";
  5931. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5932. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5933. const script3 = document.createElement("script");
  5934. script3.type = "text/javascript";
  5935. script3.charset = "UTF-8";
  5936. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5937. const script4 = document.createElement("script");
  5938. script4.type = "text/javascript";
  5939. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5940. script4.src = window.origin + "/js/Common/jietu2E.js";
  5941. if (_iframe) {
  5942. if (str == 'doc') {
  5943. _iframe = _formdiv.querySelector('iframe')
  5944. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5945. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5946. _iframe.contentWindow.document.body.appendChild(script1);
  5947. _iframe.contentWindow.document.body.appendChild(script2);
  5948. // _iframe.contentWindow.document.body.appendChild(script3);
  5949. _iframe.contentWindow.document.body.appendChild(script4);
  5950. })
  5951. if (onloadListener) {
  5952. _iframe.contentDocument.location.reload()
  5953. } else {
  5954. _iframe.contentDocument.location.reload()
  5955. }
  5956. } else if (str == 'courseDesign') {
  5957. U.UF.DL.iframeLoad(_iframe, function() {
  5958. // _iframe.contentWindow.U.MD.O.W.load();
  5959. // _iframe.contentWindow.document.body.appendChild(script1);
  5960. _iframe.contentWindow.document.body.appendChild(script2);
  5961. _iframe.contentWindow.document.body.appendChild(script4);
  5962. })
  5963. } else if (str == 'mind') {
  5964. _iframe = _formdiv.querySelector('iframe')
  5965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5966. //
  5967. _iframe.contentWindow.document.body.appendChild(script1);
  5968. _iframe.contentWindow.document.body.appendChild(script2);
  5969. _iframe.contentWindow.document.body.appendChild(script4);
  5970. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5971. })
  5972. if (onloadListener) {
  5973. _iframe.contentDocument.location.reload()
  5974. } else {
  5975. _iframe.contentDocument.location.reload()
  5976. }
  5977. } else if (str == 'whiteboard') {
  5978. _iframe = _formdiv.querySelector('iframe')
  5979. let onloadListener = _iframe.onload = () => {
  5980. _iframe.contentWindow.document.body.appendChild(script1);
  5981. _iframe.contentWindow.document.body.appendChild(script2);
  5982. _iframe.contentWindow.document.body.appendChild(script4);
  5983. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5984. };
  5985. if (onloadListener) {
  5986. _iframe.contentDocument.location.reload()
  5987. } else {
  5988. _iframe.contentDocument.location.reload()
  5989. }
  5990. } else {
  5991. _iframe.onload = () => {
  5992. _iframe.contentWindow.document.body.appendChild(script1);
  5993. _iframe.contentWindow.document.body.appendChild(script2);
  5994. // _iframe.contentWindow.document.body.appendChild(script3);
  5995. _iframe.contentWindow.document.body.appendChild(script4);
  5996. };
  5997. }
  5998. _jie.onclick = async() => {
  5999. let text = ''
  6000. if (aTool == 1) {
  6001. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6002. } else if (aTool == 6) {
  6003. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6004. } else if (aTool == 3) {
  6005. text = await U.MD.D.I.getEditorContent(_iframe);
  6006. }
  6007. _loading.style.display = 'flex'
  6008. console.log(_loading);
  6009. var _ajs = _iframe.contentWindow.document.createElement("script");
  6010. _ajs.type = "text/javascript";
  6011. _ajs.innerHTML =
  6012. // 'console.log(' + _loading + ');\n' +
  6013. 'var _js = document.createElement("script");\n' +
  6014. '_js.type="text/javascript";\n' +
  6015. '_js.charset="UTF-8";\n' +
  6016. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6017. "_js.onload = function(){\n" +
  6018. ' var a = document.getElementsByTagName("img")\n' +
  6019. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6020. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6021. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6022. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6023. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6024. "beforeUpload_shishi(file," +
  6025. "'" +
  6026. _userid +
  6027. "'" +
  6028. ", " +
  6029. "'" +
  6030. _cid +
  6031. "'" +
  6032. ", " +
  6033. "'" +
  6034. _stage +
  6035. "'" +
  6036. ", " +
  6037. "'" +
  6038. _task +
  6039. "'" +
  6040. ", " +
  6041. "'" +
  6042. _tool +
  6043. "'" +
  6044. ", " +
  6045. "'" +
  6046. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6047. "'" +
  6048. ", " +
  6049. "'" +
  6050. aTool +
  6051. "'" +
  6052. ", " +
  6053. "`" +
  6054. text +
  6055. "`" +
  6056. ")\n" +
  6057. " });\n" +
  6058. "}\n" +
  6059. "document.head.appendChild(_js);\n";
  6060. _iframe.contentWindow.document.head.appendChild(_ajs);
  6061. }
  6062. }
  6063. }
  6064. U.MD.D.I.getEditorContent = function(iframe) {
  6065. return new Promise((resolve, reject) => {
  6066. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6067. console.log(content);
  6068. resolve(content)
  6069. });
  6070. });
  6071. }
  6072. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6073. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6074. // if (res.value[0].length > 0) {
  6075. // // resolve(res.value[0][0].text);
  6076. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6077. // $(fileInput).val('');
  6078. // });
  6079. // }
  6080. // }, [], { "type": "GET", "withCredentials": true });
  6081. var xmlhttp;
  6082. var Mac, Sn, DeviceId
  6083. if (window.XMLHttpRequest) {
  6084. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6085. xmlhttp = new XMLHttpRequest();
  6086. } else {
  6087. // IE6, IE5 浏览器执行代码
  6088. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6089. }
  6090. xmlhttp.onreadystatechange = function() {
  6091. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6092. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6093. // resolve(res.value[0][0].text);
  6094. if (type == '2') {
  6095. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6096. } else if (type == '3') {
  6097. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6098. }
  6099. } else {
  6100. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6101. }
  6102. }
  6103. }
  6104. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6105. xmlhttp.send();
  6106. }
  6107. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6108. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6109. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6110. _userinfo = US.userInfo, //登录用户信息
  6111. _userid = US.userInfo.userid //登录用户id
  6112. let _iframe;
  6113. let _cid = cid,
  6114. _stage = stage,
  6115. _task = task,
  6116. _tool = tool;
  6117. var _jie = $$("div", {
  6118. "style": {
  6119. "position": "absolute",
  6120. "bottom": "50px",
  6121. "right": "50px",
  6122. "zIndex": "9999",
  6123. "backgroundColor": "#2268bc",
  6124. "color": "#fff",
  6125. "padding": "12px 20px",
  6126. "cursor": "pointer",
  6127. "borderRadius": "4px",
  6128. },
  6129. "innerHTML": "确认并提交"
  6130. })
  6131. let aTool = ''
  6132. let _loading = document.createElement('div')
  6133. _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;"
  6134. // _loading.id = "";
  6135. let _lchild = document.createElement('div')
  6136. let _limg = document.createElement('img')
  6137. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6138. _limg.style = "width: 26px;margin-right: 10px;"
  6139. _lchild.appendChild(_limg)
  6140. let _lspan = document.createElement('span')
  6141. _lspan.innerHTML = "上传中..."
  6142. _lchild.appendChild(_lspan)
  6143. _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%);"
  6144. _loading.appendChild(_lchild)
  6145. var _box = $$('div', {
  6146. "style": {
  6147. "position": "relative",
  6148. "width": "100%",
  6149. "height": "100%",
  6150. },
  6151. })
  6152. _box.appendChild(_loading)
  6153. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6154. switch (str) {
  6155. case "whiteboard":
  6156. aTool = 1;
  6157. _iframe = $$("iframe", {
  6158. "frameborder": "no",
  6159. "border": "0",
  6160. "scrolling ": "no",
  6161. "style": {
  6162. "cssText": "border:0;width:100%;height:100%"
  6163. },
  6164. "src": "https://iwb.cocorobo.cn/"
  6165. })
  6166. _box.appendChild(_iframe);
  6167. _box.appendChild(_jie);
  6168. _formdiv = new U.UF.UI.form(
  6169. "电子白板",
  6170. _box, {
  6171. "id": "whiteboards" + cid + stage + task + tool,
  6172. "style": {
  6173. "width": "90%",
  6174. "height": "90%",
  6175. "overflow": 'hidden'
  6176. },
  6177. "onresize": function() {}
  6178. }, {
  6179. closecallback: function() {}
  6180. }, {
  6181. "style": {
  6182. "height": "36px"
  6183. }
  6184. }).form; //创建窗体
  6185. _taskbar = {
  6186. "id": str + _formdiv.id,
  6187. "style": {
  6188. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6189. },
  6190. "name": "电子白板",
  6191. "forms": _formdiv,
  6192. "click": function() {
  6193. U.MD.D.I.openApplication(str, obj, info);
  6194. }
  6195. }
  6196. break;
  6197. case "mind":
  6198. aTool = 3;
  6199. _iframe = $$("iframe", {
  6200. "frameborder": "no",
  6201. "border": "0",
  6202. "scrolling ": "no",
  6203. "style": {
  6204. "cssText": "border:0;width:100%;height:100%"
  6205. },
  6206. "src": "/kityminder-editor/dist/index.html"
  6207. });
  6208. _box.appendChild(_iframe);
  6209. _box.appendChild(_jie);
  6210. _formdiv = new U.UF.UI.form(
  6211. "思维导图",
  6212. _box, { //"/jsmind/example/demo.html"
  6213. "id": "minds" + cid + stage + task + tool,
  6214. "style": {
  6215. "width": "90%",
  6216. "height": "90%",
  6217. "overflow": 'hidden'
  6218. },
  6219. "onresize": function() {}
  6220. }, {
  6221. closecallback: function() {}
  6222. }, {
  6223. "style": {
  6224. "height": "36px"
  6225. }
  6226. }).form; //创建窗体
  6227. _taskbar = {
  6228. "id": str + _formdiv.id,
  6229. "style": {
  6230. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6231. },
  6232. "name": "思维导图",
  6233. "forms": _formdiv,
  6234. "click": function() {
  6235. U.MD.D.I.openApplication(str, obj, info);
  6236. }
  6237. }
  6238. break;
  6239. case "doc":
  6240. aTool = 6;
  6241. _iframe = $$("iframe", {
  6242. "frameborder": "no",
  6243. "border": "0",
  6244. "scrolling ": "no",
  6245. "style": {
  6246. "cssText": "border:0;width:100%;height:100%"
  6247. },
  6248. "src": "/Office/Word/WordEditArea.htm"
  6249. })
  6250. _box.appendChild(_iframe);
  6251. _box.appendChild(_jie);
  6252. _formdiv = new U.UF.UI.form(
  6253. "协同文档",
  6254. _box, {
  6255. "id": "docs" + cid + stage + task + tool,
  6256. "style": {
  6257. "width": "90%",
  6258. "height": "90%",
  6259. "overflow": 'hidden'
  6260. },
  6261. "onresize": function() {}
  6262. }, {
  6263. closecallback: function() {}
  6264. }, {
  6265. "style": {
  6266. "height": "36px"
  6267. }
  6268. }).form; //创建窗体
  6269. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6270. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6271. })
  6272. _taskbar = {
  6273. "id": str + _formdiv.id,
  6274. "style": {
  6275. "backgroundImage": "url(/img/icon/doc.png)"
  6276. },
  6277. "name": "协同文档",
  6278. "forms": _formdiv,
  6279. "click": function() {
  6280. U.MD.D.I.openApplication(str, obj, info);
  6281. }
  6282. }
  6283. break;
  6284. }
  6285. const script1 = document.createElement("script");
  6286. script1.type = "text/javascript";
  6287. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6288. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6289. const script2 = document.createElement("script");
  6290. script2.type = "text/javascript";
  6291. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6292. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6293. const script3 = document.createElement("script");
  6294. script3.type = "text/javascript";
  6295. script3.charset = "UTF-8";
  6296. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6297. const script4 = document.createElement("script");
  6298. script4.type = "text/javascript";
  6299. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6300. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6301. if (_iframe) {
  6302. if (str == 'doc') {
  6303. _iframe = _formdiv.querySelector('iframe')
  6304. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6305. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6306. _iframe.contentWindow.document.body.appendChild(script1);
  6307. _iframe.contentWindow.document.body.appendChild(script2);
  6308. // _iframe.contentWindow.document.body.appendChild(script3);
  6309. _iframe.contentWindow.document.body.appendChild(script4);
  6310. })
  6311. if (onloadListener) {
  6312. _iframe.contentDocument.location.reload()
  6313. } else {
  6314. _iframe.contentDocument.location.reload()
  6315. }
  6316. } else if (str == 'mind') {
  6317. _iframe = _formdiv.querySelector('iframe')
  6318. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6319. _iframe.contentWindow.document.body.appendChild(script1);
  6320. _iframe.contentWindow.document.body.appendChild(script2);
  6321. _iframe.contentWindow.document.body.appendChild(script4);
  6322. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6323. })
  6324. if (onloadListener) {
  6325. _iframe.contentDocument.location.reload()
  6326. } else {
  6327. _iframe.contentDocument.location.reload()
  6328. }
  6329. } else {
  6330. _iframe.onload = () => {
  6331. _iframe.contentWindow.document.body.appendChild(script1);
  6332. _iframe.contentWindow.document.body.appendChild(script2);
  6333. // _iframe.contentWindow.document.body.appendChild(script3);
  6334. _iframe.contentWindow.document.body.appendChild(script4);
  6335. };
  6336. }
  6337. _jie.onclick = async() => {
  6338. let text = ''
  6339. if (aTool == 6) {
  6340. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6341. } else if (aTool == 3) {
  6342. text = await U.MD.D.I.getEditorContent(_iframe);
  6343. }
  6344. _loading.style.display = 'flex'
  6345. console.log(_loading);
  6346. var _ajs = _iframe.contentWindow.document.createElement("script");
  6347. _ajs.type = "text/javascript";
  6348. _ajs.innerHTML =
  6349. // 'console.log(' + _loading + ');\n' +
  6350. 'var _js = document.createElement("script");\n' +
  6351. '_js.type="text/javascript";\n' +
  6352. '_js.charset="UTF-8";\n' +
  6353. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6354. "_js.onload = function(){\n" +
  6355. ' var a = document.getElementsByTagName("img")\n' +
  6356. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6357. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6358. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6359. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6360. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6361. "beforeUpload_shishi(file," +
  6362. "'" +
  6363. _userid +
  6364. "'" +
  6365. ", " +
  6366. "'" +
  6367. _cid +
  6368. "'" +
  6369. ", " +
  6370. "'" +
  6371. _stage +
  6372. "'" +
  6373. ", " +
  6374. "'" +
  6375. _task +
  6376. "'" +
  6377. ", " +
  6378. "'" +
  6379. _tool +
  6380. "'" +
  6381. ", " +
  6382. "'" +
  6383. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6384. "'" +
  6385. ", " +
  6386. "'" +
  6387. aTool +
  6388. "'" +
  6389. ", " +
  6390. "`" +
  6391. text +
  6392. "`" +
  6393. ")\n" +
  6394. " });\n" +
  6395. "}\n" +
  6396. "document.head.appendChild(_js);\n";
  6397. _iframe.contentWindow.document.head.appendChild(_ajs);
  6398. }
  6399. }
  6400. //U.MD.D.I.openClick(str);
  6401. //如果有任务栏信息
  6402. // if (_taskbar) {
  6403. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6404. // }
  6405. }
  6406. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6407. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6408. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6409. _userinfo = US.userInfo, //登录用户信息
  6410. _userid = US.userInfo.userid //登录用户id
  6411. let _iframe;
  6412. let _cid = cid,
  6413. _stage = stage,
  6414. _task = task,
  6415. _tool = tool;
  6416. var _jie = $$("div", {
  6417. "style": {
  6418. "position": "absolute",
  6419. "bottom": "50px",
  6420. "right": "50px",
  6421. "zIndex": "9999",
  6422. "backgroundColor": "#2268bc",
  6423. "color": "#fff",
  6424. "padding": "12px 20px",
  6425. "cursor": "pointer",
  6426. "borderRadius": "4px",
  6427. },
  6428. "innerHTML": "确认并提交"
  6429. })
  6430. let aTool = ''
  6431. let _loading = document.createElement('div')
  6432. _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;"
  6433. // _loading.id = "";
  6434. let _lchild = document.createElement('div')
  6435. let _limg = document.createElement('img')
  6436. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6437. _limg.style = "width: 26px;margin-right: 10px;"
  6438. _lchild.appendChild(_limg)
  6439. let _lspan = document.createElement('span')
  6440. _lspan.innerHTML = "上传中..."
  6441. _lchild.appendChild(_lspan)
  6442. _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%);"
  6443. _loading.appendChild(_lchild)
  6444. var _box = $$('div', {
  6445. "style": {
  6446. "position": "relative",
  6447. "width": "100%",
  6448. "height": "100%",
  6449. },
  6450. })
  6451. _box.appendChild(_loading)
  6452. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6453. switch (str) {
  6454. case "whiteboard":
  6455. aTool = 1;
  6456. _iframe = $$("iframe", {
  6457. "frameborder": "no",
  6458. "border": "0",
  6459. "scrolling ": "no",
  6460. "style": {
  6461. "cssText": "border:0;width:100%;height:100%"
  6462. },
  6463. "src": "https://iwb.cocorobo.cn/"
  6464. })
  6465. _box.appendChild(_iframe);
  6466. _box.appendChild(_jie);
  6467. _formdiv = new U.UF.UI.form(
  6468. "电子白板",
  6469. _box, {
  6470. "id": "whiteboards" + cid + stage + task + tool,
  6471. "style": {
  6472. "width": "90%",
  6473. "height": "90%",
  6474. "overflow": 'hidden'
  6475. },
  6476. "onresize": function() {}
  6477. }, {
  6478. closecallback: function() {}
  6479. }, {
  6480. "style": {
  6481. "height": "36px"
  6482. }
  6483. }).form; //创建窗体
  6484. _taskbar = {
  6485. "id": str + _formdiv.id,
  6486. "style": {
  6487. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6488. },
  6489. "name": "电子白板",
  6490. "forms": _formdiv,
  6491. "click": function() {
  6492. U.MD.D.I.openApplication(str, obj, info);
  6493. }
  6494. }
  6495. break;
  6496. case "mind":
  6497. aTool = 3;
  6498. _iframe = $$("iframe", {
  6499. "frameborder": "no",
  6500. "border": "0",
  6501. "scrolling ": "no",
  6502. "style": {
  6503. "cssText": "border:0;width:100%;height:100%"
  6504. },
  6505. "src": "/kityminder-editor/dist/index.html"
  6506. });
  6507. _box.appendChild(_iframe);
  6508. _box.appendChild(_jie);
  6509. _formdiv = new U.UF.UI.form(
  6510. "思维导图",
  6511. _box, { //"/jsmind/example/demo.html"
  6512. "id": "minds" + cid + stage + task + tool,
  6513. "style": {
  6514. "width": "90%",
  6515. "height": "90%",
  6516. "overflow": 'hidden'
  6517. },
  6518. "onresize": function() {}
  6519. }, {
  6520. closecallback: function() {}
  6521. }, {
  6522. "style": {
  6523. "height": "36px"
  6524. }
  6525. }).form; //创建窗体
  6526. _taskbar = {
  6527. "id": str + _formdiv.id,
  6528. "style": {
  6529. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6530. },
  6531. "name": "思维导图",
  6532. "forms": _formdiv,
  6533. "click": function() {
  6534. U.MD.D.I.openApplication(str, obj, info);
  6535. }
  6536. }
  6537. break;
  6538. case "doc":
  6539. aTool = 6;
  6540. _iframe = $$("iframe", {
  6541. "frameborder": "no",
  6542. "border": "0",
  6543. "scrolling ": "no",
  6544. "style": {
  6545. "cssText": "border:0;width:100%;height:100%"
  6546. },
  6547. "src": "/Office/Word/WordEditArea.htm"
  6548. })
  6549. _box.appendChild(_iframe);
  6550. _box.appendChild(_jie);
  6551. _formdiv = new U.UF.UI.form(
  6552. "协同文档",
  6553. _box, {
  6554. "id": "docs" + cid + stage + task + tool,
  6555. "style": {
  6556. "width": "90%",
  6557. "height": "90%",
  6558. "overflow": 'hidden'
  6559. },
  6560. "onresize": function() {}
  6561. }, {
  6562. closecallback: function() {}
  6563. }, {
  6564. "style": {
  6565. "height": "36px"
  6566. }
  6567. }).form; //创建窗体
  6568. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6569. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6570. })
  6571. _taskbar = {
  6572. "id": str + _formdiv.id,
  6573. "style": {
  6574. "backgroundImage": "url(/img/icon/doc.png)"
  6575. },
  6576. "name": "协同文档",
  6577. "forms": _formdiv,
  6578. "click": function() {
  6579. U.MD.D.I.openApplication(str, obj, info);
  6580. }
  6581. }
  6582. break;
  6583. }
  6584. const script1 = document.createElement("script");
  6585. script1.type = "text/javascript";
  6586. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6587. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6588. const script2 = document.createElement("script");
  6589. script2.type = "text/javascript";
  6590. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6591. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6592. const script3 = document.createElement("script");
  6593. script3.type = "text/javascript";
  6594. script3.charset = "UTF-8";
  6595. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6596. const script4 = document.createElement("script");
  6597. script4.type = "text/javascript";
  6598. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6599. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6600. if (_iframe) {
  6601. if (str == 'doc') {
  6602. _iframe = _formdiv.querySelector('iframe')
  6603. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6604. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6605. _iframe.contentWindow.document.body.appendChild(script1);
  6606. _iframe.contentWindow.document.body.appendChild(script2);
  6607. // _iframe.contentWindow.document.body.appendChild(script3);
  6608. _iframe.contentWindow.document.body.appendChild(script4);
  6609. })
  6610. if (onloadListener) {
  6611. _iframe.contentDocument.location.reload()
  6612. } else {
  6613. _iframe.contentDocument.location.reload()
  6614. }
  6615. } else if (str == 'mind') {
  6616. _iframe = _formdiv.querySelector('iframe')
  6617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6618. _iframe.contentWindow.document.body.appendChild(script1);
  6619. _iframe.contentWindow.document.body.appendChild(script2);
  6620. _iframe.contentWindow.document.body.appendChild(script4);
  6621. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6622. })
  6623. if (onloadListener) {
  6624. _iframe.contentDocument.location.reload()
  6625. } else {
  6626. _iframe.contentDocument.location.reload()
  6627. }
  6628. } else {
  6629. _iframe.onload = () => {
  6630. _iframe.contentWindow.document.body.appendChild(script1);
  6631. _iframe.contentWindow.document.body.appendChild(script2);
  6632. // _iframe.contentWindow.document.body.appendChild(script3);
  6633. _iframe.contentWindow.document.body.appendChild(script4);
  6634. };
  6635. }
  6636. _jie.onclick = async() => {
  6637. let text = ''
  6638. if (aTool == 6) {
  6639. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6640. } else if (aTool == 3) {
  6641. text = await U.MD.D.I.getEditorContent(_iframe);
  6642. }
  6643. _loading.style.display = 'flex'
  6644. console.log(_loading);
  6645. var _ajs = _iframe.contentWindow.document.createElement("script");
  6646. _ajs.type = "text/javascript";
  6647. _ajs.innerHTML =
  6648. // 'console.log(' + _loading + ');\n' +
  6649. 'var _js = document.createElement("script");\n' +
  6650. '_js.type="text/javascript";\n' +
  6651. '_js.charset="UTF-8";\n' +
  6652. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6653. "_js.onload = function(){\n" +
  6654. ' var a = document.getElementsByTagName("img")\n' +
  6655. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6656. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6657. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6658. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6659. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6660. "beforeUpload_shishi(file," +
  6661. "'" +
  6662. _userid +
  6663. "'" +
  6664. ", " +
  6665. "'" +
  6666. _cid +
  6667. "'" +
  6668. ", " +
  6669. "'" +
  6670. _stage +
  6671. "'" +
  6672. ", " +
  6673. "'" +
  6674. _task +
  6675. "'" +
  6676. ", " +
  6677. "'" +
  6678. _tool +
  6679. "'" +
  6680. ", " +
  6681. "'" +
  6682. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6683. "'" +
  6684. ", " +
  6685. "'" +
  6686. aTool +
  6687. "'" +
  6688. ", " +
  6689. "`" +
  6690. text +
  6691. "`" +
  6692. ")\n" +
  6693. " });\n" +
  6694. "}\n" +
  6695. "document.head.appendChild(_js);\n";
  6696. _iframe.contentWindow.document.head.appendChild(_ajs);
  6697. }
  6698. }
  6699. //U.MD.D.I.openClick(str);
  6700. //如果有任务栏信息
  6701. // if (_taskbar) {
  6702. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6703. // }
  6704. }
  6705. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6706. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6707. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6708. _userinfo = US.userInfo, //登录用户信息
  6709. _userid = US.userInfo.userid //登录用户id
  6710. let _iframe;
  6711. let _cid = cid,
  6712. _stage = stage,
  6713. _task = task,
  6714. _tool = tool;
  6715. var _jie = $$("div", {
  6716. "style": {
  6717. "position": "absolute",
  6718. "bottom": "50px",
  6719. "right": "50px",
  6720. "zIndex": "9999",
  6721. "backgroundColor": "#2268bc",
  6722. "color": "#fff",
  6723. "padding": "12px 20px",
  6724. "cursor": "pointer",
  6725. "borderRadius": "4px",
  6726. },
  6727. "innerHTML": "上传模板"
  6728. })
  6729. let aTool = ''
  6730. let _loading = document.createElement('div')
  6731. _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;"
  6732. // _loading.id = "";
  6733. let _lchild = document.createElement('div')
  6734. let _limg = document.createElement('img')
  6735. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6736. _limg.style = "width: 26px;margin-right: 10px;"
  6737. _lchild.appendChild(_limg)
  6738. let _lspan = document.createElement('span')
  6739. _lspan.innerHTML = "上传中..."
  6740. _lchild.appendChild(_lspan)
  6741. _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%);"
  6742. _loading.appendChild(_lchild)
  6743. var _box = $$('div', {
  6744. "style": {
  6745. "position": "relative",
  6746. "width": "100%",
  6747. "height": "100%",
  6748. },
  6749. })
  6750. _box.appendChild(_loading)
  6751. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6752. switch (str) {
  6753. case "whiteboard":
  6754. aTool = 1;
  6755. _iframe = $$("iframe", {
  6756. "frameborder": "no",
  6757. "border": "0",
  6758. "scrolling ": "no",
  6759. "style": {
  6760. "cssText": "border:0;width:100%;height:100%"
  6761. },
  6762. "src": "https://iwb.cocorobo.cn/"
  6763. })
  6764. _box.appendChild(_iframe);
  6765. _box.appendChild(_jie);
  6766. _formdiv = new U.UF.UI.form(
  6767. "电子白板",
  6768. _box, {
  6769. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6770. "style": {
  6771. "width": "90%",
  6772. "height": "90%",
  6773. "overflow": 'hidden'
  6774. },
  6775. "onresize": function() {}
  6776. }, {
  6777. closecallback: function() {}
  6778. }, {
  6779. "style": {
  6780. "height": "36px"
  6781. }
  6782. }).form; //创建窗体
  6783. _taskbar = {
  6784. "id": str + _formdiv.id,
  6785. "style": {
  6786. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6787. },
  6788. "name": "电子白板",
  6789. "forms": _formdiv,
  6790. "click": function() {
  6791. U.MD.D.I.openApplication(str, obj, info);
  6792. }
  6793. }
  6794. break;
  6795. case "mind":
  6796. aTool = 3;
  6797. _iframe = $$("iframe", {
  6798. "frameborder": "no",
  6799. "border": "0",
  6800. "scrolling ": "no",
  6801. "style": {
  6802. "cssText": "border:0;width:100%;height:100%"
  6803. },
  6804. "src": "/kityminder-editor/dist/index.html"
  6805. });
  6806. _box.appendChild(_iframe);
  6807. _box.appendChild(_jie);
  6808. _formdiv = new U.UF.UI.form(
  6809. "思维导图",
  6810. _box, { //"/jsmind/example/demo.html"
  6811. "id": "minds_Yu" + cid + stage + task + tool,
  6812. "style": {
  6813. "width": "90%",
  6814. "height": "90%",
  6815. "overflow": 'hidden'
  6816. },
  6817. "onresize": function() {}
  6818. }, {
  6819. closecallback: function() {}
  6820. }, {
  6821. "style": {
  6822. "height": "36px"
  6823. }
  6824. }).form; //创建窗体
  6825. _taskbar = {
  6826. "id": str + _formdiv.id,
  6827. "style": {
  6828. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6829. },
  6830. "name": "思维导图",
  6831. "forms": _formdiv,
  6832. "click": function() {
  6833. U.MD.D.I.openApplication(str, obj, info);
  6834. }
  6835. }
  6836. break;
  6837. case "doc":
  6838. aTool = 6;
  6839. _iframe = $$("iframe", {
  6840. "frameborder": "no",
  6841. "border": "0",
  6842. "scrolling ": "no",
  6843. "style": {
  6844. "cssText": "border:0;width:100%;height:100%"
  6845. },
  6846. "src": "/Office/Word/WordEditArea.htm"
  6847. })
  6848. _box.appendChild(_iframe);
  6849. _box.appendChild(_jie);
  6850. _formdiv = new U.UF.UI.form(
  6851. "协同文档",
  6852. _box, {
  6853. "id": "docs_Yu" + cid + stage + task + tool,
  6854. "style": {
  6855. "width": "90%",
  6856. "height": "90%",
  6857. "overflow": 'hidden'
  6858. },
  6859. "onresize": function() {}
  6860. }, {
  6861. closecallback: function() {}
  6862. }, {
  6863. "style": {
  6864. "height": "36px"
  6865. }
  6866. }).form; //创建窗体
  6867. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6868. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6869. })
  6870. _taskbar = {
  6871. "id": str + _formdiv.id,
  6872. "style": {
  6873. "backgroundImage": "url(/img/icon/doc.png)"
  6874. },
  6875. "name": "协同文档",
  6876. "forms": _formdiv,
  6877. "click": function() {
  6878. U.MD.D.I.openApplication(str, obj, info);
  6879. }
  6880. }
  6881. break;
  6882. case "CocoPi":
  6883. aTool = 57;
  6884. _iframe = $$("iframe", {
  6885. "allowpaymentrequest": "allowpaymentrequest",
  6886. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6887. "webkitallowfullscreen": "",
  6888. "mozallowfullscreen": "",
  6889. "frameborder": "no",
  6890. "border": "0",
  6891. "scrolling ": "no",
  6892. "style": {
  6893. "cssText": "border:0;width:100%;height:100%"
  6894. },
  6895. "src": "https://pi.cocorobo.cn/"
  6896. })
  6897. _box.appendChild(_iframe);
  6898. _box.appendChild(_jie);
  6899. _formdiv = new U.UF.UI.form(
  6900. "CocoPi",
  6901. _box, {
  6902. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6903. "style": {
  6904. "width": "90%",
  6905. "height": "90%",
  6906. "overflow": 'hidden'
  6907. },
  6908. "onresize": function() {}
  6909. }, {
  6910. closecallback: function() {}
  6911. }, {
  6912. "style": {
  6913. "height": "36px"
  6914. }
  6915. }).form; //创建窗体
  6916. _taskbar = {
  6917. "id": str + _formdiv.id,
  6918. "style": {
  6919. "backgroundImage": "url(/img/icon/cocopi.png)"
  6920. },
  6921. "name": "CocoPi",
  6922. "forms": _formdiv,
  6923. "click": function() {
  6924. U.MD.D.I.openApplication(str, obj, info);
  6925. }
  6926. }
  6927. break;
  6928. }
  6929. if (_iframe) {
  6930. if (str == 'doc') {
  6931. _iframe = _formdiv.querySelector('iframe')
  6932. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6933. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6934. })
  6935. if (onloadListener) {
  6936. _iframe.contentDocument.location.reload()
  6937. } else {
  6938. _iframe.contentDocument.location.reload()
  6939. }
  6940. } else if (str == 'mind') {
  6941. _iframe = _formdiv.querySelector('iframe')
  6942. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6943. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6944. })
  6945. if (onloadListener) {
  6946. _iframe.contentDocument.location.reload()
  6947. } else {
  6948. _iframe.contentDocument.location.reload()
  6949. }
  6950. } else if (str == 'whiteboard') {
  6951. _iframe = _formdiv.querySelector('iframe')
  6952. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6953. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6954. })
  6955. if (onloadListener) {
  6956. _iframe.contentDocument.location.reload()
  6957. } else {
  6958. _iframe.contentDocument.location.reload()
  6959. }
  6960. } else if (str == 'CocoPi') {
  6961. _iframe = _formdiv.querySelector('iframe')
  6962. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6963. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6964. })
  6965. if (onloadListener) {
  6966. _iframe.contentDocument.location.reload()
  6967. } else {
  6968. _iframe.contentDocument.location.reload()
  6969. }
  6970. } else {
  6971. _iframe.onload = () => {};
  6972. }
  6973. _jie.onclick = async() => {
  6974. let text = ''
  6975. let type = '2'
  6976. if (aTool == 1) {
  6977. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6978. type = '3'
  6979. } else if (aTool == 6) {
  6980. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6981. type = '1'
  6982. } else if (aTool == 3) {
  6983. text = await U.MD.D.I.getEditorContent(_iframe);
  6984. type = '2'
  6985. } else if (aTool == 57) {
  6986. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6987. type = '4'
  6988. }
  6989. _loading.style.display = 'flex'
  6990. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6991. }
  6992. }
  6993. //U.MD.D.I.openClick(str);
  6994. //如果有任务栏信息
  6995. // if (_taskbar) {
  6996. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6997. // }
  6998. }
  6999. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7000. var xmlhttp;
  7001. var Mac, Sn, DeviceId
  7002. if (window.XMLHttpRequest) {
  7003. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7004. xmlhttp = new XMLHttpRequest();
  7005. } else {
  7006. // IE6, IE5 浏览器执行代码
  7007. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7008. }
  7009. xmlhttp.onreadystatechange = function() {
  7010. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7011. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7012. // resolve(res.value[0][0].text);
  7013. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7014. }
  7015. }
  7016. }
  7017. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7018. xmlhttp.send();
  7019. }
  7020. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7021. var xmlhttp;
  7022. var Mac, Sn, DeviceId
  7023. if (window.XMLHttpRequest) {
  7024. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7025. xmlhttp = new XMLHttpRequest();
  7026. } else {
  7027. // IE6, IE5 浏览器执行代码
  7028. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7029. }
  7030. xmlhttp.onreadystatechange = function() {
  7031. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7032. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7033. // resolve(res.value[0][0].text);
  7034. if (type == '2') {
  7035. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7036. } else if (type == '3') {
  7037. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7038. } else if (type == '4') {
  7039. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7040. }
  7041. } else {
  7042. if (type == '2') {
  7043. iframe.contentWindow.editor.minder.importData('json', '')
  7044. } else if (type == '3') {
  7045. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7046. } else if (type == '4') {
  7047. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7048. }
  7049. }
  7050. }
  7051. }
  7052. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7053. xmlhttp.send();
  7054. }
  7055. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7056. var xmlhttp;
  7057. var Mac, Sn, DeviceId
  7058. if (window.XMLHttpRequest) {
  7059. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7060. xmlhttp = new XMLHttpRequest();
  7061. } else {
  7062. // IE6, IE5 浏览器执行代码
  7063. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7064. }
  7065. xmlhttp.onreadystatechange = function() {
  7066. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7067. if (xmlhttp.response) {
  7068. // resolve(res.value[0][0].text);
  7069. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7070. // $(fileInput).val('');
  7071. // });
  7072. span.innerHTML = '上传成功'
  7073. setTimeout(() => {
  7074. loading.style.display = 'none'
  7075. }, 1000);
  7076. }
  7077. }
  7078. }
  7079. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7080. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7081. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7082. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7083. // 设置请求头,表示请求体的编码格式
  7084. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7085. // 设置请求体,使用url-encoded格式的数据
  7086. }
  7087. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7088. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7089. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7090. _userinfo = US.userInfo, //登录用户信息
  7091. _userid = US.userInfo.userid //登录用户id
  7092. let _iframe;
  7093. let _cid = cid,
  7094. _stage = stage,
  7095. _task = task,
  7096. _tool = tool;
  7097. var _jie = $$("div", {
  7098. "style": {
  7099. "position": "absolute",
  7100. "bottom": "50px",
  7101. "right": "50px",
  7102. "zIndex": "9999",
  7103. "backgroundColor": "#2268bc",
  7104. "color": "#fff",
  7105. "padding": "12px 20px",
  7106. "cursor": "pointer",
  7107. "borderRadius": "4px",
  7108. },
  7109. "innerHTML": "提交作业"
  7110. })
  7111. let aTool = ''
  7112. let _loading = document.createElement('div')
  7113. _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;"
  7114. // _loading.id = "";
  7115. let _lchild = document.createElement('div')
  7116. let _limg = document.createElement('img')
  7117. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7118. _limg.style = "width: 26px;margin-right: 10px;"
  7119. _lchild.appendChild(_limg)
  7120. let _lspan = document.createElement('span')
  7121. _lspan.innerHTML = "上传中..."
  7122. _lchild.appendChild(_lspan)
  7123. _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%);"
  7124. _loading.appendChild(_lchild)
  7125. var _box = $$('div', {
  7126. "style": {
  7127. "position": "relative",
  7128. "width": "100%",
  7129. "height": "100%",
  7130. },
  7131. })
  7132. _box.appendChild(_loading)
  7133. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7134. switch (str) {
  7135. case "CocoPi":
  7136. aTool = 57;
  7137. _iframe = $$("iframe", {
  7138. "allowpaymentrequest": "allowpaymentrequest",
  7139. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7140. "webkitallowfullscreen": "",
  7141. "mozallowfullscreen": "",
  7142. "frameborder": "no",
  7143. "border": "0",
  7144. "scrolling ": "no",
  7145. "style": {
  7146. "cssText": "border:0;width:100%;height:100%"
  7147. },
  7148. "src": "https://pi.cocorobo.cn/"
  7149. })
  7150. _box.appendChild(_iframe);
  7151. _box.appendChild(_jie);
  7152. _formdiv = new U.UF.UI.form(
  7153. "CocoPi",
  7154. _box, {
  7155. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7156. "style": {
  7157. "width": "90%",
  7158. "height": "90%",
  7159. "overflow": 'hidden'
  7160. },
  7161. "onresize": function() {}
  7162. }, {
  7163. closecallback: function() {}
  7164. }, {
  7165. "style": {
  7166. "height": "36px"
  7167. }
  7168. }).form; //创建窗体
  7169. _taskbar = {
  7170. "id": str + _formdiv.id,
  7171. "style": {
  7172. "backgroundImage": "url(/img/icon/cocopi.png)"
  7173. },
  7174. "name": "CocoPi",
  7175. "forms": _formdiv,
  7176. "click": function() {
  7177. U.MD.D.I.openApplication(str, obj, info);
  7178. }
  7179. }
  7180. break;
  7181. }
  7182. if (_iframe) {
  7183. if (str == 'CocoPi') {
  7184. _iframe = _formdiv.querySelector('iframe')
  7185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7186. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7187. })
  7188. if (onloadListener) {
  7189. _iframe.contentDocument.location.reload()
  7190. } else {
  7191. _iframe.contentDocument.location.reload()
  7192. }
  7193. }
  7194. _jie.onclick = async() => {
  7195. let text = ''
  7196. if (aTool == 57) {
  7197. text = _iframe.contentWindow.getLoadXmlStr()
  7198. }
  7199. _loading.style.display = 'flex'
  7200. console.log(_loading);
  7201. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7202. _loading.style.display = 'none'
  7203. let _div = document.createElement('div')
  7204. _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;"
  7205. let _inner = document.createElement('div')
  7206. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7207. _inner.innerHTML = "上传成功"
  7208. _div.appendChild(_inner)
  7209. _iframe.contentWindow.window.document.body.appendChild(_div)
  7210. _div.onclick = () => {
  7211. _iframe.contentWindow.window.document.body.removeChild(_div)
  7212. }
  7213. setTimeout(() => {
  7214. _iframe.contentWindow.window.document.body.removeChild(_div)
  7215. }, 1000);
  7216. }, [], { "type": "POST", "withCredentials": true });
  7217. }
  7218. }
  7219. }
  7220. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7221. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7222. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7223. _userid = student.userid, //登录用户id
  7224. _username = student.student //用户名字
  7225. let _iframe;
  7226. let _cid = cid,
  7227. _stage = stage,
  7228. _task = task,
  7229. _tool = tool;
  7230. var _jie = $$("div", {
  7231. "style": {
  7232. "position": "absolute",
  7233. "bottom": "50px",
  7234. "right": "50px",
  7235. "zIndex": "9999",
  7236. "backgroundColor": "#2268bc",
  7237. "color": "#fff",
  7238. "padding": "12px 20px",
  7239. "cursor": "pointer",
  7240. "borderRadius": "4px",
  7241. },
  7242. "innerHTML": "提交作业"
  7243. })
  7244. let aTool = ''
  7245. let _loading = document.createElement('div')
  7246. _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;"
  7247. // _loading.id = "";
  7248. let _lchild = document.createElement('div')
  7249. let _limg = document.createElement('img')
  7250. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7251. _limg.style = "width: 26px;margin-right: 10px;"
  7252. _lchild.appendChild(_limg)
  7253. let _lspan = document.createElement('span')
  7254. _lspan.innerHTML = "上传中..."
  7255. _lchild.appendChild(_lspan)
  7256. _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%);"
  7257. _loading.appendChild(_lchild)
  7258. var _box = $$('div', {
  7259. "style": {
  7260. "position": "relative",
  7261. "width": "100%",
  7262. "height": "100%",
  7263. },
  7264. })
  7265. _box.appendChild(_loading)
  7266. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7267. switch (str) {
  7268. case "CocoPi":
  7269. aTool = 57;
  7270. _iframe = $$("iframe", {
  7271. "allowpaymentrequest": "allowpaymentrequest",
  7272. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7273. "webkitallowfullscreen": "",
  7274. "mozallowfullscreen": "",
  7275. "frameborder": "no",
  7276. "border": "0",
  7277. "scrolling ": "no",
  7278. "style": {
  7279. "cssText": "border:0;width:100%;height:100%"
  7280. },
  7281. "src": "https://pi.cocorobo.cn/"
  7282. })
  7283. _box.appendChild(_iframe);
  7284. _box.appendChild(_jie);
  7285. _formdiv = new U.UF.UI.form(
  7286. "CocoPi-" + _username,
  7287. _box, {
  7288. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7289. "style": {
  7290. "width": "90%",
  7291. "height": "90%",
  7292. "overflow": 'hidden'
  7293. },
  7294. "onresize": function() {}
  7295. }, {
  7296. closecallback: function() {}
  7297. }, {
  7298. "style": {
  7299. "height": "36px"
  7300. }
  7301. }).form; //创建窗体
  7302. _taskbar = {
  7303. "id": str + _formdiv.id,
  7304. "style": {
  7305. "backgroundImage": "url(/img/icon/cocopi.png)"
  7306. },
  7307. "name": "CocoPi",
  7308. "forms": _formdiv,
  7309. "click": function() {
  7310. U.MD.D.I.openApplication(str, obj, info);
  7311. }
  7312. }
  7313. break;
  7314. }
  7315. if (_iframe) {
  7316. if (str == 'CocoPi') {
  7317. _iframe = _formdiv.querySelector('iframe')
  7318. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7319. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7320. })
  7321. if (onloadListener) {
  7322. _iframe.contentDocument.location.reload()
  7323. } else {
  7324. _iframe.contentDocument.location.reload()
  7325. }
  7326. }
  7327. _jie.onclick = async() => {
  7328. let text = ''
  7329. if (aTool == 57) {
  7330. text = _iframe.contentWindow.getLoadXmlStr()
  7331. }
  7332. _loading.style.display = 'flex'
  7333. console.log(_loading);
  7334. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7335. _loading.style.display = 'none'
  7336. let _div = document.createElement('div')
  7337. _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;"
  7338. let _inner = document.createElement('div')
  7339. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7340. _inner.innerHTML = "上传成功"
  7341. _div.appendChild(_inner)
  7342. _iframe.contentWindow.window.document.body.appendChild(_div)
  7343. _div.onclick = () => {
  7344. _iframe.contentWindow.window.document.body.removeChild(_div)
  7345. }
  7346. setTimeout(() => {
  7347. _iframe.contentWindow.window.document.body.removeChild(_div)
  7348. }, 1000);
  7349. }, [], { "type": "POST", "withCredentials": true });
  7350. }
  7351. }
  7352. }
  7353. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7354. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7355. if (res.value[0].length > 0) {
  7356. if (atool == 57) {
  7357. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7358. }
  7359. } else {
  7360. if (atool == 57) {
  7361. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7362. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7363. }
  7364. }
  7365. }, [], { "type": "POST", "withCredentials": true });
  7366. }