DeskTop.js 393 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050
  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": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  17. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  18. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  19. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  20. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  21. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  22. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  23. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  24. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  25. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  26. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  27. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  28. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  29. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  30. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  31. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  32. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  33. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  34. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  35. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  36. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  37. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  38. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  39. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  40. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  41. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  42. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  43. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  44. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  45. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  46. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  47. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  48. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  49. ];
  50. //极简模式
  51. U.MD.D.I.easyDeskIcon = [
  52. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  53. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  56. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  57. ];
  58. //教师桌面图标的全局变量
  59. U.MD.D.I.teacherDeskIcon2 = [
  60. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  61. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  62. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  63. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  64. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  65. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  66. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  67. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  68. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  69. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  70. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  71. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  72. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  73. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  74. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  75. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  76. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  77. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  78. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  79. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  80. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  81. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  82. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  83. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  84. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  85. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  86. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  87. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  88. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  89. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  90. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  91. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  92. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  93. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  94. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  95. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  96. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  97. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  98. ];
  99. U.MD.D.I.studentDeskIcon = [
  100. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  101. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  102. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  103. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  104. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  105. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  106. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  107. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  108. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  109. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  110. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  111. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  112. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  113. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  114. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  115. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  116. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  117. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  118. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  119. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  120. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  121. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  122. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  123. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  124. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  125. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  126. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  127. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  128. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  129. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  130. ];
  131. U.MD.D.I.studentDeskIcon2 = [
  132. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  134. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. ]
  137. U.MD.D.I.studentDeskIcon3 = [
  138. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  139. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  140. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  141. ]
  142. U.MD.D.I.schoolDeskIcon = [
  143. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  144. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  145. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  146. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  147. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  148. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  149. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  150. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  151. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  152. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  153. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  154. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  155. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  156. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  157. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  158. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  159. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  160. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  161. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  162. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  163. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  164. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  165. ];
  166. U.MD.D.I.orgDeskIcon = [
  167. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  168. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  169. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  170. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  171. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. ];
  174. U.MD.D.I.orgStemDeskIcon = [
  175. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  176. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  177. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  178. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  179. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  180. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  181. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  182. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  183. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  184. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  185. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  186. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  187. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  188. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  189. ];
  190. U.MD.D.I.szulsDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  201. ];
  202. U.MD.D.I.hanDeskIcon = [
  203. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  204. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  205. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  206. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  207. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  208. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  209. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  210. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  211. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  212. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  213. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  214. ];
  215. U.MD.D.I.GMteacherDeskIcon = [
  216. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  217. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  218. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  219. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  220. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  221. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  222. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  223. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  224. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  225. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  226. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  227. ];
  228. U.MD.D.I.GMstudentDeskIcon = [
  229. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  230. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  233. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  234. ];
  235. //北师大
  236. U.MD.D.I.BSDNSteacherDeskIcon = [
  237. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  238. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  239. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  240. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  241. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  242. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  243. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  244. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  245. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  246. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  247. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  248. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  249. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  250. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  251. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  252. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  253. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  254. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  255. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  256. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  257. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  258. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  259. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  260. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  261. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  262. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  263. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  264. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  265. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  266. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  267. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  268. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  269. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  270. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  271. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  272. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  273. ];
  274. //松山湖
  275. U.MD.D.I.SONGteacherDeskIcon = [
  276. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  277. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  278. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  279. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  280. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  281. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  282. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  283. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  284. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  285. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  286. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  287. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  288. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  289. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  290. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  291. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  292. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  293. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  294. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  295. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  296. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  297. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  298. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  299. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  300. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  301. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  302. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  303. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  304. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  305. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  306. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  307. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  308. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  309. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  310. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  311. ];
  312. U.MD.D.I.tcStudentDeskIcon = [
  313. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  314. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. ];
  317. U.MD.D.I.tcTeacherDeskIcon = [
  318. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  319. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  320. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  321. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  322. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  323. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.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.tcOrganizerDeskIcon = [
  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": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  333. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  334. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  335. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. ];
  339. U.MD.D.I.szscStudentDeskIcon = [
  340. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  341. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  342. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  343. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  344. ];
  345. U.MD.D.I.szscTeacherDeskIcon = [
  346. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  347. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  348. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  350. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  351. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  352. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.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.szscOrganizerDeskIcon = [
  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": "studentCourseS", "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": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  362. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  366. ];
  367. U.MD.D.I.wankeTeacherDeskIcon = [//1c3b9def-8fbe-11ed-b13d-005056b86db5
  368. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  371. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  372. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  375. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  376. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  379. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  382. ];
  383. U.MD.D.I.wankeAdminDeskIcon = [
  384. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  385. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  386. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  387. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  388. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  389. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  390. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  391. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  392. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  393. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  394. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  395. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  396. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  397. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  398. ];
  399. U.MD.D.I.lhsTeacherDeskIcon = [//未来小学
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  407. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  408. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  409. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. ];
  412. U.MD.D.I.lhsAdminDeskIcon = [//未来小学admin
  413. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  414. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  415. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  416. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  417. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  418. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  419. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  420. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. ];
  425. //明德教师桌面图标的全局变量
  426. U.MD.D.I.MingdeTeacherDeskIcon = [
  427. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  428. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  429. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  430. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  431. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  432. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  433. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  434. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  435. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  436. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  437. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  438. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  439. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  440. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  441. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  444. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  445. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  446. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  447. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  448. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  449. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  450. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  451. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  452. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  453. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  454. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  455. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  456. ];
  457. //97c4ee8b-d010-4042-986d-e9d3c217264f
  458. //教师桌面图标的全局变量
  459. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  460. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  461. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  462. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  463. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  464. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  465. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  466. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  467. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  470. ];
  471. //福田
  472. U.MD.D.I.futianTeacherDeskIcon = [
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  478. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  479. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  480. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  481. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  482. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  483. ];
  484. //福田
  485. U.MD.D.I.futianAdminDeskIcon = [
  486. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  489. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  490. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  491. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  492. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  493. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  494. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  495. ];
  496. //lotech
  497. U.MD.D.I.lotechTeacherDeskIcon = [
  498. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  499. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  500. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  506. ];
  507. //龙华中心小学教师桌面图标的全局变量
  508. U.MD.D.I.longhuateacherDeskIcon = [
  509. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  510. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  511. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  512. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  513. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  514. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  515. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  516. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  517. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  518. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. ];
  521. //教科院实小教师桌面图标的全局变量
  522. U.MD.D.I.siesteacherDeskIcon = [
  523. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  526. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  527. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  528. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  529. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  531. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. ];
  536. //福田
  537. U.MD.D.I.gdjgTeacherDeskIcon = [
  538. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  539. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  540. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  543. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  544. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  545. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  546. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  547. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  548. ];
  549. //gdjg
  550. U.MD.D.I.gdjgAdminDeskIcon = [
  551. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  552. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  553. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  554. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  555. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  556. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  557. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  558. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  559. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  560. ];
  561. //hk
  562. U.MD.D.I.hkteacherDeskIcon = [
  563. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  564. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  567. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  568. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  569. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  572. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  573. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  574. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  575. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  576. ];
  577. //hk
  578. U.MD.D.I.hkStudentDeskIcon = [
  579. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  580. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  581. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  582. ];
  583. //云海
  584. U.MD.D.I.yunhaiTeacherDeskIcon = [
  585. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  586. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  587. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  588. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  589. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  590. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  591. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  592. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  593. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  594. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  595. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  596. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  597. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  598. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. ];
  600. //福田
  601. U.MD.D.I.heyuanTeacherDeskIcon = [
  602. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  603. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  604. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  605. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  606. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  607. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  608. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  611. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  612. ];
  613. //福田
  614. U.MD.D.I.heyuanAdminDeskIcon = [
  615. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  616. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. ];
  625. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  626. U.MD.D.I.szherTeacherDeskIcon = [
  627. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  628. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  632. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  633. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //#region 桌面初始化a
  638. /**
  639. * 初始化桌面的起始函数
  640. *
  641. */
  642. U.MD.D.I.init = function () {
  643. if ($("#U_MD_D_K")[0]) {
  644. //初始化桌面图标
  645. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  646. // var clickUrl = ':12588/requestIp.php';
  647. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  648. // U.MD.D.I.Ip = data;
  649. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  650. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  651. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  652. // })
  653. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  654. // })
  655. }
  656. }
  657. /**
  658. * 模式切换
  659. *
  660. */
  661. U.MD.D.I.ModeCheck = function (type) {
  662. if (US.Config.type == type) {
  663. return
  664. }
  665. US.Config.type = type
  666. $('.U_PBL_Check .active')[0].className = ''
  667. if (type == 1) {
  668. $('.U_PBL_Check div')[0].className = 'active'
  669. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  670. } else {
  671. $('.U_PBL_Check div')[1].className = 'active'
  672. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  673. }
  674. //初始化桌面图标
  675. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  676. if(type == 2){
  677. U.MD.D.I.openApplication("project")
  678. }
  679. }
  680. /**
  681. * 隐藏任务栏
  682. *
  683. * @param {element} 桌面元素
  684. */
  685. U.MD.D.I.hiddenTaskbar = function (el) {
  686. //任务栏位置变小
  687. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  688. //桌面的位置变大
  689. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  690. }
  691. /**
  692. * 隐藏任务栏
  693. *
  694. * @param {element} 桌面元素
  695. */
  696. U.MD.D.I.hiddenTaskbarout = function (el) {
  697. //任务栏位置变小
  698. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  699. //任务栏位置变化
  700. U.selectEl(el).css({ "bottom": "-60px" });
  701. //桌面的位置变大
  702. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  703. }
  704. }
  705. /**
  706. * 初始化打印桌面图标
  707. *
  708. * @param {element} 桌面元素
  709. */
  710. U.MD.D.I.initDesktopIcons = function (el, type) {
  711. var i, //用于循环
  712. _content, //桌面图标元素
  713. _iconcontent, //桌面图标元素
  714. _frag = $$("frag"), //定义一个碎片元素
  715. _type = US.userInfo.type,
  716. _org = US.userInfo.org,
  717. _oid = US.userInfo.organizeid,
  718. _role = US.userInfo.role,
  719. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  720. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  721. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  722. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  723. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  724. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  725. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  726. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  727. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  728. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  729. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  730. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon,//获取北师大
  731. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon,//获取周佳名工作室
  732. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon,//获取松山湖
  733. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon,//获取万科双语
  734. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon,//获取万科双语
  735. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon,//获取万科双语
  736. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon,//获取未来小学
  737. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon,//获取未来小学
  738. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  739. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  740. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon,//腾讯学生
  741. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//腾讯学生
  742. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//福田
  743. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon,//福田
  744. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon,//福田
  745. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon,//福田
  746. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon,//szher
  747. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//
  748. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//
  749. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon,//lotech
  750. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon,//龙华中心
  751. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon,//龙华中心
  752. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//腾讯学生
  753. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon,//hk
  754. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon,//hk
  755. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//云海
  756. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//网络夏令营
  757. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//网络夏令营
  758. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//网络夏令营
  759. 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'];
  760. 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'];
  761. //清楚桌面图标
  762. el.innerHTML = "";
  763. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  764. _teacherDesktopIconInfo.push(
  765. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  766. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  767. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. )
  771. _easyDesktopIconInfo.push(
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }
  773. )
  774. }
  775. if(_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5'){
  776. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  777. if(el.Name == '项目管理'){
  778. el.Name = 'PBL项目'
  779. }
  780. return el
  781. })
  782. }
  783. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  784. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  785. return el.Name != '魔盒识字' && el.Name != '24点'
  786. })
  787. }
  788. 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) {
  789. _studentDesktopIconInfo.push(
  790. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  791. )
  792. }
  793. //循环创建桌面图标
  794. if (type == 1) {
  795. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  796. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  797. _content = $$("div", {
  798. className: "U_MD_D_KO",
  799. "onmousedown": U.UF.C.closure(function (obj) {
  800. //防止拖动图标即打开了桌面应用
  801. U.MD.D.click(this, obj);
  802. }, [_studentDesktopIconInfo[i]]),
  803. "onclick": U.UF.C.closure(function (obj) {
  804. //防止拖动图标即打开了桌面应用
  805. U.MD.D.click(this, obj);
  806. }, [_studentDesktopIconInfo[i]])
  807. }, _frag); //
  808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  811. }
  812. }else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  813. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  814. _content = $$("div", {
  815. className: "U_MD_D_KO",
  816. "onmousedown": U.UF.C.closure(function (obj) {
  817. //防止拖动图标即打开了桌面应用
  818. U.MD.D.click(this, obj);
  819. }, [_hkStudentDeskIconInfo[i]]),
  820. "onclick": U.UF.C.closure(function (obj) {
  821. //防止拖动图标即打开了桌面应用
  822. U.MD.D.click(this, obj);
  823. }, [_hkStudentDeskIconInfo[i]])
  824. }, _frag); //
  825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  828. }
  829. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  830. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  831. _content = $$("div", {
  832. className: "U_MD_D_KO",
  833. "onmousedown": U.UF.C.closure(function (obj) {
  834. //防止拖动图标即打开了桌面应用
  835. U.MD.D.click(this, obj);
  836. }, [_studentDesktopIconInfo[i]]),
  837. "onclick": U.UF.C.closure(function (obj) {
  838. //防止拖动图标即打开了桌面应用
  839. U.MD.D.click(this, obj);
  840. }, [_studentDesktopIconInfo[i]])
  841. }, _frag); //
  842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  845. }
  846. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  847. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  848. _content = $$("div", {
  849. className: "U_MD_D_KO",
  850. "onmousedown": U.UF.C.closure(function (obj) {
  851. //防止拖动图标即打开了桌面应用
  852. U.MD.D.click(this, obj);
  853. }, [_tcStudentDeskIconInfo[i]]),
  854. "onclick": U.UF.C.closure(function (obj) {
  855. //防止拖动图标即打开了桌面应用
  856. U.MD.D.click(this, obj);
  857. }, [_tcStudentDeskIconInfo[i]])
  858. }, _frag); //
  859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  862. }
  863. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  864. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  865. _content = $$("div", {
  866. className: "U_MD_D_KO",
  867. "onmousedown": U.UF.C.closure(function (obj) {
  868. //防止拖动图标即打开了桌面应用
  869. U.MD.D.click(this, obj);
  870. }, [_szscStudentDeskIconInfo[i]]),
  871. "onclick": U.UF.C.closure(function (obj) {
  872. //防止拖动图标即打开了桌面应用
  873. U.MD.D.click(this, obj);
  874. }, [_szscStudentDeskIconInfo[i]])
  875. }, _frag); //
  876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  879. }
  880. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  881. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  882. _content = $$("div", {
  883. className: "U_MD_D_KO",
  884. "onmousedown": U.UF.C.closure(function (obj) {
  885. //防止拖动图标即打开了桌面应用
  886. U.MD.D.click(this, obj);
  887. }, [_studentDesktopIconInfo3[i]]),
  888. "onclick": U.UF.C.closure(function (obj) {
  889. //防止拖动图标即打开了桌面应用
  890. U.MD.D.click(this, obj);
  891. }, [_studentDesktopIconInfo3[i]])
  892. }, _frag); //
  893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  896. }
  897. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  898. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  899. _content = $$("div", {
  900. className: "U_MD_D_KO",
  901. "onmousedown": U.UF.C.closure(function (obj) {
  902. //防止拖动图标即打开了桌面应用
  903. U.MD.D.click(this, obj);
  904. }, [_studentDesktopIconInfo2[i]]),
  905. "onclick": U.UF.C.closure(function (obj) {
  906. //防止拖动图标即打开了桌面应用
  907. U.MD.D.click(this, obj);
  908. }, [_studentDesktopIconInfo2[i]])
  909. }, _frag); //
  910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  913. }
  914. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  915. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  916. _content = $$("div", {
  917. className: "U_MD_D_KO",
  918. "onmousedown": U.UF.C.closure(function (obj) {
  919. //防止拖动图标即打开了桌面应用
  920. U.MD.D.click(this, obj);
  921. }, [_wanketeacherDesktopIconInfo[i]]),
  922. "onclick": U.UF.C.closure(function (obj) {
  923. //防止拖动图标即打开了桌面应用
  924. U.MD.D.click(this, obj);
  925. }, [_wanketeacherDesktopIconInfo[i]])
  926. }, _frag); //
  927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  930. }
  931. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  932. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  933. _content = $$("div", {
  934. className: "U_MD_D_KO",
  935. "onmousedown": U.UF.C.closure(function (obj) {
  936. //防止拖动图标即打开了桌面应用
  937. U.MD.D.click(this, obj);
  938. }, [_wankeAdminDesktopIconInfo[i]]),
  939. "onclick": U.UF.C.closure(function (obj) {
  940. //防止拖动图标即打开了桌面应用
  941. U.MD.D.click(this, obj);
  942. }, [_wankeAdminDesktopIconInfo[i]])
  943. }, _frag); //
  944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  947. }
  948. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  949. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  950. _content = $$("div", {
  951. className: "U_MD_D_KO",
  952. "onmousedown": U.UF.C.closure(function (obj) {
  953. //防止拖动图标即打开了桌面应用
  954. U.MD.D.click(this, obj);
  955. }, [_teacherDesktopIconInfo2[i]]),
  956. "onclick": U.UF.C.closure(function (obj) {
  957. //防止拖动图标即打开了桌面应用
  958. U.MD.D.click(this, obj);
  959. }, [_teacherDesktopIconInfo2[i]])
  960. }, _frag); //
  961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  964. }
  965. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  966. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  967. _content = $$("div", {
  968. className: "U_MD_D_KO",
  969. "onmousedown": U.UF.C.closure(function (obj) {
  970. //防止拖动图标即打开了桌面应用
  971. U.MD.D.click(this, obj);
  972. }, [_lotechTeacherDeskIconInfo[i]]),
  973. "onclick": U.UF.C.closure(function (obj) {
  974. //防止拖动图标即打开了桌面应用
  975. U.MD.D.click(this, obj);
  976. }, [_lotechTeacherDeskIconInfo[i]])
  977. }, _frag); //
  978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  981. }
  982. }else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  983. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  984. _content = $$("div", {
  985. className: "U_MD_D_KO",
  986. "onmousedown": U.UF.C.closure(function (obj) {
  987. //防止拖动图标即打开了桌面应用
  988. U.MD.D.click(this, obj);
  989. }, [_siesTeacherDeskIconInfo[i]]),
  990. "onclick": U.UF.C.closure(function (obj) {
  991. //防止拖动图标即打开了桌面应用
  992. U.MD.D.click(this, obj);
  993. }, [_siesTeacherDeskIconInfo[i]])
  994. }, _frag); //
  995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  998. }
  999. }else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1000. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1001. _content = $$("div", {
  1002. className: "U_MD_D_KO",
  1003. "onmousedown": U.UF.C.closure(function (obj) {
  1004. //防止拖动图标即打开了桌面应用
  1005. U.MD.D.click(this, obj);
  1006. }, [_longhuaTeacherDeskIconInfo[i]]),
  1007. "onclick": U.UF.C.closure(function (obj) {
  1008. //防止拖动图标即打开了桌面应用
  1009. U.MD.D.click(this, obj);
  1010. }, [_longhuaTeacherDeskIconInfo[i]])
  1011. }, _frag); //
  1012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1015. }
  1016. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1017. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1018. _content = $$("div", {
  1019. className: "U_MD_D_KO",
  1020. "onmousedown": U.UF.C.closure(function (obj) {
  1021. //防止拖动图标即打开了桌面应用
  1022. U.MD.D.click(this, obj);
  1023. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1024. "onclick": U.UF.C.closure(function (obj) {
  1025. //防止拖动图标即打开了桌面应用
  1026. U.MD.D.click(this, obj);
  1027. }, [_yunhaiTeacherDeskIconInfo[i]])
  1028. }, _frag); //
  1029. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1030. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1031. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1032. }//_hkStudentDeskIconInfo
  1033. }else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1034. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1035. _content = $$("div", {
  1036. className: "U_MD_D_KO",
  1037. "onmousedown": U.UF.C.closure(function (obj) {
  1038. //防止拖动图标即打开了桌面应用
  1039. U.MD.D.click(this, obj);
  1040. }, [_hkTeacherDeskIconInfo[i]]),
  1041. "onclick": U.UF.C.closure(function (obj) {
  1042. //防止拖动图标即打开了桌面应用
  1043. U.MD.D.click(this, obj);
  1044. }, [_hkTeacherDeskIconInfo[i]])
  1045. }, _frag); //
  1046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1049. }
  1050. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1051. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1052. _content = $$("div", {
  1053. className: "U_MD_D_KO",
  1054. "onmousedown": U.UF.C.closure(function (obj) {
  1055. //防止拖动图标即打开了桌面应用
  1056. U.MD.D.click(this, obj);
  1057. }, [_gdjgAdminDeskIconInfo[i]]),
  1058. "onclick": U.UF.C.closure(function (obj) {
  1059. //防止拖动图标即打开了桌面应用
  1060. U.MD.D.click(this, obj);
  1061. }, [_gdjgAdminDeskIconInfo[i]])
  1062. }, _frag); //
  1063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1066. }
  1067. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1068. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1069. _content = $$("div", {
  1070. className: "U_MD_D_KO",
  1071. "onmousedown": U.UF.C.closure(function (obj) {
  1072. //防止拖动图标即打开了桌面应用
  1073. U.MD.D.click(this, obj);
  1074. }, [_gdjgTeacherDeskIconInfo[i]]),
  1075. "onclick": U.UF.C.closure(function (obj) {
  1076. //防止拖动图标即打开了桌面应用
  1077. U.MD.D.click(this, obj);
  1078. }, [_gdjgTeacherDeskIconInfo[i]])
  1079. }, _frag); //
  1080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1083. }
  1084. }else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1085. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1086. _content = $$("div", {
  1087. className: "U_MD_D_KO",
  1088. "onmousedown": U.UF.C.closure(function (obj) {
  1089. //防止拖动图标即打开了桌面应用
  1090. U.MD.D.click(this, obj);
  1091. }, [_szherTeacherDeskIconInfo[i]]),
  1092. "onclick": U.UF.C.closure(function (obj) {
  1093. //防止拖动图标即打开了桌面应用
  1094. U.MD.D.click(this, obj);
  1095. }, [_szherTeacherDeskIconInfo[i]])
  1096. }, _frag); //
  1097. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1098. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1099. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1100. }
  1101. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1102. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1103. _content = $$("div", {
  1104. className: "U_MD_D_KO",
  1105. "onmousedown": U.UF.C.closure(function (obj) {
  1106. //防止拖动图标即打开了桌面应用
  1107. U.MD.D.click(this, obj);
  1108. }, [_heyuannAdminDeskIconInfo[i]]),
  1109. "onclick": U.UF.C.closure(function (obj) {
  1110. //防止拖动图标即打开了桌面应用
  1111. U.MD.D.click(this, obj);
  1112. }, [_heyuannAdminDeskIconInfo[i]])
  1113. }, _frag); //
  1114. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1115. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1116. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1117. }
  1118. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1119. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1120. _content = $$("div", {
  1121. className: "U_MD_D_KO",
  1122. "onmousedown": U.UF.C.closure(function (obj) {
  1123. //防止拖动图标即打开了桌面应用
  1124. U.MD.D.click(this, obj);
  1125. }, [_heyuanTeacherDeskIconInfo[i]]),
  1126. "onclick": U.UF.C.closure(function (obj) {
  1127. //防止拖动图标即打开了桌面应用
  1128. U.MD.D.click(this, obj);
  1129. }, [_heyuanTeacherDeskIconInfo[i]])
  1130. }, _frag); //
  1131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1134. }
  1135. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1136. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1137. _content = $$("div", {
  1138. className: "U_MD_D_KO",
  1139. "onmousedown": U.UF.C.closure(function (obj) {
  1140. //防止拖动图标即打开了桌面应用
  1141. U.MD.D.click(this, obj);
  1142. }, [_futianAdminDeskIconInfo[i]]),
  1143. "onclick": U.UF.C.closure(function (obj) {
  1144. //防止拖动图标即打开了桌面应用
  1145. U.MD.D.click(this, obj);
  1146. }, [_futianAdminDeskIconInfo[i]])
  1147. }, _frag); //
  1148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1151. }
  1152. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1153. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1154. _content = $$("div", {
  1155. className: "U_MD_D_KO",
  1156. "onmousedown": U.UF.C.closure(function (obj) {
  1157. //防止拖动图标即打开了桌面应用
  1158. U.MD.D.click(this, obj);
  1159. }, [_futianTeacherDeskIconInfo[i]]),
  1160. "onclick": U.UF.C.closure(function (obj) {
  1161. //防止拖动图标即打开了桌面应用
  1162. U.MD.D.click(this, obj);
  1163. }, [_futianTeacherDeskIconInfo[i]])
  1164. }, _frag); //
  1165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1168. }
  1169. }else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1170. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1171. _content = $$("div", {
  1172. className: "U_MD_D_KO",
  1173. "onmousedown": U.UF.C.closure(function (obj) {
  1174. //防止拖动图标即打开了桌面应用
  1175. U.MD.D.click(this, obj);
  1176. }, [_MingdeTeacherDeskIcon[i]]),
  1177. "onclick": U.UF.C.closure(function (obj) {
  1178. //防止拖动图标即打开了桌面应用
  1179. U.MD.D.click(this, obj);
  1180. }, [_MingdeTeacherDeskIcon[i]])
  1181. }, _frag); //
  1182. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1183. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1184. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1185. }
  1186. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1187. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1188. _content = $$("div", {
  1189. className: "U_MD_D_KO",
  1190. "onmousedown": U.UF.C.closure(function (obj) {
  1191. //防止拖动图标即打开了桌面应用
  1192. U.MD.D.click(this, obj);
  1193. }, [_lhsAdminDesktopIconInfo[i]]),
  1194. "onclick": U.UF.C.closure(function (obj) {
  1195. //防止拖动图标即打开了桌面应用
  1196. U.MD.D.click(this, obj);
  1197. }, [_lhsAdminDesktopIconInfo[i]])
  1198. }, _frag); //
  1199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1202. }
  1203. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1204. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1205. _content = $$("div", {
  1206. className: "U_MD_D_KO",
  1207. "onmousedown": U.UF.C.closure(function (obj) {
  1208. //防止拖动图标即打开了桌面应用
  1209. U.MD.D.click(this, obj);
  1210. }, [_lhsteacherDesktopIconInfo[i]]),
  1211. "onclick": U.UF.C.closure(function (obj) {
  1212. //防止拖动图标即打开了桌面应用
  1213. U.MD.D.click(this, obj);
  1214. }, [_lhsteacherDesktopIconInfo[i]])
  1215. }, _frag); //
  1216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1219. }
  1220. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1221. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1222. _content = $$("div", {
  1223. className: "U_MD_D_KO",
  1224. "onmousedown": U.UF.C.closure(function (obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1228. "onclick": U.UF.C.closure(function (obj) {
  1229. //防止拖动图标即打开了桌面应用
  1230. U.MD.D.click(this, obj);
  1231. }, [_zhoujiateacherDesktopIconInfo[i]])
  1232. }, _frag); //
  1233. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1234. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1235. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1236. }
  1237. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1238. for (i = 0; i < _hanDeskIcon.length; i++) {
  1239. _content = $$("div", {
  1240. className: "U_MD_D_KO",
  1241. "onmousedown": U.UF.C.closure(function (obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_hanDeskIcon[i]]),
  1245. "onclick": U.UF.C.closure(function (obj) {
  1246. //防止拖动图标即打开了桌面应用
  1247. U.MD.D.click(this, obj);
  1248. }, [_hanDeskIcon[i]])
  1249. }, _frag); //
  1250. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1251. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1252. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1253. }
  1254. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1255. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1256. _content = $$("div", {
  1257. className: "U_MD_D_KO",
  1258. "onmousedown": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_orgStemDeskIcon[i]]),
  1262. "onclick": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_orgStemDeskIcon[i]])
  1266. }, _frag); //
  1267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1270. }
  1271. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1272. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1273. _content = $$("div", {
  1274. className: "U_MD_D_KO",
  1275. "onmousedown": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_szulsDeskIcon[i]]),
  1279. "onclick": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_szulsDeskIcon[i]])
  1283. }, _frag); //
  1284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1287. }
  1288. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1289. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1290. _content = $$("div", {
  1291. className: "U_MD_D_KO",
  1292. "onmousedown": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_orgDesktopIconInfo[i]]),
  1296. "onclick": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_orgDesktopIconInfo[i]])
  1300. }, _frag); //
  1301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1304. }
  1305. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1306. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1307. _content = $$("div", {
  1308. className: "U_MD_D_KO",
  1309. "onmousedown": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_schoolDesktopIconInfo[i]]),
  1313. "onclick": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_schoolDesktopIconInfo[i]])
  1317. }, _frag); //
  1318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1321. }
  1322. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1323. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1324. _content = $$("div", {
  1325. className: "U_MD_D_KO",
  1326. "onmousedown": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_GMteacherDesktopIconInfo[i]]),
  1330. "onclick": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_GMteacherDesktopIconInfo[i]])
  1334. }, _frag); //
  1335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1338. }
  1339. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1340. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1341. _content = $$("div", {
  1342. className: "U_MD_D_KO",
  1343. "onmousedown": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_SONGteacherDesktopIconInfo[i]]),
  1347. "onclick": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_SONGteacherDesktopIconInfo[i]])
  1351. }, _frag); //
  1352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1355. }
  1356. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1357. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_GMstudentDesktopIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_GMstudentDesktopIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1374. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_tcTeacherDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_tcTeacherDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1389. }
  1390. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1391. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_tcOrganizerDeskIconInfo[i]]),
  1398. "onclick": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_tcOrganizerDeskIconInfo[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1406. }
  1407. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1408. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_szscTeacherDeskIconInfo[i]]),
  1415. "onclick": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_szscTeacherDeskIconInfo[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1423. }
  1424. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1425. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_szscOrganizerDeskIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_szscOrganizerDeskIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1440. }
  1441. } else {
  1442. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_teacherDesktopIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_teacherDesktopIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. }
  1459. } else {
  1460. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. style: { 'width': '124px', 'height': '145px' },
  1464. "onmousedown": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_easyDesktopIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_easyDesktopIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1476. }
  1477. }
  1478. if (type == 1) {
  1479. //加载好后给图标定位
  1480. U.MD.D.iconPostion($(_frag).Child());
  1481. } else {
  1482. //加载好后给图标定位
  1483. U.MD.D.iconPostion2($(_frag).Child());
  1484. }
  1485. //把图标加载到页面
  1486. el.appendChild(_frag);
  1487. }
  1488. /**
  1489. * 显示任务栏
  1490. *
  1491. * @param {element} 桌面元素
  1492. */
  1493. U.MD.D.I.displayTaskbar = function (el) {
  1494. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1495. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1496. //任务栏位置变化
  1497. U.selectEl(el).css({ "bottom": "0px" });
  1498. //桌面位置变话
  1499. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1500. }
  1501. }
  1502. //#region 桌面图标拖动逻辑
  1503. /**
  1504. * 桌面排列图标
  1505. *
  1506. * @param {element} 桌面元素
  1507. * @param {object} 上下相距的距离
  1508. * @param {object} 左右相距的距离
  1509. * @return {object} 命名空间
  1510. */
  1511. U.MD.D.iconPostion = function (childs, top, left) {
  1512. var i; //用于循环处理
  1513. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1514. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1515. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1516. for (i = 0; i < childs.length; i++) {
  1517. //如果竖排top超过了范围处理
  1518. if (top + 95 > US.height - 10) {
  1519. //left超过了页面范围处理,则向上重叠打印处理
  1520. if ((left + 180) > US.width) {
  1521. top -= 110;
  1522. left -= 90;
  1523. }
  1524. //没有超过范围,那么left+90添加到下一个竖排打印
  1525. else {
  1526. left += 90;
  1527. top = 15;
  1528. };
  1529. }
  1530. //给图标的位置赋值
  1531. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1532. if (i < childs.length - 1) {
  1533. //页面图标每次向下加95
  1534. top += 95;
  1535. }
  1536. }
  1537. //返回最后调用的图标的位置
  1538. return [top, left];
  1539. }
  1540. /**
  1541. * 桌面排列图标
  1542. *
  1543. * @param {element} 桌面元素
  1544. * @param {object} 上下相距的距离
  1545. * @param {object} 左右相距的距离
  1546. * @return {object} 命名空间
  1547. */
  1548. U.MD.D.iconPostion2 = function (childs, top, left) {
  1549. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1550. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1551. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1552. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1553. for (i = 0; i < childs.length; i++) {
  1554. //如果竖排top超过了范围处理
  1555. if (left + 150 > US.width - 10) {
  1556. //left超过了页面范围处理,则向上重叠打印处理
  1557. if ((top + 180) > US.Height) {
  1558. top -= 150;
  1559. left -= 150;
  1560. }
  1561. //没有超过范围,那么left+90添加到下一个竖排打印
  1562. else {
  1563. top += 150;
  1564. left = ol;
  1565. };
  1566. }
  1567. //给图标的位置赋值
  1568. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1569. if (i < childs.length - 1) {
  1570. //页面图标每次向下加95
  1571. left += 150;
  1572. }
  1573. }
  1574. //返回最后调用的图标的位置
  1575. return [top, left];
  1576. }
  1577. /**
  1578. * 桌面点击事件逻辑
  1579. *
  1580. * @param {element} 桌面元素
  1581. * @param {object} 上下相距的距离
  1582. * @param {object} 左右相距的距离
  1583. * @return {object} 命名空间
  1584. */
  1585. U.MD.D.click = function (el, obj) {
  1586. var _buttonnumber = event.button; //点击的按钮的事件值
  1587. var _userinfo = US.userInfo;
  1588. U.UF.EV.stopBubble(); //阻止向上冒泡
  1589. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  1590. if (_buttonnumber < 2) {
  1591. //如果是click事件的处理
  1592. if (event.type == "click") {
  1593. //如果元素在mousemove事件中没有移动则出发click事件
  1594. if (!U.MD.D.I.IsDrag) {
  1595. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1596. U.alert("请先登录您的账号!");
  1597. setTimeout(() => {
  1598. U.MD.U.L.login();
  1599. }, 2000);
  1600. } else {
  1601. //打开应用处理
  1602. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  1603. }
  1604. }
  1605. }
  1606. //如果是mouse事件的处理
  1607. else {
  1608. if (US.Config.type == '1') {
  1609. //拖动处理,添加拖动和拖动结束事件
  1610. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  1611. }
  1612. }
  1613. U.MD.D.I.IsDrag = false;
  1614. }
  1615. }
  1616. /**
  1617. * 拖动的处理
  1618. *
  1619. */
  1620. U.MD.D.iconMove = function () {
  1621. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  1622. U.MD.D.I.IsDrag = true;
  1623. }
  1624. /**
  1625. * 拖动结束后,这里是定位处理,以网状的形式定位
  1626. *
  1627. * @param {element} 拖动的元素
  1628. * @return {object} 命名空间
  1629. */
  1630. U.MD.D.iconUp = function (el) {
  1631. var _top = 15,
  1632. _left = 20,
  1633. _margin,
  1634. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  1635. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  1636. if (_positioninfo["OT"] > 15) {
  1637. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  1638. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  1639. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  1640. }
  1641. if (_positioninfo["OL"] > 20) {
  1642. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  1643. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  1644. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  1645. }
  1646. //while循环判断么一个重叠的元素
  1647. do {
  1648. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  1649. _top = _positioninfo[0] + 95; //得到定位后的top
  1650. _left = _positioninfo[1]; //得到定位后的left
  1651. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  1652. }
  1653. /**
  1654. * 判断拖动后图标是否重叠
  1655. *
  1656. * @param {element} 拖动的元素
  1657. * @param {element} 桌面所有的元素
  1658. * @param {array} 拖动元素的位置
  1659. ----------[0] 上 top
  1660. ----------[1] 左 left
  1661. * @return {object} 命名空间
  1662. */
  1663. U.MD.D.isOverlap = function (el, childs, postionarray) {
  1664. //循环所有的图标
  1665. for (var i = 0; i < childs.length; i++) {
  1666. //判断有没有和该图标诶子重叠的元素
  1667. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  1668. return childs[i]; //如果有返回
  1669. }
  1670. }
  1671. }
  1672. //#endregion
  1673. //#endregion
  1674. //#region 桌面应用
  1675. /**
  1676. * 打开应用
  1677. *
  1678. * @param {string} 类型
  1679. -----------------Disk 网盘系统
  1680. -----------------PDisk 学习系统网盘
  1681. -----------------Poto 图片
  1682. -----------------Video 视频
  1683. -----------------Music 音乐
  1684. -----------------Word word
  1685. -----------------Excel excel
  1686. -----------------Txt 记事本
  1687. -----------------PB 学习系统
  1688. -----------------Blog 朋友圈系统
  1689. -----------------FTP ftp系统
  1690. -----------------Group 好友群
  1691. -----------------SY 首页系统
  1692. -----------------Set 个人设置
  1693. -----------------XSet 系统设置
  1694. -----------------App 我们所有的app
  1695. -----------------BC c.1473.cn 平台
  1696. -----------------CWeb d.1473.cn 变成平台
  1697. -----------------其他的外联系统 我们统一用iframe打开
  1698. * @param {array} 类型
  1699. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  1700. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  1701. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  1702. 如果第一个参数为其他,则无第二个参数
  1703. * @returns {array}
  1704. */
  1705. window.addEventListener('message', function (e) { // 监听 message 事件
  1706. // alert(e.data.type);
  1707. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  1708. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  1709. //3是展示全部阶段 2学生 1老师 4专家
  1710. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  1711. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  1712. //3是展示全部阶段 2学生 1老师 4专家
  1713. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  1714. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  1715. //3是展示全部阶段 2学生 1老师 4专家
  1716. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  1717. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  1718. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  1719. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  1720. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  1721. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  1722. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  1723. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  1724. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  1725. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  1726. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  1727. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  1728. //3是展示全部阶段 2学生 1老师 4专家
  1729. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  1730. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  1731. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  1732. U.MD.D.I.selectUser();
  1733. } else if (e.data.allScreen && e.data.allScreen == "1") {
  1734. var _formel = document.getElementById("study");
  1735. U.UF.F.windowZooming(_formel);
  1736. } else if (e.data.allScreen && e.data.allScreen == "2") {
  1737. var _formel = document.getElementById("studyDetail");
  1738. U.UF.F.windowZooming(_formel);
  1739. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  1740. var _formel = document.getElementById("studyDetail");
  1741. U.UF.F.windowZooming(_formel);
  1742. } else if (e.data.allScreen && e.data.allScreen == "3") {
  1743. var _formel = document.getElementById("studentStudy");
  1744. U.UF.F.windowZooming(_formel);
  1745. } else if (e.data.allScreen && e.data.allScreen == "6") {
  1746. // var _formel = document.getElementById("study");
  1747. //如果最大化了,那么就把他缩小
  1748. // if (_formel.ismaximize) {
  1749. // return;
  1750. // }
  1751. // U.UF.F.windowZooming(_formel);
  1752. // U.UF.F.topWindow(_formel);
  1753. } else if (e.data.allScreen && e.data.allScreen == "4") {
  1754. // var _formel = document.getElementById("studyDetail");
  1755. //如果最大化了,那么就把他缩小
  1756. // if (_formel.ismaximize) {
  1757. // return;
  1758. // }
  1759. // U.UF.F.windowZooming(_formel);
  1760. // U.UF.F.topWindow(_formel);
  1761. } else if (e.data.allScreen && e.data.allScreen == "5") {
  1762. // var _formel = document.getElementById("studentStudy");
  1763. // if (_formel.ismaximize) {
  1764. // return;
  1765. // }
  1766. // U.UF.F.windowZooming(_formel);
  1767. // U.UF.F.topWindow(_formel);
  1768. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  1769. var _formel = document.getElementById("study");
  1770. // if (_formel.ismaximize) {
  1771. // return;
  1772. // }
  1773. // U.UF.F.windowZooming(_formel);
  1774. U.UF.F.topWindow(_formel);
  1775. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  1776. var _formel = document.getElementById("studentIndex");
  1777. U.UF.F.windowZooming(_formel);
  1778. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  1779. var _formel = document.getElementById("studyDetailS");
  1780. U.UF.F.windowZooming(_formel);
  1781. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  1782. var _formel = document.getElementById("studioIndex");
  1783. U.UF.F.windowZooming(_formel);
  1784. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  1785. var _formel = document.getElementById("studyDetailStudio");
  1786. U.UF.F.windowZooming(_formel);
  1787. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  1788. var _formel = document.getElementById("studyDetailStudio");
  1789. U.UF.F.windowZooming(_formel);
  1790. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  1791. var _formel = document.getElementById("studyDetailNT");
  1792. U.UF.F.windowZooming(_formel);
  1793. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  1794. var _formel = document.getElementById("studyDetailS");
  1795. U.UF.F.windowZooming(_formel);
  1796. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  1797. var _formel = document.getElementById("studyDetailS");
  1798. U.UF.F.topWindow(_formel);
  1799. } else if (e.data.tools && e.data.tools == "1") {
  1800. // U.MD.D.I.openApplication("whiteboard")
  1801. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1802. } else if (e.data.tools && e.data.tools == "2") {
  1803. U.MD.D.I.openApplication("note")
  1804. } else if (e.data.tools && e.data.tools == "3") {
  1805. // U.MD.D.I.openApplication("mind")
  1806. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1807. } else if (e.data.tools && e.data.tools == "4") {
  1808. U.MD.D.I.openApplication("investigation")
  1809. } else if (e.data.tools && e.data.tools == "6") {
  1810. // U.MD.D.I.openApplication("doc")
  1811. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1812. } else if (e.data.tools && e.data.tools == "7") {
  1813. // U.MD.D.I.openApplication("mindNetwork")
  1814. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1815. } else if (e.data.tools && e.data.tools == "8") {
  1816. U.MD.D.I.openApplication("library")
  1817. } else if (e.data.tools && e.data.tools == "17") {
  1818. U.MD.D.I.openApplication("stuLibrary")
  1819. } else if (e.data.tools && e.data.tools == "18") {
  1820. U.MD.D.I.openApplication("train")
  1821. } else if (e.data.tools && e.data.tools == "21") {
  1822. U.MD.D.I.openApplication("program")
  1823. } else if (e.data.tools && e.data.tools == "22") {
  1824. U.MD.D.I.openApplication("AIprogram2")
  1825. } else if (e.data.tools && e.data.tools == "23") {
  1826. U.MD.D.I.openApplication("Pythonprogram")
  1827. } else if (e.data.tools && e.data.tools == "24") {
  1828. U.MD.D.I.openApplication("AIprogram")
  1829. } else if (e.data.tools && e.data.tools == "25") {
  1830. U.MD.D.I.openApplication("sys")
  1831. } else if (e.data.tools && e.data.tools == "26") {
  1832. // U.MD.D.I.openApplication("courseDesign")
  1833. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1834. } else if (e.data.tools && e.data.tools == "31") {
  1835. U.MD.D.I.openApplication("netWorkPanel")
  1836. } else if (e.data.tools && e.data.tools == "32") {
  1837. U.MD.D.I.openApplication("codeEdit")
  1838. } else if (e.data.tools && e.data.tools == "57") {
  1839. U.MD.D.I.openApplication("CocoPi")
  1840. } else if (e.data.tools && e.data.tools == "63") {
  1841. U.MD.D.I.openApplication("Wood")
  1842. } else if (e.data.tools && e.data.tools == "58") {
  1843. U.MD.D.I.openApplication("car")
  1844. } else if (e.data.tools && e.data.tools == "59") {
  1845. U.MD.D.I.openApplication("lineSearch")
  1846. } else if (e.data.tools && e.data.tools == "60") {
  1847. U.MD.D.I.openApplication("deepLearning")
  1848. } else if (e.data.tools && e.data.tools == "61") {
  1849. U.MD.D.I.openApplication("allHistory")
  1850. } else if (e.data.tools && e.data.tools == "28") {
  1851. U.MD.D.I.openApplication("translation")
  1852. } else if (e.data.tools && e.data.tools == "37") {
  1853. U.MD.D.I.openApplication("mohe")
  1854. } else if (e.data.tools && e.data.tools == "38") {
  1855. U.MD.D.I.openApplication("24game")
  1856. } else if (e.data.tools && e.data.tools == "39") {
  1857. U.MD.D.I.openApplication("GeoGebra")
  1858. } else if (e.data.tools && e.data.tools == "43") {
  1859. U.MD.D.I.openApplication("studentEvaluate")
  1860. } else if (e.data.tools && e.data.tools == "44") {
  1861. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  1862. } else if (e.data.tools && e.data.tools == "46") {
  1863. U.MD.D.I.openApplication("project")
  1864. } else if (e.data.tools && e.data.tools == "1s") {
  1865. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1866. } else if (e.data.tools && e.data.tools == "3s") {
  1867. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1868. } else if (e.data.tools && e.data.tools == "6s") {
  1869. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1870. } else if (e.data.tools && e.data.tools == "1studio") {
  1871. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1872. } else if (e.data.tools && e.data.tools == "3studio") {
  1873. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1874. } else if (e.data.tools && e.data.tools == "6studio") {
  1875. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1876. } else if (e.data.tools && e.data.tools == "3y") {
  1877. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1878. } else if (e.data.tools && e.data.tools == "1y") {
  1879. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1880. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  1881. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  1882. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  1883. U.MD.D.I.openApplication("AIAnalyse")
  1884. } else if (e.data.tools && e.data.tools == "1teacher") {
  1885. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1886. } else if (e.data.tools && e.data.tools == "3teacher") {
  1887. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1888. } else if (e.data.tools && e.data.tools == "7teacher") {
  1889. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1890. } else if (e.data.tools && e.data.tools == "1teacherE") {
  1891. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1892. } else if (e.data.tools && e.data.tools == "3teacherE") {
  1893. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1894. } else if (e.data.tools && e.data.tools == "1E") {
  1895. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1896. } else if (e.data.tools && e.data.tools == "3E") {
  1897. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1898. } else if (e.data.tools && e.data.tools == "57y") {
  1899. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1900. } else if (e.data.tools && e.data.tools == "57u") {
  1901. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  1902. } else if (e.data.tools && e.data.tools == "57teacher") {
  1903. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  1904. }
  1905. });
  1906. U.MD.D.I.selectUser = function () {
  1907. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  1908. if (res.value[0].length > 0) {
  1909. US.userInfo = res.value[0][0];
  1910. $(".userName")[0].innerHTML = US.userInfo.username;
  1911. }
  1912. }, [], { "type": "GET", "withCredentials": true });
  1913. }
  1914. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  1915. var _userinfo = US.userInfo, //登录用户信息
  1916. _userid = US.userInfo.userid, //登录用户id
  1917. _oid = _userinfo.organizeid,
  1918. _type = US.userInfo.type,
  1919. _org = US.userInfo.org,
  1920. _role = US.userInfo.role,
  1921. _classId = US.userInfo.classid;
  1922. if (_type == 4) {
  1923. tType = 4
  1924. }
  1925. switch (str) {
  1926. case "studyDetailNT"://无终端模式
  1927. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1928. setTimeout(() => {
  1929. U.MD.U.L.login();
  1930. }, 2000);
  1931. } else {
  1932. _formdiv = new U.UF.UI.form(
  1933. "课程详情",
  1934. $$("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 }), {
  1935. "id": "studyDetailNT",
  1936. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1937. "onresize": function () { }
  1938. }, {
  1939. closecallback: function () { }
  1940. }, { "style": { "height": "36px" } }).form; //创建窗体
  1941. _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); } }
  1942. break;
  1943. }
  1944. case "studyDetail":
  1945. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1946. setTimeout(() => {
  1947. U.MD.U.L.login();
  1948. }, 2000);
  1949. } else {
  1950. _formdiv = new U.UF.UI.form(
  1951. "课程详情",
  1952. $$("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 }), {
  1953. "id": "studyDetail",
  1954. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1955. "onresize": function () { }
  1956. }, {
  1957. closecallback: function () { }
  1958. }, { "style": { "height": "36px" } }).form; //创建窗体
  1959. _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); } }
  1960. break;
  1961. }
  1962. case "studyDetailS":
  1963. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1964. setTimeout(() => {
  1965. U.MD.U.L.login();
  1966. }, 2000);
  1967. } else {
  1968. _formdiv = new U.UF.UI.form(
  1969. "项目详情",
  1970. $$("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 }), {
  1971. "id": "studyDetailS",
  1972. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  1973. "onresize": function () { }
  1974. }, {
  1975. closecallback: function () { }
  1976. }, { "style": { "height": "36px" } }).form; //创建窗体
  1977. _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); } }
  1978. break;
  1979. }
  1980. case "studyDetailStudio":
  1981. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1982. setTimeout(() => {
  1983. U.MD.U.L.login();
  1984. }, 2000);
  1985. } else {
  1986. _formdiv = new U.UF.UI.form(
  1987. "工作详情",
  1988. $$("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 }), {
  1989. "id": "studyDetailStudio",
  1990. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  1991. "onresize": function () { }
  1992. }, {
  1993. closecallback: function () { }
  1994. }, { "style": { "height": "36px" } }).form; //创建窗体
  1995. _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); } }
  1996. break;
  1997. }
  1998. case "studyDetailS5":
  1999. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2000. setTimeout(() => {
  2001. U.MD.U.L.login();
  2002. }, 2000);
  2003. } else {
  2004. _formdiv = new U.UF.UI.form(
  2005. "项目详情",
  2006. $$("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 }), {
  2007. "id": "studyDetailS",
  2008. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2009. "onresize": function () { }
  2010. }, {
  2011. closecallback: function () { }
  2012. }, { "style": { "height": "36px" } }).form; //创建窗体
  2013. _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); } }
  2014. break;
  2015. }
  2016. case "studyDetailGM":
  2017. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2018. setTimeout(() => {
  2019. U.MD.U.L.login();
  2020. }, 2000);
  2021. } else {
  2022. _formdiv = new U.UF.UI.form(
  2023. "课程详情",
  2024. $$("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 }), {
  2025. "id": "studyDetail",
  2026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2027. "onresize": function () { }
  2028. }, {
  2029. closecallback: function () { }
  2030. }, { "style": { "height": "36px" } }).form; //创建窗体
  2031. _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); } }
  2032. break;
  2033. }
  2034. case "hanUrl":
  2035. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2036. setTimeout(() => {
  2037. U.MD.U.L.login();
  2038. }, 2000);
  2039. } else {
  2040. _formdiv = new U.UF.UI.form(
  2041. "汉字宫",
  2042. $$("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" }), {
  2043. "id": "hanUrl",
  2044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2045. "onresize": function () { }
  2046. }, {
  2047. closecallback: function () { }
  2048. }, { "style": { "height": "36px" } }).form; //创建窗体
  2049. _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); } }
  2050. break;
  2051. }
  2052. }
  2053. }
  2054. U.MD.D.I.openApplication = function (str, obj, info) {
  2055. obj = obj || {};
  2056. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2057. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2058. _userinfo = US.userInfo, //登录用户信息
  2059. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2060. _oid = obj.organizeid || _userinfo.organizeid,
  2061. _type = US.userInfo.type,
  2062. _org = US.userInfo.org,
  2063. _role = US.userInfo.role,
  2064. _classId = US.userInfo.classid,
  2065. _TscreenType = 1
  2066. _screenType = 2,
  2067. _SscreenType = 3;
  2068. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2069. return;
  2070. }
  2071. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2072. switch (str) {
  2073. case "studnetProject": //好友打开
  2074. _formdiv = new U.UF.UI.form(
  2075. "我的项目",
  2076. $$("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 }), {
  2077. "id": "studnetProject",
  2078. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2079. "onresize": function () { }
  2080. }, {
  2081. closecallback: function () { }
  2082. }, { "style": { "height": "36px" } }).form; //创建窗体
  2083. _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); } }
  2084. break;
  2085. case "studentEvaluate": //好友打开
  2086. _formdiv = new U.UF.UI.form(
  2087. "我的评价",
  2088. $$("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 }), {
  2089. "id": "studentEvaluate",
  2090. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2091. "onresize": function () { }
  2092. }, {
  2093. closecallback: function () { }
  2094. }, { "style": { "height": "36px" } }).form; //创建窗体
  2095. _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); } }
  2096. break;
  2097. case "my":
  2098. _formdiv = new U.UF.UI.form(
  2099. "我的资料",
  2100. $$("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 }), {
  2101. "id": "my",
  2102. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2103. "onresize": function () { }
  2104. }, {
  2105. closecallback: function () { }
  2106. }, { "style": { "height": "36px" } }).form; //创建窗体
  2107. _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); } }
  2108. break;
  2109. case "program":
  2110. _formdiv = new U.UF.UI.form(
  2111. "编程平台",
  2112. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2113. "id": "program",
  2114. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2115. "onresize": function () { }
  2116. }, {
  2117. closecallback: function () { }
  2118. }, { "style": { "height": "36px" } }).form; //创建窗体
  2119. _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); } }
  2120. break;
  2121. case "library":
  2122. _formdiv = new U.UF.UI.form(
  2123. "素材库",
  2124. $$("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 }), {
  2125. "id": "library",
  2126. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2127. "onresize": function () { }
  2128. }, {
  2129. closecallback: function () { }
  2130. }, { "style": { "height": "36px" } }).form; //创建窗体
  2131. _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); } }
  2132. break;
  2133. case "whiteboard":
  2134. _formdiv = new U.UF.UI.form(
  2135. "电子白板",
  2136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2137. "id": "whiteboard",
  2138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2139. "onresize": function () { }
  2140. }, {
  2141. closecallback: function () { }
  2142. }, { "style": { "height": "36px" } }).form; //创建窗体
  2143. _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); } }
  2144. break;
  2145. case "investigation":
  2146. _formdiv = new U.UF.UI.form(
  2147. "问卷调查",
  2148. $$("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 }), {
  2149. "id": "investigation",
  2150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2151. "onresize": function () { }
  2152. }, {
  2153. closecallback: function () { }
  2154. }, { "style": { "height": "36px" } }).form; //创建窗体
  2155. _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); } }
  2156. break;
  2157. case "note":
  2158. _formdiv = new U.UF.UI.form(
  2159. "便签分类",
  2160. $$("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 }), {
  2161. "id": "note",
  2162. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2163. "onresize": function () { }
  2164. }, {
  2165. closecallback: function () { }
  2166. }, { "style": { "height": "36px" } }).form; //创建窗体
  2167. _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); } }
  2168. break;
  2169. // case "score":
  2170. // _formdiv = new U.UF.UI.form(
  2171. // "量规评分",
  2172. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2173. // "id": "score",
  2174. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2175. // "onresize": function() {}
  2176. // }, {
  2177. // closecallback: function() {}
  2178. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2179. // _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); } }
  2180. // break;
  2181. case "mind":
  2182. _formdiv = new U.UF.UI.form(
  2183. "思维导图",
  2184. $$("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"
  2185. "id": "mind",
  2186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2187. "onresize": function () { }
  2188. }, {
  2189. closecallback: function () { }
  2190. }, { "style": { "height": "36px" } }).form; //创建窗体
  2191. _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); } }
  2192. break;
  2193. case "doc":
  2194. // U.MD.D.I.isRoom();
  2195. _formdiv = new U.UF.UI.form(
  2196. "协同文档",
  2197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2198. "id": "doc",
  2199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2200. "onresize": function () { }
  2201. }, {
  2202. closecallback: function () { }
  2203. }, { "style": { "height": "36px" } }).form; //创建窗体
  2204. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2205. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2206. // })
  2207. _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); } }
  2208. break;
  2209. case "studentStudy":
  2210. _formdiv = new U.UF.UI.form(
  2211. "课程中心",
  2212. $$("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
  2213. "id": "studentStudy",
  2214. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2215. "onresize": function () { }
  2216. }, {
  2217. closecallback: function () { }
  2218. }, { "style": { "height": "36px" } }).form; //创建窗体
  2219. _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); } }
  2220. break;
  2221. case "train": //好友打开
  2222. _formdiv = new U.UF.UI.form(
  2223. "训练平台",
  2224. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2225. "id": "train",
  2226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2227. "onresize": function () { }
  2228. }, {
  2229. closecallback: function () { }
  2230. }, { "style": { "height": "36px" } }).form; //创建窗体
  2231. _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); } }
  2232. break;
  2233. case "mindNetwork": //好友打开
  2234. _formdiv = new U.UF.UI.form(
  2235. "思维网格",
  2236. $$("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 }), {
  2237. "id": "mindNetwork",
  2238. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2239. "onresize": function () { }
  2240. }, {
  2241. closecallback: function () { }
  2242. }, { "style": { "height": "36px" } }).form; //创建窗体
  2243. _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); } }
  2244. break;
  2245. case "studentClassRoom": //好友打开
  2246. _formdiv = new U.UF.UI.form(
  2247. "实时课堂",
  2248. $$("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 }), {
  2249. "id": "studentClassRoom",
  2250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2251. "onresize": function () { }
  2252. }, {
  2253. closecallback: function () { }
  2254. }, { "style": { "height": "36px" } }).form; //创建窗体
  2255. _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); } }
  2256. setTimeout(() => {
  2257. U.UF.F.windowZooming(_formdiv)
  2258. }, 0);
  2259. break;
  2260. }
  2261. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2262. switch (str) {
  2263. case "studnetProject": //好友打开
  2264. _formdiv = new U.UF.UI.form(
  2265. "我的项目",
  2266. $$("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 }), {
  2267. "id": "studnetProject",
  2268. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2269. "onresize": function () { }
  2270. }, {
  2271. closecallback: function () { }
  2272. }, { "style": { "height": "36px" } }).form; //创建窗体
  2273. _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); } }
  2274. break;
  2275. case "studentEvaluate": //好友打开
  2276. _formdiv = new U.UF.UI.form(
  2277. "我的评价",
  2278. $$("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 }), {
  2279. "id": "studentEvaluate",
  2280. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2281. "onresize": function () { }
  2282. }, {
  2283. closecallback: function () { }
  2284. }, { "style": { "height": "36px" } }).form; //创建窗体
  2285. _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); } }
  2286. break;
  2287. case "my":
  2288. _formdiv = new U.UF.UI.form(
  2289. "我的资料",
  2290. $$("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 }), {
  2291. "id": "my",
  2292. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2293. "onresize": function () { }
  2294. }, {
  2295. closecallback: function () { }
  2296. }, { "style": { "height": "36px" } }).form; //创建窗体
  2297. _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); } }
  2298. break;
  2299. case "program":
  2300. _formdiv = new U.UF.UI.form(
  2301. "编程平台",
  2302. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2303. "id": "program",
  2304. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2305. "onresize": function () { }
  2306. }, {
  2307. closecallback: function () { }
  2308. }, { "style": { "height": "36px" } }).form; //创建窗体
  2309. _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); } }
  2310. break;
  2311. case "library":
  2312. _formdiv = new U.UF.UI.form(
  2313. "素材库",
  2314. $$("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 }), {
  2315. "id": "library",
  2316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2317. "onresize": function () { }
  2318. }, {
  2319. closecallback: function () { }
  2320. }, { "style": { "height": "36px" } }).form; //创建窗体
  2321. _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); } }
  2322. break;
  2323. case "whiteboard":
  2324. _formdiv = new U.UF.UI.form(
  2325. "电子白板",
  2326. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2327. "id": "whiteboard",
  2328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2329. "onresize": function () { }
  2330. }, {
  2331. closecallback: function () { }
  2332. }, { "style": { "height": "36px" } }).form; //创建窗体
  2333. _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); } }
  2334. break;
  2335. case "investigation":
  2336. _formdiv = new U.UF.UI.form(
  2337. "问卷调查",
  2338. $$("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 }), {
  2339. "id": "investigation",
  2340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2341. "onresize": function () { }
  2342. }, {
  2343. closecallback: function () { }
  2344. }, { "style": { "height": "36px" } }).form; //创建窗体
  2345. _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); } }
  2346. break;
  2347. case "note":
  2348. _formdiv = new U.UF.UI.form(
  2349. "便签分类",
  2350. $$("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 }), {
  2351. "id": "note",
  2352. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2353. "onresize": function () { }
  2354. }, {
  2355. closecallback: function () { }
  2356. }, { "style": { "height": "36px" } }).form; //创建窗体
  2357. _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); } }
  2358. break;
  2359. // case "score":
  2360. // _formdiv = new U.UF.UI.form(
  2361. // "量规评分",
  2362. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2363. // "id": "score",
  2364. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2365. // "onresize": function() {}
  2366. // }, {
  2367. // closecallback: function() {}
  2368. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2369. // _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); } }
  2370. // break;
  2371. case "mind":
  2372. _formdiv = new U.UF.UI.form(
  2373. "思维导图",
  2374. $$("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"
  2375. "id": "mind",
  2376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2377. "onresize": function () { }
  2378. }, {
  2379. closecallback: function () { }
  2380. }, { "style": { "height": "36px" } }).form; //创建窗体
  2381. _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); } }
  2382. break;
  2383. case "doc":
  2384. // U.MD.D.I.isRoom();
  2385. _formdiv = new U.UF.UI.form(
  2386. "协同文档",
  2387. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2388. "id": "doc",
  2389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2390. "onresize": function () { }
  2391. }, {
  2392. closecallback: function () { }
  2393. }, { "style": { "height": "36px" } }).form; //创建窗体
  2394. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2395. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2396. })
  2397. _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); } }
  2398. break;
  2399. case "train": //好友打开
  2400. _formdiv = new U.UF.UI.form(
  2401. "训练平台",
  2402. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2403. "id": "train",
  2404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2405. "onresize": function () { }
  2406. }, {
  2407. closecallback: function () { }
  2408. }, { "style": { "height": "36px" } }).form; //创建窗体
  2409. _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); } }
  2410. break;
  2411. case "studentStudy":
  2412. _formdiv = new U.UF.UI.form(
  2413. "课程中心",
  2414. $$("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
  2415. "id": "studentStudy",
  2416. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2417. "onresize": function () { }
  2418. }, {
  2419. closecallback: function () { }
  2420. }, { "style": { "height": "36px" } }).form; //创建窗体
  2421. _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); } }
  2422. break;
  2423. case "mindNetwork": //好友打开
  2424. _formdiv = new U.UF.UI.form(
  2425. "思维网格",
  2426. $$("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 }), {
  2427. "id": "mindNetwork",
  2428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2429. "onresize": function () { }
  2430. }, {
  2431. closecallback: function () { }
  2432. }, { "style": { "height": "36px" } }).form; //创建窗体
  2433. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2434. break;
  2435. case "studentClassRoom": //好友打开
  2436. _formdiv = new U.UF.UI.form(
  2437. "实时课堂",
  2438. $$("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 }), {
  2439. "id": "studentClassRoom",
  2440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2441. "onresize": function () { }
  2442. }, {
  2443. closecallback: function () { }
  2444. }, { "style": { "height": "36px" } }).form; //创建窗体
  2445. _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); } }
  2446. setTimeout(() => {
  2447. U.UF.F.windowZooming(_formdiv)
  2448. }, 0);
  2449. break;
  2450. }
  2451. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2452. //选择应用处理
  2453. switch (str) {
  2454. case "project": //好友打开
  2455. _formdiv = new U.UF.UI.form(
  2456. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目':"课程管理",
  2457. $$("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 }), {
  2458. "id": "project",
  2459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2460. "onresize": function () { }
  2461. }, {
  2462. closecallback: function () { }
  2463. }, { "style": { "height": "36px" } }).form; //创建窗体
  2464. _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); } }
  2465. break;
  2466. case "student":
  2467. _formdiv = new U.UF.UI.form(
  2468. "学生管理",
  2469. $$("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 }), {
  2470. "id": "student",
  2471. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2472. "onresize": function () { }
  2473. }, {
  2474. closecallback: function () { }
  2475. }, { "style": { "height": "36px" } }).form; //创建窗体
  2476. _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); } }
  2477. break;
  2478. case "evaluate":
  2479. _formdiv = new U.UF.UI.form(
  2480. "学生评价",
  2481. $$("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 }), {
  2482. "id": "evaluate",
  2483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2484. "onresize": function () { }
  2485. }, {
  2486. closecallback: function () { }
  2487. }, { "style": { "height": "36px" } }).form; //创建窗体
  2488. _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); } }
  2489. break;
  2490. case "sys":
  2491. _formdiv = new U.UF.UI.form(
  2492. "目标管理",
  2493. $$("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 }), {
  2494. "id": "sys",
  2495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2496. "onresize": function () { }
  2497. }, {
  2498. closecallback: function () { }
  2499. }, { "style": { "height": "36px" } }).form; //创建窗体
  2500. _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); } }
  2501. break;
  2502. case "courseDesign":
  2503. _formdiv = new U.UF.UI.form(
  2504. "项目设计",
  2505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2506. "id": "courseDesign",
  2507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2508. "onresize": function () { }
  2509. }, {
  2510. closecallback: function () { }
  2511. }, { "style": { "height": "36px" } }).form; //创建窗体
  2512. _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); } }
  2513. break;
  2514. case "program":
  2515. _formdiv = new U.UF.UI.form(
  2516. "编程平台",
  2517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2518. "id": "program",
  2519. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2520. "onresize": function () { }
  2521. }, {
  2522. closecallback: function () { }
  2523. }, { "style": { "height": "36px" } }).form; //创建窗体
  2524. _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); } }
  2525. break;
  2526. case "class":
  2527. _formdiv = new U.UF.UI.form(
  2528. "班级管理",
  2529. $$("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 }), {
  2530. "id": "class",
  2531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2532. "onresize": function () { }
  2533. }, {
  2534. closecallback: function () { }
  2535. }, { "style": { "height": "36px" } }).form; //创建窗体
  2536. _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); } }
  2537. break;
  2538. case "Grade":
  2539. _formdiv = new U.UF.UI.form(
  2540. "年级管理",
  2541. $$("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 }), {
  2542. "id": "class",
  2543. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2544. "onresize": function () { }
  2545. }, {
  2546. closecallback: function () { }
  2547. }, { "style": { "height": "36px" } }).form; //创建窗体
  2548. _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); } }
  2549. break;
  2550. case "my":
  2551. _formdiv = new U.UF.UI.form(
  2552. "我的资料",
  2553. $$("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 }), {
  2554. "id": "my",
  2555. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2556. "onresize": function () { }
  2557. }, {
  2558. closecallback: function () { }
  2559. }, { "style": { "height": "36px" } }).form; //创建窗体
  2560. _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); } }
  2561. break;
  2562. case "notice":
  2563. _formdiv = new U.UF.UI.form(
  2564. "通知公告",
  2565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  2566. "id": "notice",
  2567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2568. "onresize": function () { }
  2569. }, {
  2570. closecallback: function () { }
  2571. }, { "style": { "height": "36px" } }).form; //创建窗体
  2572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2573. break;
  2574. case "library":
  2575. _formdiv = new U.UF.UI.form(
  2576. "素材库",
  2577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2578. "id": "library",
  2579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2580. "onresize": function () { }
  2581. }, {
  2582. closecallback: function () { }
  2583. }, { "style": { "height": "36px" } }).form; //创建窗体
  2584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2585. break;
  2586. case "whiteboard":
  2587. _formdiv = new U.UF.UI.form(
  2588. "电子白板",
  2589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2590. "id": "whiteboard",
  2591. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2592. "onresize": function () { }
  2593. }, {
  2594. closecallback: function () { }
  2595. }, { "style": { "height": "36px" } }).form; //创建窗体
  2596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2597. break;
  2598. case "investigation":
  2599. _formdiv = new U.UF.UI.form(
  2600. "问卷调查",
  2601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2602. "id": "investigation",
  2603. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2604. "onresize": function () { }
  2605. }, {
  2606. closecallback: function () { }
  2607. }, { "style": { "height": "36px" } }).form; //创建窗体
  2608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2609. break;
  2610. case "note":
  2611. _formdiv = new U.UF.UI.form(
  2612. "便签分类",
  2613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2614. "id": "note",
  2615. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2616. "onresize": function () { }
  2617. }, {
  2618. closecallback: function () { }
  2619. }, { "style": { "height": "36px" } }).form; //创建窗体
  2620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2621. break;
  2622. // case "score":
  2623. // _formdiv = new U.UF.UI.form(
  2624. // "量规评分",
  2625. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2626. // "id": "score",
  2627. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2628. // "onresize": function() {}
  2629. // }, {
  2630. // closecallback: function() {}
  2631. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2632. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2633. // break;
  2634. case "mind":
  2635. _formdiv = new U.UF.UI.form(
  2636. "思维导图",
  2637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2638. "id": "mind",
  2639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2640. "onresize": function () { }
  2641. }, {
  2642. closecallback: function () { }
  2643. }, { "style": { "height": "36px" } }).form; //创建窗体
  2644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2645. break;
  2646. case "doc":
  2647. // U.MD.D.I.isRoom();
  2648. _formdiv = new U.UF.UI.form(
  2649. "协同文档",
  2650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2651. "id": "doc",
  2652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2653. "onresize": function () { }
  2654. }, {
  2655. closecallback: function () { }
  2656. }, { "style": { "height": "36px" } }).form; //创建窗体
  2657. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2658. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2659. })
  2660. _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); } }
  2661. break;
  2662. case "study":
  2663. _formdiv = new U.UF.UI.form(
  2664. "课程中心",
  2665. $$("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
  2666. "id": "study",
  2667. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2668. "onresize": function () { }
  2669. }, {
  2670. closecallback: function () { }
  2671. }, { "style": { "height": "36px" } }).form; //创建窗体
  2672. _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); } }
  2673. break;
  2674. case "mindNetwork": //好友打开
  2675. _formdiv = new U.UF.UI.form(
  2676. "思维网格",
  2677. $$("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 }), {
  2678. "id": "mindNetwork",
  2679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2680. "onresize": function () { }
  2681. }, {
  2682. closecallback: function () { }
  2683. }, { "style": { "height": "36px" } }).form; //创建窗体
  2684. _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); } }
  2685. break;
  2686. case "train": //好友打开
  2687. _formdiv = new U.UF.UI.form(
  2688. "训练平台",
  2689. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2690. "id": "mindNetwork",
  2691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2692. "onresize": function () { }
  2693. }, {
  2694. closecallback: function () { }
  2695. }, { "style": { "height": "36px" } }).form; //创建窗体
  2696. _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); } }
  2697. break;
  2698. case "teacherClassRoom": //好友打开
  2699. _formdiv = new U.UF.UI.form(
  2700. "实时课堂",
  2701. $$("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 }), {
  2702. "id": "teacherClassRoom",
  2703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2704. "onresize": function () { }
  2705. }, {
  2706. closecallback: function () { }
  2707. }, { "style": { "height": "36px" } }).form; //创建窗体
  2708. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2709. setTimeout(() => {
  2710. U.UF.F.windowZooming(_formdiv)
  2711. }, 0);
  2712. break;
  2713. }
  2714. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2715. switch (str) {
  2716. case "project": //好友打开
  2717. _formdiv = new U.UF.UI.form(
  2718. "课程管理",
  2719. $$("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 }), {
  2720. "id": "project",
  2721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2722. "onresize": function () { }
  2723. }, {
  2724. closecallback: function () { }
  2725. }, { "style": { "height": "36px" } }).form; //创建窗体
  2726. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2727. break;
  2728. case "evaluate":
  2729. _formdiv = new U.UF.UI.form(
  2730. "学生评价",
  2731. $$("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 }), {
  2732. "id": "evaluate",
  2733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2734. "onresize": function () { }
  2735. }, {
  2736. closecallback: function () { }
  2737. }, { "style": { "height": "36px" } }).form; //创建窗体
  2738. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2739. break;
  2740. case "notice":
  2741. _formdiv = new U.UF.UI.form(
  2742. "通知公告",
  2743. $$("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 }), {
  2744. "id": "notice",
  2745. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2746. "onresize": function () { }
  2747. }, {
  2748. closecallback: function () { }
  2749. }, { "style": { "height": "36px" } }).form; //创建窗体
  2750. _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); } }
  2751. break;
  2752. case "stuLibrary":
  2753. _formdiv = new U.UF.UI.form(
  2754. "学习资料",
  2755. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  2756. "id": "stuLibrary",
  2757. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function () { }
  2759. }, {
  2760. closecallback: function () { }
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2763. break;
  2764. case "program":
  2765. _formdiv = new U.UF.UI.form(
  2766. "编程平台",
  2767. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2768. "id": "program",
  2769. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2770. "onresize": function () { }
  2771. }, {
  2772. closecallback: function () { }
  2773. }, { "style": { "height": "36px" } }).form; //创建窗体
  2774. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2775. break;
  2776. case "whiteboard":
  2777. _formdiv = new U.UF.UI.form(
  2778. "电子白板",
  2779. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2780. "id": "whiteboard",
  2781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2782. "onresize": function () { }
  2783. }, {
  2784. closecallback: function () { }
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2787. break;
  2788. case "investigation":
  2789. _formdiv = new U.UF.UI.form(
  2790. "问卷调查",
  2791. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2792. "id": "investigation",
  2793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2794. "onresize": function () { }
  2795. }, {
  2796. closecallback: function () { }
  2797. }, { "style": { "height": "36px" } }).form; //创建窗体
  2798. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2799. break;
  2800. case "mind":
  2801. _formdiv = new U.UF.UI.form(
  2802. "思维导图",
  2803. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2804. "id": "mind",
  2805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2806. "onresize": function () { }
  2807. }, {
  2808. closecallback: function () { }
  2809. }, { "style": { "height": "36px" } }).form; //创建窗体
  2810. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2811. break;
  2812. case "doc":
  2813. // U.MD.D.I.isRoom();
  2814. _formdiv = new U.UF.UI.form(
  2815. "协同文档",
  2816. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2817. "id": "doc",
  2818. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2819. "onresize": function () { }
  2820. }, {
  2821. closecallback: function () { }
  2822. }, { "style": { "height": "36px" } }).form; //创建窗体
  2823. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2824. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2825. })
  2826. _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); } }
  2827. break;
  2828. case "study":
  2829. _formdiv = new U.UF.UI.form(
  2830. "课程中心",
  2831. $$("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
  2832. "id": "study",
  2833. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2834. "onresize": function () { }
  2835. }, {
  2836. closecallback: function () { }
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _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); } }
  2839. break;
  2840. case "mindNetwork": //好友打开
  2841. _formdiv = new U.UF.UI.form(
  2842. "思维网格",
  2843. $$("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 }), {
  2844. "id": "mindNetwork",
  2845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. "onresize": function () { }
  2847. }, {
  2848. closecallback: function () { }
  2849. }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. _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); } }
  2851. break;
  2852. case "train": //好友打开
  2853. _formdiv = new U.UF.UI.form(
  2854. "训练平台",
  2855. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2856. "id": "train",
  2857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2858. "onresize": function () { }
  2859. }, {
  2860. closecallback: function () { }
  2861. }, { "style": { "height": "36px" } }).form; //创建窗体
  2862. _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); } }
  2863. break;
  2864. case "sys":
  2865. _formdiv = new U.UF.UI.form(
  2866. "目标管理",
  2867. $$("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 }), {
  2868. "id": "sys",
  2869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2870. "onresize": function () { }
  2871. }, {
  2872. closecallback: function () { }
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _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); } }
  2875. break;
  2876. case "courseDesign":
  2877. _formdiv = new U.UF.UI.form(
  2878. "项目设计",
  2879. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2880. "id": "courseDesign",
  2881. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2882. "onresize": function () { }
  2883. }, {
  2884. closecallback: function () { }
  2885. }, { "style": { "height": "36px" } }).form; //创建窗体
  2886. _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); } }
  2887. break;
  2888. }
  2889. } else if (!_type) {
  2890. switch (str) {
  2891. case "my":
  2892. _formdiv = new U.UF.UI.form(
  2893. "我的资料",
  2894. $$("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 }), {
  2895. "id": "my",
  2896. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2897. "onresize": function () { }
  2898. }, {
  2899. closecallback: function () { }
  2900. }, { "style": { "height": "36px" } }).form; //创建窗体
  2901. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2902. break;
  2903. }
  2904. }
  2905. switch (str) {
  2906. // AIprogram2 AI体验 aihub.cocorobo.cn
  2907. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  2908. // AIprogram AI编程 ai-blockly.cocorobo.cn
  2909. case "AIprogram2": //AI体验
  2910. _formdiv = new U.UF.UI.form(
  2911. "AI体验",
  2912. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  2913. "id": "AIprogram2",
  2914. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2915. "onresize": function () { }
  2916. }, {
  2917. closecallback: function () { }
  2918. }, { "style": { "height": "36px" } }).form; //创建窗体
  2919. _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); } }
  2920. break;
  2921. case "Pythonprogram": //python编程
  2922. _formdiv = new U.UF.UI.form(
  2923. "Python编程",
  2924. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  2925. "id": "Pythonprogram",
  2926. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. case "AIprogram": //ai编程
  2934. _formdiv = new U.UF.UI.form(
  2935. "AI编程平台",
  2936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  2937. "id": "AIprogram",
  2938. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. case "CocoPi": //CocoPi
  2946. _formdiv = new U.UF.UI.form(
  2947. "CocoPi",
  2948. $$("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://v.cocorobo.cn" }), {
  2949. "id": "CocoPi",
  2950. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function () { }
  2952. }, {
  2953. closecallback: function () { }
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _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); } }
  2956. break;
  2957. case "Wood": //Wood
  2958. _formdiv = new U.UF.UI.form(
  2959. "海龟编程",
  2960. $$("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/" }), {
  2961. "id": "Wood",
  2962. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "car": //模拟驾驶
  2970. _formdiv = new U.UF.UI.form(
  2971. "模拟驾驶",
  2972. $$("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/" }), {
  2973. "id": "car",
  2974. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "lineSearch": //路径搜索
  2982. _formdiv = new U.UF.UI.form(
  2983. "路径搜索",
  2984. $$("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/" }), {
  2985. "id": "lineSearch",
  2986. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "deepLearning": //深度学习
  2994. _formdiv = new U.UF.UI.form(
  2995. "深度学习",
  2996. $$("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/#" }), {
  2997. "id": "deepLearning",
  2998. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "allHistory": //深度学习
  3006. _formdiv = new U.UF.UI.form(
  3007. "全历史",
  3008. $$("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/" }), {
  3009. "id": "allHistory",
  3010. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "chatPDF": //ai编程
  3018. _formdiv = new U.UF.UI.form(
  3019. "chatPDF",
  3020. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3021. "id": "chatPDF",
  3022. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function () { }
  3024. }, {
  3025. closecallback: function () { }
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3028. break;
  3029. case "resources": //国家教育
  3030. _formdiv = new U.UF.UI.form(
  3031. "国家教育",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3033. "id": "resources",
  3034. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3040. break;
  3041. case "codeEdit": //源码编辑
  3042. _formdiv = new U.UF.UI.form(
  3043. "源码编辑",
  3044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3045. "id": "codeEdit",
  3046. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function () { }
  3048. }, {
  3049. closecallback: function () { }
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3052. break; //
  3053. case "MindMap": //MindMap
  3054. _formdiv = new U.UF.UI.form(
  3055. "MindMap",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3057. "id": "MindMap",
  3058. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3064. break;
  3065. case "netWorkPanel": //netWorkPanel
  3066. _formdiv = new U.UF.UI.form(
  3067. "netWorkPanel",
  3068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3069. "id": "netWorkPanel",
  3070. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3076. break;
  3077. case "GeoGebra": //GeoGebra
  3078. _formdiv = new U.UF.UI.form(
  3079. "GeoGebra",
  3080. $$("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" }), {
  3081. "id": "GeoGebra",
  3082. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3088. break;
  3089. case "translation": //翻译
  3090. _formdiv = new U.UF.UI.form(
  3091. "翻译",
  3092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3093. "id": "translation",
  3094. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3100. break;
  3101. case "mohe": //魔盒
  3102. _formdiv = new U.UF.UI.form(
  3103. "魔盒识字",
  3104. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3105. "id": "mohe",
  3106. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3112. break;
  3113. case "24game": //24点
  3114. _formdiv = new U.UF.UI.form(
  3115. "24点",
  3116. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3117. "id": "24game",
  3118. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3124. break;
  3125. case "case":
  3126. _formdiv = new U.UF.UI.form(
  3127. "课程进展",
  3128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3129. "id": "case",
  3130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3136. break;
  3137. case "snf":
  3138. _formdiv = new U.UF.UI.form(
  3139. "赛诺梵",
  3140. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3141. "id": "snf",
  3142. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3148. break;
  3149. case "hanFamily":
  3150. _formdiv = new U.UF.UI.form(
  3151. "汉字家族",
  3152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3153. "id": "hanFamily",
  3154. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3160. break;
  3161. case "hanClassics":
  3162. _formdiv = new U.UF.UI.form(
  3163. "国学经典",
  3164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3165. "id": "hanClassics",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3172. break;
  3173. case "hanTraining":
  3174. _formdiv = new U.UF.UI.form(
  3175. "笔画训练",
  3176. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3177. "id": "hanTraining",
  3178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3184. break;
  3185. case "hanClass":
  3186. _formdiv = new U.UF.UI.form(
  3187. "书法课堂",
  3188. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3189. "id": "hanClass",
  3190. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. "onresize": function () { }
  3192. }, {
  3193. closecallback: function () { }
  3194. }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3196. break;
  3197. case "han":
  3198. _formdiv = new U.UF.UI.form(
  3199. "汉字宫",
  3200. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3201. "id": "han",
  3202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3208. break;
  3209. case "projectGM": //课程管理
  3210. _formdiv = new U.UF.UI.form(
  3211. "课程管理",
  3212. $$("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 }), {
  3213. "id": "projectGM",
  3214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. _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); } }
  3220. break;
  3221. case "studyGM"://课程中心
  3222. _formdiv = new U.UF.UI.form(
  3223. "课程中心",
  3224. $$("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
  3225. "id": "study",
  3226. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3227. "onresize": function () { }
  3228. }, {
  3229. closecallback: function () { }
  3230. }, { "style": { "height": "36px" } }).form; //创建窗体
  3231. _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); } }
  3232. break;
  3233. // studentGM
  3234. case "studentGM"://学生管理
  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/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3238. "id": "studentGM",
  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/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3245. break;
  3246. case "evaluateGM"://学生评价
  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/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3250. "id": "evaluateGM",
  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/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3257. break;
  3258. // classGM
  3259. case "classGM"://班级管理
  3260. _formdiv = new U.UF.UI.form(
  3261. "班级管理",
  3262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3263. "id": "classGM",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3270. break;
  3271. // dataGM
  3272. case "dataGM":
  3273. _formdiv = new U.UF.UI.form(
  3274. "我的资料",
  3275. $$("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 }), {
  3276. "id": "dataGM",
  3277. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _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); } }
  3283. break;
  3284. // caseGM
  3285. case "caseGM"://课程进展
  3286. _formdiv = new U.UF.UI.form(
  3287. "课程进展",
  3288. $$("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 }), {
  3289. "id": "caseGM",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. // meterialGM
  3298. case "meterialGM"://素材库
  3299. _formdiv = new U.UF.UI.form(
  3300. "素材库",
  3301. $$("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 }), {
  3302. "id": "meterialGM",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. break;
  3310. // evaluateSGM
  3311. case "evaluateSGM": //我的评价
  3312. _formdiv = new U.UF.UI.form(
  3313. "我的评价",
  3314. $$("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 }), {
  3315. "id": "evaluateSGM",
  3316. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3317. "onresize": function () { }
  3318. }, {
  3319. closecallback: function () { }
  3320. }, { "style": { "height": "36px" } }).form; //创建窗体
  3321. _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); } }
  3322. break;
  3323. case "jupyter": //jupyter
  3324. _formdiv = new U.UF.UI.form(
  3325. "jupyter",
  3326. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3327. "id": "jupyter",
  3328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3334. break;
  3335. case "number": //数字实验室
  3336. _formdiv = new U.UF.UI.form(
  3337. "数字实验室",
  3338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3339. "id": "number",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3346. break;
  3347. case "studentCourse": //项目管理 学生
  3348. _formdiv = new U.UF.UI.form(
  3349. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3350. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3351. "id": "studentCourse",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function () { }
  3354. }, {
  3355. closecallback: function () { }
  3356. }, { "style": { "height": "36px" } }).form; //创建窗体
  3357. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3358. break;
  3359. case "studentCourseS": //项目管理 老师
  3360. _formdiv = new U.UF.UI.form(
  3361. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3362. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3363. "id": "studentCourseS",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function () { }
  3366. }, {
  3367. closecallback: function () { }
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3370. break;
  3371. case "studentIndex": //项目中心
  3372. _formdiv = new U.UF.UI.form(
  3373. "项目中心",
  3374. $$("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 }), {
  3375. "id": "studentIndex",
  3376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3377. "onresize": function () { }
  3378. }, {
  3379. closecallback: function () { }
  3380. }, { "style": { "height": "36px" } }).form; //创建窗体
  3381. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3382. break;
  3383. case "CaseDesignS":
  3384. _formdiv = new U.UF.UI.form(
  3385. "项目进展",
  3386. $$("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 }), {
  3387. "id": "case",
  3388. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3389. "onresize": function () { }
  3390. }, {
  3391. closecallback: function () { }
  3392. }, { "style": { "height": "36px" } }).form; //创建窗体
  3393. _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); } }
  3394. break;
  3395. case "tcStudent": //腾讯学生管理
  3396. _formdiv = new U.UF.UI.form(
  3397. "学生管理",
  3398. $$("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 }), {
  3399. "id": "tcStudent",
  3400. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3401. "onresize": function () { }
  3402. }, {
  3403. closecallback: function () { }
  3404. }, { "style": { "height": "36px" } }).form; //创建窗体
  3405. _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); } }
  3406. break;
  3407. case "tcSchool": //腾讯学校管理
  3408. _formdiv = new U.UF.UI.form(
  3409. "学校管理",
  3410. $$("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 }), {
  3411. "id": "tcSchool",
  3412. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3413. "onresize": function () { }
  3414. }, {
  3415. closecallback: function () { }
  3416. }, { "style": { "height": "36px" } }).form; //创建窗体
  3417. _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); } }
  3418. break;
  3419. case "tcTeacher": //腾讯学校管理
  3420. _formdiv = new U.UF.UI.form(
  3421. "教师管理",
  3422. $$("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 }), {
  3423. "id": "tcTeacher",
  3424. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function () { }
  3426. }, {
  3427. closecallback: function () { }
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. _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); } }
  3430. break;
  3431. case "tcData": //腾讯我的资料
  3432. _formdiv = new U.UF.UI.form(
  3433. "我的资料",
  3434. $$("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 }), {
  3435. "id": "tcData",
  3436. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3437. "onresize": function () { }
  3438. }, {
  3439. closecallback: function () { }
  3440. }, { "style": { "height": "36px" } }).form; //创建窗体
  3441. _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); } }
  3442. break;
  3443. case "tcNotice": //腾讯消息通知
  3444. _formdiv = new U.UF.UI.form(
  3445. "消息通知",
  3446. $$("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 }), {
  3447. "id": "tcNotice",
  3448. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "myReport": //好友打开
  3456. _formdiv = new U.UF.UI.form(
  3457. "我的评价",
  3458. $$("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 }), {
  3459. "id": "myReport",
  3460. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3461. "onresize": function () { }
  3462. }, {
  3463. closecallback: function () { }
  3464. }, { "style": { "height": "36px" } }).form; //创建窗体
  3465. _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); } }
  3466. break;
  3467. case "learnAna": //好友打开
  3468. _formdiv = new U.UF.UI.form(
  3469. "学习分析",
  3470. $$("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 }), {
  3471. "id": "learnAna",
  3472. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3473. "onresize": function () { }
  3474. }, {
  3475. closecallback: function () { }
  3476. }, { "style": { "height": "36px" } }).form; //创建窗体
  3477. _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); } }
  3478. break;
  3479. case "AIChat": //AI共创
  3480. _formdiv = new U.UF.UI.form(
  3481. "AI共创",
  3482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3483. "id": "AIChat",
  3484. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3485. "onresize": function () { }
  3486. }, {
  3487. istop: true,
  3488. closecallback: function () { $("#aichat_icon").remove(); },
  3489. narrowcallback: function () {
  3490. if (!$("#aichat_icon")[0]) {
  3491. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3492. }
  3493. },
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "ainew": //AI共创
  3498. _formdiv = new U.UF.UI.form(
  3499. "AI协同",
  3500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew" }), {
  3501. "id": "ainew",
  3502. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3503. "onresize": function () { }
  3504. }, {
  3505. closecallback: function () { }
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3508. break;
  3509. case "AIAnalyse": //AI共创
  3510. _formdiv = new U.UF.UI.form(
  3511. "AI分析",
  3512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  3513. "id": "AIAnalyse",
  3514. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3515. "onresize": function () { }
  3516. }, {
  3517. closecallback: function () { }
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3520. break;
  3521. case "studioCourse": //AI共创
  3522. _formdiv = new U.UF.UI.form(
  3523. "工作管理",
  3524. $$("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 }), {
  3525. "id": "studioCourse",
  3526. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3527. "onresize": function () { }
  3528. }, {
  3529. closecallback: function () { }
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3532. break;
  3533. case "studioIndex": //AI共创
  3534. _formdiv = new U.UF.UI.form(
  3535. "工作中心",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3537. "id": "studioIndex",
  3538. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3539. "onresize": function () { }
  3540. }, {
  3541. closecallback: function () { }
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3544. break;
  3545. case "source":
  3546. _formdiv = new U.UF.UI.form(
  3547. "教学资源",
  3548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3549. "id": "source",
  3550. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  3551. "onresize": function () { }
  3552. }, {
  3553. closecallback: function () { }
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3556. break;
  3557. }
  3558. //U.MD.D.I.openClick(str);
  3559. //如果有任务栏信息
  3560. if (_taskbar) {
  3561. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  3562. }
  3563. }
  3564. // U.MD.D.I.openClick = function(str){
  3565. // var click = '';
  3566. // switch(str){
  3567. // case 'friend':
  3568. // click = '我的好友';
  3569. // break;
  3570. // case 'domain':
  3571. // click = '域名管理';
  3572. // break;
  3573. // case 'disk':
  3574. // click = '我的云盘';
  3575. // break;
  3576. // case 'word':
  3577. // click = 'Word';
  3578. // break;
  3579. // case 'excel':
  3580. // click = 'Execl';
  3581. // break;
  3582. // case 'txt':
  3583. // click = '文本文件';
  3584. // break;
  3585. // case 'lookupFriend':
  3586. // click = '查找好友';
  3587. // break;
  3588. // case 'ftp':
  3589. // click = 'FTP';
  3590. // break;
  3591. // case 'group':
  3592. // click = '群组';
  3593. // break;
  3594. // case 'set':
  3595. // click = '我的设置';
  3596. // break;
  3597. // case 'systemSet':
  3598. // click = '系统设置';
  3599. // break;
  3600. // case 'boomYun':
  3601. // click = '互联办公';
  3602. // break;
  3603. // case 'xz':
  3604. // click = '云端下载';
  3605. // break;
  3606. // case 'client':
  3607. // click = '有思浏览器';
  3608. // break;
  3609. // case 'backEndProgramming':
  3610. // click = '在线后台编程';
  3611. // break;
  3612. // case 'frontEndProgramming':
  3613. // click = '在线前端编程';
  3614. // break;
  3615. // default: break;
  3616. // }
  3617. // if(U.MD.D.I.Ip && click){
  3618. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  3619. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  3620. // })
  3621. // }
  3622. // }
  3623. /**
  3624. *函数作用:ajax简易函数,使用post格式
  3625. *@param url {data} 后台地址
  3626. *@param data {data} 参数json
  3627. *@param fn {data} 回调函数
  3628. *
  3629. */
  3630. // U.MD.D.I.Mysqlrequest = function(url,fn){
  3631. // var xhr = new XMLHttpRequest();
  3632. // xhr.open("GET",url,true);
  3633. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  3634. // xhr.onreadystatechange = function(){
  3635. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  3636. // fn.call(this,xhr.responseText);
  3637. // }
  3638. // };
  3639. // xhr.send();
  3640. // }
  3641. /*判断是否是内网IP*/
  3642. // U.MD.D.I.isInnerIPFn = function(str){
  3643. // var curPageUrl = str;
  3644. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  3645. // curPageUrl =curPageUrl.replace(reg1,'');
  3646. // // console.log('curPageUrl-1 '+curPageUrl);
  3647. // var reg2 = /\:+/g;//替换冒号为一点
  3648. // curPageUrl =curPageUrl.replace(reg2,'.');
  3649. // // console.log('curPageUrl-2 '+curPageUrl);
  3650. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  3651. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  3652. // if(curPageUrl[2] != '16'){
  3653. // return ipAddress;
  3654. // }else{
  3655. // return false;
  3656. // }
  3657. // }
  3658. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  3659. // //compatibility for firefox and chrome
  3660. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  3661. // var pc = new myPeerConnection({
  3662. // iceServers: []
  3663. // }),
  3664. // noop = function() {},
  3665. // localIPs = {},
  3666. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  3667. // key;
  3668. // function iterateIP(ip) {
  3669. // if (!localIPs[ip]) onNewIP(ip);
  3670. // localIPs[ip] = true;
  3671. // }
  3672. // //create a bogus data channel
  3673. // pc.createDataChannel("");
  3674. // // create offer and set local description
  3675. // pc.createOffer().then(function(sdp) {
  3676. // sdp.sdp.split('\n').forEach(function(line) {
  3677. // if (line.indexOf('candidate') < 0) return;
  3678. // line.match(ipRegex).forEach(iterateIP);
  3679. // });
  3680. // pc.setLocalDescription(sdp, noop, noop);
  3681. // }).catch(function(reason) {
  3682. // // An error occurred, so handle the failure to connect
  3683. // });
  3684. // //sten for candidate events
  3685. // pc.onicecandidate = function(ice) {
  3686. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  3687. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  3688. // };
  3689. // }
  3690. // U.MD.D.I.getUserIpBool = function(callback){
  3691. // U.MD.D.I.getUserIP(function(ip){
  3692. // alert("Got IP! :" + ip);
  3693. // });
  3694. //}
  3695. //#endregion
  3696. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  3697. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3698. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3699. _userinfo = US.userInfo, //登录用户信息
  3700. _userid = US.userInfo.userid //登录用户id
  3701. let _iframe;
  3702. let _cid = cid,
  3703. _stage = stage,
  3704. _task = task,
  3705. _tool = tool;
  3706. var _jie = $$("div", {
  3707. "style": {
  3708. "position": "absolute",
  3709. "bottom": "50px",
  3710. "right": "50px",
  3711. "zIndex": "9999",
  3712. "backgroundColor": "#2268bc",
  3713. "color": "#fff",
  3714. "padding": "12px 20px",
  3715. "cursor": "pointer",
  3716. "borderRadius": "4px",
  3717. },
  3718. "innerHTML": "提交作业"
  3719. })
  3720. let aTool = ''
  3721. let _loading = document.createElement('div')
  3722. _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;"
  3723. // _loading.id = "";
  3724. let _lchild = document.createElement('div')
  3725. let _limg = document.createElement('img')
  3726. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  3727. _limg.style = "width: 26px;margin-right: 10px;"
  3728. _lchild.appendChild(_limg)
  3729. let _lspan = document.createElement('span')
  3730. _lspan.innerHTML = "上传中..."
  3731. _lchild.appendChild(_lspan)
  3732. _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%);"
  3733. _loading.appendChild(_lchild)
  3734. var _box = $$('div', {
  3735. "style": {
  3736. "position": "relative",
  3737. "width": "100%",
  3738. "height": "100%",
  3739. },
  3740. })
  3741. _box.appendChild(_loading)
  3742. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool+_userid
  3743. switch (str) {
  3744. case "whiteboard":
  3745. aTool = 1;
  3746. _iframe = $$("iframe", {
  3747. "frameborder": "no",
  3748. "border": "0",
  3749. "scrolling ": "no",
  3750. "style": {
  3751. "cssText": "border:0;width:100%;height:100%"
  3752. },
  3753. "src": "https://iwb.cocorobo.cn/"
  3754. })
  3755. _box.appendChild(_iframe);
  3756. _box.appendChild(_jie);
  3757. _formdiv = new U.UF.UI.form(
  3758. "电子白板",
  3759. _box, {
  3760. "id": "whiteboard" + cid + stage + task + tool,
  3761. "style": {
  3762. "width": "90%",
  3763. "height": "90%",
  3764. "overflow": 'hidden'
  3765. },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, {
  3770. "style": {
  3771. "height": "36px"
  3772. }
  3773. }).form; //创建窗体
  3774. _taskbar = {
  3775. "id": str + _formdiv.id,
  3776. "style": {
  3777. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  3778. },
  3779. "name": "电子白板",
  3780. "forms": _formdiv,
  3781. "click": function () {
  3782. U.MD.D.I.openApplication(str, obj, info);
  3783. }
  3784. }
  3785. break;
  3786. case "mind":
  3787. aTool = 3;
  3788. _iframe = $$("iframe", {
  3789. "frameborder": "no",
  3790. "border": "0",
  3791. "scrolling ": "no",
  3792. "style": {
  3793. "cssText": "border:0;width:100%;height:100%"
  3794. },
  3795. "src": "/kityminder-editor/dist/index.html"
  3796. })
  3797. _box.appendChild(_iframe);
  3798. _box.appendChild(_jie);
  3799. _formdiv = new U.UF.UI.form(
  3800. "思维导图",
  3801. _box, { //"/jsmind/example/demo.html"
  3802. "id": "mind" + cid + stage + task + tool,
  3803. "style": {
  3804. "width": "90%",
  3805. "height": "90%",
  3806. "overflow": 'hidden'
  3807. },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, {
  3812. "style": {
  3813. "height": "36px"
  3814. }
  3815. }).form; //创建窗体
  3816. _taskbar = {
  3817. "id": str + _formdiv.id,
  3818. "style": {
  3819. "backgroundImage": "url(/img/icon/mindMapping.png)"
  3820. },
  3821. "name": "思维导图",
  3822. "forms": _formdiv,
  3823. "click": function () {
  3824. U.MD.D.I.openApplication(str, obj, info);
  3825. }
  3826. }
  3827. break;
  3828. case "MindMap":
  3829. aTool = 3;
  3830. _iframe = $$("iframe", {
  3831. "frameborder": "no",
  3832. "border": "0",
  3833. "scrolling ": "no",
  3834. "style": {
  3835. "cssText": "border:0;width:100%;height:100%"
  3836. },
  3837. "src": "//cloud.cocorobo.cn/mind/"
  3838. })
  3839. _box.appendChild(_iframe);
  3840. _box.appendChild(_jie);
  3841. _formdiv = new U.UF.UI.form(
  3842. "思维导图",
  3843. _box, { //"/jsmind/example/demo.html"
  3844. "id": "mind" + cid + stage + task + tool,
  3845. "style": {
  3846. "width": "90%",
  3847. "height": "90%",
  3848. "overflow": 'hidden'
  3849. },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, {
  3854. "style": {
  3855. "height": "36px"
  3856. }
  3857. }).form; //创建窗体
  3858. _taskbar = {
  3859. "id": str + _formdiv.id,
  3860. "style": {
  3861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  3862. },
  3863. "name": "思维导图",
  3864. "forms": _formdiv,
  3865. "click": function () {
  3866. U.MD.D.I.openApplication(str, obj, info);
  3867. }
  3868. }
  3869. break;
  3870. case "doc":
  3871. aTool = 6;
  3872. _iframe = $$("iframe", {
  3873. "frameborder": "no",
  3874. "border": "0",
  3875. "scrolling ": "no",
  3876. "style": {
  3877. "cssText": "border:0;width:100%;height:100%"
  3878. },
  3879. "src": "/Office/Word/WordEditArea.htm"
  3880. })
  3881. _box.appendChild(_iframe);
  3882. _box.appendChild(_jie);
  3883. _formdiv = new U.UF.UI.form(
  3884. "协同文档",
  3885. _box, {
  3886. "id": "doc" + cid + stage + task + tool,
  3887. "style": {
  3888. "width": "90%",
  3889. "height": "90%",
  3890. "overflow": 'hidden'
  3891. },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, {
  3896. "style": {
  3897. "height": "36px"
  3898. }
  3899. }).form; //创建窗体
  3900. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3901. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  3902. })
  3903. _taskbar = {
  3904. "id": str + _formdiv.id,
  3905. "style": {
  3906. "backgroundImage": "url(/img/icon/doc.png)"
  3907. },
  3908. "name": "协同文档",
  3909. "forms": _formdiv,
  3910. "click": function () {
  3911. U.MD.D.I.openApplication(str, obj, info);
  3912. }
  3913. }
  3914. break;
  3915. case "mindNetwork": //好友打开
  3916. aTool = 7;
  3917. _iframe = $$("iframe", {
  3918. "webkitallowfullscreen": "",
  3919. "mozallowfullscreen": "",
  3920. "allowfullscreen": "",
  3921. "frameborder": "no",
  3922. "border": "0",
  3923. "scrolling ": "no",
  3924. "style": {
  3925. "cssText": "border:0; width:100%; height:100%;"
  3926. },
  3927. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  3928. })
  3929. _box.appendChild(_iframe);
  3930. _box.appendChild(_jie);
  3931. _formdiv = new U.UF.UI.form(
  3932. "思维网格",
  3933. _box, {
  3934. "id": "mindNetwork" + cid + stage + task + tool,
  3935. "style": {
  3936. "width": "90%",
  3937. "height": "90%",
  3938. "overflow": 'hidden'
  3939. },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, {
  3944. "style": {
  3945. "height": "36px"
  3946. }
  3947. }).form; //创建窗体
  3948. _taskbar = {
  3949. "id": str + _formdiv.id,
  3950. "style": {
  3951. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  3952. },
  3953. "name": "思维网格",
  3954. "forms": _formdiv,
  3955. "click": function () {
  3956. U.MD.D.I.openApplication(str, obj, info);
  3957. }
  3958. }
  3959. break;
  3960. case "courseDesign":
  3961. _iframe = $$("iframe", {
  3962. "webkitallowfullscreen": "",
  3963. "mozallowfullscreen": "",
  3964. "allowfullscreen": "",
  3965. "frameborder": "no",
  3966. "border": "0",
  3967. "scrolling ": "no",
  3968. "style": {
  3969. "cssText": "border:0; width:100%; height:100%;"
  3970. },
  3971. "src": "/course-design-vue"
  3972. })
  3973. _box.appendChild(_iframe);
  3974. _box.appendChild(_jie);
  3975. _formdiv = new U.UF.UI.form(
  3976. "项目设计",
  3977. _box, {
  3978. "id": "courseDesign" + cid + stage + task + tool,
  3979. "style": {
  3980. "width": "90%",
  3981. "height": "90%",
  3982. "overflow": 'hidden'
  3983. },
  3984. "onresize": function () { }
  3985. }, {
  3986. closecallback: function () { }
  3987. }, {
  3988. "style": {
  3989. "height": "36px"
  3990. }
  3991. }).form; //创建窗体
  3992. _taskbar = {
  3993. "id": str + _formdiv.id,
  3994. "style": {
  3995. "backgroundImage": "url(/img/icon/courseDesign.png)"
  3996. },
  3997. "name": "项目设计",
  3998. "forms": _formdiv,
  3999. "click": function () {
  4000. U.MD.D.I.openApplication(str, obj, info);
  4001. }
  4002. }
  4003. break;
  4004. }
  4005. const script1 = document.createElement("script");
  4006. script1.type = "text/javascript";
  4007. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4008. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4009. const script2 = document.createElement("script");
  4010. script2.type = "text/javascript";
  4011. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4012. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4013. const script3 = document.createElement("script");
  4014. script3.type = "text/javascript";
  4015. script3.charset = "UTF-8";
  4016. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4017. const script4 = document.createElement("script");
  4018. script4.type = "text/javascript";
  4019. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4020. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4021. if (_iframe) {
  4022. if (str == 'doc') {
  4023. _iframe = _formdiv.querySelector('iframe')
  4024. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4025. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4026. _iframe.contentWindow.document.body.appendChild(script1);
  4027. _iframe.contentWindow.document.body.appendChild(script2);
  4028. // _iframe.contentWindow.document.body.appendChild(script3);
  4029. _iframe.contentWindow.document.body.appendChild(script4);
  4030. })
  4031. if (onloadListener) {
  4032. _iframe.contentDocument.location.reload()
  4033. } else {
  4034. _iframe.contentDocument.location.reload()
  4035. }
  4036. } else if (str == 'courseDesign') {
  4037. U.UF.DL.iframeLoad(_iframe, function () {
  4038. // _iframe.contentWindow.U.MD.O.W.load();
  4039. // _iframe.contentWindow.document.body.appendChild(script1);
  4040. _iframe.contentWindow.document.body.appendChild(script2);
  4041. _iframe.contentWindow.document.body.appendChild(script4);
  4042. })
  4043. } else if (str == 'mind') {
  4044. _iframe = _formdiv.querySelector('iframe')
  4045. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4046. //
  4047. _iframe.contentWindow.document.body.appendChild(script1);
  4048. _iframe.contentWindow.document.body.appendChild(script2);
  4049. _iframe.contentWindow.document.body.appendChild(script4);
  4050. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4051. })
  4052. if (onloadListener) {
  4053. _iframe.contentDocument.location.reload()
  4054. } else {
  4055. _iframe.contentDocument.location.reload()
  4056. }
  4057. } else if (str == 'whiteboard') {
  4058. _iframe = _formdiv.querySelector('iframe')
  4059. let onloadListener = _iframe.onload = () => {
  4060. _iframe.contentWindow.document.body.appendChild(script1);
  4061. _iframe.contentWindow.document.body.appendChild(script2);
  4062. _iframe.contentWindow.document.body.appendChild(script4);
  4063. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4064. };
  4065. if (onloadListener) {
  4066. _iframe.contentDocument.location.reload()
  4067. } else {
  4068. _iframe.contentDocument.location.reload()
  4069. }
  4070. } else {
  4071. _iframe.onload = () => {
  4072. _iframe.contentWindow.document.body.appendChild(script1);
  4073. _iframe.contentWindow.document.body.appendChild(script2);
  4074. // _iframe.contentWindow.document.body.appendChild(script3);
  4075. _iframe.contentWindow.document.body.appendChild(script4);
  4076. };
  4077. }
  4078. _jie.onclick = async () => {
  4079. let text = ''
  4080. if (aTool == 1) {
  4081. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4082. } else if (aTool == 6) {
  4083. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4084. } else if (aTool == 3) {
  4085. text = await U.MD.D.I.getEditorContent(_iframe);
  4086. }
  4087. _loading.style.display = 'flex'
  4088. console.log(_loading);
  4089. var _ajs = _iframe.contentWindow.document.createElement("script");
  4090. _ajs.type = "text/javascript";
  4091. _ajs.innerHTML =
  4092. // 'console.log(' + _loading + ');\n' +
  4093. 'var _js = document.createElement("script");\n' +
  4094. '_js.type="text/javascript";\n' +
  4095. '_js.charset="UTF-8";\n' +
  4096. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4097. "_js.onload = function(){\n" +
  4098. ' var a = document.getElementsByTagName("img")\n' +
  4099. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4100. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4101. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4102. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4103. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4104. "beforeUpload_shishi(file," +
  4105. "'" +
  4106. _userid +
  4107. "'" +
  4108. ", " +
  4109. "'" +
  4110. _cid +
  4111. "'" +
  4112. ", " +
  4113. "'" +
  4114. _stage +
  4115. "'" +
  4116. ", " +
  4117. "'" +
  4118. _task +
  4119. "'" +
  4120. ", " +
  4121. "'" +
  4122. _tool +
  4123. "'" +
  4124. ", " +
  4125. "'" +
  4126. (str + '_loadLi_Jie' + cid + stage + task + tool+_userid) +
  4127. "'" +
  4128. ", " +
  4129. "'" +
  4130. aTool +
  4131. "'" +
  4132. ", " +
  4133. "`" +
  4134. text +
  4135. "`" +
  4136. ")\n" +
  4137. " });\n" +
  4138. "}\n" +
  4139. "document.head.appendChild(_js);\n";
  4140. _iframe.contentWindow.document.head.appendChild(_ajs);
  4141. }
  4142. }
  4143. //U.MD.D.I.openClick(str);
  4144. //如果有任务栏信息
  4145. // if (_taskbar) {
  4146. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4147. // }
  4148. }
  4149. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4150. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4151. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4152. _userinfo = US.userInfo, //登录用户信息
  4153. _userid = US.userInfo.userid //登录用户id
  4154. let _iframe;
  4155. let _cid = cid,
  4156. _stage = stage,
  4157. _task = task,
  4158. _tool = tool;
  4159. var _jie = $$("div", {
  4160. "style": {
  4161. "position": "absolute",
  4162. "bottom": "50px",
  4163. "right": "50px",
  4164. "zIndex": "9999",
  4165. "backgroundColor": "#2268bc",
  4166. "color": "#fff",
  4167. "padding": "12px 20px",
  4168. "cursor": "pointer",
  4169. "borderRadius": "4px",
  4170. },
  4171. "innerHTML": "提交作业"
  4172. })
  4173. let aTool = ''
  4174. let _loading = document.createElement('div')
  4175. _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;"
  4176. // _loading.id = "";
  4177. let _lchild = document.createElement('div')
  4178. let _limg = document.createElement('img')
  4179. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4180. _limg.style = "width: 26px;margin-right: 10px;"
  4181. _lchild.appendChild(_limg)
  4182. let _lspan = document.createElement('span')
  4183. _lspan.innerHTML = "上传中..."
  4184. _lchild.appendChild(_lspan)
  4185. _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%);"
  4186. _loading.appendChild(_lchild)
  4187. var _box = $$('div', {
  4188. "style": {
  4189. "position": "relative",
  4190. "width": "100%",
  4191. "height": "100%",
  4192. },
  4193. })
  4194. _box.appendChild(_loading)
  4195. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool+_userid
  4196. switch (str) {
  4197. case "whiteboard":
  4198. aTool = 1;
  4199. _iframe = $$("iframe", {
  4200. "frameborder": "no",
  4201. "border": "0",
  4202. "scrolling ": "no",
  4203. "style": {
  4204. "cssText": "border:0;width:100%;height:100%"
  4205. },
  4206. "src": "https://iwb.cocorobo.cn/"
  4207. })
  4208. _box.appendChild(_iframe);
  4209. _box.appendChild(_jie);
  4210. _formdiv = new U.UF.UI.form(
  4211. "电子白板",
  4212. _box, {
  4213. "id": "whiteboard" + cid + stage + task + tool,
  4214. "style": {
  4215. "width": "90%",
  4216. "height": "90%",
  4217. "overflow": 'hidden'
  4218. },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, {
  4223. "style": {
  4224. "height": "36px"
  4225. }
  4226. }).form; //创建窗体
  4227. _taskbar = {
  4228. "id": str + _formdiv.id,
  4229. "style": {
  4230. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4231. },
  4232. "name": "电子白板",
  4233. "forms": _formdiv,
  4234. "click": function () {
  4235. U.MD.D.I.openApplication(str, obj, info);
  4236. }
  4237. }
  4238. break;
  4239. case "mind":
  4240. aTool = 3;
  4241. _iframe = $$("iframe", {
  4242. "frameborder": "no",
  4243. "border": "0",
  4244. "scrolling ": "no",
  4245. "style": {
  4246. "cssText": "border:0;width:100%;height:100%"
  4247. },
  4248. "src": "/kityminder-editor/dist/index.html"
  4249. })
  4250. _box.appendChild(_iframe);
  4251. _box.appendChild(_jie);
  4252. _formdiv = new U.UF.UI.form(
  4253. "思维导图",
  4254. _box, { //"/jsmind/example/demo.html"
  4255. "id": "mind" + cid + stage + task + tool,
  4256. "style": {
  4257. "width": "90%",
  4258. "height": "90%",
  4259. "overflow": 'hidden'
  4260. },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, {
  4265. "style": {
  4266. "height": "36px"
  4267. }
  4268. }).form; //创建窗体
  4269. _taskbar = {
  4270. "id": str + _formdiv.id,
  4271. "style": {
  4272. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4273. },
  4274. "name": "思维导图",
  4275. "forms": _formdiv,
  4276. "click": function () {
  4277. U.MD.D.I.openApplication(str, obj, info);
  4278. }
  4279. }
  4280. break;
  4281. case "MindMap":
  4282. aTool = 3;
  4283. _iframe = $$("iframe", {
  4284. "frameborder": "no",
  4285. "border": "0",
  4286. "scrolling ": "no",
  4287. "style": {
  4288. "cssText": "border:0;width:100%;height:100%"
  4289. },
  4290. "src": "//cloud.cocorobo.cn/mind/"
  4291. })
  4292. _box.appendChild(_iframe);
  4293. _box.appendChild(_jie);
  4294. _formdiv = new U.UF.UI.form(
  4295. "思维导图",
  4296. _box, { //"/jsmind/example/demo.html"
  4297. "id": "mind" + cid + stage + task + tool,
  4298. "style": {
  4299. "width": "90%",
  4300. "height": "90%",
  4301. "overflow": 'hidden'
  4302. },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, {
  4307. "style": {
  4308. "height": "36px"
  4309. }
  4310. }).form; //创建窗体
  4311. _taskbar = {
  4312. "id": str + _formdiv.id,
  4313. "style": {
  4314. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4315. },
  4316. "name": "思维导图",
  4317. "forms": _formdiv,
  4318. "click": function () {
  4319. U.MD.D.I.openApplication(str, obj, info);
  4320. }
  4321. }
  4322. break;
  4323. case "doc":
  4324. aTool = 6;
  4325. _iframe = $$("iframe", {
  4326. "frameborder": "no",
  4327. "border": "0",
  4328. "scrolling ": "no",
  4329. "style": {
  4330. "cssText": "border:0;width:100%;height:100%"
  4331. },
  4332. "src": "/Office/Word/WordEditArea.htm"
  4333. })
  4334. _box.appendChild(_iframe);
  4335. _box.appendChild(_jie);
  4336. _formdiv = new U.UF.UI.form(
  4337. "协同文档",
  4338. _box, {
  4339. "id": "doc" + cid + stage + task + tool,
  4340. "style": {
  4341. "width": "90%",
  4342. "height": "90%",
  4343. "overflow": 'hidden'
  4344. },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, {
  4349. "style": {
  4350. "height": "36px"
  4351. }
  4352. }).form; //创建窗体
  4353. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4354. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4355. })
  4356. _taskbar = {
  4357. "id": str + _formdiv.id,
  4358. "style": {
  4359. "backgroundImage": "url(/img/icon/doc.png)"
  4360. },
  4361. "name": "协同文档",
  4362. "forms": _formdiv,
  4363. "click": function () {
  4364. U.MD.D.I.openApplication(str, obj, info);
  4365. }
  4366. }
  4367. break;
  4368. case "mindNetwork": //好友打开
  4369. aTool = 7;
  4370. _iframe = $$("iframe", {
  4371. "webkitallowfullscreen": "",
  4372. "mozallowfullscreen": "",
  4373. "allowfullscreen": "",
  4374. "frameborder": "no",
  4375. "border": "0",
  4376. "scrolling ": "no",
  4377. "style": {
  4378. "cssText": "border:0; width:100%; height:100%;"
  4379. },
  4380. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4381. })
  4382. _box.appendChild(_iframe);
  4383. _box.appendChild(_jie);
  4384. _formdiv = new U.UF.UI.form(
  4385. "思维网格",
  4386. _box, {
  4387. "id": "mindNetwork" + cid + stage + task + tool,
  4388. "style": {
  4389. "width": "90%",
  4390. "height": "90%",
  4391. "overflow": 'hidden'
  4392. },
  4393. "onresize": function () { }
  4394. }, {
  4395. closecallback: function () { }
  4396. }, {
  4397. "style": {
  4398. "height": "36px"
  4399. }
  4400. }).form; //创建窗体
  4401. _taskbar = {
  4402. "id": str + _formdiv.id,
  4403. "style": {
  4404. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4405. },
  4406. "name": "思维网格",
  4407. "forms": _formdiv,
  4408. "click": function () {
  4409. U.MD.D.I.openApplication(str, obj, info);
  4410. }
  4411. }
  4412. break;
  4413. case "courseDesign":
  4414. _iframe = $$("iframe", {
  4415. "webkitallowfullscreen": "",
  4416. "mozallowfullscreen": "",
  4417. "allowfullscreen": "",
  4418. "frameborder": "no",
  4419. "border": "0",
  4420. "scrolling ": "no",
  4421. "style": {
  4422. "cssText": "border:0; width:100%; height:100%;"
  4423. },
  4424. "src": "/course-design-vue"
  4425. })
  4426. _box.appendChild(_iframe);
  4427. _box.appendChild(_jie);
  4428. _formdiv = new U.UF.UI.form(
  4429. "项目设计",
  4430. _box, {
  4431. "id": "courseDesign" + cid + stage + task + tool,
  4432. "style": {
  4433. "width": "90%",
  4434. "height": "90%",
  4435. "overflow": 'hidden'
  4436. },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, {
  4441. "style": {
  4442. "height": "36px"
  4443. }
  4444. }).form; //创建窗体
  4445. _taskbar = {
  4446. "id": str + _formdiv.id,
  4447. "style": {
  4448. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4449. },
  4450. "name": "项目设计",
  4451. "forms": _formdiv,
  4452. "click": function () {
  4453. U.MD.D.I.openApplication(str, obj, info);
  4454. }
  4455. }
  4456. break;
  4457. }
  4458. const script1 = document.createElement("script");
  4459. script1.type = "text/javascript";
  4460. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4461. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4462. const script2 = document.createElement("script");
  4463. script2.type = "text/javascript";
  4464. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4465. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4466. const script3 = document.createElement("script");
  4467. script3.type = "text/javascript";
  4468. script3.charset = "UTF-8";
  4469. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4470. const script4 = document.createElement("script");
  4471. script4.type = "text/javascript";
  4472. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4473. script4.src = window.origin + "/js/Common/jietu2E.js";
  4474. if (_iframe) {
  4475. if (str == 'doc') {
  4476. _iframe = _formdiv.querySelector('iframe')
  4477. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4478. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4479. _iframe.contentWindow.document.body.appendChild(script1);
  4480. _iframe.contentWindow.document.body.appendChild(script2);
  4481. // _iframe.contentWindow.document.body.appendChild(script3);
  4482. _iframe.contentWindow.document.body.appendChild(script4);
  4483. })
  4484. if (onloadListener) {
  4485. _iframe.contentDocument.location.reload()
  4486. } else {
  4487. _iframe.contentDocument.location.reload()
  4488. }
  4489. } else if (str == 'courseDesign') {
  4490. U.UF.DL.iframeLoad(_iframe, function () {
  4491. // _iframe.contentWindow.U.MD.O.W.load();
  4492. // _iframe.contentWindow.document.body.appendChild(script1);
  4493. _iframe.contentWindow.document.body.appendChild(script2);
  4494. _iframe.contentWindow.document.body.appendChild(script4);
  4495. })
  4496. } else if (str == 'mind') {
  4497. _iframe = _formdiv.querySelector('iframe')
  4498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4499. //
  4500. _iframe.contentWindow.document.body.appendChild(script1);
  4501. _iframe.contentWindow.document.body.appendChild(script2);
  4502. _iframe.contentWindow.document.body.appendChild(script4);
  4503. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4504. })
  4505. if (onloadListener) {
  4506. _iframe.contentDocument.location.reload()
  4507. } else {
  4508. _iframe.contentDocument.location.reload()
  4509. }
  4510. } else if (str == 'whiteboard') {
  4511. _iframe = _formdiv.querySelector('iframe')
  4512. let onloadListener = _iframe.onload = () => {
  4513. _iframe.contentWindow.document.body.appendChild(script1);
  4514. _iframe.contentWindow.document.body.appendChild(script2);
  4515. _iframe.contentWindow.document.body.appendChild(script4);
  4516. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4517. };
  4518. if (onloadListener) {
  4519. _iframe.contentDocument.location.reload()
  4520. } else {
  4521. _iframe.contentDocument.location.reload()
  4522. }
  4523. } else {
  4524. _iframe.onload = () => {
  4525. _iframe.contentWindow.document.body.appendChild(script1);
  4526. _iframe.contentWindow.document.body.appendChild(script2);
  4527. // _iframe.contentWindow.document.body.appendChild(script3);
  4528. _iframe.contentWindow.document.body.appendChild(script4);
  4529. };
  4530. }
  4531. _jie.onclick = async () => {
  4532. let text = ''
  4533. if (aTool == 1) {
  4534. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4535. } else if (aTool == 6) {
  4536. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4537. } else if (aTool == 3) {
  4538. text = await U.MD.D.I.getEditorContent(_iframe);
  4539. }
  4540. _loading.style.display = 'flex'
  4541. console.log(_loading);
  4542. var _ajs = _iframe.contentWindow.document.createElement("script");
  4543. _ajs.type = "text/javascript";
  4544. _ajs.innerHTML =
  4545. // 'console.log(' + _loading + ');\n' +
  4546. 'var _js = document.createElement("script");\n' +
  4547. '_js.type="text/javascript";\n' +
  4548. '_js.charset="UTF-8";\n' +
  4549. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4550. "_js.onload = function(){\n" +
  4551. ' var a = document.getElementsByTagName("img")\n' +
  4552. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4553. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4554. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4555. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4556. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4557. "beforeUpload_shishi(file," +
  4558. "'" +
  4559. _userid +
  4560. "'" +
  4561. ", " +
  4562. "'" +
  4563. _cid +
  4564. "'" +
  4565. ", " +
  4566. "'" +
  4567. _stage +
  4568. "'" +
  4569. ", " +
  4570. "'" +
  4571. _task +
  4572. "'" +
  4573. ", " +
  4574. "'" +
  4575. _tool +
  4576. "'" +
  4577. ", " +
  4578. "'" +
  4579. (str + '_loadLi_JieE' + cid + stage + task + tool+_userid) +
  4580. "'" +
  4581. ", " +
  4582. "'" +
  4583. aTool +
  4584. "'" +
  4585. ", " +
  4586. "`" +
  4587. text +
  4588. "`" +
  4589. ")\n" +
  4590. " });\n" +
  4591. "}\n" +
  4592. "document.head.appendChild(_js);\n";
  4593. _iframe.contentWindow.document.head.appendChild(_ajs);
  4594. }
  4595. }
  4596. //U.MD.D.I.openClick(str);
  4597. //如果有任务栏信息
  4598. // if (_taskbar) {
  4599. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4600. // }
  4601. }
  4602. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  4603. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4604. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4605. _userid = student.userid, //登录用户id
  4606. _username = student.student //用户名字
  4607. let _iframe;
  4608. let _cid = cid,
  4609. _stage = stage,
  4610. _task = task,
  4611. _tool = tool;
  4612. var _jie = $$("div", {
  4613. "style": {
  4614. "position": "absolute",
  4615. "bottom": "50px",
  4616. "right": "50px",
  4617. "zIndex": "9999",
  4618. "backgroundColor": "#2268bc",
  4619. "color": "#fff",
  4620. "padding": "12px 20px",
  4621. "cursor": "pointer",
  4622. "borderRadius": "4px",
  4623. },
  4624. "innerHTML": "提交作业"
  4625. })
  4626. let aTool = ''
  4627. let _loading = document.createElement('div')
  4628. _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;"
  4629. // _loading.id = "";
  4630. let _lchild = document.createElement('div')
  4631. let _limg = document.createElement('img')
  4632. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4633. _limg.style = "width: 26px;margin-right: 10px;"
  4634. _lchild.appendChild(_limg)
  4635. let _lspan = document.createElement('span')
  4636. _lspan.innerHTML = "上传中..."
  4637. _lchild.appendChild(_lspan)
  4638. _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%);"
  4639. _loading.appendChild(_lchild)
  4640. var _box = $$('div', {
  4641. "style": {
  4642. "position": "relative",
  4643. "width": "100%",
  4644. "height": "100%",
  4645. },
  4646. })
  4647. _box.appendChild(_loading)
  4648. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid
  4649. switch (str) {
  4650. case "whiteboard":
  4651. aTool = 1;
  4652. _iframe = $$("iframe", {
  4653. "frameborder": "no",
  4654. "border": "0",
  4655. "scrolling ": "no",
  4656. "style": {
  4657. "cssText": "border:0;width:100%;height:100%"
  4658. },
  4659. "src": "https://iwb.cocorobo.cn/"
  4660. })
  4661. _box.appendChild(_iframe);
  4662. _box.appendChild(_jie);
  4663. _formdiv = new U.UF.UI.form(
  4664. "电子白板-" + _username,
  4665. _box, {
  4666. "id": "whiteboard" + cid + stage + task + tool + _userid,
  4667. "style": {
  4668. "width": "90%",
  4669. "height": "90%",
  4670. "overflow": 'hidden'
  4671. },
  4672. "onresize": function () { }
  4673. }, {
  4674. closecallback: function () { }
  4675. }, {
  4676. "style": {
  4677. "height": "36px"
  4678. }
  4679. }).form; //创建窗体
  4680. _taskbar = {
  4681. "id": str + _formdiv.id,
  4682. "style": {
  4683. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4684. },
  4685. "name": "电子白板",
  4686. "forms": _formdiv,
  4687. "click": function () {
  4688. U.MD.D.I.openApplication(str, obj, info);
  4689. }
  4690. }
  4691. break;
  4692. case "mind":
  4693. aTool = 3;
  4694. _iframe = $$("iframe", {
  4695. "frameborder": "no",
  4696. "border": "0",
  4697. "scrolling ": "no",
  4698. "style": {
  4699. "cssText": "border:0;width:100%;height:100%"
  4700. },
  4701. "src": "/kityminder-editor/dist/index.html"
  4702. })
  4703. _box.appendChild(_iframe);
  4704. _box.appendChild(_jie);
  4705. _formdiv = new U.UF.UI.form(
  4706. "思维导图-" + _username,
  4707. _box, { //"/jsmind/example/demo.html"
  4708. "id": "mind" + cid + stage + task + tool + _userid,
  4709. "style": {
  4710. "width": "90%",
  4711. "height": "90%",
  4712. "overflow": 'hidden'
  4713. },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, {
  4718. "style": {
  4719. "height": "36px"
  4720. }
  4721. }).form; //创建窗体
  4722. _taskbar = {
  4723. "id": str + _formdiv.id,
  4724. "style": {
  4725. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4726. },
  4727. "name": "思维导图",
  4728. "forms": _formdiv,
  4729. "click": function () {
  4730. U.MD.D.I.openApplication(str, obj, info);
  4731. }
  4732. }
  4733. break;
  4734. case "MindMap":
  4735. aTool = 3;
  4736. _iframe = $$("iframe", {
  4737. "frameborder": "no",
  4738. "border": "0",
  4739. "scrolling ": "no",
  4740. "style": {
  4741. "cssText": "border:0;width:100%;height:100%"
  4742. },
  4743. "src": "//cloud.cocorobo.cn/mind/"
  4744. })
  4745. _box.appendChild(_iframe);
  4746. _box.appendChild(_jie);
  4747. _formdiv = new U.UF.UI.form(
  4748. "思维导图-" + _username,
  4749. _box, { //"/jsmind/example/demo.html"
  4750. "id": "mind" + cid + stage + task + tool + _userid,
  4751. "style": {
  4752. "width": "90%",
  4753. "height": "90%",
  4754. "overflow": 'hidden'
  4755. },
  4756. "onresize": function () { }
  4757. }, {
  4758. closecallback: function () { }
  4759. }, {
  4760. "style": {
  4761. "height": "36px"
  4762. }
  4763. }).form; //创建窗体
  4764. _taskbar = {
  4765. "id": str + _formdiv.id,
  4766. "style": {
  4767. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4768. },
  4769. "name": "思维导图",
  4770. "forms": _formdiv,
  4771. "click": function () {
  4772. U.MD.D.I.openApplication(str, obj, info);
  4773. }
  4774. }
  4775. break;
  4776. case "doc":
  4777. aTool = 6;
  4778. _iframe = $$("iframe", {
  4779. "frameborder": "no",
  4780. "border": "0",
  4781. "scrolling ": "no",
  4782. "style": {
  4783. "cssText": "border:0;width:100%;height:100%"
  4784. },
  4785. "src": "/Office/Word/WordEditArea.htm"
  4786. })
  4787. _box.appendChild(_iframe);
  4788. _box.appendChild(_jie);
  4789. _formdiv = new U.UF.UI.form(
  4790. "协同文档-" + _username,
  4791. _box, {
  4792. "id": "doc" + cid + stage + task + tool + _userid,
  4793. "style": {
  4794. "width": "90%",
  4795. "height": "90%",
  4796. "overflow": 'hidden'
  4797. },
  4798. "onresize": function () { }
  4799. }, {
  4800. closecallback: function () { }
  4801. }, {
  4802. "style": {
  4803. "height": "36px"
  4804. }
  4805. }).form; //创建窗体
  4806. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4807. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4808. })
  4809. _taskbar = {
  4810. "id": str + _formdiv.id,
  4811. "style": {
  4812. "backgroundImage": "url(/img/icon/doc.png)"
  4813. },
  4814. "name": "协同文档",
  4815. "forms": _formdiv,
  4816. "click": function () {
  4817. U.MD.D.I.openApplication(str, obj, info);
  4818. }
  4819. }
  4820. break;
  4821. case "mindNetwork": //好友打开
  4822. aTool = 7;
  4823. _iframe = $$("iframe", {
  4824. "webkitallowfullscreen": "",
  4825. "mozallowfullscreen": "",
  4826. "allowfullscreen": "",
  4827. "frameborder": "no",
  4828. "border": "0",
  4829. "scrolling ": "no",
  4830. "style": {
  4831. "cssText": "border:0; width:100%; height:100%;"
  4832. },
  4833. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4834. })
  4835. _box.appendChild(_iframe);
  4836. _box.appendChild(_jie);
  4837. _formdiv = new U.UF.UI.form(
  4838. "思维网格-" + _username,
  4839. _box, {
  4840. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  4841. "style": {
  4842. "width": "90%",
  4843. "height": "90%",
  4844. "overflow": 'hidden'
  4845. },
  4846. "onresize": function () { }
  4847. }, {
  4848. closecallback: function () { }
  4849. }, {
  4850. "style": {
  4851. "height": "36px"
  4852. }
  4853. }).form; //创建窗体
  4854. _taskbar = {
  4855. "id": str + _formdiv.id,
  4856. "style": {
  4857. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4858. },
  4859. "name": "思维网格",
  4860. "forms": _formdiv,
  4861. "click": function () {
  4862. U.MD.D.I.openApplication(str, obj, info);
  4863. }
  4864. }
  4865. break;
  4866. case "courseDesign":
  4867. _iframe = $$("iframe", {
  4868. "webkitallowfullscreen": "",
  4869. "mozallowfullscreen": "",
  4870. "allowfullscreen": "",
  4871. "frameborder": "no",
  4872. "border": "0",
  4873. "scrolling ": "no",
  4874. "style": {
  4875. "cssText": "border:0; width:100%; height:100%;"
  4876. },
  4877. "src": "/course-design-vue"
  4878. })
  4879. _box.appendChild(_iframe);
  4880. _box.appendChild(_jie);
  4881. _formdiv = new U.UF.UI.form(
  4882. "项目设计-" + _username,
  4883. _box, {
  4884. "id": "courseDesign" + cid + stage + task + tool + _userid,
  4885. "style": {
  4886. "width": "90%",
  4887. "height": "90%",
  4888. "overflow": 'hidden'
  4889. },
  4890. "onresize": function () { }
  4891. }, {
  4892. closecallback: function () { }
  4893. }, {
  4894. "style": {
  4895. "height": "36px"
  4896. }
  4897. }).form; //创建窗体
  4898. _taskbar = {
  4899. "id": str + _formdiv.id,
  4900. "style": {
  4901. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4902. },
  4903. "name": "项目设计",
  4904. "forms": _formdiv,
  4905. "click": function () {
  4906. U.MD.D.I.openApplication(str, obj, info);
  4907. }
  4908. }
  4909. break;
  4910. }
  4911. const script1 = document.createElement("script");
  4912. script1.type = "text/javascript";
  4913. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4914. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4915. const script2 = document.createElement("script");
  4916. script2.type = "text/javascript";
  4917. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4918. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4919. const script3 = document.createElement("script");
  4920. script3.type = "text/javascript";
  4921. script3.charset = "UTF-8";
  4922. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4923. const script4 = document.createElement("script");
  4924. script4.type = "text/javascript";
  4925. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4926. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4927. if (_iframe) {
  4928. if (str == 'doc') {
  4929. _iframe = _formdiv.querySelector('iframe')
  4930. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4931. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4932. _iframe.contentWindow.document.body.appendChild(script1);
  4933. _iframe.contentWindow.document.body.appendChild(script2);
  4934. // _iframe.contentWindow.document.body.appendChild(script3);
  4935. _iframe.contentWindow.document.body.appendChild(script4);
  4936. })
  4937. if (onloadListener) {
  4938. _iframe.contentDocument.location.reload()
  4939. } else {
  4940. _iframe.contentDocument.location.reload()
  4941. }
  4942. } else if (str == 'courseDesign') {
  4943. U.UF.DL.iframeLoad(_iframe, function () {
  4944. // _iframe.contentWindow.U.MD.O.W.load();
  4945. // _iframe.contentWindow.document.body.appendChild(script1);
  4946. _iframe.contentWindow.document.body.appendChild(script2);
  4947. _iframe.contentWindow.document.body.appendChild(script4);
  4948. })
  4949. } else if (str == 'mind') {
  4950. _iframe = _formdiv.querySelector('iframe')
  4951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4952. //
  4953. _iframe.contentWindow.document.body.appendChild(script1);
  4954. _iframe.contentWindow.document.body.appendChild(script2);
  4955. _iframe.contentWindow.document.body.appendChild(script4);
  4956. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4957. })
  4958. if (onloadListener) {
  4959. _iframe.contentDocument.location.reload()
  4960. } else {
  4961. _iframe.contentDocument.location.reload()
  4962. }
  4963. } else if (str == 'whiteboard') {
  4964. _iframe = _formdiv.querySelector('iframe')
  4965. let onloadListener = _iframe.onload = () => {
  4966. _iframe.contentWindow.document.body.appendChild(script1);
  4967. _iframe.contentWindow.document.body.appendChild(script2);
  4968. _iframe.contentWindow.document.body.appendChild(script4);
  4969. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4970. };
  4971. if (onloadListener) {
  4972. _iframe.contentDocument.location.reload()
  4973. } else {
  4974. _iframe.contentDocument.location.reload()
  4975. }
  4976. } else {
  4977. _iframe.onload = () => {
  4978. _iframe.contentWindow.document.body.appendChild(script1);
  4979. _iframe.contentWindow.document.body.appendChild(script2);
  4980. // _iframe.contentWindow.document.body.appendChild(script3);
  4981. _iframe.contentWindow.document.body.appendChild(script4);
  4982. };
  4983. }
  4984. _jie.onclick = async () => {
  4985. let text = ''
  4986. if (aTool == 1) {
  4987. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4988. } else if (aTool == 6) {
  4989. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4990. } else if (aTool == 3) {
  4991. text = await U.MD.D.I.getEditorContent(_iframe);
  4992. }
  4993. _loading.style.display = 'flex'
  4994. console.log(_loading);
  4995. var _ajs = _iframe.contentWindow.document.createElement("script");
  4996. _ajs.type = "text/javascript";
  4997. _ajs.innerHTML =
  4998. // 'console.log(' + _loading + ');\n' +
  4999. 'var _js = document.createElement("script");\n' +
  5000. '_js.type="text/javascript";\n' +
  5001. '_js.charset="UTF-8";\n' +
  5002. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5003. "_js.onload = function(){\n" +
  5004. ' var a = document.getElementsByTagName("img")\n' +
  5005. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5006. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5007. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5008. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5009. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5010. "beforeUpload_shishi(file," +
  5011. "'" +
  5012. _userid +
  5013. "'" +
  5014. ", " +
  5015. "'" +
  5016. _cid +
  5017. "'" +
  5018. ", " +
  5019. "'" +
  5020. _stage +
  5021. "'" +
  5022. ", " +
  5023. "'" +
  5024. _task +
  5025. "'" +
  5026. ", " +
  5027. "'" +
  5028. _tool +
  5029. "'" +
  5030. ", " +
  5031. "'" +
  5032. (str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid) +
  5033. "'" +
  5034. ", " +
  5035. "'" +
  5036. aTool +
  5037. "'" +
  5038. ", " +
  5039. "`" +
  5040. text +
  5041. "`" +
  5042. ")\n" +
  5043. " });\n" +
  5044. "}\n" +
  5045. "document.head.appendChild(_js);\n";
  5046. _iframe.contentWindow.document.head.appendChild(_ajs);
  5047. }
  5048. }
  5049. }
  5050. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5051. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5052. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5053. _userid = student.userid, //登录用户id
  5054. _username = student.student //用户名字
  5055. let _iframe;
  5056. let _cid = cid,
  5057. _stage = stage,
  5058. _task = task,
  5059. _tool = tool;
  5060. var _jie = $$("div", {
  5061. "style": {
  5062. "position": "absolute",
  5063. "bottom": "50px",
  5064. "right": "50px",
  5065. "zIndex": "9999",
  5066. "backgroundColor": "#2268bc",
  5067. "color": "#fff",
  5068. "padding": "12px 20px",
  5069. "cursor": "pointer",
  5070. "borderRadius": "4px",
  5071. },
  5072. "innerHTML": "提交作业"
  5073. })
  5074. let aTool = ''
  5075. let _loading = document.createElement('div')
  5076. _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;"
  5077. // _loading.id = "";
  5078. let _lchild = document.createElement('div')
  5079. let _limg = document.createElement('img')
  5080. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5081. _limg.style = "width: 26px;margin-right: 10px;"
  5082. _lchild.appendChild(_limg)
  5083. let _lspan = document.createElement('span')
  5084. _lspan.innerHTML = "上传中..."
  5085. _lchild.appendChild(_lspan)
  5086. _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%);"
  5087. _loading.appendChild(_lchild)
  5088. var _box = $$('div', {
  5089. "style": {
  5090. "position": "relative",
  5091. "width": "100%",
  5092. "height": "100%",
  5093. },
  5094. })
  5095. _box.appendChild(_loading)
  5096. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5097. switch (str) {
  5098. case "whiteboard":
  5099. aTool = 1;
  5100. _iframe = $$("iframe", {
  5101. "frameborder": "no",
  5102. "border": "0",
  5103. "scrolling ": "no",
  5104. "style": {
  5105. "cssText": "border:0;width:100%;height:100%"
  5106. },
  5107. "src": "https://iwb.cocorobo.cn/"
  5108. })
  5109. _box.appendChild(_iframe);
  5110. _box.appendChild(_jie);
  5111. _formdiv = new U.UF.UI.form(
  5112. "电子白板-" + _username,
  5113. _box, {
  5114. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5115. "style": {
  5116. "width": "90%",
  5117. "height": "90%",
  5118. "overflow": 'hidden'
  5119. },
  5120. "onresize": function () { }
  5121. }, {
  5122. closecallback: function () { }
  5123. }, {
  5124. "style": {
  5125. "height": "36px"
  5126. }
  5127. }).form; //创建窗体
  5128. _taskbar = {
  5129. "id": str + _formdiv.id,
  5130. "style": {
  5131. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5132. },
  5133. "name": "电子白板",
  5134. "forms": _formdiv,
  5135. "click": function () {
  5136. U.MD.D.I.openApplication(str, obj, info);
  5137. }
  5138. }
  5139. break;
  5140. case "mind":
  5141. aTool = 3;
  5142. _iframe = $$("iframe", {
  5143. "frameborder": "no",
  5144. "border": "0",
  5145. "scrolling ": "no",
  5146. "style": {
  5147. "cssText": "border:0;width:100%;height:100%"
  5148. },
  5149. "src": "/kityminder-editor/dist/index.html"
  5150. })
  5151. _box.appendChild(_iframe);
  5152. _box.appendChild(_jie);
  5153. _formdiv = new U.UF.UI.form(
  5154. "思维导图-" + _username,
  5155. _box, { //"/jsmind/example/demo.html"
  5156. "id": "mind" + cid + stage + task + tool + _userid,
  5157. "style": {
  5158. "width": "90%",
  5159. "height": "90%",
  5160. "overflow": 'hidden'
  5161. },
  5162. "onresize": function () { }
  5163. }, {
  5164. closecallback: function () { }
  5165. }, {
  5166. "style": {
  5167. "height": "36px"
  5168. }
  5169. }).form; //创建窗体
  5170. _taskbar = {
  5171. "id": str + _formdiv.id,
  5172. "style": {
  5173. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5174. },
  5175. "name": "思维导图",
  5176. "forms": _formdiv,
  5177. "click": function () {
  5178. U.MD.D.I.openApplication(str, obj, info);
  5179. }
  5180. }
  5181. break;
  5182. case "MindMap":
  5183. aTool = 3;
  5184. _iframe = $$("iframe", {
  5185. "frameborder": "no",
  5186. "border": "0",
  5187. "scrolling ": "no",
  5188. "style": {
  5189. "cssText": "border:0;width:100%;height:100%"
  5190. },
  5191. "src": "//cloud.cocorobo.cn/mind/"
  5192. })
  5193. _box.appendChild(_iframe);
  5194. _box.appendChild(_jie);
  5195. _formdiv = new U.UF.UI.form(
  5196. "思维导图-" + _username,
  5197. _box, { //"/jsmind/example/demo.html"
  5198. "id": "mind" + cid + stage + task + tool + _userid,
  5199. "style": {
  5200. "width": "90%",
  5201. "height": "90%",
  5202. "overflow": 'hidden'
  5203. },
  5204. "onresize": function () { }
  5205. }, {
  5206. closecallback: function () { }
  5207. }, {
  5208. "style": {
  5209. "height": "36px"
  5210. }
  5211. }).form; //创建窗体
  5212. _taskbar = {
  5213. "id": str + _formdiv.id,
  5214. "style": {
  5215. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5216. },
  5217. "name": "思维导图",
  5218. "forms": _formdiv,
  5219. "click": function () {
  5220. U.MD.D.I.openApplication(str, obj, info);
  5221. }
  5222. }
  5223. break;
  5224. case "doc":
  5225. aTool = 6;
  5226. _iframe = $$("iframe", {
  5227. "frameborder": "no",
  5228. "border": "0",
  5229. "scrolling ": "no",
  5230. "style": {
  5231. "cssText": "border:0;width:100%;height:100%"
  5232. },
  5233. "src": "/Office/Word/WordEditArea.htm"
  5234. })
  5235. _box.appendChild(_iframe);
  5236. _box.appendChild(_jie);
  5237. _formdiv = new U.UF.UI.form(
  5238. "协同文档-" + _username,
  5239. _box, {
  5240. "id": "doc" + cid + stage + task + tool + _userid,
  5241. "style": {
  5242. "width": "90%",
  5243. "height": "90%",
  5244. "overflow": 'hidden'
  5245. },
  5246. "onresize": function () { }
  5247. }, {
  5248. closecallback: function () { }
  5249. }, {
  5250. "style": {
  5251. "height": "36px"
  5252. }
  5253. }).form; //创建窗体
  5254. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5255. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5256. })
  5257. _taskbar = {
  5258. "id": str + _formdiv.id,
  5259. "style": {
  5260. "backgroundImage": "url(/img/icon/doc.png)"
  5261. },
  5262. "name": "协同文档",
  5263. "forms": _formdiv,
  5264. "click": function () {
  5265. U.MD.D.I.openApplication(str, obj, info);
  5266. }
  5267. }
  5268. break;
  5269. case "mindNetwork": //好友打开
  5270. aTool = 7;
  5271. _iframe = $$("iframe", {
  5272. "webkitallowfullscreen": "",
  5273. "mozallowfullscreen": "",
  5274. "allowfullscreen": "",
  5275. "frameborder": "no",
  5276. "border": "0",
  5277. "scrolling ": "no",
  5278. "style": {
  5279. "cssText": "border:0; width:100%; height:100%;"
  5280. },
  5281. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5282. })
  5283. _box.appendChild(_iframe);
  5284. _box.appendChild(_jie);
  5285. _formdiv = new U.UF.UI.form(
  5286. "思维网格-" + _username,
  5287. _box, {
  5288. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5289. "style": {
  5290. "width": "90%",
  5291. "height": "90%",
  5292. "overflow": 'hidden'
  5293. },
  5294. "onresize": function () { }
  5295. }, {
  5296. closecallback: function () { }
  5297. }, {
  5298. "style": {
  5299. "height": "36px"
  5300. }
  5301. }).form; //创建窗体
  5302. _taskbar = {
  5303. "id": str + _formdiv.id,
  5304. "style": {
  5305. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5306. },
  5307. "name": "思维网格",
  5308. "forms": _formdiv,
  5309. "click": function () {
  5310. U.MD.D.I.openApplication(str, obj, info);
  5311. }
  5312. }
  5313. break;
  5314. case "courseDesign":
  5315. _iframe = $$("iframe", {
  5316. "webkitallowfullscreen": "",
  5317. "mozallowfullscreen": "",
  5318. "allowfullscreen": "",
  5319. "frameborder": "no",
  5320. "border": "0",
  5321. "scrolling ": "no",
  5322. "style": {
  5323. "cssText": "border:0; width:100%; height:100%;"
  5324. },
  5325. "src": "/course-design-vue"
  5326. })
  5327. _box.appendChild(_iframe);
  5328. _box.appendChild(_jie);
  5329. _formdiv = new U.UF.UI.form(
  5330. "项目设计-" + _username,
  5331. _box, {
  5332. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5333. "style": {
  5334. "width": "90%",
  5335. "height": "90%",
  5336. "overflow": 'hidden'
  5337. },
  5338. "onresize": function () { }
  5339. }, {
  5340. closecallback: function () { }
  5341. }, {
  5342. "style": {
  5343. "height": "36px"
  5344. }
  5345. }).form; //创建窗体
  5346. _taskbar = {
  5347. "id": str + _formdiv.id,
  5348. "style": {
  5349. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5350. },
  5351. "name": "项目设计",
  5352. "forms": _formdiv,
  5353. "click": function () {
  5354. U.MD.D.I.openApplication(str, obj, info);
  5355. }
  5356. }
  5357. break;
  5358. }
  5359. const script1 = document.createElement("script");
  5360. script1.type = "text/javascript";
  5361. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5362. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5363. const script2 = document.createElement("script");
  5364. script2.type = "text/javascript";
  5365. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5366. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5367. const script3 = document.createElement("script");
  5368. script3.type = "text/javascript";
  5369. script3.charset = "UTF-8";
  5370. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5371. const script4 = document.createElement("script");
  5372. script4.type = "text/javascript";
  5373. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5374. script4.src = window.origin + "/js/Common/jietu2E.js";
  5375. if (_iframe) {
  5376. if (str == 'doc') {
  5377. _iframe = _formdiv.querySelector('iframe')
  5378. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5379. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5380. _iframe.contentWindow.document.body.appendChild(script1);
  5381. _iframe.contentWindow.document.body.appendChild(script2);
  5382. // _iframe.contentWindow.document.body.appendChild(script3);
  5383. _iframe.contentWindow.document.body.appendChild(script4);
  5384. })
  5385. if (onloadListener) {
  5386. _iframe.contentDocument.location.reload()
  5387. } else {
  5388. _iframe.contentDocument.location.reload()
  5389. }
  5390. } else if (str == 'courseDesign') {
  5391. U.UF.DL.iframeLoad(_iframe, function () {
  5392. // _iframe.contentWindow.U.MD.O.W.load();
  5393. // _iframe.contentWindow.document.body.appendChild(script1);
  5394. _iframe.contentWindow.document.body.appendChild(script2);
  5395. _iframe.contentWindow.document.body.appendChild(script4);
  5396. })
  5397. } else if (str == 'mind') {
  5398. _iframe = _formdiv.querySelector('iframe')
  5399. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5400. //
  5401. _iframe.contentWindow.document.body.appendChild(script1);
  5402. _iframe.contentWindow.document.body.appendChild(script2);
  5403. _iframe.contentWindow.document.body.appendChild(script4);
  5404. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5405. })
  5406. if (onloadListener) {
  5407. _iframe.contentDocument.location.reload()
  5408. } else {
  5409. _iframe.contentDocument.location.reload()
  5410. }
  5411. } else if (str == 'whiteboard') {
  5412. _iframe = _formdiv.querySelector('iframe')
  5413. let onloadListener = _iframe.onload = () => {
  5414. _iframe.contentWindow.document.body.appendChild(script1);
  5415. _iframe.contentWindow.document.body.appendChild(script2);
  5416. _iframe.contentWindow.document.body.appendChild(script4);
  5417. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5418. };
  5419. if (onloadListener) {
  5420. _iframe.contentDocument.location.reload()
  5421. } else {
  5422. _iframe.contentDocument.location.reload()
  5423. }
  5424. } else {
  5425. _iframe.onload = () => {
  5426. _iframe.contentWindow.document.body.appendChild(script1);
  5427. _iframe.contentWindow.document.body.appendChild(script2);
  5428. // _iframe.contentWindow.document.body.appendChild(script3);
  5429. _iframe.contentWindow.document.body.appendChild(script4);
  5430. };
  5431. }
  5432. _jie.onclick = async () => {
  5433. let text = ''
  5434. if (aTool == 1) {
  5435. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5436. } else if (aTool == 6) {
  5437. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5438. } else if (aTool == 3) {
  5439. text = await U.MD.D.I.getEditorContent(_iframe);
  5440. }
  5441. _loading.style.display = 'flex'
  5442. console.log(_loading);
  5443. var _ajs = _iframe.contentWindow.document.createElement("script");
  5444. _ajs.type = "text/javascript";
  5445. _ajs.innerHTML =
  5446. // 'console.log(' + _loading + ');\n' +
  5447. 'var _js = document.createElement("script");\n' +
  5448. '_js.type="text/javascript";\n' +
  5449. '_js.charset="UTF-8";\n' +
  5450. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5451. "_js.onload = function(){\n" +
  5452. ' var a = document.getElementsByTagName("img")\n' +
  5453. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5454. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5455. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5456. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5457. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5458. "beforeUpload_shishi(file," +
  5459. "'" +
  5460. _userid +
  5461. "'" +
  5462. ", " +
  5463. "'" +
  5464. _cid +
  5465. "'" +
  5466. ", " +
  5467. "'" +
  5468. _stage +
  5469. "'" +
  5470. ", " +
  5471. "'" +
  5472. _task +
  5473. "'" +
  5474. ", " +
  5475. "'" +
  5476. _tool +
  5477. "'" +
  5478. ", " +
  5479. "'" +
  5480. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool+_userid) +
  5481. "'" +
  5482. ", " +
  5483. "'" +
  5484. aTool +
  5485. "'" +
  5486. ", " +
  5487. "`" +
  5488. text +
  5489. "`" +
  5490. ")\n" +
  5491. " });\n" +
  5492. "}\n" +
  5493. "document.head.appendChild(_js);\n";
  5494. _iframe.contentWindow.document.head.appendChild(_ajs);
  5495. }
  5496. }
  5497. }
  5498. U.MD.D.I.getEditorContent = function (iframe) {
  5499. return new Promise((resolve, reject) => {
  5500. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  5501. console.log(content);
  5502. resolve(content)
  5503. });
  5504. });
  5505. }
  5506. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  5507. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  5508. // if (res.value[0].length > 0) {
  5509. // // resolve(res.value[0][0].text);
  5510. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  5511. // $(fileInput).val('');
  5512. // });
  5513. // }
  5514. // }, [], { "type": "GET", "withCredentials": true });
  5515. var xmlhttp;
  5516. var Mac, Sn, DeviceId
  5517. if (window.XMLHttpRequest) {
  5518. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  5519. xmlhttp = new XMLHttpRequest();
  5520. }
  5521. else {
  5522. // IE6, IE5 浏览器执行代码
  5523. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  5524. }
  5525. xmlhttp.onreadystatechange = function () {
  5526. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  5527. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  5528. // resolve(res.value[0][0].text);
  5529. if (type == '2') {
  5530. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  5531. } else if (type == '3') {
  5532. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  5533. }
  5534. } else {
  5535. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  5536. }
  5537. }
  5538. }
  5539. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  5540. xmlhttp.send();
  5541. }
  5542. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  5543. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5544. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5545. _userinfo = US.userInfo, //登录用户信息
  5546. _userid = US.userInfo.userid //登录用户id
  5547. let _iframe;
  5548. let _cid = cid,
  5549. _stage = stage,
  5550. _task = task,
  5551. _tool = tool;
  5552. var _jie = $$("div", {
  5553. "style": {
  5554. "position": "absolute",
  5555. "bottom": "50px",
  5556. "right": "50px",
  5557. "zIndex": "9999",
  5558. "backgroundColor": "#2268bc",
  5559. "color": "#fff",
  5560. "padding": "12px 20px",
  5561. "cursor": "pointer",
  5562. "borderRadius": "4px",
  5563. },
  5564. "innerHTML": "确认并提交"
  5565. })
  5566. let aTool = ''
  5567. let _loading = document.createElement('div')
  5568. _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;"
  5569. // _loading.id = "";
  5570. let _lchild = document.createElement('div')
  5571. let _limg = document.createElement('img')
  5572. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5573. _limg.style = "width: 26px;margin-right: 10px;"
  5574. _lchild.appendChild(_limg)
  5575. let _lspan = document.createElement('span')
  5576. _lspan.innerHTML = "上传中..."
  5577. _lchild.appendChild(_lspan)
  5578. _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%);"
  5579. _loading.appendChild(_lchild)
  5580. var _box = $$('div', {
  5581. "style": {
  5582. "position": "relative",
  5583. "width": "100%",
  5584. "height": "100%",
  5585. },
  5586. })
  5587. _box.appendChild(_loading)
  5588. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool+_userid
  5589. switch (str) {
  5590. case "whiteboard":
  5591. aTool = 1;
  5592. _iframe = $$("iframe", {
  5593. "frameborder": "no",
  5594. "border": "0",
  5595. "scrolling ": "no",
  5596. "style": {
  5597. "cssText": "border:0;width:100%;height:100%"
  5598. },
  5599. "src": "https://iwb.cocorobo.cn/"
  5600. })
  5601. _box.appendChild(_iframe);
  5602. _box.appendChild(_jie);
  5603. _formdiv = new U.UF.UI.form(
  5604. "电子白板",
  5605. _box, {
  5606. "id": "whiteboards" + cid + stage + task + tool,
  5607. "style": {
  5608. "width": "90%",
  5609. "height": "90%",
  5610. "overflow": 'hidden'
  5611. },
  5612. "onresize": function () { }
  5613. }, {
  5614. closecallback: function () { }
  5615. }, {
  5616. "style": {
  5617. "height": "36px"
  5618. }
  5619. }).form; //创建窗体
  5620. _taskbar = {
  5621. "id": str + _formdiv.id,
  5622. "style": {
  5623. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5624. },
  5625. "name": "电子白板",
  5626. "forms": _formdiv,
  5627. "click": function () {
  5628. U.MD.D.I.openApplication(str, obj, info);
  5629. }
  5630. }
  5631. break;
  5632. case "mind":
  5633. aTool = 3;
  5634. _iframe = $$("iframe", {
  5635. "frameborder": "no",
  5636. "border": "0",
  5637. "scrolling ": "no",
  5638. "style": {
  5639. "cssText": "border:0;width:100%;height:100%"
  5640. },
  5641. "src": "/kityminder-editor/dist/index.html"
  5642. });
  5643. _box.appendChild(_iframe);
  5644. _box.appendChild(_jie);
  5645. _formdiv = new U.UF.UI.form(
  5646. "思维导图",
  5647. _box, { //"/jsmind/example/demo.html"
  5648. "id": "minds" + cid + stage + task + tool,
  5649. "style": {
  5650. "width": "90%",
  5651. "height": "90%",
  5652. "overflow": 'hidden'
  5653. },
  5654. "onresize": function () { }
  5655. }, {
  5656. closecallback: function () { }
  5657. }, {
  5658. "style": {
  5659. "height": "36px"
  5660. }
  5661. }).form; //创建窗体
  5662. _taskbar = {
  5663. "id": str + _formdiv.id,
  5664. "style": {
  5665. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5666. },
  5667. "name": "思维导图",
  5668. "forms": _formdiv,
  5669. "click": function () {
  5670. U.MD.D.I.openApplication(str, obj, info);
  5671. }
  5672. }
  5673. break;
  5674. case "doc":
  5675. aTool = 6;
  5676. _iframe = $$("iframe", {
  5677. "frameborder": "no",
  5678. "border": "0",
  5679. "scrolling ": "no",
  5680. "style": {
  5681. "cssText": "border:0;width:100%;height:100%"
  5682. },
  5683. "src": "/Office/Word/WordEditArea.htm"
  5684. })
  5685. _box.appendChild(_iframe);
  5686. _box.appendChild(_jie);
  5687. _formdiv = new U.UF.UI.form(
  5688. "协同文档",
  5689. _box, {
  5690. "id": "docs" + cid + stage + task + tool,
  5691. "style": {
  5692. "width": "90%",
  5693. "height": "90%",
  5694. "overflow": 'hidden'
  5695. },
  5696. "onresize": function () { }
  5697. }, {
  5698. closecallback: function () { }
  5699. }, {
  5700. "style": {
  5701. "height": "36px"
  5702. }
  5703. }).form; //创建窗体
  5704. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5705. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5706. })
  5707. _taskbar = {
  5708. "id": str + _formdiv.id,
  5709. "style": {
  5710. "backgroundImage": "url(/img/icon/doc.png)"
  5711. },
  5712. "name": "协同文档",
  5713. "forms": _formdiv,
  5714. "click": function () {
  5715. U.MD.D.I.openApplication(str, obj, info);
  5716. }
  5717. }
  5718. break;
  5719. }
  5720. const script1 = document.createElement("script");
  5721. script1.type = "text/javascript";
  5722. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5723. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5724. const script2 = document.createElement("script");
  5725. script2.type = "text/javascript";
  5726. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5727. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5728. const script3 = document.createElement("script");
  5729. script3.type = "text/javascript";
  5730. script3.charset = "UTF-8";
  5731. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5732. const script4 = document.createElement("script");
  5733. script4.type = "text/javascript";
  5734. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  5735. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  5736. if (_iframe) {
  5737. if (str == 'doc') {
  5738. _iframe = _formdiv.querySelector('iframe')
  5739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5740. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5741. _iframe.contentWindow.document.body.appendChild(script1);
  5742. _iframe.contentWindow.document.body.appendChild(script2);
  5743. // _iframe.contentWindow.document.body.appendChild(script3);
  5744. _iframe.contentWindow.document.body.appendChild(script4);
  5745. })
  5746. if (onloadListener) {
  5747. _iframe.contentDocument.location.reload()
  5748. } else {
  5749. _iframe.contentDocument.location.reload()
  5750. }
  5751. } else if (str == 'mind') {
  5752. _iframe = _formdiv.querySelector('iframe')
  5753. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5754. _iframe.contentWindow.document.body.appendChild(script1);
  5755. _iframe.contentWindow.document.body.appendChild(script2);
  5756. _iframe.contentWindow.document.body.appendChild(script4);
  5757. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  5758. })
  5759. if (onloadListener) {
  5760. _iframe.contentDocument.location.reload()
  5761. } else {
  5762. _iframe.contentDocument.location.reload()
  5763. }
  5764. } else {
  5765. _iframe.onload = () => {
  5766. _iframe.contentWindow.document.body.appendChild(script1);
  5767. _iframe.contentWindow.document.body.appendChild(script2);
  5768. // _iframe.contentWindow.document.body.appendChild(script3);
  5769. _iframe.contentWindow.document.body.appendChild(script4);
  5770. };
  5771. }
  5772. _jie.onclick = async () => {
  5773. let text = ''
  5774. if (aTool == 6) {
  5775. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5776. } else if (aTool == 3) {
  5777. text = await U.MD.D.I.getEditorContent(_iframe);
  5778. }
  5779. _loading.style.display = 'flex'
  5780. console.log(_loading);
  5781. var _ajs = _iframe.contentWindow.document.createElement("script");
  5782. _ajs.type = "text/javascript";
  5783. _ajs.innerHTML =
  5784. // 'console.log(' + _loading + ');\n' +
  5785. 'var _js = document.createElement("script");\n' +
  5786. '_js.type="text/javascript";\n' +
  5787. '_js.charset="UTF-8";\n' +
  5788. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5789. "_js.onload = function(){\n" +
  5790. ' var a = document.getElementsByTagName("img")\n' +
  5791. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5792. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5793. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5794. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5795. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5796. "beforeUpload_shishi(file," +
  5797. "'" +
  5798. _userid +
  5799. "'" +
  5800. ", " +
  5801. "'" +
  5802. _cid +
  5803. "'" +
  5804. ", " +
  5805. "'" +
  5806. _stage +
  5807. "'" +
  5808. ", " +
  5809. "'" +
  5810. _task +
  5811. "'" +
  5812. ", " +
  5813. "'" +
  5814. _tool +
  5815. "'" +
  5816. ", " +
  5817. "'" +
  5818. (str + '_loadLi_JieS' + cid + stage + task + tool+_userid) +
  5819. "'" +
  5820. ", " +
  5821. "'" +
  5822. aTool +
  5823. "'" +
  5824. ", " +
  5825. "`" +
  5826. text +
  5827. "`" +
  5828. ")\n" +
  5829. " });\n" +
  5830. "}\n" +
  5831. "document.head.appendChild(_js);\n";
  5832. _iframe.contentWindow.document.head.appendChild(_ajs);
  5833. }
  5834. }
  5835. //U.MD.D.I.openClick(str);
  5836. //如果有任务栏信息
  5837. // if (_taskbar) {
  5838. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5839. // }
  5840. }
  5841. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  5842. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5843. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5844. _userinfo = US.userInfo, //登录用户信息
  5845. _userid = US.userInfo.userid //登录用户id
  5846. let _iframe;
  5847. let _cid = cid,
  5848. _stage = stage,
  5849. _task = task,
  5850. _tool = tool;
  5851. var _jie = $$("div", {
  5852. "style": {
  5853. "position": "absolute",
  5854. "bottom": "50px",
  5855. "right": "50px",
  5856. "zIndex": "9999",
  5857. "backgroundColor": "#2268bc",
  5858. "color": "#fff",
  5859. "padding": "12px 20px",
  5860. "cursor": "pointer",
  5861. "borderRadius": "4px",
  5862. },
  5863. "innerHTML": "确认并提交"
  5864. })
  5865. let aTool = ''
  5866. let _loading = document.createElement('div')
  5867. _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;"
  5868. // _loading.id = "";
  5869. let _lchild = document.createElement('div')
  5870. let _limg = document.createElement('img')
  5871. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5872. _limg.style = "width: 26px;margin-right: 10px;"
  5873. _lchild.appendChild(_limg)
  5874. let _lspan = document.createElement('span')
  5875. _lspan.innerHTML = "上传中..."
  5876. _lchild.appendChild(_lspan)
  5877. _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%);"
  5878. _loading.appendChild(_lchild)
  5879. var _box = $$('div', {
  5880. "style": {
  5881. "position": "relative",
  5882. "width": "100%",
  5883. "height": "100%",
  5884. },
  5885. })
  5886. _box.appendChild(_loading)
  5887. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid
  5888. switch (str) {
  5889. case "whiteboard":
  5890. aTool = 1;
  5891. _iframe = $$("iframe", {
  5892. "frameborder": "no",
  5893. "border": "0",
  5894. "scrolling ": "no",
  5895. "style": {
  5896. "cssText": "border:0;width:100%;height:100%"
  5897. },
  5898. "src": "https://iwb.cocorobo.cn/"
  5899. })
  5900. _box.appendChild(_iframe);
  5901. _box.appendChild(_jie);
  5902. _formdiv = new U.UF.UI.form(
  5903. "电子白板",
  5904. _box, {
  5905. "id": "whiteboards" + cid + stage + task + tool,
  5906. "style": {
  5907. "width": "90%",
  5908. "height": "90%",
  5909. "overflow": 'hidden'
  5910. },
  5911. "onresize": function () { }
  5912. }, {
  5913. closecallback: function () { }
  5914. }, {
  5915. "style": {
  5916. "height": "36px"
  5917. }
  5918. }).form; //创建窗体
  5919. _taskbar = {
  5920. "id": str + _formdiv.id,
  5921. "style": {
  5922. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5923. },
  5924. "name": "电子白板",
  5925. "forms": _formdiv,
  5926. "click": function () {
  5927. U.MD.D.I.openApplication(str, obj, info);
  5928. }
  5929. }
  5930. break;
  5931. case "mind":
  5932. aTool = 3;
  5933. _iframe = $$("iframe", {
  5934. "frameborder": "no",
  5935. "border": "0",
  5936. "scrolling ": "no",
  5937. "style": {
  5938. "cssText": "border:0;width:100%;height:100%"
  5939. },
  5940. "src": "/kityminder-editor/dist/index.html"
  5941. });
  5942. _box.appendChild(_iframe);
  5943. _box.appendChild(_jie);
  5944. _formdiv = new U.UF.UI.form(
  5945. "思维导图",
  5946. _box, { //"/jsmind/example/demo.html"
  5947. "id": "minds" + cid + stage + task + tool,
  5948. "style": {
  5949. "width": "90%",
  5950. "height": "90%",
  5951. "overflow": 'hidden'
  5952. },
  5953. "onresize": function () { }
  5954. }, {
  5955. closecallback: function () { }
  5956. }, {
  5957. "style": {
  5958. "height": "36px"
  5959. }
  5960. }).form; //创建窗体
  5961. _taskbar = {
  5962. "id": str + _formdiv.id,
  5963. "style": {
  5964. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5965. },
  5966. "name": "思维导图",
  5967. "forms": _formdiv,
  5968. "click": function () {
  5969. U.MD.D.I.openApplication(str, obj, info);
  5970. }
  5971. }
  5972. break;
  5973. case "doc":
  5974. aTool = 6;
  5975. _iframe = $$("iframe", {
  5976. "frameborder": "no",
  5977. "border": "0",
  5978. "scrolling ": "no",
  5979. "style": {
  5980. "cssText": "border:0;width:100%;height:100%"
  5981. },
  5982. "src": "/Office/Word/WordEditArea.htm"
  5983. })
  5984. _box.appendChild(_iframe);
  5985. _box.appendChild(_jie);
  5986. _formdiv = new U.UF.UI.form(
  5987. "协同文档",
  5988. _box, {
  5989. "id": "docs" + cid + stage + task + tool,
  5990. "style": {
  5991. "width": "90%",
  5992. "height": "90%",
  5993. "overflow": 'hidden'
  5994. },
  5995. "onresize": function () { }
  5996. }, {
  5997. closecallback: function () { }
  5998. }, {
  5999. "style": {
  6000. "height": "36px"
  6001. }
  6002. }).form; //创建窗体
  6003. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6004. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6005. })
  6006. _taskbar = {
  6007. "id": str + _formdiv.id,
  6008. "style": {
  6009. "backgroundImage": "url(/img/icon/doc.png)"
  6010. },
  6011. "name": "协同文档",
  6012. "forms": _formdiv,
  6013. "click": function () {
  6014. U.MD.D.I.openApplication(str, obj, info);
  6015. }
  6016. }
  6017. break;
  6018. }
  6019. const script1 = document.createElement("script");
  6020. script1.type = "text/javascript";
  6021. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6022. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6023. const script2 = document.createElement("script");
  6024. script2.type = "text/javascript";
  6025. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6026. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6027. const script3 = document.createElement("script");
  6028. script3.type = "text/javascript";
  6029. script3.charset = "UTF-8";
  6030. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6031. const script4 = document.createElement("script");
  6032. script4.type = "text/javascript";
  6033. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6034. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6035. if (_iframe) {
  6036. if (str == 'doc') {
  6037. _iframe = _formdiv.querySelector('iframe')
  6038. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6039. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6040. _iframe.contentWindow.document.body.appendChild(script1);
  6041. _iframe.contentWindow.document.body.appendChild(script2);
  6042. // _iframe.contentWindow.document.body.appendChild(script3);
  6043. _iframe.contentWindow.document.body.appendChild(script4);
  6044. })
  6045. if (onloadListener) {
  6046. _iframe.contentDocument.location.reload()
  6047. } else {
  6048. _iframe.contentDocument.location.reload()
  6049. }
  6050. } else if (str == 'mind') {
  6051. _iframe = _formdiv.querySelector('iframe')
  6052. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6053. _iframe.contentWindow.document.body.appendChild(script1);
  6054. _iframe.contentWindow.document.body.appendChild(script2);
  6055. _iframe.contentWindow.document.body.appendChild(script4);
  6056. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6057. })
  6058. if (onloadListener) {
  6059. _iframe.contentDocument.location.reload()
  6060. } else {
  6061. _iframe.contentDocument.location.reload()
  6062. }
  6063. } else {
  6064. _iframe.onload = () => {
  6065. _iframe.contentWindow.document.body.appendChild(script1);
  6066. _iframe.contentWindow.document.body.appendChild(script2);
  6067. // _iframe.contentWindow.document.body.appendChild(script3);
  6068. _iframe.contentWindow.document.body.appendChild(script4);
  6069. };
  6070. }
  6071. _jie.onclick = async () => {
  6072. let text = ''
  6073. if (aTool == 6) {
  6074. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6075. } else if (aTool == 3) {
  6076. text = await U.MD.D.I.getEditorContent(_iframe);
  6077. }
  6078. _loading.style.display = 'flex'
  6079. console.log(_loading);
  6080. var _ajs = _iframe.contentWindow.document.createElement("script");
  6081. _ajs.type = "text/javascript";
  6082. _ajs.innerHTML =
  6083. // 'console.log(' + _loading + ');\n' +
  6084. 'var _js = document.createElement("script");\n' +
  6085. '_js.type="text/javascript";\n' +
  6086. '_js.charset="UTF-8";\n' +
  6087. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6088. "_js.onload = function(){\n" +
  6089. ' var a = document.getElementsByTagName("img")\n' +
  6090. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6091. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6092. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6093. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6094. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6095. "beforeUpload_shishi(file," +
  6096. "'" +
  6097. _userid +
  6098. "'" +
  6099. ", " +
  6100. "'" +
  6101. _cid +
  6102. "'" +
  6103. ", " +
  6104. "'" +
  6105. _stage +
  6106. "'" +
  6107. ", " +
  6108. "'" +
  6109. _task +
  6110. "'" +
  6111. ", " +
  6112. "'" +
  6113. _tool +
  6114. "'" +
  6115. ", " +
  6116. "'" +
  6117. (str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid) +
  6118. "'" +
  6119. ", " +
  6120. "'" +
  6121. aTool +
  6122. "'" +
  6123. ", " +
  6124. "`" +
  6125. text +
  6126. "`" +
  6127. ")\n" +
  6128. " });\n" +
  6129. "}\n" +
  6130. "document.head.appendChild(_js);\n";
  6131. _iframe.contentWindow.document.head.appendChild(_ajs);
  6132. }
  6133. }
  6134. //U.MD.D.I.openClick(str);
  6135. //如果有任务栏信息
  6136. // if (_taskbar) {
  6137. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6138. // }
  6139. }
  6140. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6141. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6142. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6143. _userinfo = US.userInfo, //登录用户信息
  6144. _userid = US.userInfo.userid //登录用户id
  6145. let _iframe;
  6146. let _cid = cid,
  6147. _stage = stage,
  6148. _task = task,
  6149. _tool = tool;
  6150. var _jie = $$("div", {
  6151. "style": {
  6152. "position": "absolute",
  6153. "bottom": "50px",
  6154. "right": "50px",
  6155. "zIndex": "9999",
  6156. "backgroundColor": "#2268bc",
  6157. "color": "#fff",
  6158. "padding": "12px 20px",
  6159. "cursor": "pointer",
  6160. "borderRadius": "4px",
  6161. },
  6162. "innerHTML": "上传模板"
  6163. })
  6164. let aTool = ''
  6165. let _loading = document.createElement('div')
  6166. _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;"
  6167. // _loading.id = "";
  6168. let _lchild = document.createElement('div')
  6169. let _limg = document.createElement('img')
  6170. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6171. _limg.style = "width: 26px;margin-right: 10px;"
  6172. _lchild.appendChild(_limg)
  6173. let _lspan = document.createElement('span')
  6174. _lspan.innerHTML = "上传中..."
  6175. _lchild.appendChild(_lspan)
  6176. _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%);"
  6177. _loading.appendChild(_lchild)
  6178. var _box = $$('div', {
  6179. "style": {
  6180. "position": "relative",
  6181. "width": "100%",
  6182. "height": "100%",
  6183. },
  6184. })
  6185. _box.appendChild(_loading)
  6186. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool+_userid
  6187. switch (str) {
  6188. case "whiteboard":
  6189. aTool = 1;
  6190. _iframe = $$("iframe", {
  6191. "frameborder": "no",
  6192. "border": "0",
  6193. "scrolling ": "no",
  6194. "style": {
  6195. "cssText": "border:0;width:100%;height:100%"
  6196. },
  6197. "src": "https://iwb.cocorobo.cn/"
  6198. })
  6199. _box.appendChild(_iframe);
  6200. _box.appendChild(_jie);
  6201. _formdiv = new U.UF.UI.form(
  6202. "电子白板",
  6203. _box, {
  6204. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6205. "style": {
  6206. "width": "90%",
  6207. "height": "90%",
  6208. "overflow": 'hidden'
  6209. },
  6210. "onresize": function () { }
  6211. }, {
  6212. closecallback: function () { }
  6213. }, {
  6214. "style": {
  6215. "height": "36px"
  6216. }
  6217. }).form; //创建窗体
  6218. _taskbar = {
  6219. "id": str + _formdiv.id,
  6220. "style": {
  6221. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6222. },
  6223. "name": "电子白板",
  6224. "forms": _formdiv,
  6225. "click": function () {
  6226. U.MD.D.I.openApplication(str, obj, info);
  6227. }
  6228. }
  6229. break;
  6230. case "mind":
  6231. aTool = 3;
  6232. _iframe = $$("iframe", {
  6233. "frameborder": "no",
  6234. "border": "0",
  6235. "scrolling ": "no",
  6236. "style": {
  6237. "cssText": "border:0;width:100%;height:100%"
  6238. },
  6239. "src": "/kityminder-editor/dist/index.html"
  6240. });
  6241. _box.appendChild(_iframe);
  6242. _box.appendChild(_jie);
  6243. _formdiv = new U.UF.UI.form(
  6244. "思维导图",
  6245. _box, { //"/jsmind/example/demo.html"
  6246. "id": "minds_Yu" + cid + stage + task + tool,
  6247. "style": {
  6248. "width": "90%",
  6249. "height": "90%",
  6250. "overflow": 'hidden'
  6251. },
  6252. "onresize": function () { }
  6253. }, {
  6254. closecallback: function () { }
  6255. }, {
  6256. "style": {
  6257. "height": "36px"
  6258. }
  6259. }).form; //创建窗体
  6260. _taskbar = {
  6261. "id": str + _formdiv.id,
  6262. "style": {
  6263. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6264. },
  6265. "name": "思维导图",
  6266. "forms": _formdiv,
  6267. "click": function () {
  6268. U.MD.D.I.openApplication(str, obj, info);
  6269. }
  6270. }
  6271. break;
  6272. case "doc":
  6273. aTool = 6;
  6274. _iframe = $$("iframe", {
  6275. "frameborder": "no",
  6276. "border": "0",
  6277. "scrolling ": "no",
  6278. "style": {
  6279. "cssText": "border:0;width:100%;height:100%"
  6280. },
  6281. "src": "/Office/Word/WordEditArea.htm"
  6282. })
  6283. _box.appendChild(_iframe);
  6284. _box.appendChild(_jie);
  6285. _formdiv = new U.UF.UI.form(
  6286. "协同文档",
  6287. _box, {
  6288. "id": "docs_Yu" + cid + stage + task + tool,
  6289. "style": {
  6290. "width": "90%",
  6291. "height": "90%",
  6292. "overflow": 'hidden'
  6293. },
  6294. "onresize": function () { }
  6295. }, {
  6296. closecallback: function () { }
  6297. }, {
  6298. "style": {
  6299. "height": "36px"
  6300. }
  6301. }).form; //创建窗体
  6302. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6303. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6304. })
  6305. _taskbar = {
  6306. "id": str + _formdiv.id,
  6307. "style": {
  6308. "backgroundImage": "url(/img/icon/doc.png)"
  6309. },
  6310. "name": "协同文档",
  6311. "forms": _formdiv,
  6312. "click": function () {
  6313. U.MD.D.I.openApplication(str, obj, info);
  6314. }
  6315. }
  6316. break;
  6317. case "CocoPi":
  6318. aTool = 57;
  6319. _iframe = $$("iframe", {
  6320. "allowpaymentrequest":"allowpaymentrequest",
  6321. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6322. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0;width:100%;height:100%"
  6328. },
  6329. "src": "https://beta.v.cocorobo.cn/"
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "CocoPi",
  6335. _box, {
  6336. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function () { }
  6343. }, {
  6344. closecallback: function () { }
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //创建窗体
  6350. _taskbar = {
  6351. "id": str + _formdiv.id,
  6352. "style": {
  6353. "backgroundImage": "url(/img/icon/cocopi.png)"
  6354. },
  6355. "name": "CocoPi",
  6356. "forms": _formdiv,
  6357. "click": function () {
  6358. U.MD.D.I.openApplication(str, obj, info);
  6359. }
  6360. }
  6361. break;
  6362. }
  6363. if (_iframe) {
  6364. if (str == 'doc') {
  6365. _iframe = _formdiv.querySelector('iframe')
  6366. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6367. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6368. })
  6369. if (onloadListener) {
  6370. _iframe.contentDocument.location.reload()
  6371. } else {
  6372. _iframe.contentDocument.location.reload()
  6373. }
  6374. } else if (str == 'mind') {
  6375. _iframe = _formdiv.querySelector('iframe')
  6376. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6377. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6378. })
  6379. if (onloadListener) {
  6380. _iframe.contentDocument.location.reload()
  6381. } else {
  6382. _iframe.contentDocument.location.reload()
  6383. }
  6384. } else if (str == 'whiteboard') {
  6385. _iframe = _formdiv.querySelector('iframe')
  6386. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6387. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6388. })
  6389. if (onloadListener) {
  6390. _iframe.contentDocument.location.reload()
  6391. } else {
  6392. _iframe.contentDocument.location.reload()
  6393. }
  6394. } else if (str == 'CocoPi') {
  6395. _iframe = _formdiv.querySelector('iframe')
  6396. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6397. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6398. })
  6399. if (onloadListener) {
  6400. _iframe.contentDocument.location.reload()
  6401. } else {
  6402. _iframe.contentDocument.location.reload()
  6403. }
  6404. } else {
  6405. _iframe.onload = () => {
  6406. };
  6407. }
  6408. _jie.onclick = async () => {
  6409. let text = ''
  6410. let type = '2'
  6411. if (aTool == 1) {
  6412. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6413. type = '3'
  6414. } else if (aTool == 6) {
  6415. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6416. type = '1'
  6417. } else if (aTool == 3) {
  6418. text = await U.MD.D.I.getEditorContent(_iframe);
  6419. type = '2'
  6420. } else if (aTool == 57) {
  6421. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6422. type = '4'
  6423. }
  6424. _loading.style.display = 'flex'
  6425. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6426. }
  6427. }
  6428. //U.MD.D.I.openClick(str);
  6429. //如果有任务栏信息
  6430. // if (_taskbar) {
  6431. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6432. // }
  6433. }
  6434. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  6435. var xmlhttp;
  6436. var Mac, Sn, DeviceId
  6437. if (window.XMLHttpRequest) {
  6438. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6439. xmlhttp = new XMLHttpRequest();
  6440. }
  6441. else {
  6442. // IE6, IE5 浏览器执行代码
  6443. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6444. }
  6445. xmlhttp.onreadystatechange = function () {
  6446. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6447. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6448. // resolve(res.value[0][0].text);
  6449. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6450. }
  6451. }
  6452. }
  6453. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6454. xmlhttp.send();
  6455. }
  6456. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  6457. var xmlhttp;
  6458. var Mac, Sn, DeviceId
  6459. if (window.XMLHttpRequest) {
  6460. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6461. xmlhttp = new XMLHttpRequest();
  6462. }
  6463. else {
  6464. // IE6, IE5 浏览器执行代码
  6465. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6466. }
  6467. xmlhttp.onreadystatechange = function () {
  6468. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6469. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6470. // resolve(res.value[0][0].text);
  6471. if (type == '2') {
  6472. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6473. } else if (type == '3') {
  6474. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6475. } else if (type == '4') {
  6476. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6477. }
  6478. } else {
  6479. if (type == '2') {
  6480. iframe.contentWindow.editor.minder.importData('json', '')
  6481. } else if (type == '3') {
  6482. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6483. } else if (type == '4') {
  6484. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6485. }
  6486. }
  6487. }
  6488. }
  6489. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6490. xmlhttp.send();
  6491. }
  6492. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  6493. var xmlhttp;
  6494. var Mac, Sn, DeviceId
  6495. if (window.XMLHttpRequest) {
  6496. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6497. xmlhttp = new XMLHttpRequest();
  6498. }
  6499. else {
  6500. // IE6, IE5 浏览器执行代码
  6501. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6502. }
  6503. xmlhttp.onreadystatechange = function () {
  6504. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6505. if (xmlhttp.response) {
  6506. // resolve(res.value[0][0].text);
  6507. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  6508. // $(fileInput).val('');
  6509. // });
  6510. span.innerHTML = '上传成功'
  6511. setTimeout(() => {
  6512. loading.style.display = 'none'
  6513. }, 1000);
  6514. }
  6515. }
  6516. }
  6517. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  6518. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  6519. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  6520. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  6521. // 设置请求头,表示请求体的编码格式
  6522. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  6523. // 设置请求体,使用url-encoded格式的数据
  6524. }
  6525. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  6526. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6527. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6528. _userinfo = US.userInfo, //登录用户信息
  6529. _userid = US.userInfo.userid //登录用户id
  6530. let _iframe;
  6531. let _cid = cid,
  6532. _stage = stage,
  6533. _task = task,
  6534. _tool = tool;
  6535. var _jie = $$("div", {
  6536. "style": {
  6537. "position": "absolute",
  6538. "bottom": "50px",
  6539. "right": "50px",
  6540. "zIndex": "9999",
  6541. "backgroundColor": "#2268bc",
  6542. "color": "#fff",
  6543. "padding": "12px 20px",
  6544. "cursor": "pointer",
  6545. "borderRadius": "4px",
  6546. },
  6547. "innerHTML": "提交作业"
  6548. })
  6549. let aTool = ''
  6550. let _loading = document.createElement('div')
  6551. _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;"
  6552. // _loading.id = "";
  6553. let _lchild = document.createElement('div')
  6554. let _limg = document.createElement('img')
  6555. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6556. _limg.style = "width: 26px;margin-right: 10px;"
  6557. _lchild.appendChild(_limg)
  6558. let _lspan = document.createElement('span')
  6559. _lspan.innerHTML = "上传中..."
  6560. _lchild.appendChild(_lspan)
  6561. _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%);"
  6562. _loading.appendChild(_lchild)
  6563. var _box = $$('div', {
  6564. "style": {
  6565. "position": "relative",
  6566. "width": "100%",
  6567. "height": "100%",
  6568. },
  6569. })
  6570. _box.appendChild(_loading)
  6571. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool+_userid
  6572. switch (str) {
  6573. case "CocoPi":
  6574. aTool = 57;
  6575. _iframe = $$("iframe", {
  6576. "allowpaymentrequest":"allowpaymentrequest",
  6577. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6578. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6579. "frameborder": "no",
  6580. "border": "0",
  6581. "scrolling ": "no",
  6582. "style": {
  6583. "cssText": "border:0;width:100%;height:100%"
  6584. },
  6585. "src": "https://beta.v.cocorobo.cn/"
  6586. })
  6587. _box.appendChild(_iframe);
  6588. _box.appendChild(_jie);
  6589. _formdiv = new U.UF.UI.form(
  6590. "CocoPi",
  6591. _box, {
  6592. "id": "CocoPi_Upload" + cid + stage + task + tool,
  6593. "style": {
  6594. "width": "90%",
  6595. "height": "90%",
  6596. "overflow": 'hidden'
  6597. },
  6598. "onresize": function () { }
  6599. }, {
  6600. closecallback: function () { }
  6601. }, {
  6602. "style": {
  6603. "height": "36px"
  6604. }
  6605. }).form; //创建窗体
  6606. _taskbar = {
  6607. "id": str + _formdiv.id,
  6608. "style": {
  6609. "backgroundImage": "url(/img/icon/cocopi.png)"
  6610. },
  6611. "name": "CocoPi",
  6612. "forms": _formdiv,
  6613. "click": function () {
  6614. U.MD.D.I.openApplication(str, obj, info);
  6615. }
  6616. }
  6617. break;
  6618. }
  6619. if (_iframe) {
  6620. if (str == 'CocoPi') {
  6621. _iframe = _formdiv.querySelector('iframe')
  6622. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6623. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6624. })
  6625. if (onloadListener) {
  6626. _iframe.contentDocument.location.reload()
  6627. } else {
  6628. _iframe.contentDocument.location.reload()
  6629. }
  6630. }
  6631. _jie.onclick = async () => {
  6632. let text = ''
  6633. if (aTool == 57) {
  6634. text = _iframe.contentWindow.getLoadXmlStr()
  6635. }
  6636. _loading.style.display = 'flex'
  6637. console.log(_loading);
  6638. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6639. _loading.style.display = 'none'
  6640. let _div = document.createElement('div')
  6641. _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;"
  6642. let _inner = document.createElement('div')
  6643. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6644. _inner.innerHTML = "上传成功"
  6645. _div.appendChild(_inner)
  6646. _iframe.contentWindow.window.document.body.appendChild(_div)
  6647. _div.onclick = () => {
  6648. _iframe.contentWindow.window.document.body.removeChild(_div)
  6649. }
  6650. setTimeout(() => {
  6651. _iframe.contentWindow.window.document.body.removeChild(_div)
  6652. }, 1000);
  6653. }, [], { "type": "POST", "withCredentials": true });
  6654. }
  6655. }
  6656. }
  6657. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  6658. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6659. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6660. _userid = student.userid, //登录用户id
  6661. _username = student.student //用户名字
  6662. let _iframe;
  6663. let _cid = cid,
  6664. _stage = stage,
  6665. _task = task,
  6666. _tool = tool;
  6667. var _jie = $$("div", {
  6668. "style": {
  6669. "position": "absolute",
  6670. "bottom": "50px",
  6671. "right": "50px",
  6672. "zIndex": "9999",
  6673. "backgroundColor": "#2268bc",
  6674. "color": "#fff",
  6675. "padding": "12px 20px",
  6676. "cursor": "pointer",
  6677. "borderRadius": "4px",
  6678. },
  6679. "innerHTML": "提交作业"
  6680. })
  6681. let aTool = ''
  6682. let _loading = document.createElement('div')
  6683. _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;"
  6684. // _loading.id = "";
  6685. let _lchild = document.createElement('div')
  6686. let _limg = document.createElement('img')
  6687. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6688. _limg.style = "width: 26px;margin-right: 10px;"
  6689. _lchild.appendChild(_limg)
  6690. let _lspan = document.createElement('span')
  6691. _lspan.innerHTML = "上传中..."
  6692. _lchild.appendChild(_lspan)
  6693. _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%);"
  6694. _loading.appendChild(_lchild)
  6695. var _box = $$('div', {
  6696. "style": {
  6697. "position": "relative",
  6698. "width": "100%",
  6699. "height": "100%",
  6700. },
  6701. })
  6702. _box.appendChild(_loading)
  6703. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool+_userid
  6704. switch (str) {
  6705. case "CocoPi":
  6706. aTool = 57;
  6707. _iframe = $$("iframe", {
  6708. "allowpaymentrequest":"allowpaymentrequest",
  6709. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6710. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6711. "frameborder": "no",
  6712. "border": "0",
  6713. "scrolling ": "no",
  6714. "style": {
  6715. "cssText": "border:0;width:100%;height:100%"
  6716. },
  6717. "src": "https://beta.v.cocorobo.cn/"
  6718. })
  6719. _box.appendChild(_iframe);
  6720. _box.appendChild(_jie);
  6721. _formdiv = new U.UF.UI.form(
  6722. "CocoPi-" + _username,
  6723. _box, {
  6724. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  6725. "style": {
  6726. "width": "90%",
  6727. "height": "90%",
  6728. "overflow": 'hidden'
  6729. },
  6730. "onresize": function () { }
  6731. }, {
  6732. closecallback: function () { }
  6733. }, {
  6734. "style": {
  6735. "height": "36px"
  6736. }
  6737. }).form; //创建窗体
  6738. _taskbar = {
  6739. "id": str + _formdiv.id,
  6740. "style": {
  6741. "backgroundImage": "url(/img/icon/cocopi.png)"
  6742. },
  6743. "name": "CocoPi",
  6744. "forms": _formdiv,
  6745. "click": function () {
  6746. U.MD.D.I.openApplication(str, obj, info);
  6747. }
  6748. }
  6749. break;
  6750. }
  6751. if (_iframe) {
  6752. if (str == 'CocoPi') {
  6753. _iframe = _formdiv.querySelector('iframe')
  6754. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6755. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6756. })
  6757. if (onloadListener) {
  6758. _iframe.contentDocument.location.reload()
  6759. } else {
  6760. _iframe.contentDocument.location.reload()
  6761. }
  6762. }
  6763. _jie.onclick = async () => {
  6764. let text = ''
  6765. if (aTool == 57) {
  6766. text = _iframe.contentWindow.getLoadXmlStr()
  6767. }
  6768. _loading.style.display = 'flex'
  6769. console.log(_loading);
  6770. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6771. _loading.style.display = 'none'
  6772. let _div = document.createElement('div')
  6773. _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;"
  6774. let _inner = document.createElement('div')
  6775. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6776. _inner.innerHTML = "上传成功"
  6777. _div.appendChild(_inner)
  6778. _iframe.contentWindow.window.document.body.appendChild(_div)
  6779. _div.onclick = () => {
  6780. _iframe.contentWindow.window.document.body.removeChild(_div)
  6781. }
  6782. setTimeout(() => {
  6783. _iframe.contentWindow.window.document.body.removeChild(_div)
  6784. }, 1000);
  6785. }, [], { "type": "POST", "withCredentials": true });
  6786. }
  6787. }
  6788. }
  6789. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  6790. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  6791. if (res.value[0].length > 0) {
  6792. if (atool == 57) {
  6793. iframe.contentWindow.loadingXml(res.value[0][0].content)
  6794. }
  6795. } else {
  6796. if (atool == 57) {
  6797. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  6798. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6799. }
  6800. }
  6801. }, [], { "type": "POST", "withCredentials": true });
  6802. }